您在這裡

Drupal 6.14 中文化修正檔 (包含Drupal 6.x 修正) [UPDATED: 28-10-09]

Kay.L's 的頭像
Kay.L 在 2009-04-25 (週六) 18:25 發表

最新修正:
https://drupaltaiwan.org/forum/20090425/3352#comment-12571

個人對Drupal的中文化進行了少許的修正,歡迎使用。
此次提供較完整的最新Drupal 6.10版本翻譯,及原有的Drupal 6.2 版本修正。

修正變更
====================================
對Drupal 6.2 (此網站上的版本),進行了文字修正。包括:

  • 將原有的簡體翻譯轉為繁體
  • 錯別字修正

詳細修正字串,請閱讀附上檔案中的Report.htm (drupal-6.2-zh-hant-allinone.zip)

重點:Drupal 6.10 版本的修正,及完善未翻譯字串。包括:

  • 包含錯別字及繁簡修正
  • 補上未翻譯字串
  • 統一用詞

己統一修正的用詞:
紀錄 -> 記錄
瞭解 -> 了解
(這些用字很多爭議,大多為通用,亦人人明白,所以取其一)

未統一修正,但建議用詞 (請提供意見):
語系 -> 語言
延伸檔名 -> 副檔名 (繁體Windows翻譯用字)
*** 由於大家習慣了,所以暫不修正,如果大家都認為不錯,可以在Drupal 7統一使用

******** Drupal 6.10 中文化,沒有翻譯三個個人覺得很沒必要翻譯的字串:
@module (enabled)
@module (missing)
@module (disabled)

我是用 drupal-6.10-zh-hant-translations.zip 這個檔來匯入的。
匯入時有幾個錯誤,大部分是 Duplicate entry:

* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/locale/locale.module:264; modules/comment/comment.module:585,553,501; modules/block/block.admin.inc:363; install.php:1084; modules/statistics/statistics.admin.inc:185; modules/statistics/statistics.module:255; modules/system/system.admin.inc:1663,1509,1333,1325,1307,1293,1276; modules/system/system.install:60; modules/upload/upload.module:215; modules/user/user.admin.inc:430,412', 'Disabled', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/menu/menu.admin.inc:293,176; modules/locale/locale.module:264; modules/comment/comment.module:553; includes/locale.inc:90; install.php:1084; modules/statistics/statistics.admin.inc:185; modules/system/system.admin.inc:2207,2018,1663,1509,1333,1325,1293; modules/system/system.install:282; modules/upload/upload.module:215; modules/user/user.admin.inc:430,412', 'Enabled', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '啟用', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/node/node.admin.inc:501; modules/node/content_types.inc:28; modules/menu/menu.admin.inc:97; modules/contact/contact.admin.inc:16; modules/comment/comment.module:841,830; modules/comment/comment.admin.inc:71; modules/book/book.admin.inc:237; modules/aggregator/aggregator.admin.inc:41,30; includes/locale.inc:2047,86; modules/path/path.admin.inc:44; modules/profile/profile.admin.inc:30; modules/taxonomy/taxonomy.admin.inc:773,769,401,207,203; modules/translation/translation.pages.inc:38; modules/user/user.admin.inc:890,185; modules/user/user.module:2322,1422', 'edit', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '編輯', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/node/node.pages.inc:557; modules/node/content_types.inc:32; modules/menu/menu.admin.inc:100; modules/filter/filter.admin.inc:35; modules/contact/contact.admin.inc:16; modules/comment/comment.module:826; modules/book/book.admin.inc:238; modules/block/block.admin.inc:85; includes/locale.inc:2048,86; modules/path/path.admin.inc:44; modules/profile/profile.admin.inc:31; modules/system/system.module:1334; modules/user/user.admin.inc:890', 'delete', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '刪除', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/node/node.module:1322; modules/menu/menu.module:418; modules/menu/menu.admin.inc:320,178; modules/forum/forum.admin.inc:134,52; modules/filter/filter.admin.inc:362; modules/contact/contact.admin.inc:58; modules/book/book.module:387; modules/book/book.admin.inc:218; modules/block/block-admin-display-form.tpl.php:43; includes/locale.inc:90; modules/profile/profile.admin.inc:265,150; modules/taxonomy/taxonomy.admin.inc:705,171,90; modules/upload/upload.module:517', 'Weight', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '順序', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/openid/openid.pages.inc:42; modules/node/node.pages.inc:527; modules/node/node.admin.inc:566; modules/node/content_types.inc:15; modules/menu/menu.admin.inc:179; modules/filter/filter.admin.inc:69; modules/dblog/dblog.admin.inc:170,62; modules/contact/contact.admin.inc:18; modules/comment/comment.admin.inc:58; modules/book/book.admin.inc:218,17; modules/block/block-admin-display-form.tpl.php:47; modules/aggregator/aggregator.admin.inc:38,27; includes/locale.inc:2033,90; modules/path/path.admin.inc:32; modules/profile/profile.admin.inc:152; modules/statistics/statistics.admin.inc:82,17; modules/statistics/statistics.pages.inc:48,16; modules/system/system.admin.inc:2207; modules/system/system.module:1325; modules/taxonomy/taxonomy.admin.inc:612,93; modules/translation/translation.pages.inc:27; modules/user/user.admin.inc:949,912,885,139', 'Operations', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '操作', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/openid/openid.pages.inc:47; modules/node/node.module:1536,1506; modules/node/node.pages.inc:591,505,247; modules/node/node.admin.inc:125; modules/node/content_types.inc:393; modules/menu/menu.admin.inc:460,393,265; modules/forum/forum.admin.inc:168,148,60,10; modules/filter/filter.admin.inc:252; modules/contact/contact.admin.inc:138; modules/comment/comment.admin.inc:248; modules/block/block.admin.inc:334; modules/aggregator/aggregator.admin.inc:306,275,142,102; includes/locale.inc:920,403; modules/profile/profile.admin.inc:375; modules/system/system.module:1525; modules/taxonomy/taxonomy.admin.inc:877,842,749,720,220,187; modules/upload/upload.module:517; modules/user/user.admin.inc:869; modules/user/user.pages.inc:324,257; modules/user/user.module:1070', 'Delete', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '刪除', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/node/node.pages.inc:591,571,506; modules/node/node.admin.inc:618,78; modules/forum/forum.admin.inc:168; modules/filter/filter.admin.inc:252; modules/contact/contact.admin.inc:138; modules/comment/comment.admin.inc:249,190; modules/block/block.admin.inc:334; modules/aggregator/aggregator.admin.inc:191; includes/locale.inc:920,403; modules/profile/profile.admin.inc:375; modules/search/search.admin.inc:14; modules/system/system.admin.inc:1082,845; modules/system/system.module:1525,1143; modules/taxonomy/taxonomy.admin.inc:913,878,843; modules/trigger/trigger.admin.inc:77; modules/user/user.admin.inc:870; modules/user/user.pages.inc:324; modules/user/user.module:1872', 'Cancel', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '取消', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/forum/forum.module:655,198; modules/comment/comment.pages.inc:53; modules/book/book.module:625; modules/blog/blog.module:109; includes/menu.inc:1501; modules/system/maintenance-page.tpl.php:42,35,34; modules/system/page.tpl.php:103,96,95; modules/taxonomy/taxonomy.pages.inc:40; themes/bluemarine/page.tpl.php:20,19; themes/chameleon/chameleon.theme:42; themes/pushbutton/page.tpl.php:27,21', 'Home', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '首頁', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/node/node.module:584; modules/node/node.admin.inc:562; modules/node/content_types.inc:58; modules/menu/menu.admin.inc:413; modules/filter/filter.module:220; modules/book/book.admin.inc:218; modules/aggregator/aggregator.admin.inc:263,63,38,27; modules/profile/profile.admin.inc:221,147; modules/statistics/statistics.admin.inc:150; modules/translation/translation.pages.inc:27', 'Title', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '標題', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/node/node.pages.inc:234; modules/menu/menu.admin.inc:424,325; modules/forum/forum.admin.inc:145,58; modules/contact/contact.admin.inc:72; modules/comment/comment.module:1391,1390; modules/aggregator/aggregator.admin.inc:286,272,113,99; modules/system/system.module:1474; modules/taxonomy/taxonomy.admin.inc:760,715,414,185,37; modules/user/user.pages.inc:253', 'Save', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '儲存', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/node/node.pages.inc:454; modules/node/content_types.inc:335; modules/contact/contact.admin.inc:121,115; modules/comment/comment.module:771,708; modules/comment/comment.admin.inc:111; modules/book/book.admin.inc:236,130; modules/blogapi/blogapi.module:300,238; modules/aggregator/aggregator.admin.inc:338,174; modules/profile/profile.admin.inc:388,346; modules/update/update.fetch.inc:60,57', 'view', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '檢視', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/node/node.pages.inc:591,504; modules/node/node.admin.inc:617; modules/node/content_types.inc:391; modules/menu/menu.admin.inc:459; modules/contact/contact.admin.inc:138; modules/comment/comment.admin.inc:189; modules/aggregator/aggregator.admin.inc:189; modules/system/system.module:1134; modules/user/user.admin.inc:868; modules/user/user.module:1871', 'This action cannot be undone.', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '此動作無法恢復!', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/node/content_types.inc:103,15; modules/menu/menu.admin.inc:419,286; modules/forum/forum.admin.inc:126,45; modules/aggregator/aggregator.admin.inc:269; modules/system/system.admin.inc:2108,2024,1751; modules/system/system.module:1445,1324; modules/taxonomy/taxonomy.admin.inc:670,129; modules/upload/upload.module:517', 'Description', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '說明', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/node/node.module:1450,1419; modules/locale/locale.module:83; modules/forum/forum.module:101; modules/filter/filter.module:79; modules/contact/contact.module:53; modules/book/book.module:86; modules/block/block.module:128; modules/aggregator/aggregator.module:124; modules/path/path.module:62; modules/system/system.module:325,321,283; modules/taxonomy/taxonomy.module:180,122; modules/update/update.module:128; modules/upload/upload.module:517; modules/user/user.module:1009,957', 'List', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '列表', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/menu/menu.info:0; modules/locale/locale.info:0; modules/help/help.info:0; modules/forum/forum.info:0; modules/dblog/dblog.info:0; modules/contact/contact.info:0; modules/comment/comment.info:0; modules/color/color.info:0; modules/book/book.info:0; modules/blogapi/blogapi.info:0; modules/blog/blog.info:0; modules/aggregator/aggregator.info:0; modules/openid/openid.info:0; modules/path/path.info:0; modules/php/php.info:0; modules/ping/ping.info:0; modules/poll/poll.info:0; modules/profile/profile.info:0; modules/search/search.info:0; modules/statistics/statistics.info:0; modules/syslog/syslog.info:0; modules/taxonomy/taxonomy.info:0; modules/throttle/throttle.info:0; modules/tracker/tracker.info:0; modules/translation/translation.info:0; modules/trigger/trigger.info:0; modules/update/update.info:0; modules/upload/upload.info:0', 'Core - optional', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '核心 - 可選擇的', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/node/node.module:978; modules/node/node.pages.inc:598,584,463,459; modules/forum/forum.admin.inc:177; modules/comment/comment.module:793,771,708; modules/comment/comment.admin.inc:286,280,111; modules/book/book.admin.inc:130; modules/blogapi/blogapi.module:300,238', 'content', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '內容', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.
* user warning: Data too long for column 'location' at row 1 query: INSERT INTO locales_source (location, source, textgroup) VALUES (' modules/node/content_types.inc:72,15; modules/filter/filter.admin.inc:362,102,69; modules/profile/profile.admin.inc:147; modules/system/system.admin.inc:2207,2149,2107,2022,1129; modules/taxonomy/taxonomy.admin.inc:612,88; modules/trigger/trigger.admin.inc:238; modules/user/user.admin.inc:949', 'Name', 'default') in Z:\l10n\UserDir\root\includes\locale.inc on line 1364.
* user warning: Duplicate entry 'zh-hant-0-0' for key 'PRIMARY' query: INSERT INTO locales_target (lid, language, translation, plid, plural) VALUES (0, 'zh-hant', '名稱', 0, 0) in Z:\l10n\UserDir\root\includes\locale.inc on line 1366.

Drupal 6.11 版本更新及修正

個人更新原則:
盡量用詞正確,使用常用字詞

此次更新:

  • Drupal 6.11 新增字串及調整
  • 字串修正
  • ":"符號更改

列出主要更新:
: -> : (原因是很多內置的半型":"並沒有包含在 t()中,也就是不能翻譯,所以統一為":",保持一致性)

This action cannot be undone -> 此動作無法復原 (參考微軟)
in megabytes -> 以 MB 為單位
revision -> 修訂 (參考微軟,原翻譯使用量及意思)

包刮 -> 包括
變正 -> 變更 (以前翻譯這詞的是美女嗎 ? 哈)
寄送 -> 傳送 (參考微軟、YAHOO、Google Mail 用詞)
不容許 -> 不允許
延伸檔名 -> 副檔名
沒有做出任何改變 -> 未做任何變更
回覆到之前的修定版本 -> 回復到之前的修定版本

有趣的更新,例如聯絡表單一直多了一個":"沒有人發現
http://drupaltaiwan.org/user/2438/contact

還有一大堆詞句修正 ...

下載注意:
drupal-6.11-zh-hant.zip
(All in one)

drupal-6.11-zh-hant-translations.zip
(分包格式)

drupal-6.11-zh-hant-org.zip
(保留全型":",也是最後一次保留)

Drupal 6.14 中文化檔案

如果是自用的舊用戶,沒太必要更新,因為只增加了大約五個新翻譯,及數個小修正。

此次小更新:

  • 翻譯新增字句
  • 修正字句

摘要記錄:

  • 文章摘要的字元長度修正

    舊:
    msgid "200 characters"
    msgstr "100字(200字元)"

    現在:
    msgid "200 characters"
    msgstr "200字元"

    如系統有支援Unicode library,Drupal會以Unicode方式截取長度。
    Drupal 報告中也提示大家Unicode library方面的事項,所以應修正。
    http://api.drupal.org/api/function/drupal_strlen/6

  • msgid "Escape all tags"
    msgstr "使用所有HTML標籤"

    應該是:逸出所有HTML 標籤

  • 刪除注冊時建議不要使用中文的語句
  • 還有一些....

下載:
http://bit.ly/drupal-6-14-zh-hant
整合成一個檔案的翻譯,可以直接匯入

http://bit.ly/drupal-6-14-zh-hant-translations
Drupal 6 翻譯包格式的檔案,解壓縮後丟到你的 Drupal 根目錄裡,就可以在安裝時切換到中文的安裝介面,或是在安裝後匯入各模組的中文翻譯。

(下載檔案保全在我的個人空間中,以方便計算點擊率)

---
notaBlueScreen | 訂閱RSS | Plurk

小修正 26 處 (Drupal 5.x - Drupal 7.x):

主要是一些變數問題

比如:
原文:This is a variable @ABC
錯誤翻譯:變數不能翻譯 !ABC

- 請大家翻譯時注意,不要隨便修改變數或刪除,這會造成錯誤及安全問題
- 最好是直接複製變數,這就防止錯誤不小心造成輸入錯誤

請到官方翻譯 SERVER 下載:
http://localize.drupal.org/translate/languages/zh-hant/export

(除非有大變更,否則詞彙上的修正,我將會不再在此貼子上通知)

---
notaBlueScreen | 訂閱RSS | Plurk