]> git.parisson.com Git - pdf.js.git/commitdiff
Allow fallback on langauge group; change localized text
authorYury Delendik <ydelendik@mozilla.com>
Wed, 2 May 2012 20:03:06 +0000 (15:03 -0500)
committerYury Delendik <ydelendik@mozilla.com>
Wed, 2 May 2012 20:03:06 +0000 (15:03 -0500)
external/webL10n/l10n.js
l10n/ru/viewer.properties

index 832f0819c04f4dbc6b0a83f8f6795702d088cce9..adb0f4108a3fb184cf22847beba61d62370d5a44 100644 (file)
@@ -69,7 +69,8 @@
       if (reSection.test(line)) {
         match = reSection.exec(line);
         currentLang = match[1];
-        skipLang = (currentLang != lang) && (currentLang != '*');
+        skipLang = (currentLang != lang) && (currentLang != '*') &&
+          (currentLang != lang.substring(0, 2));
         continue;
       } else if (skipLang) {
         continue;
index 9342605c04309ea55892f82ff8f313541040c7c0..2a7e77a0e0be0bdc5783f056bfd41aa6bdd30f68 100644 (file)
@@ -13,9 +13,9 @@ error_message=Сообщение: {{message}}
 error_stack=Стeк: {{stack}}
 error_file=Файл: {{file}}
 error_line=Строка: {{line}}
-page_scale_width=ШиÑ\80ина страницы
-page_scale_fit=Вся страница
-page_scale_auto=Автоматический
+page_scale_width=Ð\9fо Ñ\88иÑ\80ине страницы
+page_scale_fit=Во всю страницу
+page_scale_auto=Авто
 page_scale_actual=Настоящий размер
 toggle_slider.title=Открыть/закрыть вспомогательную панель
 thumbs.title=Показать уменьшенные изображения