Files
mediawiki-extensions-Univer…/i18n/api/qqq.json
Abijeet ff02e63a45 Update setlang to display confirmation dialog to change language
setlang will now display a dialog to confirm with the user that
they would like to change their interface language. The preferred
language will only be updated if the user confirms.

The dialog will be displayed if the setlang parameter is present in
the query string and,

* A user is logged in, and their preferred language is not the same
  as the one passed via setlang.
* For an anonymous user if the wgULSAnonCanChangeLanguage is true,
  and the current interface language is not the same as the one
  passed via setlang.

Bug: T63115
Change-Id: I882297d99a594fd82fd0aec3b4664e8bfd1eac3a
2019-12-19 14:54:34 +00:00

27 lines
1.9 KiB
JSON

{
"@metadata": {
"authors": [
"Liuxinyu970226",
"Siebrand",
"Nemo bis",
"Brad Jorsch"
]
},
"apihelp-languagesearch-description": "{{doc-apihelp-description|languagesearch}}",
"apihelp-languagesearch-summary": "{{doc-apihelp-summary|languagesearch}}",
"apihelp-languagesearch-param-search": "The \"search string\" is the string that the user asks to search for, in looking for a language name.\n\n{{doc-apihelp-param|languagesearch|search}}\n{{Identical|Search string}}",
"apihelp-languagesearch-param-typos": "{{doc-apihelp-param|languagesearch|typos}}",
"apihelp-languagesearch-example-1": "Label of a command which produces a search by \"te\". Translate as imperative or noun as most suitable for your language.\n----\n{{doc-apihelp-example|languagesearch}}",
"apihelp-languagesearch-example-2": "Label of an example command which produces a search. Translate as appropriate to your language.\n----\n{{doc-apihelp-example|languagesearch}}",
"apihelp-languagesearch-example-3": "Description of a function where the user can find an available language by providing a name to search for.\n----\n{{doc-apihelp-example|languagesearch}}",
"apihelp-ulslocalization-description": "{{doc-apihelp-description|ulslocalization}}",
"apihelp-ulslocalization-summary": "{{doc-apihelp-summary|ulslocalization}}",
"apihelp-ulslocalization-param-language": "{{doc-apihelp-param|ulslocalization|language}}\n{{Identical|Language code}}",
"apihelp-ulslocalization-example-1": "{{doc-apihelp-example|ulslocalization}}",
"apihelp-ulslocalization-example-2": "{{doc-apihelp-example|ulslocalization}}",
"apihelp-ulssetlang-description": "{{doc-apihelp-description|ulssetlang}}",
"apihelp-ulssetlang-summary": "{{doc-apihelp-summary|ulssetlang}}",
"apihelp-ulssetlang-param-languagecode": "{{doc-apihelp-param|ulssetlang|languagecode}}",
"apierror-ulssetlang-anon-notallowed": "{{doc-apierror}}"
}