]> git.parisson.com Git - pdf.js.git/commitdiff
Localize 'No outline' message
authorYury Delendik <ydelendik@mozilla.com>
Mon, 30 Apr 2012 23:47:10 +0000 (18:47 -0500)
committerYury Delendik <ydelendik@mozilla.com>
Mon, 30 Apr 2012 23:47:10 +0000 (18:47 -0500)
web/locale.properties
web/viewer.js

index bad40715a86e8a79f81877cb468760dbe0c53a43..20f70915a391db3b370ab39b798c2b4dc32dfc05 100644 (file)
@@ -27,6 +27,7 @@ loading_error=An error occurred while loading the PDF.
 rendering_error=An error occurred while rendering the page.
 page_label=Page:
 page_of=of {{pageCount}}
+no_outline=No Outline Available
 
 [ru]
 bookmark.title=Ссылка на текущий вид (скопировать или открыть в новом окне) 
@@ -57,6 +58,7 @@ loading_error=Произошла ошибка во время загрузки P
 rendering_error=Произошла ошибка во время создания страницы.
 page_label=Страница:
 page_of=из {{pageCount}}
+no_outline=Содержание не доступно
 
 [xx]
 bookmark.title=<<<_¢ȗггεпţ ṿiεẂ (¢OÞӳ Oг OÞεп iп пεẂ ẂiпÐOẂ)_>>>
@@ -87,3 +89,4 @@ loading_error=<<<_ãп εггOг O¢¢ȗггεРẂНiḻε ḻOãÐiпģ ţН
 rendering_error=<<<_ãп εггOг O¢¢ȗггεРẂНiḻε гεпÐεгiпģ ţНε Þãģε._>>>
 page_label=Þãģε:
 page_of=<<<_O£ {{pageCount}}_>>>
+no_outline=<<<_пO Oȗţḻiпε ãṿãiḻãьḻε_>>>
\ No newline at end of file
index eb18b881b378357f5da3aaad1460323aca0fc8bb..bc235aac99eb12e1a8b2f74e8801cea5861daa0b 100644 (file)
@@ -1163,7 +1163,7 @@ var DocumentOutlineView = function documentOutlineView(outline) {
   if (!outline) {
     var noOutline = document.createElement('div');
     noOutline.classList.add('noOutline');
-    noOutline.textContent = 'No Outline Available';
+    noOutline.textContent = mozL10n.get('no_outline');
     outlineView.appendChild(noOutline);
     return;
   }