mirror of
https://github.com/reality/dbot.git
synced 2024-12-01 00:19:29 +01:00
a53eb5e0d2
This patch converts all English language strings used within depressionbot's localisation interface (that is, strings.json) to their ISO-639-1 equivalents. The purpose of this patch is to make the strings.json file less English-dependent. All languages with an ISO-639-1 code have been converted; that is, English, Spanish and Welsh, to ``en``, ``es`` and ``cy`` respectively. This patch does not attempt to force a solution to the issue of Na'vi: the language does not have a large enough corpus to warrant its own ISO 639-3 code, and as such there is no perfect solution. For the time being, this patch keeps the Na'vi language as its English language string ("Na'vi"). A possible solution to this discrepancy includes using the ISO 639-3 code ``art``, used for artificial languages that do not qualify for an official code, or by using local use codes specified in ISO 639-3 (qaa to qtz). This patch requires collaboration with upstream repositories that also use strings.json, such as the Github and Stats modules.
31 lines
1.1 KiB
JSON
31 lines
1.1 KiB
JSON
{
|
|
"command_ban": {
|
|
"en": "{user} is banned from using this command. Commence incineration.",
|
|
"es": "{user} está prohibido de usar esta instrucción. Comenzar incineración.",
|
|
"na'vi": "Tsu'ori {user} ke tung. Nga skxawng lu.",
|
|
"cy": "Mae {user} wedi ei gohurio gan ddefnyddio'r gorchymun yma. Cychwyn orfflosgiad"
|
|
},
|
|
"syntax_error": {
|
|
"en": "Invalid syntax. Initiate incineration.",
|
|
"es": "Sintaxis no válida. Iniciar incineración.",
|
|
"na'vi": "Ngeyä pamrel keyawr lu. Nga skxawng lu.",
|
|
"cy": "Cystrawen annilys. Cychwyn orfflosgiad"
|
|
},
|
|
"usage": {
|
|
"en": "Usage for {command}: {usage}.",
|
|
"na'vi": "Nga tsun sivar ìlä {command}: {usage}."
|
|
},
|
|
"no_usage_info": {
|
|
"en": "No usage information found for {command}.",
|
|
"na'vi": "Oel ke tsun sivar {comamnd}it"
|
|
},
|
|
"help_link": {
|
|
"en": "Help for {module}: {link}",
|
|
"na'vi": "{module}ä srungìl {link} it tok"
|
|
},
|
|
"no_help": {
|
|
"en": "No help found for {module}.",
|
|
"na'vi": "Fì{module}ìri oel ke tsun run srungit"
|
|
}
|
|
}
|