]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WEBUI JS: epg filter translations
authorAlexander Knöbel <alex@belogy.de>
Tue, 23 Jun 2015 18:49:40 +0000 (20:49 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 23 Jun 2015 19:05:23 +0000 (21:05 +0200)
src/webui/static/app/epg.js

index 1b440cf9920d890c65d576cfd636ba1178512d86..c5607c058c8604853746f2faf784e896271f86d1 100644 (file)
@@ -1,6 +1,6 @@
 insertContentGroupClearOption = function( scope, records, options ){
     var placeholder = Ext.data.Record.create(['val', 'key']);
-    scope.insert(0,new placeholder({val: '(Clear filter)', key: '-1'}));
+    scope.insert(0,new placeholder({val: _('(Clear filter)'), key: '-1'}));
 };
 
 tvheadend.ContentGroupStore = tvheadend.idnode_get_enum({
@@ -65,12 +65,12 @@ tvheadend.DurationStore = new Ext.data.SimpleStore({
     storeId: 'durationnames',
     idIndex: 0,
     fields: ['identifier','label','minvalue','maxvalue'],
-    data: [['-1', '(Clear filter)',"",""],
-           ['1','00:00:00 - 00:15:00', 0, 900],
-           ['2','00:15:00 - 00:30:00', 900, 1800],
-           ['3','00:30:00 - 01:30:00', 1800, 5400],
-           ['4','01:30:00 - 03:00:00', 5400, 10800],
-           ['5','03:00:00 - No maximum', 10800, 9999999]]
+    data: [['-1', _('(Clear filter)'),"",""],
+           ['1',_('00:00:00 - 00:15:00'), 0, 900],
+           ['2',_('00:15:00 - 00:30:00'), 900, 1800],
+           ['3',_('00:30:00 - 01:30:00'), 1800, 5400],
+           ['4',_('01:30:00 - 03:00:00'), 5400, 10800],
+           ['5',_('03:00:00 - No maximum'), 10800, 9999999]]
 });
 
 // Function to convert numeric duration to corresponding label string