From 5b9b539bc7ebe1d3687c775c5dc8db3dbdc12ad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Vondr=C3=A1=C4=8Dek?= Date: Mon, 14 Aug 2023 11:47:41 +0200 Subject: [PATCH] chore(i18n): add czech translation --- src/renderer/i18n/cs-CZ.ts | 526 +++++++++++++++++++++++++ src/renderer/i18n/index.ts | 4 +- src/renderer/i18n/supported-locales.ts | 3 +- 3 files changed, 531 insertions(+), 2 deletions(-) create mode 100644 src/renderer/i18n/cs-CZ.ts diff --git a/src/renderer/i18n/cs-CZ.ts b/src/renderer/i18n/cs-CZ.ts new file mode 100644 index 00000000..1b028f76 --- /dev/null +++ b/src/renderer/i18n/cs-CZ.ts @@ -0,0 +1,526 @@ +export const csCZ = { + general: { // General purpose terms + edit: 'Upravit', + save: 'Uložit', + close: 'Zavřít', + delete: 'Smazat', + confirm: 'Potvrdit', + cancel: 'Zrušit', + send: 'Poslat', + refresh: 'Obnovit', + autoRefresh: 'Auto-obnova', + version: 'Verze', + donate: 'Příspěvek', + run: 'Spustit', + results: 'Výsledky', + size: 'Velikost', + mimeType: 'Mime-Type', + download: 'Stáhnout', + add: 'Přidat', + data: 'Data', + properties: 'Vlastnosti', // Lawondyss: Not used + name: 'Název', + clear: 'Vyčistit', + options: 'Možnosti', + insert: 'Vložit', + discard: 'Zahodit', + stay: 'Zůstat', + author: 'Autor', + upload: 'Nahrát', + browse: 'Procházet', + content: 'Obsah', + cut: 'Vyjmout', + copy: 'Kopírovat', + paste: 'Vložit', + duplicate: 'Duplikovat', + tools: 'Nástroje', + seconds: 'sekundy', + all: 'Vše', + new: 'Nové', + select: 'Vybrat', + change: 'Změnit', + includes: 'Zahrnout', + completed: 'Dokončeno', + aborted: 'Zrušeno', + disabled: 'Vypnuto', + enable: 'Zapnuto', + disable: 'Vypnout', + contributors: 'Přispěvatelé', + pin: 'Připnout', // Lawondyss: Not used + unpin: 'Odepnout', // Lawondyss: Not used + folder: 'Složka | Složky', // Lawondyss: Used only 1 + none: 'Nic', + singleQuote: 'Apostrofy', + doubleQuote: 'Uvozovky', + deleteConfirm: 'Skutečně chcete smazat', + uploadFile: 'Nahrát soubor', + format: 'Formátovat', // Format code + history: 'Historie', + filter: 'Filtrovat', + manualValue: 'Vlastní hodnota', + selectAll: 'Vybrat vše', + pageNumber: 'Číslo stránky', + directoryPath: 'Adresář', + actionSuccessful: '{action} úspěšný', + outputFormat: 'Formát výstupu', + singleFile: 'Jediný {ext} soubor', + zipCompressedFile: 'ZIP komprimovaný {ext} soubor' + }, + connection: { // Database connection + connectionName: 'Název', + hostName: 'Host', + client: 'Klient', + port: 'Port', + user: 'Uživatel', + password: 'Heslo', + credentials: 'Pověření', + connect: 'Připojit', + connected: 'Připojeno', // Lawondyss: Not used + disconnect: 'Odpojit', + disconnected: 'Odpojeno', // Lawondyss: Not used + ssl: 'SSL', + enableSsl: 'Použít SSL', + privateKey: 'Soukromý klíč', + certificate: 'Certifikát', + caCertificate: 'CA certifikát', + ciphers: 'Šifrování', + untrustedConnection: 'Nedůvěryhodné připojení', + passphrase: 'Heslová fráze', + sshTunnel: 'SSH tunel', + enableSsh: 'Použít SSH', + connectionString: 'String připojení', + addConnection: 'Add connection', + createConnection: 'Vytvořit připojení', // Lawondyss: Not used + createNewConnection: 'Vytvořit nové připojení', + askCredentials: 'Vyžadovat přihlášení', + testConnection: 'Vyzkoušet', + editConnection: 'Upravit připojení', // Lawondyss: Not used + deleteConnection: 'Smazat připojení', + connectionSuccessfullyMade: 'Spojení úspěšně navázáno!', + readOnlyMode: 'Pouze pro čtení', + allConnections: 'Všechna připojení', + searchForConnections: 'Hledat připojení' + }, + database: { // Database related terms + schema: 'Schéma', + type: 'Typ', + insert: 'Vložit', // Lawondyss: Not used + indexes: 'Indexy', + foreignKeys: 'Cizí klíče', + length: 'Délka', + unsigned: 'Unsigned', + default: 'Výchozí', + comment: 'Komentář', + key: 'Klíč | Klíče', // Lawondyss: Used only 2 + order: 'Pořadí', + expression: 'Výraz', + autoIncrement: 'Auto Increment', + engine: 'Engine', + field: 'Sloupec | Sloupce', + approximately: 'Přibližně', + total: 'Celkem', + table: 'Tabulka | Tabulky', // Lawondyss: Used only without argument + view: 'Pohled | Pohledy', // Lawondyss: Used only without argument + definer: 'Definér', + algorithm: 'Algoritmus', + trigger: 'Trigger | Triggery', + storedRoutine: 'Stored routina | Stored routiny', + scheduler: 'Scheduler | Schedulery', + event: 'Akce', + parameters: 'Parametry', + function: 'Funkce | Funkce', + deterministic: 'Deterministická', + context: 'Kontext', + export: 'Export', + import: 'Import', + returns: 'Vrací', + timing: 'Načasování', + state: 'Stav', + execution: 'Spustit', + starts: 'Od', + ends: 'Do', + variables: 'Proměnné', + processes: 'Procesy', + database: 'Databáze', + array: 'Pole', + structure: 'Struktura', + row: 'Řádek | Řádky', + cell: 'Buňka | Buňky', + triggerFunction: 'Trigger funkce | Trigger funkce', + routine: 'Routina | Routiny', // Lawondyss: Not used + drop: 'Drop', + commit: 'Commit', + rollback: 'Rollback', + ddl: 'DDL', + collation: 'Porovnání', + resultsTable: 'Tabulka výsledků', + unableEditFieldWithoutPrimary: 'Nelze upravit buňku bez primárního klíče ve výsledku', // Lawondyss: Not used + editCell: 'Upravit buňku', // Lawondyss: Not used + deleteRows: 'Smazat řádek | Smazat {count} řádků', + confirmToDeleteRows: 'Skutečně chcete smazat řádek? | Skutečně chcete smazat {count} řádků?', + addNewRow: 'Přidat nový řádek', // Lawondyss: Not used + numberOfInserts: 'Počet opakování', + affectedRows: 'Ovlivněno řádků', + createNewDatabase: 'Vytvořit novou databázi', // Lawondyss: Not used + databaseName: 'Název databáze', // Lawondyss: Not use + serverDefault: 'Porovnání serveru', + deleteDatabase: 'Smazat databázi', // Lawondyss: Not used + editDatabase: 'Upravit databázi', // Lawondyss: Not used + clearChanges: 'Zrušit změny', + addNewField: 'Přidat nový sloupec', + manageIndexes: 'Správa indexů', + manageForeignKeys: 'Správa cizích klíčů', + allowNull: 'Povolit NULL', + zeroFill: 'Doplnit nuly', + customValue: 'Vlastní hodnota', + onUpdate: 'Při změně', + deleteField: 'Smazat sloupec', + createNewIndex: 'Vytvořit nový index', + addToIndex: 'Přidat do indexu', + createNewTable: 'Vytvořit novou databázi', // Lawondyss: Not used + emptyTable: 'Smazat obsah tabulky', + duplicateTable: 'Duplikovat tabulku', + deleteTable: 'Smazat tabulku', + emptyConfirm: 'Skutečně smazat obsah tabulky', + thereAreNoIndexes: 'Nemá žádné indexy', + thereAreNoForeign: 'Nemá žádné cizí klíče', + createNewForeign: 'Vytvořit nový cizí klíč', + referenceTable: 'Ref. tabulka', + referenceField: 'Ref. sloupec', + foreignFields: 'Cizí sloupce', // Lawondyss: Not used + invalidDefault: 'Neplatná výchozí hodnota', + onDelete: 'Při smazání', + selectStatement: 'Definice pohledu', + triggerStatement: 'Definice triggeru', + sqlSecurity: 'SQL zabezpečení', + updateOption: 'Volba aktualizace', + deleteView: 'Smazat pohled', + createNewView: 'Vytvořit nový pohled', // Lawondyss: Not used + deleteTrigger: 'Smazat trigger', + createNewTrigger: 'Vytvořit nový trigger', + currentUser: 'Současný uživatel', + routineBody: 'Definice routiny', + dataAccess: 'Přístup k datům', + thereAreNoParameters: 'Nemá žádné parametry', + createNewParameter: 'Vytvořit nový parametr', + createNewRoutine: 'Vytvořit novou stored routinu', + deleteRoutine: 'Smazat stored routinu', + functionBody: 'Definice funkce', + createNewFunction: 'Vytvořit novou funkci', + deleteFunction: 'Smazat funkci', + schedulerBody: 'Definice Scheduleru', + createNewScheduler: 'Vytvořit nový scheduler', + deleteScheduler: 'Smazat scheduler', + preserveOnCompletion: 'Uchovat po dokončení', + tableFiller: 'Vyplňovač tabulky', // Lawondyss: Not used + fakeDataLanguage: 'Jazyk pro fake data', + queryDuration: 'Doba trvání dotazu', + setNull: 'Nastavit NULL', + processesList: 'Seznam procesů', + processInfo: 'Informace o procesu', + manageUsers: 'Správa uživatelů', + createNewSchema: 'Vytvořit nové schéma', + schemaName: 'Název schématu', + editSchema: 'Upravit schéma', + deleteSchema: 'Smazat schema', + noSchema: 'Bez schématu', + runQuery: 'Spustit dotaz', // Lawondyss: Not used + thereAreNoTableFields: 'Nemá žádné sloupce', + newTable: 'Nová tabulka', + newView: 'Nový pohled', + newTrigger: 'Nový trigger', + newRoutine: 'Nová routina', + newFunction: 'Nová funkce', + newScheduler: 'Nový scheduler', + newTriggerFunction: 'Nová trigger funkce', + thereIsNoQueriesYet: 'Nejsou tu žádné dotazy', + searchForQueries: 'Hledání dotazů', + killProcess: 'Zabít proces', + exportSchema: 'Exportovat schéma', + importSchema: 'Importovat schéma', + newInsertStmtEvery: 'Nový INSERT každých', + processingTableExport: 'Zpracovávám tabulku {table}', + fetchingTableExport: 'Získávám data tabulky {table}', + writingTableExport: 'Zapisuji data tabulky {table}', + checkAllTables: 'Vybrat všechny tabulky', + uncheckAllTables: 'Vybrat žádnou tabulku', + killQuery: 'Zabít dotaz', // Lawondyss: Not used + insertRow: 'Vložit řádek | Vložit řádky', // Lawondyss: Used only 2 + commitMode: 'Způsob commitování', + autoCommit: 'Auto commit', + manualCommit: 'Ruční commit', + importQueryErrors: 'Varování: došlo k chybě {n} | Varování: došlo k chybám {n}', // Lawondyss: Used without n argument + executedQueries: '{n} dotaz spuštěn | {n} dotazy spuštěny', // Lawondyss: Used withoum n argument + disableFKChecks: 'Vypnout kontrolu cizích klíčů', + formatQuery: 'Formátovat dotaz', // Lawondyss: Not used, probably duplicate to general.format + queryHistory: 'Historie dotazů', // Lawondyss: Not used, probably duplicate to general.history + clearQuery: 'Clear query', // Lawondyss: Not used, probably duplicate to general.clear + fillCell: 'Vyplnit buňku', + executeSelectedQuery: 'Spustit vybraný dotaz', + noResultsPresent: 'Nejsou k dispozici žádné výsledky', + sqlExportOptions: 'Možnosti exportu SQL', + targetTable: 'Cílová tabulka', + switchDatabase: 'Přepnout databázi', + searchForElements: 'Vyhledávání prvků', + searchForSchemas: 'Vyhledávání schémat' + }, + application: { // Application related terms + settings: 'Nastavení', + scratchpad: 'Zápisník', + disableScratchpad: 'Vypnout zápisník', + console: 'Konzole', + general: 'Obecné', + themes: 'Motivy', + update: 'Aktualizace', + about: 'Informace', + language: 'Jazyk', + shortcuts: 'Zkratky', + key: 'Klávesa | Klávesy', // Keyboard key // Lawondyss: Usedn only 2 + event: 'Akce', + light: 'Světlý', + dark: 'Tmavý', + autoCompletion: 'Dokončování', + application: 'Aplikace', + editor: 'Editor', + changelog: 'Changelog', + small: 'Malé', // Lawondyss: Not used, probably obsolete font size settings + medium: 'Střední', // Lawondyss: Not used, probably obsolete font size settings + large: 'Velké', // Lawondyss: Not used, probably obsolete font size settings + appearance: 'Vzhled', + color: 'Barva', + label: 'Název', + icon: 'Ikona', + madeWithJS: 'Vytvořeno s 💛 a JavaScriptem!', + checkForUpdates: 'Zkontrolovat aktualizace', + noUpdatesAvailable: 'Žádné dostupné aktualizace', + checkingForUpdate: 'Kontrola aktualizací', + checkFailure: 'Kontrola selhala, zkuste to prosím později', + updateAvailable: 'Dostupná aktualizace', + downloadingUpdate: 'Stahuji aktualizaci', + updateDownloaded: 'Aktualizace stažena', + restartToInstall: 'Pro instalaci restartujte Antares', + includeBetaUpdates: 'Včetně beta aktualizací', + notificationsTimeout: 'Časový limit pro oznámení', + openNewTab: 'Otevřít novou kartu', + unsavedChanges: 'Neuložené změny', + discardUnsavedChanges: 'Máte nějaké neuložené změny. Zavřením této karty budou tyto změny zrušeny.', + applicationTheme: 'Motiv aplikace', + editorTheme: 'Motiv editoru', + wrapLongLines: 'Zalamovat dlouhé řádky', + markdownSupported: 'Podporován Markdown', + plantATree: 'Zasaďte strom', // Lawondyss: Not used + dataTabPageSize: 'Počet řádků na stránku', + noOpenTabs: 'Žádné otevřené karty, vyberte z elementů vlevo nebo:', + restorePreviousSession: 'Pamatovat si otevřené karty', + closeTab: 'Zavřít kartu', + goToDownloadPage: 'Pro stažení přejít na stránku', + disableBlur: 'Vypnout rozostření', + missingOrIncompleteTranslation: 'Chybějící nebo neúplný překlad?', + findOutHowToContribute: 'Zjistěte, jak můžete přispět.', + reportABug: 'Nahlásit chybu', + nextTab: 'Další karta', + previousTab: 'Předešlá karta', + selectTabNumber: 'Vybrat kartu číslo {param}', + toggleConsole: 'Přepnout konzoli', + addShortcut: 'Přidat zkratku', + editShortcut: 'Upravit zkratku', + deleteShortcut: 'Smazat zkratku', + restoreDefaults: 'Obnovit výchozí', + restoreDefaultsQuestion: 'Opravdu chcete obnovit výchozí zkratky?', + registerAShortcut: 'Stiskněte požadované klávesy', + invalidShortcutMessage: 'Neplatná kombinace, pokračujte v zadávání', + shortcutAlreadyExists: 'Zkratka již existuje', + saveContent: 'Uložit obsah', + openAllConnections: 'Otevřít všechna připojení', + openSettings: 'Otevřít nastavení', + openScratchpad: 'Otevřít zápisník', + runOrReload: 'Spustit dotaz', + openFilter: 'Otevřít filtr', + nextResultsPage: 'Další stránka výsledků', + previousResultsPage: 'Předešlá stránka výsledků', + editFolder: 'Upravit složku', + folderName: 'Název složky', + deleteFolder: 'Smazat složku', // Lawondyss: Not used + editConnectionAppearance: 'Upravit vzhled připojení', // Lawondyss: Not used + defaultCopyType: 'Výchozí typ kopírování', + showTableSize: 'Velikost tabulky v panelu', + showTableSizeDescription: 'Pouze MySQL/MariaDB. Povolení této možnosti může ovlivnit výkon u schémat s mnoha tabulkami.', + switchSearchMethod: 'Přepnout způsob vyhledávání', + phpArray: 'PHP pole', + closeAllTabs: 'Zavřít všechny karty', + closeOtherTabs: 'Zavřít ostatní karty', + closeTabsToLeft: 'Zavřít karty vlevo', + closeTabsToRight: 'Zavřít karty vpravo', + csvFieldDelimiter: 'Oddělovař', + csvLinesTerminator: 'Konec řádku', + csvStringDelimiter: 'Obalit text', + csvIncludeHeader: 'Včetně hlavičky', + csvExportOptions: 'Možnosti CSV exportu', + scratchPadDefaultValue: '# JAK PODPOŘIT ANTARES\n\n- [ ] Dát Antares hvězdičku [GitHub repo](https://github.com/antares-sql/antares)\n- [ ] Poslat názor či radu\n- [ ] Nahlásit chybu\n- [ ] Pokud se líbí, sdílet Antares s přáteli\n\n# O ZÁPISNÍKU\n\nToto je zápisník, který uchovává vaše **osobní poznámky**. Podporuje `markdown` formát, ale můžete použít obyčejný text.\nTento obsah je pouze ukázky, neváhejte ho smazat, abyste si udělali místo na poznámky.\n' + }, + faker: { // Faker.js methods, used in random generated content + address: 'Address', + commerce: 'Commerce', + company: 'Company', + database: 'Database', + date: 'Date', + finance: 'Finance', + git: 'Git', + hacker: 'Hacker', + internet: 'Internet', + lorem: 'Lorem', + name: 'Name', + music: 'Music', + phone: 'Phone', + random: 'Random', + system: 'System', + time: 'Time', + vehicle: 'Vehicle', + zipCode: 'Zip code', + zipCodeByState: 'Zip code by state', + city: 'City', + cityPrefix: 'City prefix', + citySuffix: 'City suffix', + streetName: 'Street name', + streetAddress: 'Street address', + streetSuffix: 'Street suffix', + streetPrefix: 'Street prefix', + secondaryAddress: 'Secondary address', + county: 'County', + country: 'Country', + countryCode: 'Country code', + state: 'State', + stateAbbr: 'State abbreviation', + latitude: 'Latitude', + longitude: 'Longitude', + direction: 'Direction', + cardinalDirection: 'Cardinal direction', + ordinalDirection: 'Ordinal direction', + nearbyGPSCoordinate: 'Nearby GPS coordinate', + timeZone: 'Time zone', + color: 'Color', + department: 'Department', + productName: 'Product name', + price: 'Price', + productAdjective: 'Product adjective', + productMaterial: 'Product material', + product: 'Product', + productDescription: 'Product description', + suffixes: 'Suffixes', + companyName: 'Company name', + companySuffix: 'Company suffix', + catchPhrase: 'Catch phrase', + bs: 'BS', + catchPhraseAdjective: 'Catch phrase adjective', + catchPhraseDescriptor: 'Catch phrase descriptor', + catchPhraseNoun: 'Catch phrase noun', + bsAdjective: 'BS adjective', + bsBuzz: 'BS buzz', + bsNoun: 'BS noun', + column: 'Column', + type: 'Type', + collation: 'Collation', + engine: 'Engine', + past: 'Past', + now: 'Now', + future: 'Future', + between: 'Between', + recent: 'Recent', + soon: 'Soon', + month: 'Month', + weekday: 'Weekday', + account: 'Account', + accountName: 'Account name', + routingNumber: 'Routing number', + mask: 'Mask', + amount: 'Amount', + transactionType: 'Transaction type', + currencyCode: 'Currency code', + currencyName: 'Currency name', + currencySymbol: 'Currency symbol', + bitcoinAddress: 'Bitcoin address', + litecoinAddress: 'Litecoin address', + creditCardNumber: 'Credit card number', + creditCardCVV: 'Credit card CVV', + ethereumAddress: 'Ethereum address', + iban: 'Iban', + bic: 'Bic', + transactionDescription: 'Transaction description', + branch: 'Branch', + commitEntry: 'Commit entry', + commitMessage: 'Commit message', + commitSha: 'Commit SHA', + shortSha: 'Short SHA', + abbreviation: 'Abbreviation', + adjective: 'Adjective', + noun: 'Noun', + verb: 'Verb', + ingverb: 'Ingverb', + phrase: 'Phrase', + avatar: 'Avatar', + email: 'Email', + exampleEmail: 'Example email', + userName: 'Username', + protocol: 'Protocol', + url: 'Url', + domainName: 'Domin name', + domainSuffix: 'Domain suffix', + domainWord: 'Domain word', + ip: 'Ip', + ipv6: 'Ipv6', + userAgent: 'User agent', + mac: 'Mac', + password: 'Password', + word: 'Word', + words: 'Words', + sentence: 'Sentence', + slug: 'Slug', + sentences: 'Sentences', + paragraph: 'Paragraph', + paragraphs: 'Paragraphs', + text: 'Text', + lines: 'Lines', + genre: 'Genre', + firstName: 'First name', + lastName: 'Last name', + middleName: 'Middle name', + findName: 'Full name', + jobTitle: 'Job title', + gender: 'Gender', + prefix: 'Prefix', + suffix: 'Suffix', + title: 'Title', + jobDescriptor: 'Job descriptor', + jobArea: 'Job area', + jobType: 'Job type', + phoneNumber: 'Phone number', + phoneNumberFormat: 'Phone number format', + phoneFormats: 'Phone formats', + number: 'Number', + float: 'Float', + arrayElement: 'Array element', + arrayElements: 'Array elements', + objectElement: 'Object element', + uuid: 'Uuid', + boolean: 'Boolean', + image: 'Image', + locale: 'Locale', + alpha: 'Alpha', + alphaNumeric: 'Alphanumeric', + hexaDecimal: 'Hexadecimal', + fileName: 'File name', + commonFileName: 'Common file name', + mimeType: 'Mime type', + commonFileType: 'Common file type', + commonFileExt: 'Common file extension', + fileType: 'File type', + fileExt: 'File extension', + directoryPath: 'Directory path', + filePath: 'File path', + semver: 'Semver', + manufacturer: 'Manufacturer', + model: 'Model', + fuel: 'Fuel', + vin: 'Vin' + } +} diff --git a/src/renderer/i18n/index.ts b/src/renderer/i18n/index.ts index 35c294c5..cac0e854 100644 --- a/src/renderer/i18n/index.ts +++ b/src/renderer/i18n/index.ts @@ -14,6 +14,7 @@ import { idID } from './id-ID'; import { koKR } from './ko-KR'; import { nlNL } from './nl-NL'; import { caES } from './ca-ES'; +import { csCZ } from './cs-CZ'; const messages = { 'en-US': enUS, 'it-IT': itIT, @@ -29,7 +30,8 @@ const messages = { 'id-ID': idID, 'ko-KR': koKR, 'nl-NL': nlNL, - 'ca-ES': caES + 'ca-ES': caES, + 'cs-CZ': csCZ, }; type NestedPartial = { diff --git a/src/renderer/i18n/supported-locales.ts b/src/renderer/i18n/supported-locales.ts index b1b28ab0..2b3e5e75 100644 --- a/src/renderer/i18n/supported-locales.ts +++ b/src/renderer/i18n/supported-locales.ts @@ -13,5 +13,6 @@ export const localesNames: {[key: string]: string} = { 'id-ID': 'Bahasa Indonesia', 'ko-KR': '한국어', 'nl-NL': 'Nederlands', - 'ca-ES': 'Català' + 'ca-ES': 'Català', + 'cs-CZ': 'Čeština', };