mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
[i18n] add armenian translation
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
174983548d
commit
e5f39d0caf
4 changed files with 221 additions and 3 deletions
|
@ -26,7 +26,7 @@ namespace russian // language namespace
|
|||
// See for language plural forms here:
|
||||
// https://localization-guide.readthedocs.io/en/latest/l10n/pluralforms.html
|
||||
static int plural (int n) {
|
||||
return n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;
|
||||
return n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2;
|
||||
}
|
||||
|
||||
static std::map<std::string, std::string> strings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue