MediaWiki talk:Gadget-Cat-a-lot.js/zh-hant
Jump to navigation
Jump to search
9 November 2011
[edit]Liangent (talk) 07:37, 9 November 2011 (UTC)
- Done Thanks for helping. -- RE rillke questions? 17:03, 9 November 2011 (UTC)
New strings
[edit]// Preferences // new: added 2012-09-19. Please translate. // Use user language for i18n watchlistpref: "使用Cat-A-Lot編輯文件時的監視列表選項", watch_pref: "與系統參數設置相同", watch_nochange: "不要更改監視狀態", watch_watch: "監視使用Cat-A-Lot編輯的頁面", watch_unwatch: "將使用Cat-A-Lot編輯的頁面從監視列表移除", minorpref: "將編輯標記爲小修改(如果您在系統參數設置中已設置將所有編輯標記爲小修改,此選項不會對現有行爲進行改動)", editpagespref: "允許對不是文件的頁面和子分類進行分類操作", docleanuppref: "移除{{Check categories}}並進行其他細節清理", subcatcountpref: "最多顯示的子分類數量", configSettings: "參數設置"
Liangent (talk) 10:32, 8 April 2013 (UTC)
- Done. Thanks for your help. -- Rillke(q?) 17:04, 8 April 2013 (UTC)
bug fix
[edit]{{Editprotected}}
Two $.extend(catALot.i18n, {
in the code should be changed to mw.messages.set({
. And please commit the same changes on MediaWiki:Gadget-Cat-a-lot.js/zh-hans and MediaWiki:Gadget-Cat-a-lot.js/zh-yue. --Gyakusyuu no Amanojaku (talk) 06:09, 10 March 2017 (UTC)
- Done Awesome! Thank you! jdx Re: 07:01, 10 March 2017 (UTC)
Editprotected
[edit]// jshint valid
// Cat-A-Lot
// Translation for Chinese (Traditional)
// (See [[MediaWiki:Gadget-Cat-a-lot.js/translating]] for more information)
//
//DO NOT CHANGE THE NEXT LINE
/*global mw:false*/
if (mw.config.get('wgUserLanguage') !== 'en') {
//DO NOT CHANGE THE PREVIOUS LINE
mw.messages.set({
// Preferences
// new: added 2012-09-19. Please translate.
// Use user language for i18n
'cat-a-lot-watchlistpref': "使用Cat-a-lot編輯文件時的監視列表選項",
'cat-a-lot-watch_pref': "與系統偏好設定相同",
'cat-a-lot-watch_nochange': "不要更改監視狀態",
'cat-a-lot-watch_watch': "監視使用Cat-a-lot編輯的頁面",
'cat-a-lot-watch_unwatch': "將使用Cat-a-lot編輯的頁面從監視列表移除",
'cat-a-lot-minorpref': "將編輯標記爲小修改(如果您在系統偏好設定中已設置將所有編輯標記爲小修改,此選項不會對現有行爲進行改動)",
'cat-a-lot-editpagespref': "允許對不是文件的頁面和子分類進行分類操作",
'cat-a-lot-docleanuppref': "移除{{Check categories}}並進行其他細節清理",
'cat-a-lot-subcatcountpref': "最多顯示的子分類數量",
'cat-a-lot-config-settings': "偏好設定",
//Progress
'cat-a-lot-loading': '正在載入......',
'cat-a-lot-editing': '正在編輯頁面',
'cat-a-lot-of': ',共有',
'cat-a-lot-skipped-already': '以下頁面已跳過,因爲頁面已經在分類中:',
'cat-a-lot-skipped-not-found': '以下頁面已跳過,因爲找不到現有分類:',
'cat-a-lot-skipped-server': '以下頁面無法編輯,因爲連接服務器出錯:',
'cat-a-lot-all-done': '全部頁面已處理。',
'cat-a-lot-done': '已完成!',
'cat-a-lot-added-cat': '已加入分類',
'cat-a-lot-copied-cat': '已複製到分類',
'cat-a-lot-moved-cat': '已移動到分類',
'cat-a-lot-removed-cat': '已從分類移除',
'cat-a-lot-return-to-page': '返回到頁面',
'cat-a-lot-cat-not-found': '找不到分類。',
//as in 17 files selected
'cat-a-lot-files-selected': '已選擇 $1 個頁面或檔案。',
//Actions
'cat-a-lot-copy': '複製',
'cat-a-lot-move': '移動',
'cat-a-lot-add': '增加',
'cat-a-lot-remove-from-cat': '從此分類移除',
'cat-a-lot-enter-name': '輸入分類名稱',
'cat-a-lot-select': '選擇',
'cat-a-lot-all': '全部',
'cat-a-lot-none': '無',
'cat-a-lot-none-selected': '沒有選擇任何頁面或檔案!!!'
});
}
//DO NOT CHANGE THE NEXT LINE
if (mw.config.get('wgContentLanguage') !== 'en') {
//DO NOT CHANGE THE PREVIOUS LINE
if (mw.config.get('wgContentLanguage') !== 'zh') {
//DO NOT CHANGE THE PREVIOUS LINE
mw.messages.set({
'cat-a-lot-summary-add': '[[Help:Cat-a-lot|Cat-a-lot]]:加入分类:[[:Category:$1]]',
'cat-a-lot-summary-copy': '[[Help:Cat-a-lot|Cat-a-lot]]:分类间复制:从[[:Category:$1]]到[[:Category:$2]]',
'cat-a-lot-to': '到[[:Category:$2]]',
'cat-a-lot-summary-move': '[[Help:Cat-a-lot|Cat-a-lot]]:分类间移动:从[[:Category:$1]]到[[:Category:$2]]',
'cat-a-lot-summary-remove': '[[Help:Cat-a-lot|Cat-a-lot]]:从分类移除:[[:Category:$1]]'
});
} else {
mw.messages.set({
'cat-a-lot-summary-add': '[[Help:Cat-a-lot|Cat-a-lot]]:加入分類[[Category:$1]]',
'cat-a-lot-summary-copy': '[[Help:Cat-a-lot|Cat-a-lot]]:分類間複製:從[[Category:$1]]到[[Category:$2]]',
'cat-a-lot-to': '到[[Category:$2]]',
'cat-a-lot-summary-move': '[[Help:Cat-a-lot|Cat-a-lot]]:分類間移動:從[[Category:$1]]到[[Category:$2]]',
'cat-a-lot-summary-remove': '[[Help:Cat-a-lot|Cat-a-lot]]:從分類移除:[[Category:$1]]'
});
}
}
}
--Sunny00217 (talk) 05:35, 1 March 2020 (UTC)
- @Sunny00217: Hm, I’m not convinced that extra
if (mw.config.get('wgContentLanguage') !== 'zh') {
line is correct? It’s not mentioned on MediaWiki:Gadget-Cat-a-lot.js/translating. --Lucas Werkmeister (talk) 09:48, 13 June 2020 (UTC)- @Lucas Werkmeister: Yes. e.g.zhwiki,
mw.config.get('wgContentLanguage') == 'zh'
, editsummry should be same in a wiki.--Sunny00217 (talk) 11:03, 13 June 2020 (UTC) - and if
mw.config.get('wgContentLanguage') !== 'zh'
, use translation of zh-hant--Sunny00217 (talk) 11:06, 13 June 2020 (UTC)- Sorry for the late and unsatisfying reply, but I still don’t feel confident to make this edit, sorry. If any other interface admins were holding off on this request because it looks assigned to me or something – no, please take over :) the Cat-a-lot i18n system is still a mystery to me. --Lucas Werkmeister (talk) 17:08, 26 September 2020 (UTC)
- @Lucas Werkmeister: Yes. e.g.zhwiki,
- Not done —Mdaniels5757 (talk • contribs) 17:30, 18 December 2022 (UTC)