CC-1960: Internationalize Airtime / Support translations
-added i18n jquery library -created a Locale controller that returns a js dictionary of translations needed in js -added jquery i18n wrapper function to all strings in js
This commit is contained in:
parent
b801235c99
commit
57fdab0ddf
25 changed files with 472 additions and 209 deletions
|
@ -66,9 +66,9 @@ var AIRTIME = (function(AIRTIME) {
|
|||
}
|
||||
|
||||
if (selected === 1) {
|
||||
message = "Adding 1 Item.";
|
||||
message = $.i18n._("Adding 1 Item.");
|
||||
} else {
|
||||
message = "Adding " + selected + " Items.";
|
||||
message = $.i18n._("Adding ") + selected + $.i18n._(" Items.");
|
||||
}
|
||||
|
||||
container = $('<div/>').attr('id',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue