forked from opening-hours/opening_hours.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
i18n-resources.js
972 lines (964 loc) · 48.7 KB
/
i18n-resources.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
// localization {{{
var resources = { // English is fallback language.
// English (en) localization {{{
en: { translation: {
"lang": {
"en": "English",
"fr": "French",
"de": "German",
"ru": "Russian",
"pt": "Portuguese",
"it": "Italian",
"choose": "Choose Language",
},
"months": {
"short": {
"jan": "Jan",
"feb": "Feb",
"mar": "Mar",
"apr": "Apr",
"may": "May",
"jun": "Jun",
"jul": "Jul",
"aug": "Aug",
"sep": "Sep",
"oct": "Oct",
"nov": "Nov",
"dec": "Dec",
},
"full": {
"jan": "January",
"feb": "February",
"mar": "March",
"apr": "April",
"may": "May",
"jun": "June",
"jul": "July",
"aug": "August",
"sep": "September",
"oct": "October",
"nov": "November",
"dec": "December",
},
},
"weekdays": {
"short": {
"su": "Su",
"mo": "Mo",
"tu": "Tu",
"we": "We",
"th": "Th",
"fr": "Fr",
"sa": "Sa",
},
"full": {
"su": "Sunday",
"mo": "Monday",
"tu": "Tuesday",
"we": "Wednesday",
"th": "Thursday",
"fr": "Friday",
"sa": "Saturday",
},
"word next": { // The Russian language seems to use other words for next for some weekdays.
"su": "next",
"mo": "next",
"tu": "next",
"we": "next",
"th": "next",
"fr": "next",
"sa": "next",
}
},
"texts": {
"open always": "Facility is always open",
"unknown always": "Facility is always maybe open",
"closed always": "Facility is always closed in the (near) future",
"open now": "Facility is now open",
"facilitiy which is open now": "Only facilities which are open now",
"facilitiy which is open/unknown now": "Only facilities which are open or unknown now",
"facilitiy which is unknown now": "Only facilities which might be open now",
"facilitiy which is closed now": "Only facilities which are closed now",
"unknown now": "Facility might be open now",
"closed now": "Facility is now closed",
"will close": "but <a href=\"__href__\">will</a> close __timestring__.",
"will unknown": "but <a href=\"__href__\">will</a> maybe open __timestring__.",
"will open": "but <a href=\"__href__\">will</a> open __timestring__.",
"depends on": ", but that depends on __comment__.",
"week stable": "Schedule is valid in any given week.",
"not week stable": "Attention! This schedule might change for other weeks.",
"value for": "value for",
"MatchingRule": "Substring used by applied rule",
"warn error": "Error and warning messages",
"prettified value": 'prettified opening_hours value (this value can be safely used in OSM, after all warnings have been <a href="__copyFunc__">solved</a>)',
"prettified value for displaying": "prettified opening_hours value for displaying (including newlines, do not use this as value for OSM)",
"more information": "For more information you can check out the <a __href__>OSM wiki</a>.",
"this website": "This website and the JavaScript library used for the evaluation of opening hours are developed on <a href=\"__url__\" target=\"_blank\">__hoster__</a>.",
"if PH is between Mo and Fr": "Only if the public holiday is a weekday (Mo-Fr)",
"check out error correction, prettify": "check out the error correction and the prettify function for the opening_hours value",
"SH,PH or PH,SH": "This makes a small difference compared to the previous value. The name of the school holidays will override the PH names in the comment.",
"config POIs": "configure POIs",
"reload map": "reload map",
"heading map": "Map with layer for the tag opening_hours based on OpenStreetMap",
"map is showing": '<a href="__mapUrl__">Without filter</a> this map is showing nodes with the tag <a rel="external" href="__wikiUrl__">opening_hours</a> as colored circles:',
"error": "The value could not be parsed",
"warning": "If there appeared warnings during evaluation, a blue __sign__ will show up in the status icon.",
"map filter": "There are a few filters which can be applied to find and fix mistakes (QA) or to just display open or closed facilities:",
"warnings only": "Warnings only",
"error only": "Error only",
"data source": 'The overlay data comes from the __APIaTag__. The map is __OSMaTag__.',
"mode 0": 'Only time ranges are accepted (tags opening_hours, lit)',
"mode 1": 'Only points in time are accepted',
"mode 2": 'Time ranges and points in time are accepted (tags service_times, collection_times)',
"value to long for osm": 'The value is too long for OSM. The OpenStreetMap database is currently limited to values with up to __maxLength__ characters. The prettified value has a length of __pretLength__ and the value you entered is __valLength__ characters long',
"low zoom level": 'The POIs will start to appear at zoom level ${next} and above. You are currently on zoom level ${actual}.',
"all n entries": 'All __total__ entries:',
"the first entries": 'The first __number__ of __total__ entries:',
"load all with JOSM": 'load all in JOSM',
"evaluation tool": 'evaluation tool',
},
"words": {
"mode": "evaluation mode",
"green": "green",
"yellow": "yellow",
"red": "red",
"violet": "violet",
"to": "to",
"and": "and",
"no": "no",
"his": "his",
"docu": "documentation",
"of course": "of course",
"open": "open",
"unknown": "unknown",
"closed": "closed",
"comment": "comment",
"today": "today",
"tomorrow": "tomorrow",
// "on weekday": "on", // not needed in this context
"on weekday": " ",
"in duration": "in",
"region": "region",
"position": "position",
"lat": "latitude",
"lon": "longitude",
"country": "country",
"state": "state",
"status": "status",
"examples": "Examples",
"none": "none",
"date": "date",
"time": { // __count__ Can not cover need for Russian language (one, several, many).
"minute": "minute",
"minute_plural": "minutes",
"minute many": "minutes",
"hour": "hour",
"hour_plural": "hours",
"hour many": "hours",
"day": "day",
"day_plural": "days",
"day many": "days",
"hours minutes sep": "and ",
"now": "now",
"time": "time",
},
},
},
}, // }}}
// French (fr) localization {{{
fr: { translation: {
"lang": {
"en": "Anglais",
"fr": "Français",
"de": "Allemand",
"ru": "Russe",
"pt": "Portugais",
"it": "Italien",
"choose": "Choisissez la langue",
},
"months": {
"short": {
"jan": "jan",
"feb": "fév",
"mar": "mar",
"apr": "avr",
"may": "mai",
"jun": "jun",
"jul": "jul",
"aug": "aoû",
"sep": "sep",
"oct": "oct",
"nov": "nov",
"dec": "déc",
},
"full": {
"jan": "janvier",
"feb": "février",
"mar": "mars",
"apr": "avril",
"may": "mai",
"jun": "juin",
"jul": "juillet",
"aug": "août",
"sep": "septembre",
"oct": "octobre",
"nov": "novembre",
"dec": "décembre",
},
},
"weekdays": {
"short": {
"mo": "lu",
"tu": "ma",
"we": "me",
"th": "je",
"fr": "ve",
"sa": "sa",
"su": "di",
},
"full": {
"mo": "lundi",
"tu": "mardi",
"we": "mercredi",
"th": "jeudi",
"fr": "vendredi",
"sa": "samedi",
"su": "dimanche",
},
"word next": { // The Russian language seems to use other words for next for some weekdays.
"mo": "prochain",
"tu": "prochain",
"we": "prochain",
"th": "prochain",
"fr": "prochain",
"sa": "prochain",
"su": "prochain",
}
},
"texts": {
"open always": "L'installation est ouverte en permanence",
"unknown always": "L'installation est peut-être ouverte en permanence",
"closed always": "L'installation est fermée en permanence (à court terme)",
"open now": "L'installation est ouverte en ce moment",
"facilitiy which is open now": "Seulement les installations ouvertes en ce moment",
"facilitiy which is open/unknown now": "Seulement les installations ouvertes ou indéterminées en ce moment",
"facilitiy which is unknown now": "Seulement les installations indéterminées en ce moment",
"facilitiy which is closed now": "Seulement les installations fermées en ce moment",
"unknown now": "L'installation est indéterminée en ce moment",
"closed now": "L'installation est fermée en ce moment",
"will close": "mais <a href=\"__href__\">va</a> fermer __timestring__.",
"will unknown": "mais <a href=\"__href__\">va</a> peut-être ouvrir __timestring__.",
"will open": "mais <a href=\"__href__\">va</a> ouvrir __timestring__.",
"depends on": ", mais cela dépend de __comment__.",
"week stable": "L'horaire est valable dans n'importe quelle semaine donnée.",
"not week stable": "Attention ! Cet horaire peut changer pour les autres semaines.",
"value for": "valeur pour",
"MatchingRule": "Sous-chaîne utilisée par la règle appliquée",
"warn error": "Messages d'erreur et d'avertissement",
"prettified value": 'valeur opening_hours embellie (cette valeur peut être utilisée en toute sécurité dans OSM, après que tous les avertissements aient été <a href="__copyFunc__">corrigés</a>)',
"prettified value for displaying": "valeur opening_hours embellie pour l'affichage (inclut des sauts de ligne, ne pas l'utiliser comme valeur pour OSM)",
"more information": "Pour plus d'informations vous pouvez consulter le <a __href__>wiki OSM</a>.",
"this website": "Ce site web et la bibliothèque JavaScript utilisée pour l'évaluation des horaires d'ouverture sont développés sur <a href=\"__url__\" target=\"_blank\">__hoster__</a>.",
"if PH is between Mo and Fr": "Seulement si le jour férié est un jour de semaine (lundi-vendredi)",
"check out error correction, prettify": "consultez la correction d'erreur et la fonction prettify pour la valeur de opening_hours",
"SH,PH or PH,SH": "Ceci donne un petit écart par rapport à la valeur précédente. Le nom des vacances scolaires remplace les noms des jours fériés dans le commentaire.",
"config POIs": "configurer les POIs",
"reload map": "rafraîchir la carte",
"heading map": "Carte avec calque pour le tag opening_hours basée sur OpenStreetMap",
"map is showing": '<a href="__mapUrl__">Sans filtre</a> cette carte affiche les nœuds portant le tag <a rel="external" href="__wikiUrl__">opening_hours</a> comme des cercles colorés :',
"error": "La valeur n'a pas pu être analysée",
"warning": "S'il y a eu des avertissements lors de l'évaluation, un __sign__ bleu s'affichera dans l'icône d'état.",
"map filter": "Il ya quelques filtres qui peuvent être appliqués pour trouver et corriger les erreurs (AQ) ou pour afficher seulement les installations ouvertes ou fermées:",
"warnings only": "Seulement les avertissements",
"error only": "Seulement les erreurs",
"data source": "Les données en superposition viennent de __APIaTag__. La carte est __OSMaTag__.",
"mode 0": "Seuls les intervalles de temps sont acceptés (tags opening_hours, lit)",
"mode 1": "Seuls les points dans le temps sont acceptés",
"mode 2": "Les plages horaires et les points dans le temps sont acceptés (tags service_times, collection_times)",
"value to long for osm": "La valeur est trop longue pour OSM. La base de données OpenStreetMap est actuellement limitée à des valeurs d'un maximum de __maxLength__ caractères. La valeur embellie a une longueur de __pretLength__ et la valeur que vous avez entrée comporte __valLength__ caractères",
"low zoom level": 'Les POIs vont commencer à apparaître au niveau de zoom ${next} et au-delà. Vous êtes actuellement au niveau de zoom ${actual}.',
"all n entries": "Ensemble des __total__ entrées :",
"the first entries": "Les __number__ premières entrées sur __total__ :",
},
"words": {
"mode": "mode d'évaluation",
"green": "vert",
"yellow": "jaune",
"red": "rouge",
"violet": "violet",
"to": "à",
"and": "et",
"no": "pas de",
"his": "son",
"docu": "documentation",
"of course": "bien sûr",
"open": "ouvert",
"unknown": "indéterminé",
"closed": "fermé",
"comment": "commentaire",
"today": "aujourd'hui",
"tomorrow": "demain",
// "on weekday": "on", // not needed in this context
"on weekday": " ",
"in duration": "dans",
"region": "région",
"position": "emplacement",
"lat": "latitude",
"lon": "longitude",
"country": "pays",
"state": "état",
"status": "statut",
"examples": "Exemples",
"none": "aucun",
"date": "date",
"time": { // __count__ Can not cover need for Russian language (one, several, many).
"minute": "minute",
"minute_plural": "minutes",
"minute many": "minutes",
"hour": "heure",
"hour_plural": "heures",
"hour many": "heures",
"day": "jour",
"day_plural": "jours",
"day many": "jours",
"hours minutes sep": "et ",
"now": "en ce moment",
"time": "heure",
},
},
},
}, // }}}
// German (de) localization {{{
de: { translation: {
"lang": {
"en": "Englisch",
"fr": "Französisch",
"de": "Deutsch",
"ru": "Russisch",
"pt": "Portugiesisch",
"it": "Italienisch",
"choose": "Wähle eine Sprache",
},
"months": {
"short": {
"mar": "Mär",
"may": "Mai",
"oct": "Okt",
"dec": "Dez",
},
"full": {
"jan": "Januar",
"feb": "Februar",
"mar": "März",
"may": "Mai",
"jun": "Juni",
"jul": "Juli",
"oct": "Oktober",
"dec": "Dezember",
},
},
"weekdays": {
"short": {
"su": "So",
"mo": "Mo",
"tu": "Di",
"we": "Mi",
"th": "Do",
"fr": "Fr",
"sa": "Sa",
},
"full": {
"su": "Sonntag",
"mo": "Montag",
"tu": "Dienstag",
"we": "Mittwoch",
"th": "Donnerstag",
"fr": "Freitag",
"sa": "Samstag",
},
"word next": {
"su": "nächsten",
"mo": "nächsten",
"tu": "nächsten",
"we": "nächsten",
"th": "nächsten",
"fr": "nächsten",
"sa": "nächsten",
}
},
"texts": {
"open always": "Die Einrichtung hat immer geöffnet.",
"unknown always": "Die Öffnungszeit der Einrichtung ist immer unbekannt",
"closed always": "Die Einrichtung wird in (naher) Zukunft nicht wieder öffnen.",
"open now": "Die Einrichtung hat jetzt geöffnet",
"facilitiy which is open now": "Nur Einrichtungen welche jetzt geöffnet sind",
"facilitiy which is open/unknown now": "Nur Einrichtungen die jetzt geöffnet oder unbekannt sind",
"facilitiy which is unknown now": "Nur Einrichtungen die möglicherweise jetzt geöffnet sind",
"facilitiy which is closed now": "Nur Einrichtungen die jetzt geschlossen sind",
"unknown now": "Die Einrichtung ist möglicherweise jetzt geöffnet",
"closed now": "Die Einrichtung ist jetzt geschlossen",
"will close": "aber <a href=\"__href__\">wird</a> __timestring__ schließen.",
"will unknown": "aber <a href=\"__href__\">wird</a> eventuell __timestring__ öffnen.",
"will open": "aber <a href=\"__href__\">wird</a> __timestring__ öffnen.",
"depends on": ", abhängig von __comment__.",
"week stable": "Dieser Wochenplan gilt für jede Woche.",
"not week stable": "Achtung! Dieser Wochenplan kann sich in anderen Wochen ändern.",
"value for": "Wert für",
"MatchingRule": "Zur Anwendung gekommene Regel",
"warn error": "Fehler und Warnungen",
"prettified value": 'Schön formatierter opening_hours Wert (dieser Wert sollte in OSM verwendet werden, nachdem alle Warnungen <a href="__copyFunc__">beseitigt wurden</a>)',
"prettified value for displaying": "Schön formatierter opening_hours Wert für die Anzeige (mit Zeilenumbrüchen, nicht als Tag für OSM gedacht …)",
"more information": "Für weitere Informationen kannst dir das <a __href__>OSM wiki</a> anschauen.",
"this website": "Die Entwicklung dieser Webseite und der JavaScript Bibliothek zur Auswertung der Öffnungszeiten findet auf <a href=\"__url__\" target=\"_blank\">__hoster__</a> statt.",
"if PH is between Mo and Fr": "Nur wenn der Feiertag auf einen Wochentag (Mo-Fr) fällt",
"check out error correction, prettify": "Probiere die Fehlererkennung und den korrigierten opening_hours Wert",
"SH,PH or PH,SH": "Dieser Wert unterscheidet sich insofern zum vorherigen als dass der Name für Schulferien den Namen von Feiertagen im Kommentar überschreibt, wenn sich diese überlagern",
"config POIs": "POIs konfigurieren",
"reload map": "Karte aktualisieren",
"heading map": "Karte zur Auswertung des Tags opening_hours basierend auf OpenStreetMap",
"map is showing": '<a href="__mapUrl__">Ohne Filter</a> zeigt die Karte Knoten mit dem Tag <a rel="external" href="__wikiUrl__">opening_hours</a> als farbige Kreise:',
"error": "Die Öffnungszeit konnte nicht ausgewertet werden",
"warning": "Sollte eine Öffnungszeit beim verarbeiten eine Warnung erzeugen, wird im Status Icon ein blaues __sign__ angezeigt.",
"map filter": "Es gibt mehrere Filter um nur die Öffnungszeiten von Interesse anzuzeigen. Die Hauptgründe für einen Filter sind Qualitätssicherung und das finden von offenen Geschäften. Hier die Liste der möglichen Filter:",
"warnings only": "Nur Warnungen",
"error only": "Nur Fehler",
"data source": 'Die zugrundeliegenden Daten stammen von der __APIaTag__. Die Karte ist __OSMaTag__.',
"mode 0": 'Es werden nur Zeiträume akzeptiert (Tags opening_hours, lit)',
"mode 1": 'Es werden nur Zeitpunkte akzeptiert',
"mode 2": 'Zeiträume und Zeitpunkte werden akzeptiert (Tags service_times, collection_times)',
"value to long for osm": 'Der opening_hours Wert ist zu lang für OSM. Die OpenStreetMap Datenbank unterstützt zur Zeit nur Werte mit bis zu __maxLength__ Zeichen. Der schön formatierte Wert ist __pretLength__ Zeichen lang und der eingegebene Wert __valLength__.',
"low zoom level": 'Die Marker werden erst auf Zoom Stufe ${next} geladen. Aktuelle Zoom Stufe ist ${actual}.',
"all n entries": 'Alle __total__ Einträge:',
"the first entries": 'Die ersten __number__ von __total__ Einträgen:',
"load all with JOSM": 'Alle in JOSM laden',
"evaluation tool": 'Ausführlich testen',
},
"words": {
"mode": "Auswerte Modus",
"green": "Grün",
"yellow": "Gelb",
"red": "Rot",
"violet": "Violett",
"to": "-",
"and": "und",
"no": "kein",
"his": "seine",
"docu": "Dokumentation",
"of course": "natürlich",
"open": "geöffnet",
"unknown": "unbekannt",
"closed": "geschlossen",
"comment": "Kommentar",
"today": "heute",
"tomorrow": "morgen",
// "on weekday": "on", // not needed in this context
"on weekday": " ",
"region": "Region",
"position": "Position",
"lat": "Breitengrad",
"lon": "Längengrad",
"country": "Land",
"state": "Bundesstaat",
"status": "Status",
"examples": "Beispiele",
"none": "keine",
"date": "Datum",
"time": { // __count__ Can not cover need for Russian language (one, several, many).
"minute": "Minute",
"minute_plural": "Minuten",
"minute many": "Minuten",
"hour": "Stunde",
"hour_plural": "Stunden",
"hour many": "Stunden",
"day": "Tag",
"day_plural": "Tage",
"day many": "Tage",
"hours minutes sep": "und ",
"now": "Jetzt",
"time": "Zeit",
},
},
},
}, // }}}
// Russian (ru) localization {{{
ru: { translation: {
"lang": {
"en": "английский",
"fr": "французский",
"de": "немецкий",
"ru": "русский",
"pt": "португальский",
"it": "итальянский",
"choose": "Выберите язык",
},
"months": {
"short": {
"jan": "Янв",
"feb": "Фев",
"mar": "Мар",
"apr": "Апр",
"may": "Май",
"jun": "Июн",
"jul": "Июл",
"aug": "Авг",
"sep": "Сен",
"oct": "Окт",
"nov": "Ноя",
"dec": "Дек",
},
"full": {
"jan": "Января",
"feb": "Февраля",
"mar": "Марта",
"apr": "Апреля",
"may": "Мая",
"jun": "Июня",
"jul": "Июля",
"aug": "Августа",
"sep": "Сентября",
"oct": "Октября",
"nov": "Ноября",
"dec": "Декабря",
},
},
"weekdays": {
"short": {
"su": "Вс",
"mo": "Пн",
"tu": "Вт",
"we": "Ср",
"th": "Чт",
"fr": "Пт",
"sa": "Сб",
},
"full": {
"su": "воскресенье",
"mo": "понедельник",
"tu": "вторник",
"we": "среду",
"th": "четверг",
"fr": "пятницу",
"sa": "субботу",
},
"word next": {
"su": "ближайшее",
"mo": "ближайший",
"tu": "ближайший",
"we": "ближайшую",
"th": "ближайший",
"fr": "ближайшую",
"sa": "ближайшую",
},
},
"texts": {
"open always": "Заведение всегда открыто.",
"closed always": "Заведение всегда закрыто.",
"open now": "Сейчас заведение открыто",
"closed now": "Сейчас заведение закрыто",
"will close": "<a href=\"__href__\">Закроется</a> __timestring__.",
"will open": "<a href=\"__href__\">Откроется</a> __timestring__.",
"week stable": "Расписание верно для любой недели.",
"not week stable": "ВНИМАНИЕ! Расписание меняется в другие недели.",
"value for": "значение для",
"MatchingRule": "использовать правила",
"warn error": "об ошибках и предупреждения",
},
"words": {
"to": "до",
"and": "и",
"no": "Нет",
"open": "c",
"unknown": "неизвестный",
"closed": "закрыто",
"comment": "комментариев",
"today": "сегодня",
"tomorrow": "завтра",
"on weekday": "в ", // optionally in other languages
"in duration": "через",
"region": "регион",
"position": "положение",
"lat": "широта",
"lon": "долгота",
"country": "страна",
"state": "штат",
"status": "статус",
"examples": "примеры",
"date": "дата",
"none": "никто",
"time": {
"minute": "минуту",
"minute_plural": "минуты",
"minute many": "минут",
"hour": "час",
"hour_plural": "часа",
"hour many": "часов",
"day": "день",
"day_plural": "дня",
"day many": "дней",
"now": "сейчас",
"time": "время",
},
},
},
}, // }}}
// Portuguese (pt) localization {{{
pt: { translation: {
"lang": {
"en": "Inglês",
"fr": "Francês",
"de": "Alemão",
"ru": "Russo",
"it": "Italiano",
"pt": "Português",
"choose": "Escolha a sua linguagem",
},
"months": {
"short": {
"jan": "Jan",
"feb": "Fev",
"mar": "Mar",
"apr": "Abr",
"may": "Mai",
"jun": "Jun",
"jul": "Jul",
"aug": "Ago",
"sep": "Set",
"oct": "Out",
"nov": "Nov",
"dec": "Dez",
},
"full": {
"jan": "Janeiro",
"feb": "Fevereiro",
"mar": "Março",
"apr": "Abril",
"may": "Maio",
"jun": "Junho",
"jul": "Julho",
"aug": "Agosto",
"sep": "Setembro",
"oct": "Outubro",
"nov": "Novembro",
"dec": "Dezembro",
},
},
"weekdays": {
"short": {
"su": "Dom",
"mo": "Seg",
"tu": "Ter",
"we": "Qua",
"th": "Qui",
"fr": "Sex",
"sa": "Sab"
},
"full": {
"su": "Domingo",
"mo": "Segunda-feira",
"tu": "Terça-feira",
"we": "Quarta-feira",
"th": "Quinta-feira",
"fr": "Sexta-feira",
"sa": "Sábado",
},
"word next": { // palavra "próximo" antes de um dia da semana
"su": "próximo",
"mo": "próxima",
"tu": "próxima",
"we": "próxima",
"th": "próxima",
"fr": "próxima",
"sa": "próximo",
}
},
"texts": {
"open always": "O lugar está sempre aberto",
"unknown always": "Talvez o lugar sempre esteja aberto",
"closed always": "O lugar está fechado e não se sabe quando ele vai reabrir",
"open now": "O lugar está aberto agora",
"facilitiy which is open now": "Somente lugares que estão aberto agora",
"facilitiy which is open/unknown now": "Somente lugares que estão aberto agora ou que talvez estejam",
"facilitiy which is unknown now": "O lugar pode estar aberto agora",
"facilitiy which is closed now": "Somente lugares que estão fechados agora",
"unknown now": "O lugar pode estar aberto agora",
"closed now": "O lugar está fechado agora",
"will close": "Mas <a href=\"__href__\">vai</a> fechar __timestring__.",
"will unknown": "Mas talvez <a href=\"__href__\">vá</a> abrir __timestring__.",
"will open": "Mas <a href=\"__href__\">vai</a> abrir __timestring__.",
"depends on": ", Mas isso depende de __comment__.",
"week stable": "O horário é o mesmo toda semana.",
"not week stable": "Atenção! Este horário pode mudar em outras semanas.",
"value for": "Valor para a etiqueta",
"MatchingRule": "\"Substring\" usada pela regra aplicada", //como traduzir?
"warn error": "Mensagens de erro e avisos",
"prettified value": 'Valor "embelezado" da chave opening_hours (este valor pode ser utilizado no OSM sem problemas depois que todos os avisos tenham sido <a href="__copyFunc__">resolvidos</a>)',
"prettified value for displaying": "Exibição do valor \"embelezado\" da etiqueta \"opening_hours\" (inclui quebras de linha, não use isso como valor no OSM)",
"more information": "Para mais informações, veja a <a __href__>wiki do OSM</a>.",
"this website": "Este sítio e a biblioteca JavaScript usados para a avaliação dos horários de funcionamento são desenvolvidos no <a href=\"__url__\" target=\"_blank\">__hoster__</a>.",
"if PH is between Mo and Fr": "Somente se o feriado for um dia da semana (Mo-Fr)",
"check out error correction, prettify": "Verificar a correção dos erros e embelezar função para o valor da chave \"opening_hours\"",
"SH,PH or PH,SH": "Isso tem uma pequena diferença comparado com o valor anterior. Aqui os nomes dos feriados escolares vão ter prioridade sobre os nomes de outros tipos de feriados nos comentários.",
"config POIs": "Configurar Pontos de Interesse",
"reload map": "Recarregar mapa",
"heading map": "Mapa com uma camada para a etiqueta \"opening_hours\" baseado no OpenStreetMap",
"map is showing": '<a href="__mapUrl__">Sem o filtro</a> este mapa está mostrando como circulos coloridos os pontos que possuem a etiqueta <a rel="external" href="__wikiUrl__">opening_hours</a>:',
"error": "O valor não pode ser analisado",
"warning": "Se apareceram avisos durante a avaliação, um __sign__ azul vai aparecer na barra de estado",
"map filter": "Alguns filtros podem ser aplicados para encontrar e consertar erros (CQ) ou para mostrar somente lugares abertos ou fechados:",
"warnings only": "Somente avisos",
"error only": "Somente erros",
"data source": 'Os dados da camada vem de __APIaTag__. O mapa é __OSMaTag__.',
"mode 0": 'Somente intervalos de tempo são aceitos (etiquetas \"opening_hours\" e \"lit\")',
"mode 1": 'Somente pontos específicos no tempo são aceitos',
"mode 2": 'Intervalos de tempo e pontos específicos no tempo são aceitos (etiquetas \"service_times\" e \"collection_times\")',
"value to long for osm": 'O valor é longo demais para o OSM. O banco de dados do OpenStreetMap atualmente é limitado a valores de até __maxLength__ caracteres. O valor "embelezado" tem um comprimento de __pretLength__ e o valor que você digitou tem __valLength__ caracteres',
"low zoom level": 'Os Pontos de Interesse vão começar a aparecer em um nível de zoom maior ou igual a ${next}. Agora você está no nível de zoom ${actual}.',
"all n entries": 'Todos os __total__ resultados:',
"the first entries": 'Os primeiros __number__ de __total__ resultados:',
"load all with JOSM": 'Carregar tudo no JOSM',
"evaluation tool": 'Derramenta de avaliação',
},
"words": {
"mode": "Modo de avaliação",
"green": "verde",
"yellow": "amarelo",
"red": "vermelho",
"violet": "violeta",
"to": "até",
"and": "e",
"no": "sem",
"his": "dele",
"docu": "documentação",
"of course": "é claro",
"open": "Aberto de",
"unknown": "Desconhecido",
"closed": "Fechado",
"comment": "comentário",
"today": "hoje",
"tomorrow": "amanhã",
// "on weekday": "on", // not needed in this context
"on weekday": " ", // revisar esta
"in duration": "em",
"region": "Região",
"position": "Posição",
"lat": "Latitude",
"lon": "Longitude",
"country": "País",
"state": "Estado",
"status": "Estado",
"examples": "Exemplos", //revisar: maiusculo mesmo?
"none": "nenhum",
"date": "Data",
"time": { // __count__ Can not cover need for Russian language (one, several, many).
"minute": "minuto",
"minute_plural": "minutos",
"minute many": "minutos",
"hour": "hora",
"hour_plural": "horas",
"hour many": "horas",
"day": "dia",
"day_plural": "dias",
"day many": "dias",
"hours minutes sep": "e ",
"now": "Agora",
"time": "tempo",
},
},
},
}, // }}}
// Italian localization {{{
it: { translation: {
"lang": {
"en": "Inglese",
"fr": "Francese",
"de": "Tedesco",
"ru": "Russo",
"it": "Italiano",
"pt": "Portoghese",
"choose": "Scegli lingua",
},
"months": {
"short": {
"jan": "Gen",
"feb": "Feb",
"mar": "Mar",
"apr": "Apr",
"may": "Mag",
"jun": "Giu",
"jul": "Lug",
"aug": "Ago",
"sep": "Set",
"oct": "Ott",
"nov": "Nov",
"dec": "Dic",
},
"full": {
"jan": "Gennaio",
"feb": "Febbraio",
"mar": "Marzo",
"apr": "Aprile",
"may": "Maggio",
"jun": "Giugno",
"jul": "Luglio",
"aug": "Agosto",
"sep": "Settembre",
"oct": "Ottobre",
"nov": "Novembre",
"dec": "Dicembre",
},
},
"weekdays": {
"short": {
"mo": "Lu",
"tu": "Ma",
"we": "Me",
"th": "Gi",
"fr": "Ve",
"sa": "Sa",
"su": "Do",
},
"full": {
"mo": "Lunedì",
"tu": "Martedì",
"we": "Mercoledì",
"th": "Giovedì",
"fr": "Venerdì",
"sa": "Sabato",
"su": "Domenica",
},
"word next": { // The italian language use other words for next for sunday.
"mo": "il prossimo",
"tu": "il prossimo",
"we": "il prossimo",
"th": "il prossimo",
"fr": "il prossimo",
"sa": "il prossimo",
"su": "la prossima",
}
},
"texts": {
"open always": "La struttura è sempre aperta",
"unknown always": "La struttura può essere sempre aperta",
"closed always": "La struttura è sempre chiusa (nel breve termine)",
"open now": "In questo momento la struttura è aperta",
"facilitiy which is open now": "Solo strutture aperte in questo momento",
"facilitiy which is open/unknown now": "Solo strutture aperte o che potrebbero esserlo in questo momento",
"facilitiy which is unknown now": "Solo strutture che potrebbero essere aperte in questo momento",
"facilitiy which is closed now": "Solo strutture che sono chiuse in questo momento",
"unknown now": "In questo momento la struttura potrebbe essere aperta",
"closed now": "In questo momento la struttura è chiusa",
"will close": "ma <a href=\"__href__\">sarà</a> chiusa __timestring__.",
"will unknown": "ma <a href=\"__href__\">potrebbe</a> essere aperta __timestring__.",
"will open": "ma <a href=\"__href__\">sarà</a> aperta __timestring__.",
"depends on": ", ma dipende da __comment__.",
"week stable": "L'orario è valido per ogni settimana.",
"not week stable": "Attenzione! Questo orario può variare nelle altre settimane.",
"value for": "valore per",
"MatchingRule": "valore base utilizzato dalla regola corrente",
"warn error": "Messaggi di errore e di avviso",
"prettified value": 'valore per opening_hours ottimizzato (questo valore è valido e può essere utilizzato su OSM, dopo aver <a href="__copyFunc__">risolto</a> tutti gli eventuali errori)',
"prettified value for displaying": "valore per opening_hours ottimizzato per la visualizzazione (contiene dei caratteri di fine riga, non può essere usato come valore su OSM)",
"more information": "Per ulteriori informazioni è possibile consultare il <a __href__>wiki di OSM</a>.",
"this website": "Questo sito internet e la libreria Javascript utlizzata per la validazione degli orari di apertura sono sviluppati su <a href=\"__url__\" target=\"_blank\">__hoster__</a>.",
"if PH is between Mo and Fr": "Solamente se la festività pubblica è un giorno della settimana (da Lunedì a Venerdì)",
"check out error correction, prettify": "Controlla la correzione dell'errore e la funzione di ottimizzazione per il valore di opening_hours",
"SH,PH or PH,SH": "Questo è leggermente diverso da quello precedente. Il nome delle festività scolastiche sovrascriverà quello delle festività pubbliche nei commenti.",
"config POIs": "configura POI",
"reload map": "ricarica mappa",
"heading map": "Mappa con livelli relativi al tag opening_hours basata su OpenStreetMap",
"map is showing": '<a href="__mapUrl__">Senza filtri</a> questa mappa mostra con dei cerchi colorati i nodi aventi il tag <a rel="external" href="__wikiUrl__">opening_hours</a>:',
"error": "Il valore non può essere analizzato",
"warning": "Se sono presenti degli avvertimenti durante la validazione apparirà una __sign__ blu nell'icona di stato.",
"map filter": "Ci sono alcuni filtri che possono essere applicati per trovare e correggere gli errori o semplicemente per mostrare le strutture aperte o chiuse:",
"warnings only": "Solo avvertimenti",
"error only": "Solo errori",
"data source": 'I dati provengono da __APIaTag__. La mappa è __OSMaTag__.',
"mode 0": 'Solo intervalli di tempo (tag opening_hours, lit)',
"mode 1": 'Solo orari precisi (es. Mo 20:00)',
"mode 2": 'Intervalli di tempo e orari precisi (tag service_times, collection_times)',
"value to long for osm": 'Il valore è troppo lungo per OSM. I valori del database OpenStreetMap sono attualmente limitati a __maxLength__ caratteri. Il valore ottimizzato ha una lunghezza di __pretLength__ e il valore inserito è lungo __valLength__ caratteri.',
"low zoom level": 'I POI cominceranno ad apparire ad un livello di zoom di ${next} e superiore. Il livello di zoom attuale è ${actual}.',
"all n entries": 'Tutti i __total__ risultati:',
"the first entries": 'I primi __number__ di __total__ risultati:',
"load all with JOSM": 'carica tutto in JOSM',
"evaluation tool": 'tool di validazione',
},
"words": {
"mode": "modalità di validazione",
"green": "verde",
"yellow": "giallo",
"red": "rosso",
"violet": "viola",
"to": "a",
"and": "e",
"no": "no",
"his": "suo",
"docu": "documentazione",
"of course": "certamente",
"open": "aperto",
"unknown": "sconosciuto",
"closed": "chiuso",
"comment": "commento",
"today": "oggi",
"tomorrow": "domani",
// "on weekday": "on", // not needed in this context
"on weekday": " ",
"in duration": "tra",
"region": "regione",
"position": "posizione",
"lat": "latitudine",
"lon": "longitudine",
"country": "nazione",
"state": "stato",
"status": "stato",
"examples": "Esempi",
"none": "nessuno",
"date": "data",
"time": { // __count__ Can not cover need for Russian language (one, several, many).
"minute": "minuto",
"minute_plural": "minuti",
"minute many": "minuti",
"hour": "ora",
"hour_plural": "ore",
"hour many": "ore",
"day": "giorno",
"day_plural": "giorni",
"day many": "giorni",
"hours minutes sep": "e ",
"now": "adesso",
"time": "ora",
},
},
},
}, // }}}
};
// Functions which generate localized HTML sections {{{
function getUserSelectTranslateHTMLCode() {
var res = i18n.t('lang.choose')
+ (i18n.lng() !== 'en' ? ' ('+ i18n.t('lang.choose', { lng: 'en' }) +')' : '' )
+ ': ';
for (var lang in resources) {
if (resources.hasOwnProperty(lang)) {
res += '<button type="button" onclick="location.href=\'?setLng='
+ lang +'\'">' + i18n.t('lang.' + lang)
+ (i18n.lng() !== 'en' ? ' ('+ i18n.t('lang.' +lang, { lng: 'en' }) +')' : '' )
+ '</button>';
}
}
return res;
}
// }}}
// Initialization code {{{
function translatePage() { // Gets called when localization is loaded.
// $(".lang").i18n();
// $("headline").i18n();
}
i18n.init({
fallbackLng: 'en',
resStore: resources,
getAsync: true,
useCookie: true,
debug: true
}, translatePage);
// }}}
// }}}