aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-25 18:23:48 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-25 18:23:48 -0700
commitb06b6f798fbfde8ab7f0ed25145b53560e6b4968 (patch)
treeb2dc8fa88a16aa5e435484b44217a2223b987d59 /view
parent5f3edabd4529471b2ab33532ad38bbd65758b0cd (diff)
downloadvolse-hubzilla-b06b6f798fbfde8ab7f0ed25145b53560e6b4968.tar.gz
volse-hubzilla-b06b6f798fbfde8ab7f0ed25145b53560e6b4968.tar.bz2
volse-hubzilla-b06b6f798fbfde8ab7f0ed25145b53560e6b4968.zip
localise event calendar
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/event_head.tpl15
-rwxr-xr-xview/tpl/js_strings.tpl10
2 files changed, 25 insertions, 0 deletions
diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl
index 6b59eef27..fd0ef0d9b 100755
--- a/view/tpl/event_head.tpl
+++ b/view/tpl/event_head.tpl
@@ -29,6 +29,21 @@
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
+ monthNames: aStr['monthNames'],
+ monthNamesShort: aStr['monthNamesShort'],
+ dayNames: aStr['dayNames'],
+ dayNamesShort: aStr['dayNamesShort'],
+ buttonText: {
+ prev: "<span class='fc-text-arrow'>&lsaquo;</span>",
+ next: "<span class='fc-text-arrow'>&rsaquo;</span>",
+ prevYear: "<span class='fc-text-arrow'>&laquo;</span>",
+ nextYear: "<span class='fc-text-arrow'>&raquo;</span>",
+ today: aStr['today'],
+ month: aStr['month'],
+ week: aStr['week'],
+ day: aStr['day']
+ },
+ allDayText: aStr['allday'],
timeFormat: 'H(:mm)',
eventClick: function(calEvent, jsEvent, view) {
showEvent(calEvent.id);
diff --git a/view/tpl/js_strings.tpl b/view/tpl/js_strings.tpl
index 2e7e85604..38cf8edbd 100755
--- a/view/tpl/js_strings.tpl
+++ b/view/tpl/js_strings.tpl
@@ -40,6 +40,16 @@
't15' : "{{$t15}}",
't16' : "{{$t16}}",
't17' : "{{$t17}}",
+
+ 'monthNames' : [ "{{$January}}","{{$February}}","{{$March}}","{{$April}}","{{$May}}","{{$June}}","{{$July}}","{{$August}}","{{$September}}","{{$October}}","{{$November}}","{{$December}}" ],
+ 'monthNamesShort' : [ "{{$Jan}}","{{$Feb}}","{{$Mar}}","{{$Apr}}","{{$MayShort}}","{{$Jun}}","{{$Jul}}","{{$Aug}}","{{$Sep}}","{{$Oct}}","{{$Nov}}","{{$Dec}}" ],
+ 'dayNames' : ["{{$Sunday}}","{{$Monday}}","{{$Tuesday}}","{{$Wednesday}}","{{$Thursday}}","{{$Friday}}","{{$Saturday}}"],
+ 'dayNamesShort' : ["{{$Sun}}","{{$Mon}}","{{$Tue}}","{{$Wed}}","{{$Thu}}","{{$Fri}}","{{$Sat}}"],
+ 'today' : "{{$today}}",
+ 'month' : "{{$month}}",
+ 'week' : "{{$week}}",
+ 'day' : "{{$day}}",
+ 'allday' : "{{$allday}}"
};
</script>