CC-1960: Internationalize Airtime / Support translations
-got rid of spaces at beginning of strings -removed empty string translations -overwrote Zend_Validate_Between object error messages
This commit is contained in:
parent
9689c75bed
commit
542434d9f0
17 changed files with 52 additions and 38 deletions
|
@ -30,11 +30,11 @@ var AIRTIME = (function(AIRTIME) {
|
|||
var objType = $('#obj_type').val(),
|
||||
btnText;
|
||||
if (objType === 'playlist') {
|
||||
btnText = $.i18n._(' Add to current playlist');
|
||||
btnText = ' '+$.i18n._('Add to current playlist');
|
||||
} else if (objType === 'block') {
|
||||
btnText = $.i18n._(' Add to current smart block');
|
||||
btnText = ' '+$.i18n._('Add to current smart block');
|
||||
} else {
|
||||
btnText = $.i18n._(' Add to current playlist');
|
||||
btnText = ' '+$.i18n._('Add to current playlist');
|
||||
}
|
||||
AIRTIME.library.changeAddButtonText($('.btn-group #library-plus #lib-plus-text'), btnText);
|
||||
};
|
||||
|
|
|
@ -21,7 +21,7 @@ var AIRTIME = (function(AIRTIME) {
|
|||
AIRTIME.button.disableButton("btn-group #library-plus", false);
|
||||
}
|
||||
|
||||
AIRTIME.library.changeAddButtonText($('.btn-group #library-plus #lib-plus-text'), $.i18n._(' Add to selected show'));
|
||||
AIRTIME.library.changeAddButtonText($('.btn-group #library-plus #lib-plus-text'), ' '+$.i18n._('Add to selected show'));
|
||||
};
|
||||
|
||||
mod.fnRowCallback = function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue