]> source.dussan.org Git - archiva.git/commitdiff
add i18n for users filtering
authorOlivier Lamy <olamy@apache.org>
Wed, 2 Jan 2013 10:51:22 +0000 (10:51 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 2 Jan 2013 10:51:22 +0000 (10:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427726 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/src/main/webapp/js/templates/redback/user-edit.html

index dab5d4415a1f78e483eebfa0fdf1e39236ce159e..1b98b9d37da99f0fd0b666277b7b1f59b3e06f11 100644 (file)
@@ -260,6 +260,12 @@ users.grid.unlock=Unlock
 users.grid.lock=Lock
 users.grid.unforceChangePassword=Not force password change
 users.grid.forceChangePassword=Force password change
+users.grid.filter.all=All
+users.grid.filter.locked=Locked
+users.grid.filter.not.locked=Not Locked
+users.grid.filter.pwd.change.required=Password Change required
+users.grid.filter.pwd.change.not.required=Password Change not required
+users.grid.filter=Filter
 
 #roles management
 roles.management.header=Roles Management
index 304597ccb72147e661bd74c2c4633f629dfce582..06fafec9fe1cf73e9dee1fb584a75dd4c213510b 100644 (file)
       <th>
         {{if columnDefinition.filter }}
         <input type="text" class="form-search input-medium" id="users-grid-filter-auto-${columnDefinition.rowText}"
-               placeholder="${$.i18n.prop('search.artifact.result.grid.filter')}"/>
+               placeholder="${$.i18n.prop('users.grid.filter')}"/>
         {{/if}}
       </th>
       {{/each}}
       <button data-bind='click: sortByName' class="btn">
         ${$.i18n.prop('users.sort.byname')}
       </button>
-      <a href="#" class="btn btn-warning" data-bind="click: clearFilters" id="remove-filter-id">${$.i18n.prop('search.artifact.result.filter')}</a>
+      <a href="#" class="btn btn-warning" data-bind="click: clearFilters" id="remove-filter-id">${$.i18n.prop('users.grid.filter')}</a>
       <table class="table table-striped table-bordered" id="usersTable"
              data-bind="simpleGrid: gridViewModel,simpleGridTemplate:'ko_usersGrid_grid',pageLinksId:'usersPagination'">
       </table>