Jump to content

User:Redaking/common.js: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Redaking (talk | contribs)
No edit summary
Tag: Reverted
Redaking (talk | contribs)
No edit summary
Tag: Reverted
Line 1: Line 1:
window.articleTranslatorConf = {
window.articleTranslatorConf = {
homeWiki: 'ar', // home wiki, which language you want links to be translated to by default
homeWiki: 'arz', // home wiki, which language you want links to be translated to by default
fromLang: mw.config.get('wgPageContentLanguage'), // from language, which language you want links to be translated from by default, usually the wiki you are in anyway
fromLang: mw.config.get('wgPageContentLanguage'), // from language, which language you want links to be translated from by default, usually the wiki you are in anyway
translatorBarFormat: '$1translate$2 links from $3 to $4 $5', // translate what is in quotes except $1 $2 $3 $4 $5 which are placeholders
translatorBarFormat: '$1translate$2 links from $3 to $4 $5', // translate what is in quotes except $1 $2 $3 $4 $5 which are placeholders

Revision as of 02:27, 6 September 2024

window.articleTranslatorConf = {
  homeWiki: 'arz', // home wiki, which language you want links to be translated to by default
  fromLang: mw.config.get('wgPageContentLanguage'), // from language, which language you want links to be translated from by default, usually the wiki you are in anyway
  translatorBarFormat: '$1translate$2 links from $3 to $4 $5', // translate what is in quotes except $1 $2 $3 $4 $5 which are placeholders
  templateTranslatorText: 'Template translation', // translate what is in quotes
  removeLinksAliasesText: 'Remove Links Aliases', // translate what is in quotes
  interwikiCount: 'Language links count', // translate what is in quotes
  linkedTo: 'Linked to', // translate what is in quotes
  listOfUnavailablePagesOn: 'List of not present pages on' // translate what is in quotes
};
importScript('User:Ebrahim/ArticleTranslator.js');