add i18n for users filtering

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427726 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-01-02 10:51:22 +00:00
parent 07aafa69cf
commit 5e1f06e4b6
2 changed files with 8 additions and 2 deletions

View 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

View File

@ -194,7 +194,7 @@
<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}}
@ -309,7 +309,7 @@
<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>