MediaWiki:Gadget-popups.js

出自維基百科

注意: 保存之後, 倷要清吥瀏覽器嗰緩存才眵得正改嗰內容。 Mozilla / Firefox / Safari: 按到 Shift 接到按刷新(或按吖Ctrl-Shift-R,到蘋果Mac上按Cmd-Shift-R);IE: 按到 Ctrl接到按刷新,或按吖Ctrl-F5Konqueror: 單只要按 刷新Opera: 用戶要到 工具-設置 完全嗰清除緩存。

(function($, mw) {

  // The following translated strings is based on https://en.wikipedia.org/w/index.php?title=User:Lupin/strings-draft&oldid=579996170
  // This can help sysops to manage this Gadget, so please update this every fetch from [[en:User:Lupin/strings-draft]]

  //<pre><nowiki>
  //////////////////////////////////////////////////
  // Translatable strings
  //////////////////////////////////////////////////
  //
  // See instructions at
  // http://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups/Translation


window.popupStrings = {
    /////////////////////////////////////
    // summary data, searching etc.
    /////////////////////////////////////
    'article': '條目' ,
    'category': '分類' ,
    'categories': '分類',
    'image': '文件' ,
    'images': '文件' ,
    'stub': '小作品',
    'section stub': '小章節' ,
    'Empty page': '空頁面',
  	'kB': 'kB',
  'bytes': 'B',
  'day': '日',
  'days': '日',
  'hour': '時',
  'hours': '時',
  'minute': '分',
  'minutes': '分',
  'second': '秒',
  'seconds': '秒',
  'week': '周',
  'weeks': '周',
  'search': '搜尋',
  'SearchHint': '搜尋包含 %s 的頁面',
  'web': '站點',
  'global': '全域',
  'globalSearchHint': '在所有維基媒體項目中搜尋 %s',
  'googleSearchHint': '用 Google 搜尋 %s',
  'more...': '更多...',
    /////////////////////////////////////
    // article-related actions and info
    // (some actions also apply to user pages)
    /////////////////////////////////////
    'actions': '動作',         ///// view articles and view talk
    'popupsMenu': 'Popups',
    'enable previews': '啓用預覽',
    'disable previews': '禁用預覽',
    'togglePreviewsHint': '切換本頁Popups的預覽開關',
    'toggle previews': '切換預覽開關',
    'reset': '複位',
    'disable': '禁用Popups' ,
    'disablePopupsHint': '在本頁禁用Popups,重新整理頁面以重新啟用。',
    'historyfeedHint': '本頁最近更改的RSS Feed。' ,
    'purgePopupsHint': '複位Popups,清除所有緩存數據。' ,
    'PopupsHint': hant: '複位Popups,清除所有緩存數據。',
    'spacebar': '空格',
    'view': '查看',
    'view article': '查看條目',
    'viewHint': '前往%s' ,
    'talk': '討論' ,
    'talk page': '討論頁' ,
    'this&nbsp;revision': '此修訂版本' ,
    'revision %s of %s': '頁面$2的修訂版本$1',
    'Revision %s of %s': '頁面$2的修訂版本$1',
    'the revision prior to revision %s of %s': '頁面$2的修訂版本$1之前的修訂版本' ,
    'Toggle image size':'點擊切換圖片大小' ,
    'del': '删除',                 ///// delete, protect, move
    'delete': '删除',
    'deleteHint': '删除%s',
    'undeleteShort': '反',
    'UndeleteHint': '恢復%s' ,
    'protect': '保護',
    'protectHint': '保護%s' ,
    'unprotectShort': '解除',
    'unprotectHint': '解除對%s的保護' ,
    'move': '移動' ,
    'move page': '移動頁面',
    'MovepageHint': '修改%s的標題',
    'edit': '編輯',               ///// edit articles and talk
    'edit article': '編輯條目',
    'editHint': '修改%s的內容' ,
    'edit talk': '編輯討論頁' ,
    'new': '新',
    'new topic': '新主題' ,
    'newSectionHint': '在%s增加新的評論主題' ,
    'null edit': '空編輯' ,
    'nullEditHint': '製造一次對%s的空編輯',
    'hist': '歷史' ,               ///// history, diffs, editors, related
    'history': '歷史' ,
    'historyHint': '%s的修訂歷史' ,
    'last': '最近',
    'lastEdit': '最近更改',
    'show last edit': '最近一次更改',
    'Show the last edit': '顯示最近一次更改的差異' ,
    'lastContrib': '最近編輯' ,
    'last set of edits': '最近編輯' ,
    'lastContribHint': '顯示由最後一位編輯者製造的差異' ,
    'cur': '當前' ,
    'diffCur':  '與目前版本的差異' ,
    'Show changes since revision %s': '顯示自修訂版本%s的差異' ,
    '%s old': '%s前', // as in 4 weeks old
    'oldEdit': '舊編輯' ,
    'purge': '清除缓存',
    'purgeHint':'清除服务器中%s的缓存',
    'raw': '源代碼' ,
    'rawHint':  '查看%s的源代碼',
    'render': '簡單' ,
    'renderHint': '顯示%s的純HTML解析' ,
    'Show the edit made to get revision': '顯示編輯以得到修訂版本' ,
    'sinceMe': '自我',
    'changes since mine': '自我修訂的差異' ,
    'sinceMeHint': '顯示自我上次修改以來的差異' ,
    'Couldn\'t find an edit by %s\nin the last %s edits to\n%s':'在$3最近$2次編輯中找不到$1做出的修改' ,
    'eds': '編輯' ,
    'editors':  '編輯者' ,
    'editorListHint': '列出編輯過%s的用戶' ,
    'related': '相關' ,
    'relatedChanges': '相關更改' ,
    'related changes': '相關更改',
    'RecentchangeslinkedHint': '顯示相關%s的修改' ,
    'editOld': hant: '編輯舊版' ,          ///// edit old version, or revert
    'rv': '回退',
    'revert': '回退',
    'revertHint': '回退到 %s',
    'undo': '撤銷' ,
    'undoHint':'撤銷這次編輯' ,
    'defaultpopupRedlinkSummary': '取消到空頁面[[%s]]的連結,透過[[WP:POP|popups]]' ,
    'defaultpopupFixDabsSummary': '消歧義[[%s]]到[[%s]],透過[[WP:POP|popups]]' ,
    'defaultpopupFixRedirsSummary': '忽略從[[%s]]到[[%s]]的重定向,透過[[WP:POP|popups]]' },
    'defaultpopupExtendedRevertSummary': '回退到$2在$1時製作的修訂版本$3,透過[[WP:POP|popups]]' ,
    'defaultpopupRevertToPreviousSummary': '回退到修訂版本%s的上一個版本,透過[[WP:POP|popups]]' ,
    'defaultpopupRevertSummary': '回退到修訂版本%s,透過[[WP:POP|popups]]' ,
    'defaultpopupQueriedRevertToPreviousSummary': '回退到修訂$1(由$3在$2時製作)的上一個修訂版本,透過[[WP:POP|popups]]' ,
    'defaultpopupQueriedRevertSummary': '回退到$3在$2時製作的修訂版本$1,透過[[WP:POP|popups]]' ,
    'defaultpopupRmDabLinkSummary': '移除到消歧義頁[[%s]]的連結,透過[[WP:POP|popups]]',
    'Redirects': '重定向', // as in Redirects to ...
    ' to ': '至',           // as in Redirects to ...
    'Bypass redirect': '忽略重定向' ,
    'Fix this redirect':'修復重定向' ,
    'disambig': '消歧義' ,          ///// add or remove dab etc.
    'disambigHint': '消歧義這個連結到[[%s]]' ,
    'Click to disambiguate this link to:': '點擊以消歧義這個連結到:' ,
    'remove this link': '移除連結' ,
    'remove all links to this page from this article':'移除此條目到這頁的所有連結' ,
    'remove all links to this disambig page from this article': '移除此條目到這消歧義的所有連結' ,
    'mainlink': '主連結' ,          ///// links, watch, unwatch
    'wikiLink': '內部連結' ,
    'wikiLinks':'內部連結' ,
    'links here': '鏈入' ,
    'whatLinksHere': '鏈入頁面' ,
    'what links here': '鏈入頁面' ,
    'WhatlinkshereHint':  '顯示連結到%s的頁面' ,
    'unwatchShort': '取消' ,
    'watchThingy': '監視' ,  // called watchThingy because {}.watch is a function
    'watchHint': '將%s加入到我的監視列表' ,
    'unwatchHint': '從我的監視列表移除%s' ,
    'Only found one editor: %s made %s edits': '僅找到一位編者:%s作出了%s次編輯' ,
    '%s seems to be the last editor to the page %s': '%s看上去是%s這頁的最後一位編者' ,
    'rss': 'RSS' ,
    /////////////////////////////////////
    // diff previews
    /////////////////////////////////////
    'Diff truncated for performance reasons': '差異已被截斷' ,
    'Old revision': '舊版本' ,
    'New revision': '新版本' ,
    'Something went wrong :-(': '出問題了:-(' ,
    'Empty revision, maybe non-existent': '空的修訂,可能並不存在' ,
    'Unknown date': '未知日期',
    /////////////////////////////////////
    // other special previews
    /////////////////////////////////////
    'Empty category': '空的分類' ,
    'Category members (%s shown)': '分類成員(%s顯示)' ,
    'No image links found': '未找到文件連結' ,
    'File links': '文件連結' ,
    'not commons': '維基共享中無此名稱的文件。' ,
    'commons only':  '此文件來自維基共享。' ,
    'No image found': '找不到文件' ,
    'commons dupe': '維基共享中存在此文件的副本。' ,
    'commons conflict': '維基共享中存在此文件名稱不同的副本。' ,
    /////////////////////////////////////
    // user-related actions and info
    /////////////////////////////////////
    'user': '用戶' ,               ///// user page, talk, email, space
    'user&nbsp;page': '用戶頁' ,
    'user talk': '用戶討論' ,
    'edit user talk': '編輯用戶討論' ,
    'leave comment': '留言',
    'email': '電郵' ,
    'email user': '電郵用戶' ,
    'EmailuserHint': '給%s發送電子郵件',
    'space': '空間' , // short form for userSpace link
    'PrefixIndexHint': '顯示%s的用戶空間' ,
    'count': '統計' ,             ///// contributions, tree, log
    'edit counter': '編輯次數' ,
    'katelinkHint': '%s的編輯次數',
    'contribs': '貢獻' ,
    'contributions': '貢獻' ,
    'deletedContribs': '已刪除的貢獻' ,
    'ContributionsHint': '%s的用戶貢獻' ,
    'tree': '樹' ,
    'contribsTreeHint': '根據命名空間看%s的貢獻' ,
    'log': '日誌' ,
    'user log': '用戶日誌' ,
    'userLogHint': '顯示%s的用戶日誌' ,
    'arin': 'ARIN查詢' ,             ///// ARIN lookup, block user or IP
    'Look up %s in ARIN whois database': '在ARIN Whois數據庫中查詢%s' ,
    'unblockShort': '解除' ,
    'block': '封禁' ,
    'block user': '封禁用戶' ,
    'IpblocklistHint': '解封%s' ,
    'BlockipHint': '封禁%s' ,
    'block log': '封禁日誌' ,
    'blockLogHint': '顯示%s的封禁日誌' ,
    'protectLogHint': '顯示%s的保護日誌' ,
    'pageLogHint': '顯示%s的日誌' ,
    'deleteLogHint': '顯示%s的刪除日誌' ,
    'Invalid %s %s': '選項%s不可用:%s' ,
    /////////////////////////////////////
    // Autoediting
    /////////////////////////////////////
    'Enter a non-empty edit summary or press cancel to abort': '輸入編輯摘要,或按取消中止操作' ,
    'Failed to get revision information, please edit manually.\n\n': '獲取修訂版本資訊失敗,請手動修改。\n\n' ,
    'The %s button has been automatically clicked. Please wait for the next page to load.': '按鈕%s已被自動點擊,請等待下一個頁面載入。' ,
    'Could not find button %s. Please check the settings in your javascript file.': '找不到按鈕%s,請檢查您JavaScript檔案中的設定。' ,
    /////////////////////////////////////
    // Popups setup
    /////////////////////////////////////
    'Open full-size image': '檢視全尺寸影像' ,
    'zxy': 'zxy' ,
    'globalSearchHint': "在維基百科其他語言搜尋「%s」" ,
    'googleSearchHint': "在Google上搜尋「%s」" ,
    'enable previews': "啟用預覽" ,
    'show preview': "禁用預覽" ,
    'historyfeedHint': "該頁面的近期更改RSS feed" ,
    'send thanks': '發送感謝',
    'ThanksHint': '向該用戶發送一封感謝訊息',
    'mark patrolled': '標記為已巡查',
    'markpatrolledHint': '標記該編輯為已巡查',
    'Could not marked this edit as patrolled': '無法標記該編輯為已巡查',
    'defaultpopupReviewedSummary': '標記從版本%s到%s間的編輯為已巡查',
    'Image from Commons': '來自維基共享資源的圖片',
    'Description page':'圖片描述頁面',
    'Alt text:': '替換文字(Alt):',
    'revdel': '歷史版本被隱藏' ,
    'editCounterLinkHint': '用戶%s的編輯次數',
    'DeletedcontributionsHint': '用戶%s的被刪除編輯次數',
    'No backlinks found': '找不到連入頁面',
    'and more': '以及其他頁面',
    'Download preview data': '下載預覽資料',
    'Invalid or IP user':'錯誤的用戶名稱或IP用戶',
    'Not a registered username': '非已註冊的用戶',
    'BLOCKED': '被封鎖',
    'Has blocks': '被部分封鎖',
    ' edits since: ': '次編輯,註冊日期為',
    'last edit on ': '最後一次編輯於',
    'EmailUserHint': '給%s發送電子郵件',
    'RANGEBLOCKED': 'IP段被封鎖',
    'IP user': 'IP用戶',
    '♀': "♀",
    '♂': "♂",
    'HIDDEN': '全域隱藏',
    'LOCKED': '全域鎖定',
    'Invalid user': '非法用戶名稱',
    'diff':'差異',
    'to ': '至',
    'PrefixIndexHint': '顯示用戶%s的子頁面',
    'nullEditSummary': '進行一次零編輯',
    separator: "、",
    comma: ","
  };
  //</nowiki></pre>

  mw.loader.load('https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript');
})(jQuery, mediaWiki);