CC-1960: Internationalize Airtime / Support translations
-got rid of spaces at beginning of strings -removed empty string translations -overwrote Zend_Validate_Between object error messages
This commit is contained in:
parent
9689c75bed
commit
542434d9f0
17 changed files with 52 additions and 38 deletions
|
@ -88,13 +88,13 @@ denise@denise-DX4860:~/airtime/airtime_mvc/public/js/datatables/plugin$ diff -u
|
|||
+
|
||||
+ var label = "";
|
||||
+ if (th.attr('id') == "bit_rate") {
|
||||
+ label = $.i18n._(" kbps");
|
||||
+ label = $.i18n._("kbps");
|
||||
+ } else if (th.attr('id') == "utime" || th.attr('id') == "mtime" || th.attr('id') == "lptime") {
|
||||
+ label = $.i18n._(" yyyy-mm-dd");
|
||||
+ label = $.i18n._("yyyy-mm-dd");
|
||||
+ } else if (th.attr('id') == "length") {
|
||||
+ label = $.i18n._(" hh:mm:ss.t");
|
||||
+ label = $.i18n._("hh:mm:ss.t");
|
||||
+ } else if (th.attr('id') == "sample_rate") {
|
||||
+ label = $.i18n._(" kHz");
|
||||
+ label = $.i18n._("kHz");
|
||||
+ }
|
||||
+
|
||||
th.html(_fnRangeLabelPart(0));
|
||||
|
|
|
@ -184,13 +184,13 @@
|
|||
|
||||
var label = "";
|
||||
if (th.attr('id') == "bit_rate") {
|
||||
label = $.i18n._(" kbps");
|
||||
label = $.i18n._("kbps");
|
||||
} else if (th.attr('id') == "utime" || th.attr('id') == "mtime" || th.attr('id') == "lptime") {
|
||||
label = $.i18n._(" yyyy-mm-dd");
|
||||
label = $.i18n._("yyyy-mm-dd");
|
||||
} else if (th.attr('id') == "length") {
|
||||
label = $.i18n._(" hh:mm:ss.t");
|
||||
label = $.i18n._("hh:mm:ss.t");
|
||||
} else if (th.attr('id') == "sample_rate") {
|
||||
label = $.i18n._(" kHz");
|
||||
label = $.i18n._("kHz");
|
||||
}
|
||||
|
||||
th.html(_fnRangeLabelPart(0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue