CH-J ToolsSerververwaltung über SSH
Menü
Veröffentlichte Quellen

CH-J Tools

Durchsuchen Sie Verzeichnisse und Dateien einer bestimmten Anwendungsausgabe.

Quellen als ZIP herunterladen
CH-J / Server Manager 406 Dateien
core-20261024T135205Z-7c487d719de2 Hinzugefügt: · Erstellt:
i18n.js Hinzugefügt: Datum nicht erfasst 11,2 KB · 157 Zeilen
Code Datei herunterladen
1"use strict";
3// CS/DE/EN texts of chj.nginx-manager. Keys are the original Czech texts; values are inserted as plain text, never as HTML.
4(function (root) {
5 const catalogs = {
6 "en": {
7 "Plugin se načítá…": "Loading plugin…",
8 "Zavřít": "Close",
9 "Aktivní SSH relace": "Active SSH session",
10 "Žádná připojená relace": "No connected session",
11 "Obnovit": "Refresh",
12 "Heslo pro sudo": "sudo password",
13 "prázdné pro NOPASSWD": "empty for NOPASSWD",
14 "Otestovat nginx -t": "Test nginx -t",
15 "Vyberte připojený server.": "Select a connected server.",
16 "SLUŽBA": "SERVICE",
17 "HLAVNÍ KONFIGURACE": "MAIN CONFIGURATION",
18 "NALEZENÉ SOUBORY": "FILES FOUND",
19 "KONFIGURACE": "CONFIGURATION",
20 "Soubory": "Files",
21 "Efektivní -T": "Effective -T",
22 "Filtrovat cestu…": "Filter path…",
23 "Nejsou načteny žádné soubory.": "No files loaded.",
24 "Vyberte konfigurační soubor": "Select a configuration file",
25 "Změny zatím nejsou načtené.": "No changes loaded yet.",
26 "Znovu načíst": "Reload file",
27 "Uložit, zálohovat a otestovat": "Save, back up and test",
28 "Konfigurace NGINX": "NGINX configuration",
29 "VÝSTUP": "OUTPUT",
30 "Test a operace": "Test and operations",
31 "Vyčistit": "Clear",
32 "Zde se zobrazí výstup nginx -t, uložení nebo reloadu.": "The output of nginx -t, saving or reloading appears here.",
33 "Bezpečný postup podle dokumentace NGINX": "Safe procedure according to the NGINX documentation",
34 "Uložení vytvoří časovanou zálohu, zachová vlastníka a oprávnění a spustí": "Saving creates a timestamped backup, keeps the owner and permissions and runs",
35 ". Neplatná konfigurace se automaticky vrátí ze zálohy. Reload je samostatná potvrzená operace a proběhne pouze po úspěšném testu; restart ani obecný vzdálený shell plugin nemá.": ". An invalid configuration is restored from the backup automatically. Reload is a separate confirmed operation and only runs after a successful test; the plugin has no restart and no general remote shell.",
36 "Oficiální zdroje:": "Official sources:",
37 "nainstalován": "installed",
38 "nenalezen": "not found",
39 "symlink · pouze čtení": "symlink · read-only",
40 "soubor": "file",
41 "Filtru neodpovídá žádný konfigurační soubor.": "No configuration file matches the filter.",
42 "Vyberte relaci…": "Select a session…",
43 "Zjišťuji instalaci, službu a konfigurační soubory NGINX…": "Checking the NGINX installation, service and configuration files…",
44 "NGINX {version} je dostupný; nalezeno {count} souborů.": "NGINX {version} is available; {count} files found.",
45 "NGINX nebyl na serveru nalezen.": "NGINX was not found on the server.",
46 "Zahodit neuložené změny aktuální konfigurace?": "Discard unsaved changes to the current configuration?",
47 "Načítám {path}…": "Loading {path}…",
48 "NÁHLED SYMLINKU": "SYMLINK PREVIEW",
49 "upravte zdroj v sites-available": "edit the source in sites-available",
50 "změny se ukládají se zálohou": "changes are saved with a backup",
51 "Konfigurace byla načtena.": "The configuration was loaded.",
52 "Spouštím nginx -t…": "Running nginx -t…",
53 "Konfigurace NGINX je platná.": "The NGINX configuration is valid.",
54 "Test konfigurace selhal.": "The configuration test failed.",
55 "Zahodit neuložené změny a zobrazit efektivní konfiguraci?": "Discard unsaved changes and show the effective configuration?",
56 "Načítám efektivní konfiguraci pomocí nginx -T…": "Loading the effective configuration with nginx -T…",
57 "EFEKTIVNÍ KONFIGURACE": "EFFECTIVE CONFIGURATION",
58 "Kombinovaný výstup je pouze pro čtení.": "The combined output is read-only.",
59 "Efektivní konfigurace byla načtena.": "The effective configuration was loaded.",
60 "Uložit {path}, vytvořit zálohu a spustit nginx -t? Neplatná konfigurace se automaticky vrátí.": "Save {path}, create a backup and run nginx -t? An invalid configuration is restored automatically.",
61 "Ukládám zálohu a ověřuji novou konfiguraci…": "Saving a backup and checking the new configuration…",
62 "Záloha: {path}": "Backup: {path}",
63 "Konfigurace byla uložena a nginx -t uspěl. Reload zatím nebyl proveden.": "The configuration was saved and nginx -t succeeded. No reload has been done yet.",
64 "Nejprve uložte nebo zahoďte neuložené změny.": "Save or discard the unsaved changes first.",
65 "Provést graceful reload NGINX? Core před reloadem znovu spustí nginx -t.": "Perform a graceful NGINX reload? The Core runs nginx -t again before the reload.",
66 "Ověřuji konfiguraci a provádím graceful reload…": "Checking the configuration and performing a graceful reload…",
67 "NGINX byl bezpečně reloadován.": "NGINX was reloaded safely."
68 },
69 "de": {
70 "Plugin se načítá…": "Plugin wird geladen…",
71 "Zavřít": "Schließen",
72 "Aktivní SSH relace": "Aktive SSH-Sitzung",
73 "Žádná připojená relace": "Keine verbundene Sitzung",
74 "Obnovit": "Aktualisieren",
75 "Heslo pro sudo": "sudo-Passwort",
76 "prázdné pro NOPASSWD": "leer bei NOPASSWD",
77 "Otestovat nginx -t": "nginx -t testen",
78 "Vyberte připojený server.": "Wählen Sie einen verbundenen Server.",
79 "SLUŽBA": "DIENST",
80 "HLAVNÍ KONFIGURACE": "HAUPTKONFIGURATION",
81 "NALEZENÉ SOUBORY": "GEFUNDENE DATEIEN",
82 "KONFIGURACE": "KONFIGURATION",
83 "Soubory": "Dateien",
84 "Efektivní -T": "Effektiv -T",
85 "Filtrovat cestu…": "Pfad filtern…",
86 "Nejsou načteny žádné soubory.": "Keine Dateien geladen.",
87 "Vyberte konfigurační soubor": "Konfigurationsdatei auswählen",
88 "Změny zatím nejsou načtené.": "Noch keine Änderungen geladen.",
89 "Znovu načíst": "Neu laden",
90 "Uložit, zálohovat a otestovat": "Speichern, sichern und testen",
91 "Konfigurace NGINX": "NGINX-Konfiguration",
92 "VÝSTUP": "AUSGABE",
93 "Test a operace": "Test und Vorgänge",
94 "Vyčistit": "Leeren",
95 "Zde se zobrazí výstup nginx -t, uložení nebo reloadu.": "Hier erscheint die Ausgabe von nginx -t, dem Speichern oder dem Reload.",
96 "Bezpečný postup podle dokumentace NGINX": "Sicheres Vorgehen nach der NGINX-Dokumentation",
97 "Uložení vytvoří časovanou zálohu, zachová vlastníka a oprávnění a spustí": "Das Speichern legt eine zeitgestempelte Sicherung an, behält Eigentümer und Berechtigungen bei und führt",
98 ". Neplatná konfigurace se automaticky vrátí ze zálohy. Reload je samostatná potvrzená operace a proběhne pouze po úspěšném testu; restart ani obecný vzdálený shell plugin nemá.": " aus. Eine ungültige Konfiguration wird automatisch aus der Sicherung wiederhergestellt. Der Reload ist ein separater bestätigter Vorgang und erfolgt nur nach erfolgreichem Test; Neustart oder eine allgemeine Remote-Shell hat das Plugin nicht.",
99 "Oficiální zdroje:": "Offizielle Quellen:",
100 "nainstalován": "installiert",
101 "nenalezen": "nicht gefunden",
102 "symlink · pouze čtení": "Symlink · schreibgeschützt",
103 "soubor": "Datei",
104 "Filtru neodpovídá žádný konfigurační soubor.": "Keine Konfigurationsdatei entspricht dem Filter.",
105 "Vyberte relaci…": "Sitzung auswählen…",
106 "Zjišťuji instalaci, službu a konfigurační soubory NGINX…": "NGINX-Installation, Dienst und Konfigurationsdateien werden ermittelt…",
107 "NGINX {version} je dostupný; nalezeno {count} souborů.": "NGINX {version} ist verfügbar; {count} Dateien gefunden.",
108 "NGINX nebyl na serveru nalezen.": "NGINX wurde auf dem Server nicht gefunden.",
109 "Zahodit neuložené změny aktuální konfigurace?": "Nicht gespeicherte Änderungen der aktuellen Konfiguration verwerfen?",
110 "Načítám {path}…": "{path} wird geladen…",
111 "NÁHLED SYMLINKU": "SYMLINK-VORSCHAU",
112 "upravte zdroj v sites-available": "Quelle in sites-available bearbeiten",
113 "změny se ukládají se zálohou": "Änderungen werden mit Sicherung gespeichert",
114 "Konfigurace byla načtena.": "Die Konfiguration wurde geladen.",
115 "Spouštím nginx -t…": "nginx -t wird ausgeführt…",
116 "Konfigurace NGINX je platná.": "Die NGINX-Konfiguration ist gültig.",
117 "Test konfigurace selhal.": "Der Konfigurationstest ist fehlgeschlagen.",
118 "Zahodit neuložené změny a zobrazit efektivní konfiguraci?": "Nicht gespeicherte Änderungen verwerfen und die effektive Konfiguration anzeigen?",
119 "Načítám efektivní konfiguraci pomocí nginx -T…": "Effektive Konfiguration wird mit nginx -T geladen…",
120 "EFEKTIVNÍ KONFIGURACE": "EFFEKTIVE KONFIGURATION",
121 "Kombinovaný výstup je pouze pro čtení.": "Die kombinierte Ausgabe ist schreibgeschützt.",
122 "Efektivní konfigurace byla načtena.": "Die effektive Konfiguration wurde geladen.",
123 "Uložit {path}, vytvořit zálohu a spustit nginx -t? Neplatná konfigurace se automaticky vrátí.": "{path} speichern, eine Sicherung anlegen und nginx -t ausführen? Eine ungültige Konfiguration wird automatisch wiederhergestellt.",
124 "Ukládám zálohu a ověřuji novou konfiguraci…": "Sicherung wird gespeichert und die neue Konfiguration geprüft…",
125 "Záloha: {path}": "Sicherung: {path}",
126 "Konfigurace byla uložena a nginx -t uspěl. Reload zatím nebyl proveden.": "Die Konfiguration wurde gespeichert und nginx -t war erfolgreich. Ein Reload wurde noch nicht ausgeführt.",
127 "Nejprve uložte nebo zahoďte neuložené změny.": "Speichern oder verwerfen Sie zuerst die nicht gespeicherten Änderungen.",
128 "Provést graceful reload NGINX? Core před reloadem znovu spustí nginx -t.": "Graceful Reload von NGINX ausführen? Der Core führt vor dem Reload erneut nginx -t aus.",
129 "Ověřuji konfiguraci a provádím graceful reload…": "Konfiguration wird geprüft und Graceful Reload ausgeführt…",
130 "NGINX byl bezpečně reloadován.": "NGINX wurde sicher neu geladen."
131 }
132};
133 function createI18n(initialLanguage = "cs") {
134 let language;
135 const setLanguage = (value) => {
136 const requested = String(value || "").toLowerCase().split(/[-_]/)[0];
137 language = requested === "cs" || Object.hasOwn(catalogs, requested) ? requested : "en";
138 return language;
139 };
140 setLanguage(initialLanguage);
141 const t = (key, values = {}) => String(language === "cs" ? key : catalogs[language][key] || catalogs.en[key] || key)
142 .replace(/\{(\w+)\}/g, (match, name) => Object.hasOwn(values, name) ? String(values[name]) : match);
143 const apply = (document) => {
144 document.documentElement.lang = language;
145 document.querySelectorAll("[data-i18n]").forEach((element) => { element.textContent = t(element.dataset.i18n); });
146 for (const attribute of ["placeholder", "title", "aria-label"]) {
147 document.querySelectorAll(`[data-i18n-${attribute}]`).forEach((element) => { element.setAttribute(attribute, t(element.getAttribute(`data-i18n-${attribute}`))); });
148 }
149 document.title = t("NGINX Manager");
150 };
151 const locale = () => ({ cs: "cs-CZ", de: "de-DE" }[language] || "en-GB");
152 return { t, apply, setLanguage, getLanguage: () => language, locale };
153 }
154 const exported = { catalogs, createI18n };
155 if (typeof module === "object" && module.exports) module.exports = exported;
156 else root.chjPluginI18n = exported;
157})(typeof window === "object" ? window : globalThis);
SHA-2565aa8c2318575dba44686b53df79dae945942ce439a23b37dc4641e586d6d2039

CH-J Proprietary Software License 1.14 · Die Quellen werden unter der CH-J Proprietary Software License 1.14 bereitgestellt. Ihre Verfügbarkeit ändert die Lizenzbedingungen nicht und gewährt keine zusätzlichen Rechte.

SHA-256 des Archivs476ed8aef0f1e96a5acdf223127b6692acdf4492eeaf5d0816b6e2a634fbbda6
Dateien