CC-1960: Internationalize Airtime / Support translations

-fixed typos
This commit is contained in:
denise 2012-11-27 11:59:55 -05:00
parent ae15a47bc5
commit b9b387fcd0
5 changed files with 8 additions and 14 deletions

View File

@ -5,7 +5,7 @@
<dt class="block-display info-text">
<?php echo sprintf(_("Help Airtime improve by letting us know how you are using it. This info "
."will be collected regularly in order to enhance your user experience.%s"
."Click 'Yes, help Airtime' and we'll make sure the features you use are"
."Click 'Yes, help Airtime' and we'll make sure the features you use are "
."constantly improving."), "<br /><br />") ?>
</dt>
<dd id="SupportFeedback-element" class="block-display">

View File

@ -7,7 +7,7 @@
<div class="button-holder">
<button type="button" id="add_user_button" name="search_add_group" class="ui-button ui-widget ui-state-default ui-button-text-icon-primary">
<span class="ui-icon ui-icon-plusthick"></span>
<span class="ui-button-text"><? echo _("New")?>&nbsp;<? echo _("User")?></span>
<span class="ui-button-text"><? echo _("New User")?></span>
</button>
</div>
@ -16,9 +16,9 @@
<tr>
<th><? echo _("id") ?></th>
<th><? echo _("Username") ?></th>
<th><? echo _("First")?>&nbsp;<? echo _("Name")?></th>
<th><? echo _("Last")?>&nbsp;<? echo _("Name")?></th>
<th><? echo _("User")?>&nbsp;<? echo _("Type")?></th>
<th><? echo _("First Name")?></th>
<th><? echo _("Last Name")?></th>
<th><? echo _("User Type")?></th>
<th>&nbsp;</th>
</tr>
</thead>

View File

@ -683,7 +683,7 @@ var AIRTIME = (function(AIRTIME){
var field = json.analysis[s];
if (!field[0]) {
var elemId = "#"+s+$.i18n._("-error");
var elemId = "#"+s+"-error";
var $div = $("#side_playlist " + elemId).text(field[1]).show();
}
}

View File

@ -134,7 +134,7 @@ function plot(datasets){
var y = item.datapoint[1].toFixed(2);
showTooltip(item.pageX, item.pageY,
$.i18n._("Listener Count on")+" '"+item.series.label + "': " + Math.floor(y));
sprintf($.i18n._("Listener Count on %s: %s"), item.series.label, Math.floor(y)));
}
}
else {
@ -143,13 +143,6 @@ function plot(datasets){
}
});
$("#placeholder").bind("plotclick", function (event, pos, item) {
if (item) {
$("#clickdata").text($.i18n._("You clicked point ") + item.dataIndex + " "+$.i18n._("in")+" " + item.series.label + ".");
plot.highlight(item.series, item.datapoint);
}
});
$('#legend').find("input").click(function(){setTimeout(plotByChoice,100);});
}

View File

@ -21,5 +21,6 @@ plupload.addI18n({
'Stop Upload': 'Stop Upload',
'Add Files': 'Add Files',
'Start Upload': 'Start Upload',
'Start upload': 'Start upload',
'%d files queued': '%d files queued'
});