CC-1960: Internationalize Airtime / Support translations
-fixed typos
This commit is contained in:
parent
ae15a47bc5
commit
b9b387fcd0
|
@ -5,7 +5,7 @@
|
||||||
<dt class="block-display info-text">
|
<dt class="block-display info-text">
|
||||||
<?php echo sprintf(_("Help Airtime improve by letting us know how you are using it. This info "
|
<?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"
|
."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 />") ?>
|
."constantly improving."), "<br /><br />") ?>
|
||||||
</dt>
|
</dt>
|
||||||
<dd id="SupportFeedback-element" class="block-display">
|
<dd id="SupportFeedback-element" class="block-display">
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<div class="button-holder">
|
<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">
|
<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-icon ui-icon-plusthick"></span>
|
||||||
<span class="ui-button-text"><? echo _("New")?> <? echo _("User")?></span>
|
<span class="ui-button-text"><? echo _("New User")?></span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -16,9 +16,9 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th><? echo _("id") ?></th>
|
<th><? echo _("id") ?></th>
|
||||||
<th><? echo _("Username") ?></th>
|
<th><? echo _("Username") ?></th>
|
||||||
<th><? echo _("First")?> <? echo _("Name")?></th>
|
<th><? echo _("First Name")?></th>
|
||||||
<th><? echo _("Last")?> <? echo _("Name")?></th>
|
<th><? echo _("Last Name")?></th>
|
||||||
<th><? echo _("User")?> <? echo _("Type")?></th>
|
<th><? echo _("User Type")?></th>
|
||||||
<th> </th>
|
<th> </th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
|
@ -683,7 +683,7 @@ var AIRTIME = (function(AIRTIME){
|
||||||
var field = json.analysis[s];
|
var field = json.analysis[s];
|
||||||
|
|
||||||
if (!field[0]) {
|
if (!field[0]) {
|
||||||
var elemId = "#"+s+$.i18n._("-error");
|
var elemId = "#"+s+"-error";
|
||||||
var $div = $("#side_playlist " + elemId).text(field[1]).show();
|
var $div = $("#side_playlist " + elemId).text(field[1]).show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -134,7 +134,7 @@ function plot(datasets){
|
||||||
var y = item.datapoint[1].toFixed(2);
|
var y = item.datapoint[1].toFixed(2);
|
||||||
|
|
||||||
showTooltip(item.pageX, item.pageY,
|
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 {
|
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);});
|
$('#legend').find("input").click(function(){setTimeout(plotByChoice,100);});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,5 +21,6 @@ plupload.addI18n({
|
||||||
'Stop Upload': 'Stop Upload',
|
'Stop Upload': 'Stop Upload',
|
||||||
'Add Files': 'Add Files',
|
'Add Files': 'Add Files',
|
||||||
'Start Upload': 'Start Upload',
|
'Start Upload': 'Start Upload',
|
||||||
|
'Start upload': 'Start upload',
|
||||||
'%d files queued': '%d files queued'
|
'%d files queued': '%d files queued'
|
||||||
});
|
});
|
Loading…
Reference in New Issue