]> source.dussan.org Git - archiva.git/commitdiff
add i18n
authorOlivier Lamy <olamy@apache.org>
Mon, 5 Mar 2012 13:55:03 +0000 (13:55 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 5 Mar 2012 13:55:03 +0000 (13:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1297058 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/templates/search.html

index f0ed90512d51b23e0f71a7235be6883e7359e867..7c5a437636aec06ba2fe79adfe4838baa9394ce9 100644 (file)
@@ -229,6 +229,8 @@ search.artifact.search.form.btn.search.filter=Filter Results
 search.artifact.result.size=Artifacts found
 search.artifact.results.classifier=Classifier
 search.artifact.search.form.query.classifier=Classifier
+search.artifact.result.filter=Remove Filters
+search.artifact.result.grid.filter=Filter
 
 #login
 login.username.placehoder=Username
index 1f8b9fd964cdd69bfb93429ed76037c7f0af85d3..73a5978075a0dc68b69f0e79511ec67b33b1e18c 100644 (file)
       <div id="search-results" class="tab-pane">
         <div class="row">
           <div class="span3">
-            <a href="#" class="btn btn-warning" data-bind="click: removeFilter" id="remove-filter-id">remove filter</a>
+            <a href="#" class="btn btn-warning" data-bind="click: removeFilter" id="remove-filter-id">${$.i18n.prop('search.artifact.result.filter')}</a>
           </div>
           <div class="span4" id="search-result-number-div">
 
         <tr>
           {{each(i, columnDefinition) columns}}
             <th title="${ columnDefinition.title }">
-              <input type="text" class="form-search" id="search-filter-auto-${ columnDefinition.id }" placeholder="filtering"/>
+              <input type="text" class="form-search" id="search-filter-auto-${ columnDefinition.id }"
+                     placeholder="${$.i18n.prop('search.artifact.result.grid.filter')}"/>
             </th>
           {{/each}}
         </tr>