]> git.parisson.com Git - pdf.js.git/commitdiff
Localize the Find button
authorYury Delendik <ydelendik@mozilla.com>
Thu, 24 May 2012 21:00:55 +0000 (16:00 -0500)
committerYury Delendik <ydelendik@mozilla.com>
Thu, 24 May 2012 21:00:55 +0000 (16:00 -0500)
l10n/en-US/viewer.properties
web/viewer.html

index 27917d348d7146bf2b44e3f276b3fa63ff68c102..4ac776da27ccbb457d130b64119868a237a1aca2 100644 (file)
@@ -46,4 +46,5 @@ request_password=PDF is protected by a password:
 open_file_label=Open
 search.title=Search Document
 search_label=Search
+search_button=Find
 
index 68f01236dfdca0b9e29a522f89bdb2bacf866c13..087fb7af302bd04e693b9cc07c0c9a7580f1b580 100644 (file)
@@ -63,7 +63,7 @@
           <div id="searchView" class="hidden">
             <div id="searchToolbar">
               <input id="searchTermsInput" onkeydown='if (event.keyCode == 13) PDFView.search()'>
-              <button id="searchButton" onclick='PDFView.search()'>Find</button>
+              <button id="searchButton" onclick='PDFView.search()' data-l10n-id="search_button">Find</button>
             </div>
             <div id="searchResults"></div>
           </div>