- credit & document Turkish translation

- remove plural indicators
- add plural logic and enable Turkish translation
This commit is contained in:
El RIDO 2022-04-28 20:05:57 +02:00
parent 2c01892ee1
commit f717334ee0
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
7 changed files with 58 additions and 54 deletions

View file

@ -627,7 +627,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
* @prop {string[]}
* @readonly
*/
const supportedLanguages = ['bg', 'ca', 'co', 'cs', 'de', 'es', 'et', 'fi', 'fr', 'he', 'hu', 'id', 'it', 'jbo', 'lt', 'no', 'nl', 'pl', 'pt', 'oc', 'ru', 'sl', 'uk', 'zh'];
const supportedLanguages = ['bg', 'ca', 'co', 'cs', 'de', 'es', 'et', 'fi', 'fr', 'he', 'hu', 'id', 'it', 'jbo', 'lt', 'no', 'nl', 'pl', 'pt', 'oc', 'ru', 'sl', 'tr', 'uk', 'zh'];
/**
* built in language
@ -807,6 +807,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
case 'co':
case 'fr':
case 'oc':
case 'tr':
case 'zh':
return n > 1 ? 1 : 0;
case 'he':