Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add slovak translation #460

Merged
merged 3 commits into from
Feb 24, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions index-bs3.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ <h3></h3>
<option value="es-MX">Spanish (Mexico)</option>
<option value="es-ES">Spanish (Spain)</option>
<option value="ru-RU">Russian</option>
<option value="sk-SR">Slovak</option>
<option value="sv-SE">Swedish</option>
<option value="ko-KR">Korean</option>
<option value="zh-TW">繁體中文</option>
Expand Down Expand Up @@ -138,10 +139,11 @@ <h3 class="modal-title">Event</h3>
<script type="text/javascript" src="js/language/es-MX.js"></script>
<script type="text/javascript" src="js/language/es-ES.js"></script>
<script type="text/javascript" src="js/language/ru-RU.js"></script>
<script type="text/javascript" src="js/language/sk-SR.js"></script>
<script type="text/javascript" src="js/language/sv-SE.js"></script>
<script type="text/javascript" src="js/language/zh-TW.js"></script>
<script type="text/javascript" src="js/language/cs-CZ.js"></script>
<script type="text/javascript" src="js/language/ko-KR.js"></script>
<script type="text/javascript" src="js/language/cs-CZ.js"></script>
<script type="text/javascript" src="js/language/ko-KR.js"></script>
<script type="text/javascript" src="js/language/id-ID.js"></script>
<script type="text/javascript" src="js/calendar.js"></script>
<script type="text/javascript" src="js/app.js"></script>
Expand Down
12 changes: 7 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ <h3></h3>
<option value="es-MX">Spanish (Mexico)</option>
<option value="es-ES">Spanish (Spain)</option>
<option value="ru-RU">Russian</option>
<option value="sk-SR">Slovak</option>
<option value="sv-SE">Swedish</option>
<option value="zh-CN">简体中文</option>
<option value="zh-TW">繁體中文</option>
Expand Down Expand Up @@ -146,12 +147,13 @@ <h3>Event</h3>
<script type="text/javascript" src="js/language/es-MX.js"></script>
<script type="text/javascript" src="js/language/es-ES.js"></script>
<script type="text/javascript" src="js/language/ru-RU.js"></script>
<script type="text/javascript" src="js/language/sk-SR.js"></script>
<script type="text/javascript" src="js/language/sv-SE.js"></script>
<script type="text/javascript" src="js/language/zh-CN.js"></script>
<script type="text/javascript" src="js/language/cs-CZ.js"></script>
<script type="text/javascript" src="js/language/ko-KR.js"></script>
<script type="text/javascript" src="js/language/zh-TW.js"></script>
<script type="text/javascript" src="js/language/id-ID.js"></script>
<script type="text/javascript" src="js/language/zh-CN.js"></script>
<script type="text/javascript" src="js/language/cs-CZ.js"></script>
<script type="text/javascript" src="js/language/ko-KR.js"></script>
<script type="text/javascript" src="js/language/zh-TW.js"></script>
<script type="text/javascript" src="js/language/id-ID.js"></script>
<script type="text/javascript" src="js/calendar.js"></script>
<script type="text/javascript" src="js/app.js"></script>

Expand Down
109 changes: 109 additions & 0 deletions js/language/sk-SR.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
// If you want to suggest a new language you can use this file as a template.
// To reduce the file size you should remove the comment lines (the ones that start with // )
if(!window.calendar_languages) {
window.calendar_languages = {};
}
// Here you define the language and Country code. Replace en-US with your own.
// First letters: the language code (lower case). See http://www.loc.gov/standards/iso639-2/php/code_list.php
// Last letters: the Country code (upper case). See http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements.htm
window.calendar_languages['sk-SR'] = {
error_noview: 'Calendar: View {0} not found',
error_dateformat: 'Calendar: Wrong date format {0}. Should be either "now" or "yyyy-mm-dd"',
error_loadurl: 'Calendar: Event URL is not set',
error_where: 'Calendar: Wrong navigation direction {0}. Can be only "next" or "prev" or "today"',
error_timedevide: 'Calendar: Time split parameter should divide 60 without decimals. Something like 10, 15, 30',

no_events_in_day: 'Dnes žiadne udalosti.',

// {0} will be replaced with the year (example: 2013)
title_year: '{0}',
// {0} will be replaced with the month name (example: September)
// {1} will be replaced with the year (example: 2013)
title_month: '{0} {1}',
// {0} will be replaced with the week number (example: 37)
// {1} will be replaced with the year (example: 2013)
title_week: 'týždeň {0} of {1}',
// {0} will be replaced with the weekday name (example: Thursday)
// {1} will be replaced with the day of the month (example: 12)
// {2} will be replaced with the month name (example: September)
// {3} will be replaced with the year (example: 2013)
title_day: '{0} {1} {2}, {3}',

week:'Týždeň {0}',
all_day: 'Celý deň',
time: 'Čas',
events: 'Udalosti',
before_time: 'Pred rozvrhom',
after_time: 'Po rozvrhu',

m0: 'Január',
m1: 'Február',
m2: 'Marec',
m3: 'Apríl',
m4: 'Máj',
m5: 'Jún',
m6: 'Júl',
m7: 'August',
m8: 'September',
m9: 'Október',
m10: 'November',
m11: 'December',

ms0: 'Jan',
ms1: 'Feb',
ms2: 'Mar',
ms3: 'Apr',
ms4: 'Maj',
ms5: 'Jun',
ms6: 'Jul',
ms7: 'Aug',
ms8: 'Sep',
ms9: 'Okt',
ms10: 'Nov',
ms11: 'Dec',

d0: 'Nedeľa',
d1: 'Pondelok',
d2: 'Utorok',
d3: 'Streda',
d4: 'Štvrtok',
d5: 'Piatok',
d6: 'Sobota',

// Which is the first day of the week (2 for sunday, 1 for monday)
first_day: 1,

// The list of the holidays.
// Each holiday has a date definition and a name (in your language)
// For instance:
// holidays: {
// 'date': 'name',
// 'date': 'name',
// ...
// 'date': 'name' //No ending comma for the last holiday
// }
// The format of the date may be one of the following:
// # 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'.
// # 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'
// # For Easter: use simply 'easter'
// # For holidays that are based on the Easter date: 'easter+offset in days'.
// Some examples:
// - 'easter-2' is Good Friday (2 days before Easter)
// - 'easter+1' is Easter Monday (1 day after Easter)
// - 'easter+39' is the Ascension Day
// - 'easter+49' is Pentecost
// # 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
// For example:
// - Second (2) Monday (1) in October (10): '10+2*1'
// # 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
// For example:
// - Last (1) Saturnday (6) in Match (03): '03-1*6'
// - Last (1) Monday (1) in May (05): '05-1*1'
// # 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.
// For example:
// - From 1 January to 6 January: '01-01>06-01'
// - Easter and the day after Easter: 'easter>easter+1'
// 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').
holidays: {
}
};