mirror of
https://codeberg.org/Kankys/doxa.git
synced 2026-11-11 06:44:36 +01:00
new-doxa-monorepo
This commit is contained in:
1 parent
b4401527a3
commit
5eacbb0182
162 files changed
+21820
-2
No files matched your search
@@ -0,0 +1,173 @@
|
||||
package main
|
||||
|
||||
type Translation struct {
|
||||
Title string
|
||||
StartupSubtitle string
|
||||
StartupHelp string
|
||||
MenuWrite string
|
||||
MenuDecrypt string
|
||||
MenuManage string
|
||||
MenuLang string
|
||||
MenuQuit string
|
||||
ActiveCipher string
|
||||
StatusActive string
|
||||
StatusCreated string
|
||||
StatusImported string
|
||||
StatusExported string
|
||||
StatusSaved string
|
||||
StatusDecrypted string
|
||||
StatusError string
|
||||
|
||||
// Create Cipher
|
||||
CreateTitle string
|
||||
CreatePrompt string
|
||||
CreateHelp string
|
||||
|
||||
// Import Cipher
|
||||
ImportTitle string
|
||||
ImportPrompt string
|
||||
ImportHelp string
|
||||
|
||||
// Export Cipher
|
||||
ExportTitle string
|
||||
ExportPrompt string
|
||||
ExportHelp string
|
||||
|
||||
// Write Message
|
||||
WriteTitle string
|
||||
WritePromptFilename string
|
||||
WritePromptContent string
|
||||
WriteHelp string
|
||||
WriteSavedTo string
|
||||
|
||||
// Decrypt Message
|
||||
DecryptTitle string
|
||||
DecryptPromptPath string
|
||||
DecryptHelp string
|
||||
DecryptResult string
|
||||
|
||||
// Cipher List
|
||||
ManageTitle string
|
||||
ManageHelp string
|
||||
ManageCreateKey string
|
||||
ManageImportKey string
|
||||
ManageExportKey string
|
||||
ManageDeleteKey string
|
||||
ManageBackKey string
|
||||
NoCiphers string
|
||||
|
||||
ConfirmDelete string
|
||||
ConfirmYes string
|
||||
ConfirmNo string
|
||||
}
|
||||
|
||||
var Translations = map[string]Translation{
|
||||
"cs": {
|
||||
Title: "DOXA-SECRET 🦅",
|
||||
StartupSubtitle: "Minimalistický nástroj pro šifrování a ochranu vašich tajných zpráv.",
|
||||
StartupHelp: "Enter: Start | q: Konec",
|
||||
MenuWrite: "1: Napsat zprávu",
|
||||
MenuDecrypt: "2: Dešifrovat zprávu",
|
||||
MenuManage: "3: Správa šifer",
|
||||
MenuLang: "l: EN",
|
||||
MenuQuit: "q: Konec",
|
||||
ActiveCipher: "Aktivní šifra: [%s]",
|
||||
StatusActive: "Aktivována šifra: %s",
|
||||
StatusCreated: "Vytvořena nová šifra: %s",
|
||||
StatusImported: "Importována šifra: %s",
|
||||
StatusExported: "Šifra exportována do %s",
|
||||
StatusSaved: "Zpráva zašifrována a uložena do %s",
|
||||
StatusDecrypted: "Zpráva dešifrována.",
|
||||
StatusError: "Chyba: %s",
|
||||
|
||||
CreateTitle: "VYTVOŘIT NOVOU ŠIFRU",
|
||||
CreatePrompt: "Zadejte název šifry (bez mezer): ",
|
||||
CreateHelp: "Enter: Vytvořit | Esc: Zpět",
|
||||
|
||||
ImportTitle: "IMPORTOVAT ŠIFRU (JSON)",
|
||||
ImportPrompt: "Cesta k souboru šifry: ",
|
||||
ImportHelp: "Enter: Importovat | Esc: Zpět",
|
||||
|
||||
ExportTitle: "EXPORTOVAT ŠIFRU (JSON)",
|
||||
ExportPrompt: "Cílová cesta pro export: ",
|
||||
ExportHelp: "Enter: Exportovat | Esc: Zpět",
|
||||
|
||||
WriteTitle: "NAPSAT A ZAŠIFROVAT ZPRÁVU",
|
||||
WritePromptFilename: "Název výstupního souboru (např. zprava.txt): ",
|
||||
WritePromptContent: "Obsah zprávy (stiskněte Tab pro přepnutí na název souboru):",
|
||||
WriteHelp: "[Tab] Přepnout pole | [Ctrl+S] Uložit a zašifrovat | [Esc] Zrušit",
|
||||
WriteSavedTo: "Zpráva uložena.",
|
||||
|
||||
DecryptTitle: "DEŠIFROVAT A PŘEČÍST ZPRÁVU",
|
||||
DecryptPromptPath: "Cesta k šifrované zprávě (.txt): ",
|
||||
DecryptHelp: "Enter: Načíst a dešifrovat | Esc: Zpět",
|
||||
DecryptResult: "DEŠIFROVANÁ ZPRÁVA:",
|
||||
|
||||
ManageTitle: "SPRÁVA ŠIFROVACÍCH KLÍČŮ (JSON)",
|
||||
ManageHelp: "↑/↓: Vybrat | Enter: Aktivovat | Esc: Zpět",
|
||||
ManageCreateKey: "c: Nová šifra",
|
||||
ManageImportKey: "i: Importovat",
|
||||
ManageExportKey: "e: Exportovat aktivní",
|
||||
ManageDeleteKey: "d: Smazat vybranou",
|
||||
ManageBackKey: "esc: Zpět",
|
||||
NoCiphers: "Žádné šifry nejsou k dispozici. Vytvořte nebo importujte nějakou.",
|
||||
|
||||
ConfirmDelete: "Opravdu chcete smazat šifru '%s'?",
|
||||
ConfirmYes: "y: Ano",
|
||||
ConfirmNo: "n: Ne / Esc",
|
||||
},
|
||||
"en": {
|
||||
Title: "DOXA-SECRET 🦅",
|
||||
StartupSubtitle: "Minimalist tool for encrypting and protecting your secret messages.",
|
||||
StartupHelp: "Enter: Start | q: Quit",
|
||||
MenuWrite: "1: Write Message",
|
||||
MenuDecrypt: "2: Decrypt Message",
|
||||
MenuManage: "3: Manage Ciphers",
|
||||
MenuLang: "l: CS",
|
||||
MenuQuit: "q: Quit",
|
||||
ActiveCipher: "Active Cipher: [%s]",
|
||||
StatusActive: "Activated cipher: %s",
|
||||
StatusCreated: "Created new cipher: %s",
|
||||
StatusImported: "Imported cipher: %s",
|
||||
StatusExported: "Cipher exported to %s",
|
||||
StatusSaved: "Message encrypted and saved to %s",
|
||||
StatusDecrypted: "Message decrypted.",
|
||||
StatusError: "Error: %s",
|
||||
|
||||
CreateTitle: "CREATE NEW CIPHER",
|
||||
CreatePrompt: "Enter cipher name (no spaces): ",
|
||||
CreateHelp: "Enter: Create | Esc: Back",
|
||||
|
||||
ImportTitle: "IMPORT CIPHER (JSON)",
|
||||
ImportPrompt: "Path to cipher file: ",
|
||||
ImportHelp: "Enter: Import | Esc: Back",
|
||||
|
||||
ExportTitle: "EXPORT ACTIVE CIPHER (JSON)",
|
||||
ExportPrompt: "Destination path for export: ",
|
||||
ExportHelp: "Enter: Export | Esc: Back",
|
||||
|
||||
WriteTitle: "WRITE AND ENCRYPT MESSAGE",
|
||||
WritePromptFilename: "Output filename (e.g. message.txt): ",
|
||||
WritePromptContent: "Message content (press Tab to switch to filename field):",
|
||||
WriteHelp: "[Tab] Switch fields | [Ctrl+S] Save and Encrypt | [Esc] Cancel",
|
||||
WriteSavedTo: "Message saved.",
|
||||
|
||||
DecryptTitle: "DECRYPT AND READ MESSAGE",
|
||||
DecryptPromptPath: "Path to encrypted message (.txt): ",
|
||||
DecryptHelp: "Enter: Load and decrypt | Esc: Back",
|
||||
DecryptResult: "DECRYPTED MESSAGE:",
|
||||
|
||||
ManageTitle: "MANAGE CIPHER KEYS (JSON)",
|
||||
ManageHelp: "↑/↓: Select | Enter: Activate | Esc: Back",
|
||||
ManageCreateKey: "c: New cipher",
|
||||
ManageImportKey: "i: Import",
|
||||
ManageExportKey: "e: Export active",
|
||||
ManageDeleteKey: "d: Delete selected",
|
||||
ManageBackKey: "esc: Back",
|
||||
NoCiphers: "No ciphers available. Please create or import one.",
|
||||
|
||||
ConfirmDelete: "Are you sure you want to delete cipher '%s'?",
|
||||
ConfirmYes: "y: Yes",
|
||||
ConfirmNo: "n: No / Esc",
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user