1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 14:46:36 +02:00

Plugins: Translate descriptions (fix #994)

This commit is contained in:
Jakub Vrana
2025-04-07 17:00:59 +02:00
parent 3e455a4787
commit 3dd040abd1
48 changed files with 282 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ abstract class Plugin {
* @return string
*/
function description() {
return '';
return $this->lang('');
}
/** Translate a string from static::$translations; use Adminer\lang() for strings used by Adminer

View File

@@ -52,4 +52,8 @@ ORDER BY ORDINAL_POSITION", null, "") as $row
}
}
}
protected static $translations = array(
'cs' => array('' => 'Zobrazí odkazy na tabulky odkazující aktuální řádek, stejně jako Adminer Editor'),
);
}

View File

@@ -30,4 +30,8 @@ onbeforeunload = () => editChanged;
</script>
<?php
}
protected static $translations = array(
'cs' => array('' => 'Zobrazí potvrzení před odnahráním stránky, pokud bylo změněno formulářové políčko'),
);
}

View File

@@ -97,4 +97,8 @@ addEventListener('DOMContentLoaded', () => {
<?php
return true;
}
protected static $translations = array(
'cs' => array('' => 'Použít CodeMirror 5 pro zvýrazňování syntaxe a <textarea> včetně našeptávání klíčových slov a tabulek'),
);
}

View File

@@ -69,6 +69,7 @@ class AdminerConfig extends Adminer\Plugin {
protected static $translations = array(
'cs' => array(
'' => 'Konfigurace možností uživateli a jejich uložení do cookie',
'Configuration' => 'Konfigurace',
'Configuration saved.' => 'Konfigurace uložena.',
'Only some plugins support configuration, e.g. %s.' => 'Konfiguraci podporují jen některé pluginy, např. %s.',

View File

@@ -38,4 +38,8 @@ if (saved) {
. Adminer\script("if (adminerDark != null) adminerDarkSet(); qsl('big').onclick = adminerDarkSwitch;") . "\n"
;
}
protected static $translations = array(
'cs' => array('' => 'Dovoluje přepínání světlého a tmavého vzhledu'),
);
}

View File

@@ -25,4 +25,11 @@ class AdminerDatabaseHide extends Adminer\Plugin {
}
return $return;
}
protected static $translations = array(
'cs' => array('' => 'Skryje některé databáze z rozhraní pouze vylepší vzhled, nikoliv bezpečnost'),
'de' => array('' => 'Verstecken Sie einige Datenbanken vor der Benutzeroberfläche nur um das Design zu verbessern, verbessert nicht die Sicherheit.'),
'pl' => array('' => 'Ukryj niektóre bazy danych w interfejsie tylko po to, aby ulepszyć motyw, a nie wtyczkę zabezpieczającą'),
'ro' => array('' => 'Ascundeți unele baze de date din interfață - doar pentru a îmbunătăți designul, nu un plugin de securitate'),
);
}

View File

@@ -38,4 +38,11 @@ class AdminerDesigns extends Adminer\Plugin {
echo Adminer\input_token();
echo "</form>\n";
}
protected static $translations = array(
'cs' => array('' => 'Umožní změnit vzhled'),
'de' => array('' => 'Designwechsel ermöglichen'),
'pl' => array('' => 'Zezwalaj na przełączanie motywów'),
'ro' => array('' => 'Permiteți comutarea designurilor'),
);
}

View File

@@ -167,4 +167,11 @@ DROP PROCEDURE adminer_alter;
$this->dumpAlter();
}
}
protected static $translations = array(
'cs' => array('' => 'Exportuje jednu databázi (např. vývojovou) tak, že může být synchronizována s jinou databází (např. produkční)'),
'de' => array('' => 'Exportiert eine Datenbank (z. B. Entwicklung), damit sie mit einer anderen Datenbank (z. B. Produktion) synchronisiert werden kann.'),
'pl' => array('' => 'Eksportuje jedną bazę danych (np. programistyczną), aby można ją było zsynchronizować z inną bazą danych (np. produkcyjną)'),
'ro' => array('' => 'Exportați o bază de date (de exemplu, development) astfel încât să poată fi sincronizată cu o altă bază de date (de exemplu, de producție)'),
);
}

View File

@@ -36,4 +36,11 @@ class AdminerDumpBz2 extends Adminer\Plugin {
ob_start(array($this, '_bz2'), 1e6);
}
}
protected static $translations = array(
'cs' => array('' => 'Export do formátu Bzip2'),
'de' => array('' => 'Export im Bzip2-Format'),
'pl' => array('' => 'Zrzuć do formatu Bzip2'),
'ro' => array('' => 'Dump în format Bzip2'),
);
}

View File

@@ -11,4 +11,11 @@ class AdminerDumpDate extends Adminer\Plugin {
function dumpFilename($identifier) {
return Adminer\friendly_url(($identifier != "" ? $identifier : (Adminer\SERVER != "" ? Adminer\SERVER : "localhost")) . "-" . Adminer\get_val("SELECT NOW()"));
}
protected static $translations = array(
'cs' => array('' => 'Do názvu souboru s exportem přidá aktuální datum a čas'),
'de' => array('' => 'Aktuelle Datum und die aktuelle Uhrzeit in den Namen der Exportdatei einfügen'),
'pl' => array('' => 'Dołącz bieżącą datę i godzinę do nazwy pliku eksportu'),
'ro' => array('' => 'Includeți data și ora curentă în numele fișierului de export'),
);
}

View File

@@ -57,4 +57,11 @@ class AdminerDumpJson extends Adminer\Plugin {
echo "}\n";
}
}
protected static $translations = array(
'cs' => array('' => 'Export do formátu JSON'),
'de' => array('' => 'Export im JSON-Format'),
'pl' => array('' => 'Zrzuć do formatu JSON'),
'ro' => array('' => 'Dump în format JSON'),
);
}

View File

@@ -45,4 +45,11 @@ class AdminerDumpPhp extends Adminer\Plugin {
echo ";\n";
}
}
protected static $translations = array(
'cs' => array('' => 'Export do formátu PHP'),
'de' => array('' => 'Export im PHP-Format'),
'pl' => array('' => 'Zrzucaj do formatu PHP'),
'ro' => array('' => 'Dump în format PHP'),
);
}

View File

@@ -51,4 +51,11 @@ class AdminerDumpXml extends Adminer\Plugin {
echo "</database>\n";
}
}
protected static $translations = array(
'cs' => array('' => 'Export do formátu XML ve struktuře <database name=""><table name=""><column name="">value'),
'de' => array('' => 'Export im XML-Format in der Struktur <database name="><table name=""><column name="">value'),
'pl' => array('' => 'Zrzut do formatu XML w strukturze <database name=""><table name=""><column name="">value'),
'ro' => array('' => 'Dump în format XML în structura <database name=""><table name=""><column name="">value.'),
);
}

View File

@@ -40,4 +40,11 @@ class AdminerDumpZip extends Adminer\Plugin {
ob_start(array($this, '_zip'));
}
}
protected static $translations = array(
'cs' => array('' => 'Export do formátu ZIP'),
'de' => array('' => 'Export Im ZIP-Format'),
'pl' => array('' => 'Zrzuć do formatu ZIP'),
'ro' => array('' => 'Dump în format ZIP'),
);
}

View File

@@ -50,4 +50,11 @@ class AdminerEditCalendar extends Adminer\Plugin {
);
}
}
protected static $translations = array(
'cs' => array('' => 'Zobrazí jQuery UI Timepicker pro každé datumové a časové políčko'),
'de' => array('' => 'Zeigen Sie die jQuery-UI Timepicker für jedes Datums- und Datum/Uhrzeit-Feld an'),
'pl' => array('' => 'Wyświetl interfejs jQuery Timepicker dla każdego pola daty i godziny'),
'ro' => array('' => 'Afișați jQuery UI Timepicker pentru fiecare câmp de dată și dată-timp'),
);
}

View File

@@ -39,4 +39,11 @@ class AdminerEditForeign extends Adminer\Plugin {
}
}
}
protected static $translations = array(
'cs' => array('' => 'Výběr cizího klíče v editačním formuláři'),
'de' => array('' => 'Wählen Sie im Bearbeitungsformular den Fremdschlüssel aus'),
'pl' => array('' => 'Wybierz klucz obcy w formularzu edycji'),
'ro' => array('' => 'Selectați cheia străină în formularul de editare'),
);
}

View File

@@ -13,4 +13,11 @@ class AdminerEditTextarea extends Adminer\Plugin {
return "<textarea cols='30' rows='1'$attrs>" . Adminer\h($value) . '</textarea>';
}
}
protected static $translations = array(
'cs' => array('' => 'Použije <textarea> pro char a varchar'),
'de' => array('' => 'Verwenden Sie <textarea> für char und varchar Felder'),
'pl' => array('' => 'Użyj <textarea> dla char i varchar'),
'ro' => array('' => 'Utilizați <textarea> pentru char și varchar.'),
);
}

View File

@@ -37,4 +37,8 @@ class AdminerEditorSetup extends Adminer\Plugin {
return $this->database;
}
}
protected static $translations = array(
'cs' => array('' => 'Nastavit ovladač, server a databázi pro použití s Adminer Editorem'),
);
}

View File

@@ -11,4 +11,11 @@ class AdminerEditorViews extends Adminer\Plugin {
function tableName($tableStatus) {
return Adminer\h($tableStatus["Comment"] != "" ? $tableStatus["Comment"] : $tableStatus["Name"]);
}
protected static $translations = array(
'cs' => array('' => 'Zobrazení pohledů v Adminer Editoru'),
'de' => array('' => 'Views im Adminer Editor anzeigen'),
'pl' => array('' => 'Wyświetlaj widoki w Adminer Editorze'),
'ro' => array('' => 'Afișează vizualizări în Adminer Editor'),
);
}

View File

@@ -54,4 +54,11 @@ class AdminerEmailTable extends Adminer\Plugin {
$_POST["email_message"] = $row[1];
}
}
protected static $translations = array(
'cs' => array('' => 'Získá předmět a zprávu e-mailu z databáze (Adminer Editor)'),
'de' => array('' => 'E-Mail-Betreff und Nachricht aus der Datenbank abrufen (Adminer Editor)'),
'pl' => array('' => 'Pobieraj temat i wiadomość e-mail z bazy danych (Adminer Editor)'),
'ro' => array('' => 'Obțineți subiectul e-mailului și mesajul din baza de date (Adminer Editor)'),
);
}

View File

@@ -32,4 +32,11 @@ class AdminerEnumOption extends Adminer\Plugin {
return "<select$attrs>" . Adminer\optionlist($options, $selected, 1) . "</select>"; // 1 - use keys
}
}
protected static $translations = array(
'cs' => array('' => 'Editace políčka enum pomocí <select><option> místo <input type="radio">'),
'de' => array('' => 'Verwenden Sie <select><option> für die enum-Bearbeitung anstelle von <input type="radio">'),
'pl' => array('' => 'Użyj <select><option> do edycji enum zamiast <input type="radio">'),
'ro' => array('' => 'Utilizați <select><option> pentru editarea enum în loc de <input type="radio">.'),
);
}

View File

@@ -48,4 +48,11 @@ class AdminerFileUpload extends Adminer\Plugin {
$link = "$this->displayPath$_GET[select]/$regs[1]-$val";
}
}
protected static $translations = array(
'cs' => array('' => 'Políčka končící na "_path" upravuje pomocí <input type="file"> a odkazuje na nahrané soubory z výpisu'),
'de' => array('' => 'Bearbeiten Sie Felder, die mit "_path" enden, um <input type="file"> und verknüpfen Sie sie mit den hochgeladenen Dateien beim Select'),
'pl' => array('' => 'Edytuj pola kończące się na "_path" za pomocą <input type="file"> i link do przesłanych plików z wybierz'),
'ro' => array('' => 'Modificați câmpurile care se termină cu "_path" prin <input type="file"> și creați un link către fișierele încărcate din select'),
);
}

View File

@@ -105,4 +105,11 @@ class AdminerForeignSystem extends Adminer\Plugin {
private function collations($source) {
return array("table" => "COLLATIONS", "source" => array($source), "target" => array("COLLATION_NAME"));
}
protected static $translations = array(
'cs' => array('' => 'Propojuje systémové tabulky (v databázích "mysql" a "information_schema") pomocí cizích klíčů'),
'de' => array('' => 'Verknüpfen Sie Systemtabellen (in "mysql"- und "information_schema"-Datenbanken) durch Fremdschlüssel'),
'pl' => array('' => 'Połącz tabele systemowe (w bazach danych "mysql" i "information_schema") za pomocą kluczy obcych'),
'ro' => array('' => 'Conectați tabelele de sistem (în bazele de date "mysql" și "information_schema") prin chei străine'),
);
}

View File

@@ -23,4 +23,11 @@ class AdminerFrames extends Adminer\Plugin {
header_remove("X-Frame-Options");
}
}
protected static $translations = array(
'cs' => array('' => 'Dovolí pracovat Admineru uvnitř rámu'),
'de' => array('' => 'Erlauben Sie die Verwendung von Adminer innerhalb eines Frames'),
'pl' => array('' => 'Zezwalaj na używanie Adminera wewnątrz ramki'),
'ro' => array('' => 'Permiteți utilizarea Adminer în interiorul unui cadru'),
);
}

View File

@@ -45,4 +45,11 @@ class AdminerJsonColumn extends Adminer\Plugin {
$this->buildTable($json);
}
}
protected static $translations = array(
'cs' => array('' => 'Hodnoty JSON v editaci zobrazí formou tabulky'),
'de' => array('' => 'Zeigen Sie JSON-Werte als Tabelle in der Bearbeitung an'),
'pl' => array('' => 'Wyświetl wartości JSON jako tabelę w edycji'),
'ro' => array('' => 'Afișează valorile JSON sub formă de tabel în editare'),
);
}

View File

@@ -35,4 +35,11 @@ class AdminerLoginIp extends Adminer\Plugin {
}
return false;
}
protected static $translations = array(
'cs' => array('' => 'Zkontroluje IP adresu a povolí prázdné heslo'),
'de' => array('' => 'Überprüft die IP-Adresse und lässt ein leeres Passwort zu'),
'pl' => array('' => 'Sprawdzaj adres IP i zezwakaj na puste hasło'),
'ro' => array('' => 'Verificați adresa IP și permiteți parola goală'),
);
}

View File

@@ -50,4 +50,11 @@ class AdminerLoginOtp extends Adminer\Plugin {
$unpacked = unpack('N', substr($hash, $offset, 4));
return ($unpacked[1] & 0x7FFFFFFF) % 1e6;
}
protected static $translations = array(
'cs' => array('' => 'Při přihlášení požaduje jednorázové heslo'),
'de' => array('' => 'Bei der Anmeldung ist ein Einmalpasswort (Zwei-Faktor-Authentifizierung) erforderlich'),
'pl' => array('' => 'Wymagaj jednorazowego hasła przy logowaniu'),
'ro' => array('' => 'Cereți o parolă unică la autentificare'),
);
}

View File

@@ -26,4 +26,11 @@ class AdminerLoginPasswordLess extends Adminer\Plugin {
return true;
}
}
protected static $translations = array(
'cs' => array('' => 'Povolí přihlášení bez hesla'),
'de' => array('' => 'Ermöglicht die Anmeldung ohne Passwort'),
'pl' => array('' => 'Włącz logowanie bez hasła'),
'ro' => array('' => 'Activați autentificarea fără parolă'),
);
}

View File

@@ -37,4 +37,11 @@ class AdminerLoginServers extends Adminer\Plugin {
return $heading . Adminer\html_select("auth[server]", array_keys($this->servers), Adminer\SERVER) . "\n";
}
}
protected static $translations = array(
'cs' => array('' => 'V přihlašovacím formuláři zobrazuje předdefinovaný seznam serverů'),
'de' => array('' => 'Anzeige einer konstanten Serverliste im Anmeldeformular'),
'pl' => array('' => 'Wyświetlaj stałą listę serwerów w formularzu logowania'),
'ro' => array('' => 'Afișarea unei liste constante de servere în formularul de conectare'),
);
}

View File

@@ -21,4 +21,11 @@ class AdminerLoginSsl extends Adminer\Plugin {
function connectSsl() {
return $this->ssl;
}
protected static $translations = array(
'cs' => array('' => 'Připojení k MySQL, PostgreSQL a MS SQL pomocí SSL'),
'de' => array('' => 'Stellen Sie eine Verbindung zu MySQL, PostgreSQL, MS SQL über SSL her'),
'pl' => array('' => 'Połącz się z MySQL, PostgreSQL, MS SQL za pomocą protokołu SSL'),
'ro' => array('' => 'Conectați-vă la MySQL, PostgreSQL, MS SQL utilizând SSL'),
);
}

View File

@@ -26,4 +26,11 @@ class AdminerLoginTable extends Adminer\Plugin {
function login($login, $password) {
return (bool) Adminer\get_val("SELECT COUNT(*) FROM " . Adminer\idf_escape($this->database) . ".login WHERE login = " . Adminer\q($login) . " AND password_sha1 = " . Adminer\q(sha1($password)));
}
protected static $translations = array(
'cs' => array('' => 'Autentizace uživatele podle tabulky "login'),
'de' => array('' => 'Authentifizieren Sie einen Benutzer über die Tabelle "login'),
'pl' => array('' => 'Uwierzytelnij użytkownika z tabeli "login'),
'ro' => array('' => 'Autentificați un utilizator din tabelul "login".'),
);
}

View File

@@ -37,4 +37,11 @@ class AdminerMasterSlave extends Adminer\Plugin {
$_SESSION["master"] = $result->fetch_assoc();
}
}
protected static $translations = array(
'cs' => array('' => 'Zápisy provádět na masteru a čtení na slave'),
'de' => array('' => 'Schreibvorgänge auf dem Master und Lesevorgänge auf dem Slave ausführen'),
'pl' => array('' => 'Wykonuje zapisy na komputerze głównym i odczyty na komputerze podrzędnym'),
'ro' => array('' => 'Executarea scrierilor pe master și a citirilor pe slave'),
);
}

View File

@@ -69,6 +69,7 @@ class AdminerMenuLinks extends Adminer\Plugin {
protected static $translations = array(
'cs' => array(
'' => 'Konfigurace odkazů na tabulky v menu; kombinovatelné s AdminerConfig',
'Menu table links' => 'Odkazy na tabulky v menu',
'Both' => 'Oboje',
'Auto (select on select page, structure otherwise)' => 'Auto (vypsat na výpisech, jinak struktura)',

View File

@@ -71,4 +71,8 @@ addEventListener('DOMContentLoaded', () => {
<?php
return true;
}
protected static $translations = array(
'cs' => array('' => 'Použije Monaco Editor z VS Code pro zvýrazňování syntaxe a <textarea>'),
);
}

View File

@@ -30,4 +30,11 @@ class AdminerPrettyJsonColumn extends Adminer\Plugin {
}
}
}
protected static $translations = array(
'cs' => array('' => 'V editaci zobrazí syntaxi u JSONu'),
'de' => array('' => 'JSON-Werte in der Bearbeitung hübsch drucken'),
'pl' => array('' => 'Ładnie drukuj wartości JSON w edycji'),
'ro' => array('' => 'Afisare frumoasa a valorilor JSON în editare'),
);
}

View File

@@ -59,4 +59,8 @@ if (el) {
<?php
return true;
}
protected static $translations = array(
'cs' => array('' => 'Použije Prism Code Editor pro zvýrazňování syntaxe a <textarea>'),
);
}

View File

@@ -106,7 +106,7 @@ class AdminerSelectEmail extends Adminer\Plugin {
'bn' => array('E-mail' => '​​ই-মেইল', 'From' => 'থেকে', 'Subject' => 'বিষয়', 'Send' => 'পাঠান', '%d e-mail(s) have been sent.' => array('%d ইমেইল(গুলি) পাঠানো হয়েছে।', '%d ইমেইল(গুলি) পাঠানো হয়েছে।'), 'Attachments' => 'সংযুক্তিগুলো'),
'bs' => array('E-mail' => 'El. pošta', 'From' => 'Od', 'Subject' => 'Naslov', 'Attachments' => 'Prilozi', 'Send' => 'Pošalji', '%d e-mail(s) have been sent.' => array('%d poruka el. pošte je poslata.', '%d poruke el. pošte su poslate.', '%d poruka el. pošte je poslato.')),
'ca' => array('E-mail' => 'Correu electrònic', 'From' => 'De', 'Subject' => 'Assumpte', 'Send' => 'Envia', '%d e-mail(s) have been sent.' => array('S\'ha enviat %d correu electrònic.', 'S\'han enviat %d correus electrònics.'), 'Attachments' => 'Adjuncions'),
'cs' => array('E-mail' => 'E-mail', 'From' => 'Odesílatel', 'Subject' => 'Předmět', 'Attachments' => 'Přílohy', 'Send' => 'Odeslat', '%d e-mail(s) have been sent.' => array('Byl odeslán %d e-mail.', 'Byly odeslány %d e-maily.', 'Bylo odesláno %d e-mailů.')),
'cs' => array('' => 'Umožňuje posílat e-maily na adresy v tabulce', 'E-mail' => 'E-mail', 'From' => 'Odesílatel', 'Subject' => 'Předmět', 'Attachments' => 'Přílohy', 'Send' => 'Odeslat', '%d e-mail(s) have been sent.' => array('Byl odeslán %d e-mail.', 'Byly odeslány %d e-maily.', 'Bylo odesláno %d e-mailů.')),
'da' => array('E-mail' => 'E-mail', 'From' => 'Fra', 'Subject' => 'Titel', 'Attachments' => 'Vedhæft', 'Send' => 'Send', '%d e-mail(s) have been sent.' => array('%d email sendt.', '%d emails sendt.')),
'de' => array('E-mail' => 'E-Mail', 'From' => 'Von', 'Subject' => 'Betreff', 'Send' => 'Abschicken', '%d e-mail(s) have been sent.' => array('%d E-Mail abgeschickt.', '%d E-Mails abgeschickt.'), 'Attachments' => 'Anhänge'),
'el' => array('E-mail' => 'E-mail', 'From' => 'Από', 'Subject' => 'Θέμα', 'Attachments' => 'Συνημμένα', 'Send' => 'Αποστολή', '%d e-mail(s) have been sent.' => array('%d e-mail απεστάλη.', '%d e-mail απεστάλησαν.')),

View File

@@ -46,4 +46,11 @@ class AdminerSlugify extends Adminer\Plugin {
}
}
}
protected static $translations = array(
'cs' => array('' => 'Předvyplní políčko obsahující "_slug" URLizovanou hodnotou předchozího políčka (JavaScript)'),
'de' => array('' => 'Feld, das "_slug" enthält, mit dem Slugified-Wert eines vorherigen Felds vorab füllen (JavaScript)'),
'pl' => array('' => 'Wstępnie wypełnij pole zawierające "_slug" osłabioną wartością poprzedniego pola (JavaScript)'),
'ro' => array('' => 'Precompletați câmpul care conține "_slug" cu valoarea slugificată a unui câmp anterior (JavaScript)'),
);
}

View File

@@ -95,6 +95,7 @@ geminiText.onkeydown = event => {
// use the phrases from https://gemini.google.com/
protected static $translations = array(
'cs' => array(
'' => 'Generování SQL příkazů pomocí umělé inteligence Google Gemini',
'Ask Gemini' => 'Zeptat se Gemini',
'Just a sec...' => 'Chviličku...',
),

View File

@@ -35,4 +35,11 @@ class AdminerSqlLog extends Adminer\Plugin {
flock($fp, LOCK_UN);
fclose($fp);
}
protected static $translations = array(
'cs' => array('' => 'Zaznamenává všechny příkazy do souboru SQL'),
'de' => array('' => 'Protokollieren Sie alle Abfragen in einer SQL-Datei'),
'pl' => array('' => 'Rejestruj wszystkie zapytania do pliku SQL'),
'ro' => array('' => 'Logați toate interogările în fișierul SQL'),
);
}

View File

@@ -29,4 +29,11 @@ class AdminerTableIndexesStructure extends Adminer\Plugin {
echo "</table>\n";
return true;
}
protected static $translations = array(
'cs' => array('' => 'Rozšířené informace o indexech'),
'de' => array('' => 'Erweiterte Ausgabe der Tabellenindize'),
'pl' => array('' => 'Rozszerzona tabela wyników struktury indeksów'),
'ro' => array('' => 'Ieșirea expandată a structurii indecsilor tabelului'),
);
}

View File

@@ -37,4 +37,11 @@ class AdminerTableStructure extends Adminer\Plugin {
echo "</div>\n";
return true;
}
protected static $translations = array(
'cs' => array('' => 'Rozšířené informace o tabulkách'),
'de' => array('' => 'Erweiterte Ausgabe der Tabellenstruktur'),
'pl' => array('' => 'Rozszerzone wyjście struktury tabeli'),
'ro' => array('' => 'Ieșirea expandată a structurii tabelei'),
);
}

View File

@@ -67,4 +67,11 @@ sessionStorage && document.addEventListener('DOMContentLoaded', () => {
<p class="jsonly"><input id="filter-field" autocomplete="off" type="search"><?php echo Adminer\script("qs('#filter-field').oninput = tablesFilterInput;"); ?>
<?php
}
protected static $translations = array(
'cs' => array('' => 'Filtruje názvy v seznamu tabulek'),
'de' => array('' => 'Filtern Sie Namen in der Tabellenliste'),
'pl' => array('' => 'Filtruj nazwy na liście tabel'),
'ro' => array('' => 'Nume de filtre în lista de tabele'),
);
}

View File

@@ -66,4 +66,11 @@ qs('#form').onsubmit = () => {
");
}
}
protected static $translations = array(
'cs' => array('' => 'Upravuje všechna políčka obsahující "_html" pomocí HTML editoru TinyMCE a zobrazuje výsledné HTML ve výpisu'),
'de' => array('' => 'Bearbeiten Sie alle Felder, die "_html" enthalten, mit dem HTML-Editor TinyMCE und zeigen Sie den HTML-Code in Select an'),
'pl' => array('' => 'Edytuj wszystkie pola zawierające "_html" za pomocą edytora HTML TinyMCE i wyświetl kod HTML w wybranych'),
'ro' => array('' => 'Editați toate câmpurile care conțin "_html" cu ajutorul editorului HTML TinyMCE și afișați HTML-ul în select'),
);
}

View File

@@ -50,4 +50,11 @@ class AdminerTranslation extends Adminer\Plugin {
$val = $this->translate($val);
}
}
protected static $translations = array(
'cs' => array('' => 'Přeloží všechny komentáře tabulek a sloupců, hodnoty políček enum a set pomocí tabulky "translation" (automaticky vkládá nové překlady)'),
'de' => array('' => 'Übersetzen Sie alle Tabellen- und Feldkommentare, enum- und set-Werte aus der "translation"-Tabelle (fügt automatisch neue Übersetzungen ein)'),
'pl' => array('' => 'Przetłumacz wszystkie komentarze do tabeli i pól, wartości enum i set z tabeli "translation" (automatycznie wstawia nowe tłumaczenia)'),
'ro' => array('' => 'Traduceți toate comentariile tabelelor și câmpurilor, valorile enum și set din tabelul "translation" (inserează automat noi traduceri)'),
);
}

View File

@@ -29,4 +29,8 @@ verifyVersion = (current, url, token) => {
function csp(&$csp) {
$csp[0]["connect-src"] .= " https://api.github.com/repos/vrana/adminer/releases/latest";
}
protected static $translations = array(
'cs' => array('' => 'Kontrola nových verzí z GitHubu'),
);
}

View File

@@ -11,4 +11,11 @@ class AdminerVersionNoverify extends Adminer\Plugin {
function head($dark = null) {
echo Adminer\script("verifyVersion = () => { };");
}
protected static $translations = array(
'cs' => array('' => 'Zakáže kontrolu nových verzí'),
'de' => array('' => 'Deaktivieren Sie die Versionsprüfung'),
'pl' => array('' => 'Wyłącz sprawdzanie wersji'),
'ro' => array('' => 'Dezactivați verificatorul de versiuni'),
);
}