User:Syunsyunminmin/script-installer-core.js: Difference between revisions
Jump to navigation
Jump to search
User:Syunsyunminmin/script-installer-core.js (view source)
Revision as of 14:21, 4 February 2023
, 4 February 2023no edit summary
(Undo revision 25857 by Syunsyunminmin (talk)) Tag: Undo |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
// How many scripts do we need before we show the quick filter? | // How many scripts do we need before we show the quick filter? | ||
var NUM_SCRIPTS_FOR_SEARCH = | var NUM_SCRIPTS_FOR_SEARCH = 1; | ||
// The master import list, keyed by target. (A "target" is a user JS subpage | // The master import list, keyed by target. (A "target" is a user JS subpage | ||
Line 46: | Line 46: | ||
panelHeader: "現在、以下のスクリプトがインストールされています。", | panelHeader: "現在、以下のスクリプトがインストールされています。", | ||
cannotInstall: "インストール出来ません", | cannotInstall: "インストール出来ません", | ||
cannotInstallSkin: " | cannotInstallSkin: "このページはあなたの利用者カスタムページの1つで、すでにページの読み込み時に実行されているかもしれません(common.jsの場合は実行されています)。", | ||
cannotInstallContentModel: "ページのコンテンツモデルは$1です。'javascript'ではありません。", | cannotInstallContentModel: "ページのコンテンツモデルは$1です。'javascript'ではありません。", | ||
insecure: "( | insecure: "(危険)", // used at the end of some messages | ||
notJavaScript: " | notJavaScript: "JavaScriptではない", | ||
installViaPreferences: " | installViaPreferences: "個人設定からインストール", | ||
showNormalizeLinks: '"標準化"リンクを表示しますか?', | showNormalizeLinks: '"標準化"リンクを表示しますか?', | ||
showMoveLinks: '"移動"リンクを表示しますか?', | showMoveLinks: '"移動"リンクを表示しますか?', | ||
quickFilter: " | quickFilter: "簡易フィルター:", | ||
tempWarning: "利用者サブページまたはMediaWiki名前空間以外で保護されているページからのインストールは一時的なものであり、いつか削除される可能性があります。", | tempWarning: "利用者サブページまたはMediaWiki名前空間以外で保護されているページからのインストールは一時的なものであり、いつか削除される可能性があります。", | ||
badPageError: "ページは User: または MediaWiki: ではなく、保護されていません", | badPageError: "ページは User: または MediaWiki: ではなく、保護されていません", | ||
Line 399: | Line 399: | ||
$.each( imports, function ( targetName, targetImports ) { | $.each( imports, function ( targetName, targetImports ) { | ||
var fmtTargetName = ( targetName === "common" | var fmtTargetName = ( targetName === "common" | ||
? "common ( | ? "common (全ての外装に適用)" | ||
: targetName ); | : targetName ); | ||
if( targetImports.length ) { | if( targetImports.length ) { | ||
Line 797: | Line 797: | ||
} ); | } ); | ||
} )(); | } )(); | ||
</nowiki> | // </nowiki> |