CC-1960: Internationalize Airtime / Support translations

-added i18n to serverbrowser.js
-fixed small typo in SmartBlockCriteria.php
This commit is contained in:
denise 2012-11-28 11:54:22 -05:00
parent e475c2e99e
commit 9689c75bed
6 changed files with 425 additions and 9 deletions

View file

@ -65,14 +65,14 @@
modal: true,
buttons: [
{
text: "Cancel",
text: $.i18n._("Cancel"),
"class": "btn",
click: function() {
browserDlg.dialog("close");
}
},
{
text: "Open",
text: $.i18n._("Open"),
"class": "btn",
click: function() {
doneOk();
@ -123,7 +123,7 @@
function() { $(this).removeClass('ui-state-hover'); }
);
var enterLabel = $('<span></span>').text('Look in: ').appendTo(enterButton.clone(false).appendTo(enterPathDiv));
var enterLabel = $('<span></span>').text($.i18n._('Look in')+': ').appendTo(enterButton.clone(false).appendTo(enterPathDiv));
var enterText = $('<input type="text">').keypress(function(e) {
if (e.keyCode == '13') {