mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 20:44:53 -04:00
Adds localization for filter placeholder.
This commit is contained in:
parent
ce75e45b03
commit
0ff3d900fe
4 changed files with 9 additions and 3 deletions
|
@ -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 = {},
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue