]> source.dussan.org Git - archiva.git/commitdiff
fix i18n
authorOlivier Lamy <olamy@apache.org>
Wed, 15 Feb 2012 08:24:05 +0000 (08:24 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 15 Feb 2012 08:24:05 +0000 (08:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1244391 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html

index 2a5c71be398d76f1473626f98c9c52f9bbffcda4..b2a972274903764b229a200bb63e7811e664b2da 100644 (file)
@@ -95,6 +95,11 @@ remoterepository.added=Remote Repository added.
 remoterepositories.bulk.save.confirm=Are you sure to update {0} Remote Repository(ies)
 remoterepositories.bulk.save.confirm.title=Remote Repositories Bulk Save
 remoterepository.updated=Remote Repository {0} updated.
+remoterepository.download.remote.confirm=Are you sure to download Remote Index ?
+remoterepository.download.remote.now=Immediate Download ?
+remoterepository.download.remote.full=Full download ?
+remoterepository.download.remote.scheduled=Download Remote Index of repository {0} scheduled.
+
 
 #network proxy
 networkproxy.updated=Network Proxy " {0} " updated.
index b4fa9262bd6131e70cd92701b8ad62792ba79c8d..92ff8afce79a6eaf10240f6648d745634dcbe90c 100644 (file)
@@ -758,7 +758,7 @@ $(function() {
             {
               type: "GET",
                 success: function(data) {
-                  displaySuccessMessage($.i18n.prop("remoterepository.scanned.scheduled",remoteRepository.name()));
+                  displaySuccessMessage($.i18n.prop("remoterepository.download.remote.scheduled",remoteRepository.name()));
 
                 },
                 error: function(data) {
@@ -774,7 +774,7 @@ $(function() {
         },
         $.i18n.prop("ok"),
         $.i18n.prop("cancel"),
-        $.i18n.prop("remoterepository.scan.confirm",remoteRepository.name()),
+        $.i18n.prop("remoterepository.download.remote.confirm",remoteRepository.name()),
         $("#remote-repository-scan-modal-tmpl").tmpl(remoteRepository));
     }
   }
index 8e0d3b9cb81ae4242fb22f4ba11187ebeab2fcba..20ba29df040470cb79708d40e379ebe459dd8d24 100644 (file)
 
 <script id="remote-repository-scan-modal-tmpl" type='text/x-jquery-tmpl'>
     <div>
-      ${$.i18n.prop('remoterepository.scan.now')}: <input type="checkbox" id="remoterepository-scan-now">
+      ${$.i18n.prop('remoterepository.download.remote.now')}: <input type="checkbox" id="remoterepository-scan-now">
     </div>
     <div>
-      ${$.i18n.prop('remoterepository.scan.full')}: <input type="checkbox" id="remoterepository-scan-full">
+      ${$.i18n.prop('remoterepository.download.remote.full')}: <input type="checkbox" id="remoterepository-scan-full">
     </div>
 </script>