Skip to content

Commit

Permalink
Added: localization
Browse files Browse the repository at this point in the history
  • Loading branch information
JanGalek committed Mar 8, 2018
1 parent f36c02a commit 7bf1d10
Show file tree
Hide file tree
Showing 3 changed files with 164 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -15,7 +15,8 @@
},
"require": {
"php": ">= 7.0",
"nette/utils": "^2.4|^3.0"
"nette/utils": "^2.4|^3.0",
"nette/neon": "^3.0@dev"
},
"require-dev": {
"nette/tester": "^1.7|^2.0",
Expand Down
81 changes: 81 additions & 0 deletions src/Galek/Utils/Calendar/Localization/cs.neon
@@ -0,0 +1,81 @@
inflexion:
days:
0:
1: 'neděle'
2: 'neděle'
3: 'neděli'
4: 'neděli'
5: 'neděle'
6: 'neděli'
7: 'nedělí'
1:
1: 'pondělí'
2: 'pondělí'
3: 'pondělí'
4: 'pondělí'
5: 'pondělí'
6: 'pondělí'
7: 'pondělí'
2:
1: 'úterý'
2: 'úterý'
3: 'úterý'
4: 'úterý'
5: 'úterý'
6: 'úterý'
7: 'úterý'
3:
1: 'středa'
2: 'středy'
3: 'středě'
4: 'středu'
5: 'středo'
6: 'středě'
7: 'středou'
4:
1: 'čtvrtek'
2: 'čtvrtku'
3: 'čtvrtku'
4: 'čtvrtek'
5: 'čtvrtku'
6: 'čtvrtku'
7: 'čtvrtkem'
5:
1: 'pátek'
2: 'pátku'
3: 'pátku'
4: 'pátek'
5: 'pátku'
6: 'pátku'
7: 'pátkem'
6:
1: 'sobota'
2: 'soboty'
3: 'sobotě'
4: 'sobotu'
5: 'sobota'
6: 'sobotě'
7: 'sobotou'

difference:
today: 'dnes'
tomorrow: 'zítra'
afterTomorrow: 'pozítří'
after: 'za'
oneDay: 'den'
twoDays: 'dny'
fiveDays: 'dnů'

holidays:
- '01-01'
- '03-25'
- '05-01'
- '05-08'
- '07-05'
- '07-06'
- '09-28'
- '10-28'
- '11-17'
- '12-24'
- '12-25'
- '12-26'
81 changes: 81 additions & 0 deletions src/Galek/Utils/Calendar/Localization/en.neon
@@ -0,0 +1,81 @@
inflexion:
days:
0:
1: 'sunday'
2: 'sunday'
3: 'sunday'
4: 'sunday'
5: 'sunday'
6: 'sunday'
7: 'sunday'
1:
1: 'monday'
2: 'monday'
3: 'monday'
4: 'monday'
5: 'monday'
6: 'monday'
7: 'monday'
2:
1: 'tuesday'
2: 'tuesday'
3: 'tuesday'
4: 'tuesday'
5: 'tuesday'
6: 'tuesday'
7: 'tuesday'
3:
1: 'wednesday'
2: 'wednesday'
3: 'wednesday'
4: 'wednesday'
5: 'wednesday'
6: 'wednesday'
7: 'wednesday'
4:
1: 'thursday'
2: 'thursday'
3: 'thursday'
4: 'thursday'
5: 'thursday'
6: 'thursday'
7: 'thursday'
5:
1: 'friday'
2: 'friday'
3: 'friday'
4: 'friday'
5: 'friday'
6: 'friday'
7: 'friday'
6:
1: 'saturday'
2: 'saturday'
3: 'saturday'
4: 'saturday'
5: 'saturday'
6: 'saturday'
7: 'saturday'

difference:
today: 'today'
tomorrow: 'tomorrow'
afterTomorrow: 'after tomorrow'
after: 'after'
oneDay: 'day'
twoDays: 'days'
fiveDays: 'days'

holidays:
- '01-01'
- '03-25'
- '05-01'
- '05-08'
- '07-05'
- '07-06'
- '09-28'
- '10-28'
- '11-17'
- '12-24'
- '12-25'
- '12-26'

0 comments on commit 7bf1d10

Please sign in to comment.