User:Shrikarsan/shri.js/i18n.js
Appearance
< User:Shrikarsan | shri.js
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | Documentation for this user script can be added at User:Shrikarsan/shri.js/i18n. |
/**
* Internationalisation file for AutoWikiBrowser script
* See https://ha.wikipedia.org/wiki/User:Shrikarsan/shri.js for the full script, as well as licensing.
* Licensed under GNU GPL 2. http://www.gnu.org/copyleft/gpl.html
*/
if (!window.AWB || AWB === false) {
//Make AWB an object again to prevent errors later on. The onload function will re-delete this again.
window.AWB = {
messages: {},
allowed: false
};
}
// Tab indentation is optimalised for the Ace editor. The indentation may look weird outside of it.
/** English
* @author Shrikarsan
*/
AWB.messages.en = {
// General interface
'tab-setup': 'Setup',
'tab-editing': 'Editing',
'tab-skip': 'Skip',
'tab-other': 'Other',
'tab-log': 'Log',
'pagelist-caption': 'Enter list of pages:',
'editbox-caption': 'Editing area',
'no-changes-made': 'No changes made. Press skip to go to the next page in the list.',
'page-not-exists': 'Page doesn\'t exist, diff can not be made.',
// Stats
'stat-pages': 'Pages listed:',
'stat-save': 'Pages saved:',
'stat-null': 'Null-edits:',
'stat-skip': 'Pages skipped:',
'stat-other': 'Other:',
// Tab 1
'label-pagelist': 'Page list',
'button-remove-dupes': 'Remove duplicates',
'button-sort': 'Sort',
'preparse': 'Use pre-parse mode',
'tip-preparse': 'Go through listed pages, filtering it down to just the ones that would not be skipped by the current Skip rules.',
'preparse-reset': 'reset',
'tip-preparse-reset': 'Clear the #PRE-PARSE-STOP tag in the pagelist, to pre-parse the whole page list again',
'pagelist-generate': 'Generate',
'label-settings': 'Settings',
'store-setup': 'Store setup',
'tip-store-setup': 'Store the current settings in the dropdown menu, for later access.\n'+
'To be able to access this in a later session, you need to save it to the wiki, or download it.',
'load-settings': 'Load:',
'blank-setup': 'Blank setup',
'delete-setup': 'Delete',
'tip-delete-setup': 'Delete the setup that is currently selected.',
'save-setup': 'Save to wiki',
'download-setup': 'Download',
'import-setup': 'Import',
'tip-import-setup': 'Upload settings files (JSON file format) from your computer.',
'update-setup': 'Update',
'tip-update-setup': 'Refresh the settings stored on your /AWB-settings.js page',
// Tab 2
'edit-summary': 'Summary:',
'minor-edit': 'Minor edit',
'watch-add': 'add now',
'watch-remove': 'remove now',
'watch-nochange': 'Don\'t modify watchlist',
'watch-preferences': 'Watch based on preferences',
'watch-watch': 'Add pages to watchlist',
'watch-unwatch': 'Remove pages from watchlist',
'auto-save': 'Save automatically',
'save-interval': 'every $1 sec', //$1 represents the throttle/interval input element
'tip-save-interval': 'Amount of seconds to pause between each edit',
'editbutton-stop': 'Stop',
'editbutton-start': 'Start',
'editbutton-save': 'Save',
'editbutton-preview': 'Preview',
'editbutton-skip': 'Skip', // This message is also used in tab 4
'editbutton-diff': 'Diff',
'button-open-popup': 'More replace fields',
'button-more-fields': 'Add more fields',
'label-replace': 'Replace:',
'label-rwith': 'With:',
'label-useregex': 'Regular Expression',
'label-regex-flags': 'flags:',
'tip-regex-flags': 'Any flags for regular expressions, for example i for ignorecase.\n'+
'In this AWB script, the _ flag treats underscores and spaces as the same entity. Use with caution.',
'label-ignore-comment': 'Ignore unparsed content',
'tip-ignore-comment': 'Ignore comments and text within nowiki, source, math, or pre tags.',
// Tab 3
'label-redirects': 'Redirects:',
'redirects-follow': 'Follow',
'tip-redirects-follow': 'Edit the page the redirect leads to',
'redirects-skip': 'Skip',
'tip-redirects-skip': 'Skip redirects',
'redirects-edit': 'Edit',
'tip-redirects-edit': 'Edit the redirect itself instead of the page it redirects to',
'label-skip-when': 'Skip when:',
'skip-no-change': 'No changes were made',
'skip-exists-yes': 'exists',
'skip-exists-no': 'doesn\'t exist',
'skip-exists-neither': 'neither',
'skip-after-action': 'Skip editing after move/protect',
'skip-contains': 'When page contains:',
'skip-not-contains': 'When page doesn\'t contain:',
// Tab 4
'editbutton-move': 'Move',
'editbutton-delete': 'Delete',
'editbutton-protect': 'Protect',
'move-header': 'Move options',
'move-redir-suppress': 'Suppress redirects',
'move-also': 'Also move:',
'move-talk-page': 'talk page',
'move-subpage': 'subpages',
'move-new-name': 'New pagename:',
'protect-header': 'Protect options',
'protect-edit': 'Edit:',
'protect-move': 'Move:',
'protect-none': 'No protection', // This is the default label. It should indicate that the dropdown menu is used for selecting protection levels
'protect-autoconf': 'Autoconfirmed',
'protect-sysop': 'Sysop only',
'protect-expiry': 'Expiry:',
//Dialog boxes
'confirm-leave': 'Closing this tab will cause you to lose all progress.',
'alert-no-move': 'Please enter the new pagename before clicking move.',
'not-on-list': 'Your username was not found on the AWB checklist. Please request access by contacting an administrator.',
'verify-error': 'An error occurred while loading the AutoWikiBrowser checkpage:',
'new-message': 'You have new messages. See the status bar for links to view them.',
'no-pages-listed': 'Please enter some articles to browse before clicking start.',
'infinite-skip-notice': "No replacement rules were specified, with AWB set to automatically skip when no changes are made.\n"+
"Please review these settings in the 'Content' and 'Skip' tabs.",
//Statuses
'status-alt': 'loading...',
'status-done': 'Done',
'status-newmsg': 'You have $1 ($2)',
'status-talklink': 'new messages',
'status-difflink': 'last change',
'status-load-page': 'Getting page contents',
'status-submit': 'Submitting edit',
'status-preview': 'Getting preview',
'status-diff': 'Getting edit diff',
'status-move': 'Moving page',
'status-delete': 'Deleting page',
'status-undelete': 'Undeleting page',
'status-protect': 'Protecting page',
'status-watch': 'Modifying watchlist',
'status-watch-added': '$1 has been added to your watchlist',
'status-watch-removed': '$1 has been removed from your watchlist',
'status-regex-err': 'Regex error. Please change the entered <i>replace</i> regular expression',
'status-setup-load': 'Loading AWB settings',
'status-setup-submit': 'Submitting settings to wiki',
'status-setup-dload': 'Downloading settings',
'status-old-browser': 'Please use $1 for importing.',
'status-del-setup': "'$1' has been deleted. $2.",
'status-del-default': 'Your default settings have been reset. $1.',
'status-del-undo': 'Undo',
//Setup
'setup-prompt': 'Under what name do you want to $1 your current setup?',
'setup-prompt-store': 'store',
'setup-prompt-save': 'save',
'setup-summary': 'Updating AWB settings /*semi-automatic*/', //this is based on wgContentLanguage, not wgUserLanguage.
'old-browser': 'Your browser does not support importing files. Please upgrade to a newer browser, or upload the contents of the file to the wiki. See the status bar for links.',
'not-json': 'Only JSON files can be imported. Please ensure your file uses the extension .json, or modify the file extension if necessary.',
'json-err': 'An error was found in your AWB settings:\n$1\nPlease review your settings $2.',
'json-err-upload': 'file',
'json-err-page': "by going to 'Special:MyPage/AWB-settings.js'",
'setup-delete-blank': 'You can\'t delete the blank setup.',
//Pagelist generating
'exceeded-iterations': 'Maximum list length reached. Cancelling further requests to avoid overloading server.',
'namespace-main': 'main',
'label-ns-select': 'Namespace:',
'tip-ns-select': 'Ctrl+click to select multiple namespaces.',
'legend-cm': 'Category',
'label-cm': 'Category:',
'cm-include': 'Include:',
'cm-include-pages': 'pages',
'cm-include-subcgs': 'subcategories',
'cm-include-files': 'files',
'legend-linksto': 'Links to page',
'label-linksto': 'Links to:',
'links-include': 'Include:',
'links-include-links': 'wikilinks',
'links-include-templ': 'transclusions',
'links-include-files': 'file usage',
'links-redir': 'Redirects:',
'links-redir-redirs': 'redirects',
'links-redir-noredirs': 'non-redirects',
'links-redir-all': 'both',
'label-link-redir': 'Include links to redirects',
'tip-link-redir': 'Include links directed towards one of this page\'s redirects',
'legend-ps': 'Pages with prefix',
'label-ps': 'Prefix:',
'legend-wr': 'Watchlist',
'label-wr': 'Include watchlist contents',
'legend-pl': 'Links on page',
'label-pl': 'On page:',
'tip-pl': 'Fetch a list of links on the page(s).\nSeperate values with | vertical bars.',
};