Jump to content

User:PleaseStand/References segregator/Localization

From Wikipedia, the free encyclopedia

//

var SegregateRefsJsL10n = {

version: 1.11,

buttonText: "Segregate refs for editing",

// DO NOT TRANSLATE THE NEXT LINE: it is for changing the button color
buttonStyle: "background: #dfd;",

buttonConvertText: "Migrate article to LDR",

// DO NOT TRANSLATE THE NEXT LINE: it is for changing the button color
buttonConvertStyle: "background: #fdd;",

autoWord: "Auto",

emptyRefsWarning: "IMPORTANT: This page includes one or more named footnotes of which the first occurrence(s) have no contents, which is not best practice. This script does not harm such footnotes, however you should be aware that this script ONLY CHECKS THE FIRST REF TAG it finds for the actual citation or note text, and you must work within this limitation. Any change to the empty ref tag will replace the footnote entirely and leave the old note text hidden.\n\nBEFORE concluding from the footnotes list that a ref is in fact empty, please manually check all identically-named ref tags for the contents. \n\nDo you acknowledge this limitation of the script? DO NOT CLICK OK UNTIL YOU HAVE READ THE ABOVE INFORMATION.",

convertRefsWarning: "WARNING: You need consensus to migrate an article to list-defined references format (LDR) BEFORE you do so.\n\nClick Cancel now if consensus has not been established in favor of this migration. If there is consensus to make the conversion, click OK to do so.",

groupPrompt: "Please enter the name of a group (as it appears in the wikitext, including any quotes). Leave this blank if unsure.",

refsHeader: "Inline footnotes",

convertHeader: "Generated refs list",

refsCommentIncomplete: "<!-- This list of footnotes may be incomplete. Do not use for conversion purposes. -->\n\n",

refsCommentComplete: "<!-- Converted to LDR format\n     using [[User:PleaseStand/References segregator]] -->\n\n",

convertSummary: "Converted footnotes to LDR format (using [[User:PleaseStand/References segregator|segregate-refs]])",

convertFurther: "This script has done most of the work. However, you still need to do the following:\n\n* Insert the refs list in the new textbox into the proper place in the wikitext.\n* If converting a special group, optionally remove the group attributes.\n* Replace all autogenerated names with human-generated names.\n\nYou can do the above with the Find/Replace command in many text editors. (Always use the quoted form of the attributes.) Then, paste the text back into the edit form and save the page.",

integrateWarning: "The refs listed below are missing from the text. If you continue, they will be permanently deleted. Are you sure?\n\nUnused refs: "

};

// install [[en:Wikipedia:User:PleaseStand/References segregator]] editing tool
importScriptURI('http://en.wikipedia.org/w/index.php?title=' +
'User:PleaseStand/segregate-refs.js&action=raw&ctype=text/javascript');

// END