CC-1960: Internationalize Airtime / Support translations
- channged all js strings with embedded variables to use sprintf
This commit is contained in:
parent
9762511693
commit
10cd31fa56
5 changed files with 16 additions and 22 deletions
|
@ -932,10 +932,10 @@ var AIRTIME = (function(AIRTIME){
|
|||
}
|
||||
|
||||
if (selected.length === 1) {
|
||||
message = $.i18n._("Moving ")+selected.length+$.i18n._(" Item.");
|
||||
message = $.i18n._("Moving 1 Item");
|
||||
}
|
||||
else {
|
||||
message = $.i18n._("Moving ")+selected.length+$.i18n._(" Items.");
|
||||
message = sprintf($.i18n._("Moving %s Items"), selected.length);
|
||||
}
|
||||
|
||||
draggingContainer = $('<tr/>')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue