1-
21Config . macros . typeVisitedPassages = false ;
32
43
54// Nastavení
6-
75var zapnoutFullscreen = function ( ) {
86 Fullscreen . toggle ( ) ;
97}
@@ -13,10 +11,170 @@ Setting.addToggle("fullscreen", {
1311 onChange : zapnoutFullscreen
1412} ) ;
1513
16- l10nStrings . settingsTitle = 'Nastavení hry' ;
17- l10nStrings . textOff = 'Vyp' ;
18- l10nStrings . textOn = 'Zap' ;
19- l10nStrings . settingsTextReset = 'Resetovat nastavení' ;
14+
15+ // function menu
16+ $ ( document ) . ready ( function ( ) {
17+ $ ( document ) . on ( "click" , "#saves" , function ( ) {
18+ UI . saves ( ) ;
19+ } ) ;
20+ $ ( document ) . on ( "click" , "#settings" , function ( ) {
21+ UI . settings ( ) ;
22+ } ) ;
23+ $ ( document ) . on ( "click" , "#restart" , function ( ) {
24+ Dialog . setup ( "Restartovat hru" ) ;
25+ Dialog . wiki ( Story . get ( "Reset" ) . processText ( ) ) ;
26+ Dialog . open ( ) ;
27+ } ) ;
28+ } ) ;
29+
30+
31+ //lokalizace
32+ l10nStrings . textAbort = 'Přerušit' ;
33+ l10nStrings . textAborting = 'Přerušování' ;
34+ l10nStrings . textCancel = 'Zrušit' ;
35+ l10nStrings . textClear = 'Vymazat' ;
36+ l10nStrings . textClose = 'Zavřít' ;
37+ l10nStrings . textDelete = 'Smazat' ;
38+ l10nStrings . textExport = 'Exportovat' ;
39+
40+ // V malých písmenech, pokud je to možné.
41+ l10nStrings . textIdentity = 'hra' ;
42+ l10nStrings . textImport = 'Importovat' ;
43+ l10nStrings . textLoad = 'Načíst' ;
44+ l10nStrings . textOff = 'Vyp' ;
45+ l10nStrings . textOk = 'OK' ;
46+ l10nStrings . textOn = 'Zap' ;
47+ l10nStrings . textSave = 'Uložit' ;
48+
49+ // (podstatné jméno) šance jednat (ve hře), moment, období
50+ l10nStrings . textTurn = 'Pozice' ;
51+
52+ /*******************************************************************************
53+ Chyby.
54+ *******************************************************************************/
55+
56+ // POZNÁMKA: `passage` je dodáno lokálně.
57+ l10nStrings . errorNonexistentPassage = 'pasáž "{passage}" neexistuje' ;
58+
59+ /*******************************************************************************
60+ Varování.
61+ *******************************************************************************/
62+
63+ l10nStrings . warningNoStorage = 'Všechny použitelné API pro ukládání chybí. Možné příčiny jsou zakázané nastavení cookies třetích stran, které také ovlivňuje Web Storage, nebo režim soukromého prohlížení.' ;
64+ l10nStrings . warningNoWebStorage = 'API Web Storage chybí, takže tato {textIdentity} běží v omezeném režimu. Možná budete moci pokračovat, ale některé části nemusí fungovat správně.' ;
65+ l10nStrings . warningDegraded = 'Některé schopnosti potřebné k podpoře této {textIdentity} chybí, takže běží v omezeném režimu. Možná budete moci pokračovat, ale některé části nemusí fungovat správně.' ;
66+ l10nStrings . warningNoSaves = 'Některé schopnosti potřebné k podpoře ukládání chybí, takže ukládání bylo pro tuto relaci zakázáno.' ;
67+
68+ /*******************************************************************************
69+ API: Uložení.
70+ *******************************************************************************/
71+ l10nStrings . saveErrorDisallowed = 'Ukládání je momentálně zakázáno.' ;
72+ l10nStrings . saveErrorDecodeFail = 'nelze dekódovat uloženou hru, pravděpodobně kvůli poškození' ;
73+ l10nStrings . saveErrorDiskLoadFail = 'nepodařilo se načíst uloženou hru z disku' ;
74+ l10nStrings . saveErrorIdMismatch = 'uložená hra je z nesprávné {textIdentity}' ;
75+ l10nStrings . saveErrorInvalidData = 'uložená hra postrádá požadovaná data, pravděpodobně kvůli poškození' ;
76+ l10nStrings . saveErrorNonexistent = 'uložená hra neexistuje' ;
77+
78+ /*******************************************************************************
79+ Základní UI.
80+ *******************************************************************************/
81+
82+ l10nStrings . uiBarLabelToggle = 'Přepnout UI panel' ;
83+ l10nStrings . uiBarLabelBackward = 'Jít zpět v historii {textIdentity}' ;
84+ l10nStrings . uiBarLabelForward = 'Jít vpřed v historii {textIdentity}' ;
85+ // [ZASTARALÉ]
86+ l10nStrings . uiBarLabelJumpto = 'Přeskočit na konkrétní bod v historii {textIdentity}' ;
87+
88+ /*******************************************************************************
89+ Dialog: Upozornění.
90+ *******************************************************************************/
91+
92+ l10nStrings . alertTitle = 'Upozornění' ;
93+
94+ /*******************************************************************************
95+ Dialog: Restart.
96+ *******************************************************************************/
97+
98+ l10nStrings . restartTitle = 'Restartovat' ;
99+ l10nStrings . restartMesgPrompt = 'Všechen neuložený postup bude ztracen. Opravdu chcete restartovat?' ;
100+
101+ /*******************************************************************************
102+ Dialog: Uložení.
103+ *******************************************************************************/
104+
105+ l10nStrings . continueTitle = 'Pokračovat' ;
106+ l10nStrings . savesTitle = 'Uložené pozice' ;
107+ l10nStrings . savesHeaderBrowser = 'V prohlížeči' ;
108+ l10nStrings . savesHeaderDisk = 'Na disku' ;
109+ l10nStrings . savesLabelBrowserClear = 'Smazat všechny uložené hry v prohlížeči' ;
110+ l10nStrings . savesLabelBrowserExport = 'Exportovat uložené hry z prohlížeče do balíčku' ;
111+ l10nStrings . savesLabelBrowserImport = 'Importovat uložené hry z balíčku do prohlížeče' ;
112+ l10nStrings . savesLabelDiskLoad = 'Načíst z disku' ;
113+ l10nStrings . savesLabelDiskSave = 'Uložit na disk' ;
114+ l10nStrings . savesTextBrowserAuto = 'Automaticky' ;
115+ l10nStrings . savesTextBrowserSlot = 'Slot' ;
116+ l10nStrings . savesTextNoDate = 'neznámé datum' ;
117+
118+ /*******************************************************************************
119+ Dialog: Nastavení.
120+ *******************************************************************************/
121+ l10nStrings . settingsTitle = 'Nastavení' ;
122+ l10nStrings . settingsTextReset = 'Obnovit výchozí' ;
123+
124+ /*******************************************************************************
125+ Ladění: Zobrazení chyb.
126+ *******************************************************************************/
127+
128+ l10nStrings . errorViewTitle = 'Chyba' ;
129+ l10nStrings . errorViewLabelToggle = 'Přepnout zobrazení chyb' ;
130+
131+ /*******************************************************************************
132+ Ladění: Ladící panel.
133+ *******************************************************************************/
134+
135+ l10nStrings . debugBarLabelToggle = 'Přepnout ladící panel' ;
136+ l10nStrings . debugBarLabelViewsToggle = 'Přepnout ladící zobrazení' ;
137+ l10nStrings . debugBarLabelWatchAdd = 'Přidat nový sledovací bod' ;
138+ l10nStrings . debugBarLabelWatchAll = 'Sledovat vše' ;
139+ l10nStrings . debugBarLabelWatchClear = 'Vymazat všechny sledovací body' ;
140+ l10nStrings . debugBarLabelWatchDelete = 'Smazat tento sledovací bod' ;
141+ l10nStrings . debugBarLabelWatchPlaceholder = 'název proměnné' ;
142+ l10nStrings . debugBarLabelPassagePlaceholder = 'název pasáže' ;
143+ l10nStrings . debugBarLabelPassagePlay = 'Přehrát pasáž' ;
144+ l10nStrings . debugBarLabelWatchToggle = 'Přepnout panel sledování' ;
145+ l10nStrings . debugBarMesgNoWatches = 'Žádné sledovací body nejsou nastaveny' ;
146+ l10nStrings . debugBarTextAdd = 'Přidat' ;
147+ l10nStrings . debugBarTextPassage = 'Pasáž' ;
148+ l10nStrings . debugBarTextViews = 'Zobrazení' ;
149+ l10nStrings . debugBarTextWatch = 'Sledovat' ;
150+
151+ /*******************************************************************************
152+ Makra.
153+ *******************************************************************************/
154+
155+ // (sloveso) přetočit zpět, vrátit
156+ l10nStrings . macroBackText = 'Zpět' ;
157+ // (sloveso) vrátit se/poslat zpět
158+ l10nStrings . macroReturnText = 'Vrátit' ;
159+
160+ /*******************************************************************************
161+ [ZASTARALÉ] Dialog: Automatické načítání.
162+ *******************************************************************************/
163+
164+ l10nStrings . autoloadTitle = 'Automatické načítání' ;
165+ l10nStrings . autoloadMesgPrompt = 'Existuje automaticky uložená hra. Načíst ji nyní nebo přejít na začátek?' ;
166+ l10nStrings . autoloadTextCancel = 'Přejít na začátek' ;
167+ l10nStrings . autoloadTextOk = 'Načíst automaticky uloženou hru' ;
168+
169+
170+ /*******************************************************************************
171+ [ZASTARALÉ] Dialog: Přeskočit na.
172+ *******************************************************************************/
173+
174+ l10nStrings . jumptoTitle = 'Přeskočit na' ;
175+ l10nStrings . jumptoMesgUnavailable = 'Momentálně nejsou dostupné žádné body pro přeskočení\u2026' ;
176+
177+
20178
21179
22180// ui-macro.min.js, for SugarCube 2, by Chapel
0 commit comments