Use variable for text in filter label for internationalization and localization.

This commit is contained in:
angel
2013-10-29 12:12:08 +01:00
parent 7500f038b0
commit 578c79288a

View File

@@ -35,6 +35,7 @@ Sonia.repository.Panel = Ext.extend(Sonia.rest.Panel, {
titleText: 'Repository Form',
emptyText: 'Add or select an Repository',
filterText: 'Filter: ',
searchText: 'Search: ',
archiveText: 'Archive',
unarchiveText: 'Unarchive',
@@ -115,7 +116,7 @@ Sonia.repository.Panel = Ext.extend(Sonia.rest.Panel, {
handler: this.reload
},'-',{
xtype: 'label',
text: 'Filter: ',
text: this.filterText,
cls: 'ytb-text'
}, ' ', {
id: 'repositoryTypeFilter',