mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
Merge "[BrowserTest] Add prefixes to language screenshot messages"
This commit is contained in:
commit
9924be7acc
|
@ -8,5 +8,5 @@ include MediawikiApi
|
|||
def translate(string)
|
||||
file = File.read "i18n/#{ENV['LANGUAGE_SCREENSHOT_CODE']}.json"
|
||||
json = JSON.parse(file)
|
||||
json["languagescreenshot-#{string.downcase.gsub(' ', '-')}-text"] || ''
|
||||
json["visualeditor-languagescreenshot-#{string.downcase.gsub(' ', '-')}-text"] || ''
|
||||
end
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
"Vikas Yaligar"
|
||||
]
|
||||
},
|
||||
"languagescreenshot-hello-world-text": "Hello, World!",
|
||||
"languagescreenshot-world-text": "World",
|
||||
"languagescreenshot-category-earth-text": "Category:Earth"
|
||||
"visualeditor-languagescreenshot-desc": "Strings for the screenshots in the [[:mw:Help:VisualEditor/User_guide|Visual Editor user guide]].",
|
||||
"visualeditor-languagescreenshot-hello-world-text": "Hello, World!",
|
||||
"visualeditor-languagescreenshot-world-text": "World",
|
||||
"visualeditor-languagescreenshot-category-earth-text": "Category:Earth"
|
||||
}
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
"Amire80"
|
||||
]
|
||||
},
|
||||
"languagescreenshot-hello-world-text": "שלום עולם!",
|
||||
"languagescreenshot-world-text": "עולם"
|
||||
"visualeditor-languagescreenshot-desc": "מחרוזות עבור צילומי מסך ב [[:mw:Help:VisualEditor/User_guide|מדריך למשתמש של העורך החזותי]].",
|
||||
"visualeditor-languagescreenshot-hello-world-text": "שלום, עולם!",
|
||||
"visualeditor-languagescreenshot-world-text": "עולם",
|
||||
"visualeditor-languagescreenshot-category-earth-text": "קטגוריה:כדור הארץ"
|
||||
}
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
"Amire80"
|
||||
]
|
||||
},
|
||||
"languagescreenshot-hello-world-text": "A text to show as content in VisualEditor.",
|
||||
"languagescreenshot-world-text": "The word 'world' from {{msg-mw|languagescreenshot-hello-world-text}}.",
|
||||
"languagescreenshot-category-earth-text": "A text used in wikicode to add Category Earth to a article."
|
||||
"visualeditor-languagescreenshot-desc": "{{desc|name=VisualEditor|url=https://www.mediawiki.org/wiki/Help:VisualEditor/User_guide}}",
|
||||
"visualeditor-languagescreenshot-hello-world-text": "A text to show as content in VisualEditor.",
|
||||
"visualeditor-languagescreenshot-world-text": "The word 'world' from {{msg-mw|languagescreenshot-hello-world-text}}.",
|
||||
"visualeditor-languagescreenshot-category-earth-text": "A text used in wiki syntax to add the category Earth to an article."
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue