Adds localization for filter placeholder.

This commit is contained in:
Lars Jung 2012-08-03 15:09:04 +02:00
parent ce75e45b03
commit 0ff3d900fe
4 changed files with 9 additions and 3 deletions

View file

@ -14,7 +14,8 @@ modulejs.define('core/langs', ['config', '_'], function (config, _) {
files: 'files',
download: 'download',
noMatch: 'no match',
dateFormat: 'YYYY-MM-DD HH:mm'
dateFormat: 'YYYY-MM-DD HH:mm',
filter: 'filter'
},
translations = {},

View file

@ -58,6 +58,8 @@ modulejs.define('ext/l10n', ['_', '$', 'core/settings', 'core/langs', 'core/form
$this.text(format.formatDate($this.data('time')));
});
$('#filter input').attr('placeholder', currentLang.filter);
},
initLangSelector = function (langs) {