From 7eaa7703a43b9f22f12be04e8580a3f2515fb146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=A5=E5=90=91=E5=B0=8F=E9=83=8E?= Date: Wed, 9 Jan 2013 20:30:03 +0100 Subject: Traditional Chinese language update --- lib/plugins/plugin/lang/zh-tw/admin_plugin.txt | 4 +- lib/plugins/plugin/lang/zh-tw/lang.php | 55 +++++++++++++------------- 2 files changed, 30 insertions(+), 29 deletions(-) (limited to 'lib/plugins/plugin') diff --git a/lib/plugins/plugin/lang/zh-tw/admin_plugin.txt b/lib/plugins/plugin/lang/zh-tw/admin_plugin.txt index 84d095f51..54fe7a59e 100644 --- a/lib/plugins/plugin/lang/zh-tw/admin_plugin.txt +++ b/lib/plugins/plugin/lang/zh-tw/admin_plugin.txt @@ -1,3 +1,3 @@ -====== 插件管理器 ====== +====== 附加元件管理器 ====== -您可以用本頁管理與 Dokuwiki [[doku>plugins|插件]] 相關的選項。若要正常下載及安裝插件,插件所在的資料夾必須允許網頁伺服器寫入。 +您可以用本頁管理與 Dokuwiki [[doku>plugins|附加元件]] 相關的選項。若要正常下載及安裝附加元件,附加元件所在的資料夾必須允許網頁伺服器寫入。 \ No newline at end of file diff --git a/lib/plugins/plugin/lang/zh-tw/lang.php b/lib/plugins/plugin/lang/zh-tw/lang.php index 8fa3efb0a..7b38a02c8 100644 --- a/lib/plugins/plugin/lang/zh-tw/lang.php +++ b/lib/plugins/plugin/lang/zh-tw/lang.php @@ -10,10 +10,11 @@ * @author Danny Lin * @author Shuo-Ting Jian * @author syaoranhinata@gmail.com + * @author Ichirou Uchiki */ -$lang['menu'] = '管理插件 (Plugins)'; -$lang['download'] = '下載與安裝插件'; -$lang['manage'] = '已安裝的插件'; +$lang['menu'] = '管理附加元件'; +$lang['download'] = '下載與安裝附加元件'; +$lang['manage'] = '已安裝的附加元件'; $lang['btn_info'] = '資訊'; $lang['btn_update'] = '更新'; $lang['btn_delete'] = '刪除'; @@ -25,34 +26,34 @@ $lang['installed'] = '安裝:'; $lang['lastupdate'] = '上次更新:'; $lang['source'] = '來源:'; $lang['unknown'] = '未知'; -$lang['updating'] = '更新中 ...'; -$lang['updated'] = '插件 %s 成功地更新'; -$lang['updates'] = '以下的插件已經成功地更新'; -$lang['update_none'] = '找不到更新'; -$lang['deleting'] = '刪除中 ...'; -$lang['deleted'] = '插件 %s 已刪除。'; -$lang['downloading'] = '下載中 ...'; -$lang['downloaded'] = '插件 %s 已成功地安裝'; -$lang['downloads'] = '以下的插件已成功地安裝:'; -$lang['download_none'] = '找不到插件,或在下載與安裝時發生了未知的問題'; -$lang['plugin'] = '插件:'; +$lang['updating'] = '更新中……'; +$lang['updated'] = '已更新附加元件 %s '; +$lang['updates'] = '已更新下列附加元件'; +$lang['update_none'] = '找不到更新。'; +$lang['deleting'] = '刪除中……'; +$lang['deleted'] = '已刪除附加元件 %s 。'; +$lang['downloading'] = '下載中……'; +$lang['downloaded'] = '已安裝附加元件 %s '; +$lang['downloads'] = '已安裝下列附加元件:'; +$lang['download_none'] = '找不到附加元件,或者在下載與安裝時發生了未知的問題。'; +$lang['plugin'] = '附加元件:'; $lang['components'] = '元件'; -$lang['noinfo'] = '此插件沒有回傳任何資訊,可能是無效的'; +$lang['noinfo'] = '此附加元件沒有回傳任何資訊,它可能已失效。'; $lang['name'] = '名稱:'; $lang['date'] = '日期:'; $lang['type'] = '類型:'; $lang['desc'] = '描述:'; $lang['author'] = '作者:'; -$lang['www'] = '網頁:'; -$lang['error'] = '一個未知的錯誤發生。'; -$lang['error_download'] = '無法下載插件檔案: %s'; -$lang['error_badurl'] = 'URL 可能有問題 - 從 URL 中無法得知文件名'; +$lang['www'] = '網頁:'; +$lang['error'] = '發生了未知的錯誤。'; +$lang['error_download'] = '無法下載附加元件檔案: %s'; +$lang['error_badurl'] = 'URL 可能有問題 —— 從 URL 中無法得知文件名'; $lang['error_dircreate'] = '無法建立暫存目錄來接收下載的內容'; -$lang['error_decompress'] = '插件管理器無法解壓下載的文件。這可能是由於下載出現錯誤,遇到這種情況,請您再次嘗試;或者是壓縮格式無法識別,遇到這種情況,您需要手動下載並安裝該插件。'; -$lang['error_copy'] = '嘗試安裝插件 %s 的相關文件時發生複製錯誤:可能是磁碟空間不足或檔案存取權限錯誤。這可能是由於未安裝完全的插件使維基系統不穩定導致。'; -$lang['error_delete'] = '嘗試刪除插件 %s 時發生錯誤。最可能原因是檔案或目錄存取權限不足'; -$lang['enabled'] = '插件 %s 已啟用。'; -$lang['notenabled'] = '插件 %s 無法啟用,請檢查檔案權限。'; -$lang['disabled'] = '插件 %s 已停用。'; -$lang['notdisabled'] = '插件 %s 無法停用,請檢查檔案權限。'; -$lang['packageinstalled'] = '插件 (%d 插件%s: %s) 已成功地安裝。'; +$lang['error_decompress'] = '附加元件管理器無法把下載的文件解壓,這可能是由於下載出現錯誤。遇到這種情況,請您再次嘗試。此外,無法識別壓縮格式也可能導致無法解壓。若是如此,您需要手動下載並安裝該附加元件。'; +$lang['error_copy'] = '嘗試安裝附加元件 %s 的相關文件時,發生複製錯誤。這可能是磁碟空間不足,或檔案存取權限錯誤。未安裝好的附加元件,也許會令wiki系統不穩定。'; +$lang['error_delete'] = '嘗試刪除附加元件 %s 時發生錯誤。最有可能原因是檔案或目錄存取權限不足'; +$lang['enabled'] = '附加元件 %s 已啟用。'; +$lang['notenabled'] = '附加元件 %s 無法啟用,請檢查檔案權限。'; +$lang['disabled'] = '附加元件 %s 已停用。'; +$lang['notdisabled'] = '附加元件 %s 無法停用,請檢查檔案權限。'; +$lang['packageinstalled'] = '附加元件 (%d 附加元件%s: %s) 已安裝好。'; -- cgit v1.2.3 From 187b13eb2e4f044659ad056a038b7aed65033579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B3pez=20Prat?= Date: Fri, 18 Jan 2013 10:07:50 +0100 Subject: Catalan language update --- lib/plugins/plugin/lang/ca/lang.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/plugins/plugin') diff --git a/lib/plugins/plugin/lang/ca/lang.php b/lib/plugins/plugin/lang/ca/lang.php index 0e3ef05df..5c7933666 100644 --- a/lib/plugins/plugin/lang/ca/lang.php +++ b/lib/plugins/plugin/lang/ca/lang.php @@ -6,6 +6,7 @@ * @author carles.bellver@gmail.com * @author carles.bellver@cent.uji.es * @author Carles Bellver + * @author daniel@6temes.cat */ $lang['menu'] = 'Gestió de connectors'; $lang['download'] = 'Baixa i instal·la un nou connector'; @@ -51,3 +52,4 @@ $lang['enabled'] = 'S\'ha habilitat el connector %s.'; $lang['notenabled'] = 'No s\'ha pogut habilitar el connector %s. Comproveu els permisos dels fitxers.'; $lang['disabled'] = 'S\'ha inhabilitat el connector %s.'; $lang['notdisabled'] = 'No s\'ha pogut inhabilitar el connector %s. Comproveu els permisos dels fitxers.'; +$lang['packageinstalled'] = 'El paquet del connector (%d plugins(s): %s) s\'ha instal·lat correctament.'; -- cgit v1.2.3 From e6c4a8221e93692572a1e78b9319a94b5ba07a0c Mon Sep 17 00:00:00 2001 From: Erdem Date: Fri, 18 Jan 2013 10:08:48 +0100 Subject: Turkish language update --- lib/plugins/plugin/lang/tr/lang.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/plugins/plugin') diff --git a/lib/plugins/plugin/lang/tr/lang.php b/lib/plugins/plugin/lang/tr/lang.php index 9a655e400..9598ade7d 100644 --- a/lib/plugins/plugin/lang/tr/lang.php +++ b/lib/plugins/plugin/lang/tr/lang.php @@ -6,6 +6,7 @@ * @author Cihan Kahveci * @author Yavuz Selim * @author Caleb Maclennan + * @author farukerdemoncel@gmail.com */ $lang['menu'] = 'Eklenti Yönetimi'; $lang['download'] = 'Yeni bir eklenti indirip kur'; -- cgit v1.2.3 From f2cb3ec76dec3fe2b40f25765ef842223c7132fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 23 Jan 2013 13:55:25 +0200 Subject: handle bzip1 as well in fact .tbz is tar.bz (bzip1) and .tbz2 is what tar.bz2 is used commonly. --- lib/plugins/plugin/classes/ap_download.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/plugins/plugin') diff --git a/lib/plugins/plugin/classes/ap_download.class.php b/lib/plugins/plugin/classes/ap_download.class.php index 3cc455867..e13d1b8f2 100644 --- a/lib/plugins/plugin/classes/ap_download.class.php +++ b/lib/plugins/plugin/classes/ap_download.class.php @@ -195,7 +195,7 @@ class ap_download extends ap_manage { if (substr($target, -1) == "/") $target = substr($target, 0, -1); $ext = $this->guess_archive($file); - if (in_array($ext, array('tar','bz','gz'))) { + if (in_array($ext, array('tar','bz','bz2','gz'))) { switch($ext){ case 'bz': $compress_type = Tar::COMPRESS_BZIP; -- cgit v1.2.3 From 7afccd0aab62eed3797273e5241b7729bab1fb3f Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Wed, 23 Jan 2013 16:16:18 +0100 Subject: Revert "handle bzip1 as well" This reverts commit f2cb3ec76dec3fe2b40f25765ef842223c7132fe. Turns out I was too fast merging this. I can't get PHP's bzip handler to handle a bzip1 compressed file. --- lib/plugins/plugin/classes/ap_download.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/plugins/plugin') diff --git a/lib/plugins/plugin/classes/ap_download.class.php b/lib/plugins/plugin/classes/ap_download.class.php index e13d1b8f2..3cc455867 100644 --- a/lib/plugins/plugin/classes/ap_download.class.php +++ b/lib/plugins/plugin/classes/ap_download.class.php @@ -195,7 +195,7 @@ class ap_download extends ap_manage { if (substr($target, -1) == "/") $target = substr($target, 0, -1); $ext = $this->guess_archive($file); - if (in_array($ext, array('tar','bz','bz2','gz'))) { + if (in_array($ext, array('tar','bz','gz'))) { switch($ext){ case 'bz': $compress_type = Tar::COMPRESS_BZIP; -- cgit v1.2.3