CC-1960: Internationalize Airtime / Support translations

- channged all js strings with embedded variables to use sprintf
This commit is contained in:
denise 2012-11-20 17:42:26 -05:00
parent 9762511693
commit 10cd31fa56
5 changed files with 16 additions and 22 deletions

View file

@ -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/>')