Update .js for translate adaptation
- Add i18n for 'or', 'and' text output
This commit is contained in:
parent
d58bd4c085
commit
d0fcc4c24e
|
@ -451,12 +451,12 @@ function reindexElements() {
|
|||
*/
|
||||
if ($(div).find('select[name^="sp_criteria_field"]').hasClass('sp-invisible')) {
|
||||
if ($(div).is(':visible')) {
|
||||
$(div).prev().find('.db-logic-label').text('or').show();
|
||||
$(div).prev().find('.db-logic-label').text($.i18n._("or")).show();
|
||||
}
|
||||
modIndex++;
|
||||
} else {
|
||||
if ($(div).is(':visible')) {
|
||||
$(div).prev().find('.db-logic-label').text('and').show();
|
||||
$(div).prev().find('.db-logic-label').text($.i18n._("and")).show();
|
||||
}
|
||||
index++;
|
||||
modIndex = 0;
|
||||
|
@ -981,4 +981,4 @@ var stringIsNotOptions = {
|
|||
};
|
||||
|
||||
let tracktypes = TRACKTYPES;
|
||||
var stringTracktypeOptions = Object.assign({"": "Select Track Type"}, tracktypes);
|
||||
var stringTracktypeOptions = Object.assign({"": "Select Track Type"}, tracktypes);
|
||||
|
|
Loading…
Reference in New Issue