~xibo-maintainers/xibo/tuttle

« back to all changes in this revision

Viewing changes to server/theme/default/libraries/calendar/js/language/template.js

  • Committer: Dan Garner
  • Date: 2014-09-19 11:56:41 UTC
  • mfrom: (332.8.73 server-170-alpha)
  • Revision ID: dan@xibo.org.uk-20140919115641-pwvuhq0cy4xkmytq
MergedĀ lp:~dangarner/xibo/server-170alpha

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// If you want to suggest a new language you can use this file as a template.
 
2
// To reduce the file size you should remove the comment lines (the ones that start with // )
 
3
if(!window.calendar_languages) {
 
4
        window.calendar_languages = {};
 
5
}
 
6
// Here you define the language and Country code. Replace en-US with your own.
 
7
// First letters: the language code (lower case). See http://www.loc.gov/standards/iso639-2/php/code_list.php
 
8
// Last letters: the Country code (upper case). See http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements.htm
 
9
window.calendar_languages['en-US'] = {
 
10
        error_noview: 'Calendar: View {0} not found',
 
11
        error_dateformat: 'Calendar: Wrong date format {0}. Should be either "now" or "yyyy-mm-dd"',
 
12
        error_loadurl: 'Calendar: Event URL is not set',
 
13
        error_where: 'Calendar: Wrong navigation direction {0}. Can be only "next" or "prev" or "today"',
 
14
        error_timedevide: 'Calendar: Time split parameter should divide 60 without decimals. Something like 10, 15, 30',
 
15
 
 
16
        no_events_in_day: 'No events in this day.',
 
17
 
 
18
        // {0} will be replaced with the year (example: 2013)
 
19
        title_year: '{0}',
 
20
        // {0} will be replaced with the month name (example: September)
 
21
        // {1} will be replaced with the year (example: 2013)
 
22
        title_month: '{0} {1}',
 
23
        // {0} will be replaced with the week number (example: 37)
 
24
        // {1} will be replaced with the year (example: 2013)
 
25
        title_week: 'week {0} of {1}',
 
26
        // {0} will be replaced with the weekday name (example: Thursday)
 
27
        // {1} will be replaced with the day of the month (example: 12)
 
28
        // {2} will be replaced with the month name (example: September)
 
29
        // {3} will be replaced with the year (example: 2013)
 
30
        title_day: '{0} {1} {2}, {3}',
 
31
 
 
32
        week:'Week {0}',
 
33
        all_day:     'All day',
 
34
        time:        'Time',
 
35
        events:      'Events',
 
36
        before_time: 'Ends before timeline',
 
37
        after_time:  'Starts after timeline',
 
38
 
 
39
        m0: 'January',
 
40
        m1: 'February',
 
41
        m2: 'March',
 
42
        m3: 'April',
 
43
        m4: 'May',
 
44
        m5: 'June',
 
45
        m6: 'July',
 
46
        m7: 'August',
 
47
        m8: 'September',
 
48
        m9: 'October',
 
49
        m10: 'November',
 
50
        m11: 'December',
 
51
 
 
52
        ms0: 'Jan',
 
53
        ms1: 'Feb',
 
54
        ms2: 'Mar',
 
55
        ms3: 'Apr',
 
56
        ms4: 'May',
 
57
        ms5: 'Jun',
 
58
        ms6: 'Jul',
 
59
        ms7: 'Aug',
 
60
        ms8: 'Sep',
 
61
        ms9: 'Oct',
 
62
        ms10: 'Nov',
 
63
        ms11: 'Dec',
 
64
 
 
65
        d0: 'Sunday',
 
66
        d1: 'Monday',
 
67
        d2: 'Tuesday',
 
68
        d3: 'Wednesday',
 
69
        d4: 'Thursday',
 
70
        d5: 'Friday',
 
71
        d6: 'Saturday',
 
72
 
 
73
        // Which is the first day of the week (2 for sunday, 1 for monday)
 
74
        first_day: 2,
 
75
 
 
76
        // The list of the holidays.
 
77
        // Each holiday has a date definition and a name (in your language)
 
78
        // For instance:
 
79
        // holidays: {
 
80
        //      'date': 'name',
 
81
        //      'date': 'name',
 
82
        //      ...
 
83
        //   'date': 'name' //No ending comma for the last holiday
 
84
        // }
 
85
        // The format of the date may be one of the following:
 
86
        // # For a holiday recurring every year in the same day: 'dd-mm' (dd is the day of the month, mm is the month). For example: '25-12'.
 
87
        // # For a holiday that exists only in one specific year: 'dd-mm-yyyy' (dd is the day of the month, mm is the month, yyyy is the year). For example: '31-01-2013'
 
88
        // # For Easter: use simply 'easter'
 
89
        // # For holidays that are based on the Easter date: 'easter+offset in days'.
 
90
        //   Some examples:
 
91
        //   - 'easter-2' is Good Friday (2 days before Easter)
 
92
        //   - 'easter+1' is Easter Monday (1 day after Easter)
 
93
        //   - 'easter+39' is the Ascension Day
 
94
        //   - 'easter+49' is Pentecost
 
95
        // # For holidays that are on a specific weekday after the beginning of a month: 'mm+n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
 
96
        //   For example:
 
97
        //   - Second (2) Monday (1) in October (10): '10+2*1'
 
98
        // # For holidays that are on a specific weekday before the ending of a month: 'mm-n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
 
99
        //   For example:
 
100
        //   - Last (1) Saturnday (6) in Match (03): '03-1*6'
 
101
        //   - Last (1) Monday (1) in May (05): '05-1*1'
 
102
        // # You can also specify a holiday that lasts more than one day. To do that use the format 'start>end' where 'start' and 'end' are specified as above.
 
103
        //   For example:
 
104
        //   - From 1 January to 6 January: '01-01>06-01'
 
105
        //   - Easter and the day after Easter: 'easter>easter+1'
 
106
        //   Limitations: currently the multi-day holydays can't cross an year. So, for example, you can't specify a range as '30-12>01-01'; as a workaround you can specify two distinct holidays (for instance '30-12>31-12' and '01-01'). 
 
107
        holidays: {
 
108
        }
 
109
};