summaryrefslogtreecommitdiffstats
path: root/tests/data/l10n/ru.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-08-02 23:08:41 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-08-02 23:08:41 +0200
commite04bf0aaeb92103ef432e56f1d6d712599952cee (patch)
treea56c98211a17812379a85ea76125b47e3616c5d9 /tests/data/l10n/ru.php
parent550b647d8a777c11b74377002d58b4806f9e97e5 (diff)
downloadnextcloud-server-e04bf0aaeb92103ef432e56f1d6d712599952cee.tar.gz
nextcloud-server-e04bf0aaeb92103ef432e56f1d6d712599952cee.zip
unit tests for plural translations added
Diffstat (limited to 'tests/data/l10n/ru.php')
-rw-r--r--tests/data/l10n/ru.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/data/l10n/ru.php b/tests/data/l10n/ru.php
new file mode 100644
index 00000000000..dd46293db6c
--- /dev/null
+++ b/tests/data/l10n/ru.php
@@ -0,0 +1,5 @@
+<?php
+$TRANSLATIONS = array(
+ "_%n file__%n files_" => array("%n файл", "%n файла", "%n файлов")
+);
+$PLURAL_FORMS = "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);";