Split API messages from ULS

It's not a lot of messages, but this is a very common and basic extension,
and it's often one of the first to be translated, so it's good to make its
translation easier.

To be committed together with the corresponding
translatewiki configuration change:
I33ca817b457abc5504917745c2730ec223e263e0

Change-Id: I13ea351553319583051778cfb6c55f843b5f86e5
This commit is contained in:
Amire80
2017-07-22 14:25:54 +03:00
committed by Nikerabbit
parent 9333db6328
commit 0c5b4d3072
5 changed files with 48 additions and 25 deletions

View File

@@ -36,7 +36,8 @@
},
"MessagesDirs": {
"UniversalLanguageSelector": [
"i18n"
"i18n",
"i18n/api"
]
},
"AutoloadClasses": {

23
i18n/api/en.json Normal file
View File

@@ -0,0 +1,23 @@
{
"@metadata": {
"authors": [
"Brad Jorsch",
"Nike",
"Amire80",
"Purodha",
"Santhosh Thottingal"
]
},
"apihelp-languagesearch-description": "Search for language names in any script.",
"apihelp-languagesearch-summary": "Search for language names in any script.",
"apihelp-languagesearch-param-search": "Search string.",
"apihelp-languagesearch-param-typos": "Number of spelling mistakes allowed in the search string.",
"apihelp-languagesearch-example-1": "Search for \"Te\"",
"apihelp-languagesearch-example-2": "Search for \"ഫി\"",
"apihelp-languagesearch-example-3": "Search for \"ഫി\", allowing one typo",
"apihelp-ulslocalization-description": "Get the localization of ULS in the given language.",
"apihelp-ulslocalization-summary": "Get the localization of ULS in the given language.",
"apihelp-ulslocalization-param-language": "Language code.",
"apihelp-ulslocalization-example-1": "Get Tamil localization",
"apihelp-ulslocalization-example-2": "Get Hindi localization"
}

23
i18n/api/qqq.json Normal file
View File

@@ -0,0 +1,23 @@
{
"@metadata": {
"authors": [
"Liuxinyu970226",
"Siebrand",
"Nemo bis",
"Liuxinyu970226",
"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}}"
}

View File

@@ -62,18 +62,6 @@
"ext-uls-language-settings-applying": "Applying...",
"ext-uls-compact-link-count": "{{PLURAL:$1|One more|$1 more}}",
"ext-uls-compact-link-info": "All languages (initial selection from common choices by you and others)",
"apihelp-languagesearch-description": "Search for language names in any script.",
"apihelp-languagesearch-summary": "Search for language names in any script.",
"apihelp-languagesearch-param-search": "Search string.",
"apihelp-languagesearch-param-typos": "Number of spelling mistakes allowed in the search string.",
"apihelp-languagesearch-example-1": "Search for \"Te\"",
"apihelp-languagesearch-example-2": "Search for \"ഫി\"",
"apihelp-languagesearch-example-3": "Search for \"ഫി\", allowing one typo",
"apihelp-ulslocalization-description": "Get the localization of ULS in the given language.",
"apihelp-ulslocalization-summary": "Get the localization of ULS in the given language.",
"apihelp-ulslocalization-param-language": "Language code.",
"apihelp-ulslocalization-example-1": "Get Tamil localization",
"apihelp-ulslocalization-example-2": "Get Hindi localization",
"prefs-languages": "Languages",
"ext-uls-compact-language-links-preference": "Use a [[$1|compact language list]], with languages relevant to you."
}

View File

@@ -66,18 +66,6 @@
"ext-uls-language-settings-applying": "Label for apply settings button in language settings screen, while settings being saved. Please keep it short.",
"ext-uls-compact-link-count": "Message next to the list of languages which indicates that there are more languages than the ones shown. Parameter $1 is the number of languages.\n\nIf your language has a singular form for number 1, then the number should be explicitly mentioned. If it's possible in your language, please write \"1 more\" or \"one more\". Another option is to write \"more\" in a way that doesn't depend on a particular number.",
"ext-uls-compact-link-info": "A tooltip for a button that shows all available languages next to a short list of relevant languages.",
"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}}",
"prefs-languages": "Field set legend for user preferences regarding display of language lists\n{{Identical|Language}}",
"ext-uls-compact-language-links-preference": "Label for compact language links user preference"
}