mirror of
https://github.com/celesrenata/end-4-flakes.git
synced 2026-06-26 10:47:31 -05:00
Make flake self-contained - consolidate installer-replication
BREAKING CHANGE: Remove external dots-hyprland dependency - Imported all essential configs from dots-hyprland/installer-replication - Added complete configs/ directory with: - hypr/ - Hyprland configuration - quickshell/ - Quickshell widgets and config - applications/ - Application configurations - scripts/ - Utility scripts - matugen/ - Material You theming - Updated flake.nix to use local ./configs instead of external repo - Simplified update-flake script (removed external repo management) - Updated README to reflect self-contained architecture - All builds pass with local configurations Benefits: - No external repository dependencies - Faster builds (no network dependencies) - Version controlled configs in single repo - Easier maintenance and development - Complete installer replication in one place
This commit is contained in:
@@ -0,0 +1,314 @@
|
||||
{
|
||||
"Mo": "Mo/*keep*/",
|
||||
"Tu": "Tu/*keep*/",
|
||||
"We": "We/*keep*/",
|
||||
"Th": "Th/*keep*/",
|
||||
"Fr": "Fr/*keep*/",
|
||||
"Sa": "Sa/*keep*/",
|
||||
"Su": "Su/*keep*/",
|
||||
"%1 characters": "%1 characters",
|
||||
"**Pricing**: free. Data use policy varies depending on your OpenRouter account settings.\n\n**Instructions**: Log into OpenRouter account, go to Keys on the topright menu, click Create API Key": "**Pricing**: free. Data use policy varies depending on your OpenRouter account settings.\n\n**Instructions**: Log into OpenRouter account, go to Keys on the topright menu, click Create API Key",
|
||||
"**Pricing**: free. Data used for training.\n\n**Instructions**: Log into Google account, allow AI Studio to create Google Cloud project or whatever it asks, go back and click Get API key": "**Pricing**: free. Data used for training.\n\n**Instructions**: Log into Google account, allow AI Studio to create Google Cloud project or whatever it asks, go back and click Get API key",
|
||||
". Notes for Zerochan:\n- You must enter a color\n- Set your zerochan username in `sidebar.booru.zerochan.username` config option. You [might be banned for not doing so](https://www.zerochan.net/api#:~:text=The%20request%20may%20still%20be%20completed%20successfully%20without%20this%20custom%20header%2C%20but%20your%20project%20may%20be%20banned%20for%20being%20anonymous.)!": ". Notes for Zerochan:\n- You must enter a color\n- Set your zerochan username in `sidebar.booru.zerochan.username` config option. You [might be banned for not doing so](https://www.zerochan.net/api#:~:text=The%20request%20may%20still%20be%20completed%20successfully%20without%20this%20custom%20header%2C%20but%20your%20project%20may%20be%20banned%20for%20being%20anonymous.)!",
|
||||
"<i>No further instruction provided</i>": "<i>No further instruction provided</i>",
|
||||
"Action": "Action",
|
||||
"Add": "Add",
|
||||
"Add task": "Add task",
|
||||
"All-rounder | Good quality, decent quantity": "All-rounder | Good quality, decent quantity",
|
||||
"Allow NSFW": "Allow NSFW",
|
||||
"Allow NSFW content": "Allow NSFW content",
|
||||
"Anime": "Anime",
|
||||
"Anime boorus": "Anime boorus",
|
||||
"App": "App",
|
||||
"Arrow keys to navigate, Enter to select\nEsc or click anywhere to cancel": "Arrow keys to navigate, Enter to select\nEsc or click anywhere to cancel",
|
||||
"Bluetooth": "Bluetooth",
|
||||
"Brightness": "Brightness",
|
||||
"Cancel": "Cancel",
|
||||
"Chain of Thought": "Chain of Thought",
|
||||
"Cheat sheet": "Cheat sheet",
|
||||
"Choose model": "Choose model",
|
||||
"Clean stuff | Excellent quality, no NSFW": "Clean stuff | Excellent quality, no NSFW",
|
||||
"Clear": "Clear",
|
||||
"Clear chat history": "Clear chat history",
|
||||
"Clear the current list of images": "Clear the current list of images",
|
||||
"Close": "Close",
|
||||
"Copy": "Copy",
|
||||
"Copy code": "Copy code",
|
||||
"Delete": "Delete",
|
||||
"Desktop": "Desktop",
|
||||
"Disable NSFW content": "Disable NSFW content",
|
||||
"Done": "Done",
|
||||
"Download": "Download",
|
||||
"Edit": "Edit",
|
||||
"Enter text to translate...": "Enter text to translate...",
|
||||
"Finished tasks will go here": "Finished tasks will go here",
|
||||
"For desktop wallpapers | Good quality": "For desktop wallpapers | Good quality",
|
||||
"For storing API keys and other sensitive information": "For storing API keys and other sensitive information",
|
||||
"Game mode": "Game mode",
|
||||
"Get the next page of results": "Get the next page of results",
|
||||
"Hibernate": "Hibernate",
|
||||
"Input": "Input",
|
||||
"Intelligence": "Intelligence",
|
||||
"Interface": "Interface",
|
||||
"Invalid arguments. Must provide `key` and `value`.": "Invalid arguments. Must provide `key` and `value`.",
|
||||
"Jump to current month": "Jump to current month",
|
||||
"Keep system awake": "Keep system awake",
|
||||
"Large images | God tier quality, no NSFW.": "Large images | God tier quality, no NSFW.",
|
||||
"Large language models": "Large language models",
|
||||
"Launch": "Launch",
|
||||
"Lock": "Lock",
|
||||
"Logout": "Logout",
|
||||
"Markdown test": "Markdown test",
|
||||
"Math result": "Math result",
|
||||
"Night Light": "Night Light",
|
||||
"No audio source": "No audio source",
|
||||
"No media": "No media",
|
||||
"No notifications": "No notifications",
|
||||
"Not visible to model": "Not visible to model",
|
||||
"Nothing here!": "Nothing here!",
|
||||
"Notifications": "Notifications",
|
||||
"OK": "OK",
|
||||
"Open file link": "Open file link",
|
||||
"Output": "Output",
|
||||
"Reboot": "Reboot",
|
||||
"Reboot to firmware settings": "Reboot to firmware settings",
|
||||
"Reload Hyprland & Quickshell": "Reload Hyprland & Quickshell",
|
||||
"Run": "Run",
|
||||
"Run command": "Run command",
|
||||
"Save": "Save",
|
||||
"Save to Downloads": "Save to Downloads",
|
||||
"Search": "Search",
|
||||
"Search the web": "Search the web",
|
||||
"Search, calculate or run": "Search, calculate or run",
|
||||
"Select Language": "Select Language",
|
||||
"Session": "Session",
|
||||
"Set API key": "Set API key",
|
||||
"Set temperature (randomness) of the model. Values range between 0 to 2 for Gemini, 0 to 1 for other models. Default is 0.5.": "Set temperature (randomness) of the model. Values range between 0 to 2 for Gemini, 0 to 1 for other models. Default is 0.5.",
|
||||
"Set the current API provider": "Set the current API provider",
|
||||
"Shutdown": "Shutdown",
|
||||
"Silent": "Silent",
|
||||
"Sleep": "Sleep",
|
||||
"System": "System",
|
||||
"Task Manager": "Task Manager",
|
||||
"Task description": "Task description",
|
||||
"Temperature must be between 0 and 2": "Temperature must be between 0 and 2",
|
||||
"The hentai one | Great quantity, a lot of NSFW, quality varies wildly": "The hentai one | Great quantity, a lot of NSFW, quality varies wildly",
|
||||
"The popular one | Best quantity, but quality can vary wildly": "The popular one | Best quantity, but quality can vary wildly",
|
||||
"Thinking": "Thinking",
|
||||
"Translation goes here...": "Translation goes here...",
|
||||
"Translator": "Translator",
|
||||
"Unfinished": "Unfinished",
|
||||
"Unknown": "Unknown",
|
||||
"Unknown Album": "Unknown Album",
|
||||
"Unknown Artist": "Unknown Artist",
|
||||
"Unknown Title": "Unknown Title",
|
||||
"View Markdown source": "View Markdown source",
|
||||
"Volume": "Volume",
|
||||
"Volume mixer": "Volume mixer",
|
||||
"Waifus only | Excellent quality, limited quantity": "Waifus only | Excellent quality, limited quantity",
|
||||
"Waiting for response...": "Waiting for response...",
|
||||
"Workspace": "Workspace",
|
||||
"Set with /mode PROVIDER": "Set with /mode PROVIDER",
|
||||
"Invalid API provider. Supported: \n-": "Invalid API provider. Supported: \n-",
|
||||
"Unknown command:": "Unknown command:",
|
||||
"Type /key to get started with online models\nCtrl+O to expand the sidebar\nCtrl+P to detach sidebar into a window": "Type /key to get started with online models\nCtrl+O to expand the sidebar\nCtrl+P to detach sidebar into a window",
|
||||
"The current API used. Endpoint:": "The current API used. Endpoint:",
|
||||
"Provider set to": "Provider set to",
|
||||
"Invalid model. Supported: \n```": "Invalid model. Supported: \n```",
|
||||
"That didn't work. Tips:\n- Check your tags and NSFW settings\n- If you don't have a tag in mind, type a page number": "That didn't work. Tips:\n- Check your tags and NSFW settings\n- If you don't have a tag in mind, type a page number",
|
||||
"Online | Google's model\nGives up-to-date information with search.": "Online | Google's model\nGives up-to-date information with search.",
|
||||
"Switched to search mode. Continue with the user's request.": "Switched to search mode. Continue with the user's request.",
|
||||
"Experimental | Online | Google's model\nCan do a little more but doesn't search quickly": "Experimental | Online | Google's model\nCan do a little more but doesn't search quickly",
|
||||
"Settings": "Settings",
|
||||
"Save chat": "Save chat",
|
||||
"Load chat": "Load chat",
|
||||
"or": "or",
|
||||
"Set the system prompt for the model.": "Set the system prompt for the model.",
|
||||
"To Do": "To Do",
|
||||
"Calendar": "Calendar",
|
||||
"Advanced": "Advanced",
|
||||
"About": "About",
|
||||
"Services": "Services",
|
||||
"Style": "Style",
|
||||
"Edit config": "Edit config",
|
||||
"Colors & Wallpaper": "Colors & Wallpaper",
|
||||
"Light": "Light",
|
||||
"Dark": "Dark",
|
||||
"Material palette": "Material palette",
|
||||
"Fidelity": "Fidelity",
|
||||
"Fruit Salad": "Fruit Salad",
|
||||
"Alternatively use /dark, /light, /img in the launcher": "Alternatively use /dark, /light, /img in the launcher",
|
||||
"Fake screen rounding": "Fake screen rounding",
|
||||
"When not fullscreen": "When not fullscreen",
|
||||
"Choose file": "Choose file",
|
||||
"Random SFW Anime wallpaper from Konachan\nImage is saved to ~/Pictures/Wallpapers": "Random SFW Anime wallpaper from Konachan\nImage is saved to ~/Pictures/Wallpapers",
|
||||
"Be patient...": "Be patient...",
|
||||
"Decorations & Effects": "Decorations & Effects",
|
||||
"Tonal Spot": "Tonal Spot",
|
||||
"Shell windows": "Shell windows",
|
||||
"Auto": "Auto",
|
||||
"Wallpaper": "Wallpaper",
|
||||
"Content": "Content",
|
||||
"Title bar": "Title bar",
|
||||
"Transparency": "Transparency",
|
||||
"Expressive": "Expressive",
|
||||
"Yes": "Yes",
|
||||
"Enable": "Enable",
|
||||
"Rainbow": "Rainbow",
|
||||
"Might look ass. Unsupported.": "Might look ass. Unsupported.",
|
||||
"Monochrome": "Monochrome",
|
||||
"Random: Konachan": "Random: Konachan",
|
||||
"Center title": "Center title",
|
||||
"Neutral": "Neutral",
|
||||
"Pick wallpaper image on your system": "Pick wallpaper image on your system",
|
||||
"No": "No",
|
||||
"AI": "AI",
|
||||
"Local only": "Local only",
|
||||
"Policies": "Policies",
|
||||
"Weeb": "Weeb",
|
||||
"Closet": "Closet",
|
||||
"Bar style": "Bar style",
|
||||
"Show next time": "Show next time",
|
||||
"Usage": "Usage",
|
||||
"Plain rectangle": "Plain rectangle",
|
||||
"Useless buttons": "Useless buttons",
|
||||
"GitHub": "GitHub",
|
||||
"Style & wallpaper": "Style & wallpaper",
|
||||
"Configuration": "Configuration",
|
||||
"Change any time later with /dark, /light, /img in the launcher": "Change any time later with /dark, /light, /img in the launcher",
|
||||
"Keybinds": "Keybinds",
|
||||
"Float": "Float",
|
||||
"Hug": "Hug",
|
||||
"Yooooo hi there": "Yooooo hi there",
|
||||
"illogical-impulse Welcome": "illogical-impulse Welcome",
|
||||
"Info": "Info",
|
||||
"Volume limit": "Volume limit",
|
||||
"Prevents abrupt increments and restricts volume limit": "Prevents abrupt increments and restricts volume limit",
|
||||
"Resources": "Resources",
|
||||
"12h am/pm": "12h am/pm",
|
||||
"Base URL": "Base URL",
|
||||
"Audio": "Audio",
|
||||
"Networking": "Networking",
|
||||
"Format": "Format",
|
||||
"Time": "Time",
|
||||
"Battery": "Battery",
|
||||
"Prefixes": "Prefixes",
|
||||
"Emojis": "Emojis",
|
||||
"Earbang protection": "Earbang protection",
|
||||
"Automatically suspends the system when battery is low": "Automatically suspends the system when battery is low",
|
||||
"Automatic suspend": "Automatic suspend",
|
||||
"Suspend at": "Suspend at",
|
||||
"Max allowed increase": "Max allowed increase",
|
||||
"Web search": "Web search",
|
||||
"Polling interval (ms)": "Polling interval (ms)",
|
||||
"Clipboard": "Clipboard",
|
||||
"Low warning": "Low warning",
|
||||
"24h": "24h",
|
||||
"Use Levenshtein distance-based algorithm instead of fuzzy": "Use Levenshtein distance-based algorithm instead of fuzzy",
|
||||
"System prompt": "System prompt",
|
||||
"12h AM/PM": "12h AM/PM",
|
||||
"Could be better if you make a ton of typos,\nbut results can be weird and might not work with acronyms\n(e.g. \"GIMP\" might not give you the paint program)": "Could be better if you make a ton of typos,\nbut results can be weird and might not work with acronyms\n(e.g. \"GIMP\" might not give you the paint program)",
|
||||
"Critical warning": "Critical warning",
|
||||
"User agent (for services that require it)": "User agent (for services that require it)",
|
||||
"Such regions could be images or parts of the screen that have some containment.\nMight not always be accurate.\nThis is done with an image processing algorithm run locally and no AI is used.": "Such regions could be images or parts of the screen that have some containment.\nMight not always be accurate.\nThis is done with an image processing algorithm run locally and no AI is used.",
|
||||
"Note: turning off can hurt readability": "Note: turning off can hurt readability",
|
||||
"Workspaces shown": "Workspaces shown",
|
||||
"Dark/Light toggle": "Dark/Light toggle",
|
||||
"Dock": "Dock",
|
||||
"Weather": "Weather",
|
||||
"Pinned on startup": "Pinned on startup",
|
||||
"Tip: Hide icons and always show numbers for\nthe classic illogical-impulse experience": "Tip: Hide icons and always show numbers for\nthe classic illogical-impulse experience",
|
||||
"Appearance": "Appearance",
|
||||
"Always show numbers": "Always show numbers",
|
||||
"Buttons": "Buttons",
|
||||
"Keyboard toggle": "Keyboard toggle",
|
||||
"Scale (%)": "Scale (%)",
|
||||
"Overview": "Overview",
|
||||
"Rows": "Rows",
|
||||
"Borderless": "Borderless",
|
||||
"Screenshot tool": "Screenshot tool",
|
||||
"Number show delay when pressing Super (ms)": "Number show delay when pressing Super (ms)",
|
||||
"Timeout (ms)": "Timeout (ms)",
|
||||
"Show app icons": "Show app icons",
|
||||
"Workspaces": "Workspaces",
|
||||
"Columns": "Columns",
|
||||
"On-screen display": "On-screen display",
|
||||
"Screen snip": "Screen snip",
|
||||
"Mic toggle": "Mic toggle",
|
||||
"Hover to reveal": "Hover to reveal",
|
||||
"Bar": "Bar",
|
||||
"Show background": "Show background",
|
||||
"Show regions of potential interest": "Show regions of potential interest",
|
||||
"Color picker": "Color picker",
|
||||
"Help & Support": "Help & Support",
|
||||
"Discussions": "Discussions",
|
||||
"Color generation": "Color generation",
|
||||
"Dotfiles": "Dotfiles",
|
||||
"Distro": "Distro",
|
||||
"Privacy Policy": "Privacy Policy",
|
||||
"Documentation": "Documentation",
|
||||
"Shell & utilities theming must also be enabled": "Shell & utilities theming must also be enabled",
|
||||
"illogical-impulse": "illogical-impulse",
|
||||
"Donate": "Donate",
|
||||
"Terminal": "Terminal",
|
||||
"Shell & utilities": "Shell & utilities",
|
||||
"Qt apps": "Qt apps",
|
||||
"Report a Bug": "Report a Bug",
|
||||
"Issues": "Issues",
|
||||
"Drag or click a region • LMB: Copy • RMB: Edit": "Drag or click a region • LMB: Copy • RMB: Edit",
|
||||
"Current model: %1\nSet it with %2model MODEL": "Current model: %1\nSet it with %2model MODEL",
|
||||
"Message the model... \"%1\" for commands": "Message the model... \"%1\" for commands",
|
||||
"No API key set for %1": "No API key set for %1",
|
||||
"Loaded the following system prompt\n\n---\n\n%1": "Loaded the following system prompt\n\n---\n\n%1",
|
||||
"%1 | Right-click to configure": "%1 | Right-click to configure",
|
||||
"API key set for %1": "API key set for %1",
|
||||
"Online via %1 | %2's model": "Online via %1 | %2's model",
|
||||
"Current API endpoint: %1\nSet it with %2mode PROVIDER": "Current API endpoint: %1\nSet it with %2mode PROVIDER",
|
||||
"Go to source (%1)": "Go to source (%1)",
|
||||
"Temperature set to %1": "Temperature set to %1",
|
||||
"To set an API key, pass it with the command\n\nTo view the key, pass \"get\" with the command<br/>\n\n### For %1:\n\n**Link**: %2\n\n%3": "To set an API key, pass it with the command\n\nTo view the key, pass \"get\" with the command<br/>\n\n### For %1:\n\n**Link**: %2\n\n%3",
|
||||
"Enter tags, or \"%1\" for commands": "Enter tags, or \"%1\" for commands",
|
||||
"%1 queries pending": "%1 queries pending",
|
||||
"API key:\n\n```txt\n%1\n```": "API key:\n\n```txt\n%1\n```",
|
||||
"Uptime: %1": "Uptime: %1",
|
||||
"%1 Safe Storage": "%1 Safe Storage",
|
||||
"%1 does not require an API key": "%1 does not require an API key",
|
||||
"Temperature: %1": "Temperature: %1",
|
||||
"Model set to %1": "Model set to %1",
|
||||
"Page %1": "Page %1",
|
||||
"Local Ollama model | %1": "Local Ollama model | %1",
|
||||
"The current system prompt is\n\n---\n\n%1": "The current system prompt is\n\n---\n\n%1",
|
||||
"Unknown function call: %1": "Unknown function call: %1",
|
||||
"%1 notifications": "%1 notifications",
|
||||
"Load chat from %1": "Load chat from %1",
|
||||
"Load prompt from %1": "Load prompt from %1",
|
||||
"Save chat to %1": "Save chat to %1",
|
||||
"Weather Service": "Weather Service",
|
||||
"Cannot find a GPS service. Using the fallback method instead.": "Cannot find a GPS service. Using the fallback method instead.",
|
||||
"Critically low battery": "Critically low battery",
|
||||
"Select output device": "Select output device",
|
||||
"Code saved to file": "Code saved to file",
|
||||
"Online models disallowed\n\nControlled by `policies.ai` config option": "Online models disallowed\n\nControlled by `policies.ai` config option",
|
||||
"Scroll to change volume": "Scroll to change volume",
|
||||
"Elements": "Elements",
|
||||
"%1 • %2 tasks": "%1 • %2 tasks",
|
||||
"Download complete": "Download complete",
|
||||
"Please charge!\nAutomatic suspend triggers at %1": "Please charge!\nAutomatic suspend triggers at %1",
|
||||
"Cloudflare WARP": "Cloudflare WARP",
|
||||
"Cloudflare WARP (1.1.1.1)": "Cloudflare WARP (1.1.1.1)",
|
||||
"Scroll to change brightness": "Scroll to change brightness",
|
||||
"Connection failed. Please inspect manually with the <tt>warp-cli</tt> command": "Connection failed. Please inspect manually with the <tt>warp-cli</tt> command",
|
||||
"Select input device": "Select input device",
|
||||
"Registration failed. Please inspect manually with the <tt>warp-cli</tt> command": "Registration failed. Please inspect manually with the <tt>warp-cli</tt> command",
|
||||
"Consider plugging in your device": "Consider plugging in your device",
|
||||
"Low battery": "Low battery",
|
||||
"Saved to %1": "Saved to %1",
|
||||
"Sunset": "Sunset",
|
||||
"UV Index": "UV Index",
|
||||
"Humidity": "Humidity",
|
||||
"Wind": "Wind",
|
||||
"Sunrise": "Sunrise",
|
||||
"Pressure": "Pressure",
|
||||
"Visibility": "Visibility",
|
||||
"Precipitation": "Precipitation"
|
||||
}
|
||||
@@ -0,0 +1,306 @@
|
||||
{
|
||||
"Launch": "Avvia",
|
||||
"Columns": "Colonne",
|
||||
"Save": "Salva",
|
||||
"Temperature: %1": "Temperatura: %1",
|
||||
"Night Light | Right-click to toggle Auto mode": "Modalità notte",
|
||||
"Silent": "Silenzia",
|
||||
"To Do": "Promemoria",
|
||||
"Action": "Comandi",
|
||||
"Search the web": "Cerca sul web",
|
||||
"Workspace": "Spazio di lavoro",
|
||||
"Desktop": "Scrivania",
|
||||
"Settings": "Impostazioni",
|
||||
"Math result": "Risultato",
|
||||
"Calendar": "Calendario",
|
||||
"Run": "Esegui",
|
||||
"Cancel": "Cancella",
|
||||
"Uptime: %1": "Tempo di attività: %1",
|
||||
"Search": "Cerca",
|
||||
"Battery": "Batteria",
|
||||
"Weather": "Meteo",
|
||||
"Brightness": "Luminosità",
|
||||
"Clear": "Cancella",
|
||||
"No notifications": "Nessuna notifica",
|
||||
"No media": "Non in riproduzione",
|
||||
"Add task": "Aggiungi promemoria",
|
||||
"Run command": "Esegui comando",
|
||||
"Game mode": "Modalità gioco",
|
||||
"Reload Hyprland & Quickshell": "Riavvia Hyprland e Quickshell",
|
||||
"Task description": "Titolo promemoria",
|
||||
"%1 | Right-click to configure": "%1",
|
||||
"Done": "Completati",
|
||||
"Keep system awake": "Mantieni schermo attivo",
|
||||
"Search, calculate or run": "Cerca, calcola o esegui",
|
||||
"Copy": "Copia",
|
||||
"Rows": "Righe",
|
||||
"Session": "Sessione",
|
||||
"Notifications": "Notifiche",
|
||||
"Unfinished": "Da completare",
|
||||
"Add": "Aggiungi",
|
||||
"Nothing here!": "Nessun promemoria",
|
||||
"Mo": "Lu",
|
||||
"Tu": "Ma",
|
||||
"We": "Me",
|
||||
"Th": "Gi",
|
||||
"Fr": "Ve",
|
||||
"Sa": "Sa",
|
||||
"Su": "Do",
|
||||
"Edit config": "Apri config.",
|
||||
"Center title": "Titolo centrato",
|
||||
"Elements": "Elementi",
|
||||
"Color picker": "Selettore colore",
|
||||
"Title bar": "Barra del titolo",
|
||||
"Sleep": "Sospendi",
|
||||
"Transparency": "Trasparenza",
|
||||
"Bluetooth": "Bluetooth",
|
||||
"UV Index": "Indice UV",
|
||||
"Bar": "Barra",
|
||||
"Format": "Formato",
|
||||
"Select output device": "Seleziona dispositivo di output",
|
||||
"Pressure": "Pressione",
|
||||
"Volume": "Volume",
|
||||
"Volume mixer": "Mixer volume",
|
||||
"Interface": "Interfaccia",
|
||||
"Workspaces": "Spazi di lavoro",
|
||||
"Dark": "Scuro",
|
||||
"%1 notifications": "%1 notifiche",
|
||||
"Reboot": "Riavvia",
|
||||
"No": "No",
|
||||
"Wind": "Vento",
|
||||
"Humidity": "Umidità",
|
||||
"Select Language": "Seleziona lingua",
|
||||
"Wallpaper": "Sfondo",
|
||||
"Copy code": "Copia codice",
|
||||
"Allow NSFW": "Mostra NSFW",
|
||||
"Colors & Wallpaper": "Sfondo e stile",
|
||||
"Shutdown": "Spegni",
|
||||
"Decorations & Effects": "Decorazioni e effetti",
|
||||
"Translation goes here...": "Traduzione",
|
||||
"Polling interval (ms)": "Intervallo di polling (ms)",
|
||||
"System prompt": "Prompt di sistema",
|
||||
"Base URL": "URL base",
|
||||
"Always show numbers": "Mostra numeri",
|
||||
"Wallpaper parallax": "Effetto parallasse sfondo",
|
||||
"Plain rectangle": "Semplice",
|
||||
"illogical-impulse Welcome": "Benvenuto su illogical-impulse",
|
||||
"Local only": "Solo locale",
|
||||
"Chain of Thought": "Catena di pensiero",
|
||||
"Dark/Light toggle": "Modalità chiaro/scuro",
|
||||
"Screen snip": "Cattura schermo",
|
||||
"Style & wallpaper": "Sfondo e stile",
|
||||
"Show app icons": "Mostra icone app",
|
||||
"Useless buttons": "Tasti inutili",
|
||||
"Scale (%)": "Dimensione (%)",
|
||||
"Show background": "Mostra sfondo",
|
||||
"Intelligence": "AI",
|
||||
"Appearance": "Aspetto",
|
||||
"Enable": "Abilita",
|
||||
"Borderless": "Senza bordi",
|
||||
"Random: Konachan": "Casuale: Konachan",
|
||||
"Yes": "Sì",
|
||||
"Documentation": "Documentazione",
|
||||
"Unknown Artist": "Artista sconosciuto",
|
||||
"Help & Support": "Aiuto e supporto",
|
||||
"Report a Bug": "Segnala un bug",
|
||||
"Sunset": "Tramonto",
|
||||
"Weeb": "Anime",
|
||||
"Shell windows": "Finestre",
|
||||
"Workspaces shown": "Numero spazi di lavoro",
|
||||
"Screenshot tool": "Cattura schermo",
|
||||
"Enter text to translate...": "Inserisci il testo qui",
|
||||
"Unknown Album": "Album sconosciuto",
|
||||
"Hug": "Stondato",
|
||||
"Scroll to change brightness": "Scorri per cambiare luminosità",
|
||||
"Privacy Policy": "Privacy policy",
|
||||
"12h AM/PM": "12 ore (AM/PM)",
|
||||
"Material palette": "Tavolozza dei colori",
|
||||
"No audio source": "Nessuna sorgente audio",
|
||||
"Download": "Scarica",
|
||||
"Prefixes": "Prefissi",
|
||||
"Show next time": "Mostra al prossimo avvio",
|
||||
"Lock": "Blocca",
|
||||
"Scroll to change volume": "Scorri per cambiare volume",
|
||||
"Unknown": "Sconosciuto",
|
||||
"Jump to current month": "Torna al mese corrente",
|
||||
"Cloudflare WARP (1.1.1.1)": "Cloudflare WARP (1.1.1.1)",
|
||||
"Terminal": "Terminale",
|
||||
"About": "Informazioni",
|
||||
"Precipitation": "Precipitazioni",
|
||||
"Keybinds": "Comandi",
|
||||
"Select input device": "Seleziona dispositivo di input",
|
||||
"When not fullscreen": "Tranne a schermo intero",
|
||||
"Unknown Title": "Titolo sconosciuto",
|
||||
"Task Manager": "Gestione attività",
|
||||
"System": "Sistema",
|
||||
"Choose file": "Scegli file",
|
||||
"Pinned on startup": "Fissa sullo schermo",
|
||||
"Policies": "Servizi",
|
||||
"View Markdown source": "Mostra Markdown",
|
||||
"Sunrise": "Alba",
|
||||
"Configuration": "Configurazione",
|
||||
"Overview": "Panoramica",
|
||||
"Translator": "Traduttore",
|
||||
"Finished tasks will go here": "Nessun promemoria",
|
||||
"Mic toggle": "Microfono",
|
||||
"Light": "Chiaro",
|
||||
"Bar style": "Stile barra",
|
||||
"Advanced": "Avanzate",
|
||||
"Web search": "Cerca sul web",
|
||||
"12h am/pm": "12 ore (am/pm)",
|
||||
"Services": "Servizi",
|
||||
"Donate": "Supporta",
|
||||
"Resources": "Risorse",
|
||||
"Float": "Fluttuante",
|
||||
"Fake screen rounding": "Bordi curvi schermo",
|
||||
"Hibernate": "Iberna",
|
||||
"Visibility": "Visibilità",
|
||||
"Delete": "Elimina",
|
||||
"Style": "Stile",
|
||||
"Page %1": "Pagina %1",
|
||||
"Keyboard toggle": "Tastiera virtuale",
|
||||
"Buttons": "Pulsanti",
|
||||
"24h": "24 ore",
|
||||
"Time": "Ora",
|
||||
"Clipboard": "Appunti",
|
||||
"or": "o",
|
||||
"Edit": "Modifica",
|
||||
"Yooooo hi there": "Ciao bellissimə",
|
||||
"Emojis": "Emoji",
|
||||
"Shell & utilities": "App e shell",
|
||||
"Reboot to firmware settings": "Riavvia alle impostazioni firmware",
|
||||
"No API key set for %1": "Chiave API non impostata per %1",
|
||||
"Disable NSFW content": "Nascondi contenuti NSFW",
|
||||
"Closet": "Nascosto",
|
||||
"Depends on sidebars": "Abilita per barre laterali",
|
||||
"Invalid model. Supported: \n```": "Modello non valido. Supportati: \n```",
|
||||
"Type /key to get started with online models\nCtrl+O to expand the sidebar\nCtrl+P to detach sidebar into a window": "Usa /key per utilizzare i modelli online\nCtrl+O per espandere\nCtrl+P per separare in finestra",
|
||||
"Not visible to model": "Non visible al modello",
|
||||
"Local Ollama model | %1": "Modello Ollama locale | %1",
|
||||
"Open file link": "Apri link al file",
|
||||
"Waiting for response...": "In attesa di risposta...",
|
||||
"Cheat sheet": "Prontuario",
|
||||
"Allow NSFW content": "Mostra contenuti NSFW",
|
||||
"%1 characters": "%1 caratteri",
|
||||
"Model set to %1": "Modello impostato su %1",
|
||||
"Be patient...": "Attendi...",
|
||||
"User agent (for services that require it)": "User agent (usato dai servizi)",
|
||||
"Current API endpoint: %1\nSet it with %2mode PROVIDER": "Endpoint API: %1\nUsa /mode per cambiarlo",
|
||||
"For desktop wallpapers | Good quality": "Per sfondi del desktop | Buona qualità",
|
||||
"For storing API keys and other sensitive information": "Gestione credenziali e informazioni sensibili",
|
||||
"Your package manager is running": "Il package manager è in esecuzione",
|
||||
"Experimental | Online | Google's model\nCan do a little more but takes an extra turn to perform search": "Sperimentale | Online | Modello di Google\nPiù potente ma richiede più risorse",
|
||||
"Provider set to": "Provider impostato su",
|
||||
"Color generation": "Tavolozza dei colori",
|
||||
"Temperature must be between 0 and 2": "Il valore della temperatura deve essere fra 0 e 2",
|
||||
"Earbang protection": "Protezione udito",
|
||||
"Online | Google's model\nGives up-to-date information with search.": "Online | Modello di Google\nRestituisce informazioni attuali tramite ricerca.",
|
||||
"Alternatively use /dark, /light, /img in the launcher": "Oppure usa /dark, /light, /img nel launcher",
|
||||
"Change any time later with /dark, /light, /img in the launcher": "Oppure usa /dark, /light, /img nel launcher",
|
||||
"Current model: %1\nSet it with %2model MODEL": "Modello attuale: %1\nUsa /model per cambiarlo",
|
||||
"Waifus only | Excellent quality, limited quantity": "Solo waifu | Qualità eccellente, quantità limitata",
|
||||
"Save to Downloads": "Salva in Scaricati",
|
||||
"Thinking": "Ragionando",
|
||||
"On-screen display": "Popup di sistema",
|
||||
"%1 • %2 tasks": "%1 • %2 promemoria",
|
||||
"Qt apps": "Applicazioni Qt",
|
||||
"The popular one | Best quantity, but quality can vary wildly": "Il più usato | Quantità elevata, ma la qualità potrebbe variare totalmente",
|
||||
"Set the system prompt for the model.": "Imposta il prompt di sistema per il modello.",
|
||||
"To set an API key, pass it with the command\n\nTo view the key, pass \"get\" with the command<br/>\n\n### For %1:\n\n**Link**: %2\n\n%3": "Per impostare una chiave API, utilizzala come argomento di questo comando\n\nPer vedere la chiave corrente, utilizza come argomento \"get\"<br/>\n\n### For %1:\n\n**Link**: %2\n\n%3",
|
||||
"Markdown test": "Test Markdown",
|
||||
"Prevents abrupt increments and restricts volume limit": "Impedice aumenti improvvisi del volume e ne imposta un limite.",
|
||||
"Preferred wallpaper zoom (%)": "Zoom sfondo (%)",
|
||||
"Depends on workspace": "Abilita per spazi di lavoro",
|
||||
"Note: turning off can hurt readability": "Nota: disattivarlo potrebbe ridurre la leggibilità",
|
||||
"Pick wallpaper image on your system": "Seleziona un'immagine nel tuo sistema",
|
||||
"Invalid API provider. Supported: \n-": "Provider API non valido. Supportati: \n-",
|
||||
"The hentai one | Great quantity, a lot of NSFW, quality varies wildly": "Hentai | Quantità elevata, NSFW, la qualità potrebbe variare totalmente",
|
||||
"Saved to %1": "Salvato in %1",
|
||||
"Set temperature (randomness) of the model. Values range between 0 to 2 for Gemini, 0 to 1 for other models. Default is 0.5.": "Imposta la temperatura (casualità) del modello. Il valore va da 0 a 2 per Gemini, e da 0 a 1 per gli altri modelli. Il valore predefinito è 0.5.",
|
||||
"Close": "Chiudi",
|
||||
"Might look ass. Unsupported.": "Potrebbe fare schifo. Non supportato.",
|
||||
"API key set for %1": "Chiave API impostata per %1",
|
||||
"Temperature\nChange with /temp VALUE": "Temperatura\nUsa /temp per cambiarla",
|
||||
"%1 does not require an API key": "%1 non richiede una chiave API",
|
||||
"Online models disallowed\n\nControlled by `policies.ai` config option": "Modelli online disattivati\n\nDisattiva l'opzione \"Solo locale\"",
|
||||
"Set the current API provider": "Imposta il provider API",
|
||||
"Total token count\nInput: %1\nOutput: %2": "Numero token totali\nInput: %1\nOutput: %2",
|
||||
"EasyEffects | Right-click to configure": "EasyEffects",
|
||||
"Random SFW Anime wallpaper from Konachan\nImage is saved to ~/Pictures/Wallpapers": "Sfondo anime SFW casuale da Konachan\nL'immagine verrà salvata in ~/Immagini/Wallpapers",
|
||||
"The current API used. Endpoint:": "Provider API attuale. Endpoint:",
|
||||
"Set with /mode PROVIDER": "Usa /mode per cambiarlo",
|
||||
"Hover to reveal": "Mostra col passaggio del mouse",
|
||||
"Arrow keys to navigate, Enter to select\nEsc or click anywhere to cancel": "Usa i tasti freccia per navigare, Invio per selezionare\nEsc o clicca qualsiasi punto per uscire",
|
||||
"Save chat to %1": "Salva chat in %1",
|
||||
"Choose model": "Seleziona modello",
|
||||
"No API key\nSet it with /key YOUR_API_KEY": "Nessuna chiave API\nUsa /key per impostarla",
|
||||
"API key:\n\n```txt\n%1\n```": "Chiave API:\n\n```txt\n%1\n```",
|
||||
"Experimental | Online | Google's model\nA Gemini 2.5 Flash model optimized for cost-efficiency and high throughput.": "Sperimentale | Online | Modello di Google\nModello Gemini 2.5 Flash ottimizzato per efficenza e throughput elevato.",
|
||||
"Use Levenshtein distance-based algorithm instead of fuzzy": "Usa algoritmo di Levenshtein al posto di fuzzy",
|
||||
"Download complete": "Download completato",
|
||||
"Tip: Hide icons and always show numbers for\nthe classic illogical-impulse experience": "Suggerimento: Nascondi le icone e mostra i numeri se vuoi\nun'esperienza fedele all'originale",
|
||||
"Usage": "Istruzioni",
|
||||
"Set API key": "Imposta chiave API",
|
||||
"Networking": "Rete",
|
||||
"Volume limit": "Limite volume",
|
||||
"Temperature set to %1": "Temperatura impostata a %1",
|
||||
"Large images | God tier quality, no NSFW.": "Immagini grandi | Qualità perfetta, no NSFW.",
|
||||
"Shell & utilities theming must also be enabled": "\"App e shell\" deve essere abilitato",
|
||||
"API key is set\nChange with /key YOUR_API_KEY": "Chiave API impostata\nUsa /key per cambiarla",
|
||||
"All-rounder | Good quality, decent quantity": "Versatile | Qualità buona, quantità discreta",
|
||||
"Large language models": "Intelligenza artificiale",
|
||||
"Could be better if you make a ton of typos,\nbut results can be weird and might not work with acronyms\n(e.g. \"GIMP\" might not give you the paint program)": "Può aiutare in caso di refusi,\nma i risultati potrebbero non essere accurati\n(es. \"GIMP\" potrebbe non restituire l'omonimo programma)",
|
||||
"Automatic suspend": "Sospensione automatica",
|
||||
"Max allowed increase": "Aumento massimo consentito",
|
||||
"No corresponding search model found for %1": "Nessun modello di ricerca trovato con %1",
|
||||
"Please charge!\nAutomatic suspend triggers at %1": "Ricarica la batteria!\nSospensione automatica in %1",
|
||||
"Weather Service": "Servizio meteo",
|
||||
"The current system prompt is\n\n---\n\n%1": "Il prompt di sistema attuale è\n\n---\n\n%1",
|
||||
"%1 Safe Storage": "Portachiavi di %1",
|
||||
"Load prompt from %1": "Carica prompt da %1",
|
||||
"That didn't work. Tips:\n- Check your tags and NSFW settings\n- If you don't have a tag in mind, type a page number": "Nessun risultato. Suggerimenti:\n- Controlla i tag e le impostazioni NSFW\n- Se non hai un tag in mente, inserici il numero di pagina",
|
||||
"Load chat": "Carica chat",
|
||||
"**Pricing**: free. Data used for training.\n\n**Instructions**: Log into Google account, allow AI Studio to create Google Cloud project or whatever it asks, go back and click Get API key": "**Prezzo**: gratuito. I tuoi dati vengono usati per training.\n\n**Istruzioni**: Accedi al tuo account Google, abilita i permessi richiesti da AI Studio, torna indietro e seleziona \"Get API key\"",
|
||||
"Online via %1 | %2's model": "Online tramite %1 | Modello di %2",
|
||||
"Get the next page of results": "Ottieni la pagina successiva dei risultati",
|
||||
"Unknown function call: %1": "Funzione sconosciuta: %1",
|
||||
"Cannot find a GPS service. Using the fallback method instead.": "Servizio GPS non disponibile. Verrà utilizzata la città preimpostata.",
|
||||
"Registration failed. Please inspect manually with the <tt>warp-cli</tt> command": "Registrazione fallita. Verifica l'errore manualmente col comando <tt>warp-cli</tt>",
|
||||
"Code saved to file": "Codice salvato",
|
||||
"Low warning": "Livello basso",
|
||||
"Clear the current list of images": "Elimina la lista corrente di immagini",
|
||||
"Invalid arguments. Must provide `key` and `value`.": "Argomenti non validi. Il comando richiede `key` e `value`.",
|
||||
"Connection failed. Please inspect manually with the <tt>warp-cli</tt> command": "Connessione fallita. Verifica l'errore manualmente col comando <tt>warp-cli</tt>",
|
||||
"Unknown command:": "Comando sconosciuto:",
|
||||
"Message the model... \"%1\" for commands": "\"%1\" per mostrare i comandi",
|
||||
"Load chat from %1": "Carica chat da %1",
|
||||
"**Pricing**: free. Data use policy varies depending on your OpenRouter account settings.\n\n**Instructions**: Log into OpenRouter account, go to Keys on the topright menu, click Create API Key": "**Prezzo**: gratuito. Le policy di trattamento dei dati potrebbero variare in base alle impostazioni del tuo account OpenRouter.\n\n**Istruzioni**: Accedi al tuo account OpenRouter, vai nella sezione \"Keys\" dal menu in alto, clicca \"Create API Key\"",
|
||||
"Enter tags, or \"%1\" for commands": "\"%1\" per mostrare i comandi",
|
||||
"Show regions of potential interest": "Mostra regioni d'interesse",
|
||||
"Critical warning": "Livello critico",
|
||||
"Go to source (%1)": "Vai alla fonte (%1)",
|
||||
"Automatically suspends the system when battery is low": "Sospende automaticamente il sistema quando il livello della batteria è basso",
|
||||
"Cannot switch to search mode from %1": "Impossibile attivare modalità ricerca da %1",
|
||||
"Clean stuff | Excellent quality, no NSFW": "Roba pulita | Qualità eccellente, no NSFW",
|
||||
". Notes for Zerochan:\n- You must enter a color\n- Set your zerochan username in `sidebar.booru.zerochan.username` config option. You [might be banned for not doing so](https://www.zerochan.net/api#:~:text=The%20request%20may%20still%20be%20completed%20successfully%20without%20this%20custom%20header%2C%20but%20your%20project%20may%20be%20banned%20for%20being%20anonymous.)!": ". Note per Zerochan:\n- Devi inserire un colore\n- Imposta il tuo nome utente di zerochan nell'opzione `sidebar.booru.zerochan.username`. Potresti [venire bannato se non lo fai](https://www.zerochan.net/api#:~:text=The%20request%20may%20still%20be%20completed%20successfully%20without%20this%20custom%20header%2C%20but%20your%20project%20may%20be%20banned%20for%20being%20anonymous.)!",
|
||||
"Critically low battery": "Batteria scarica",
|
||||
"Loaded the following system prompt\n\n---\n\n%1": "Il seguente prompt di sistema è stato caricato\n\n---\n\n%1",
|
||||
"Suspend at": "Sospendi al",
|
||||
"Such regions could be images or parts of the screen that have some containment.\nMight not always be accurate.\nThis is done with an image processing algorithm run locally and no AI is used.": "Queste regioni potrebbero essere immagini o parti di schermo contenute.\nPotrebbe non essere preciso.\nViene utilizzato un algoritmo di image processing in locale, non viene usata AI.",
|
||||
"Clear chat history": "Elimina cronologia chat",
|
||||
"Low battery": "Batteria quasi scarica",
|
||||
"Save chat": "Salva chat",
|
||||
"Switched to search mode. Continue with the user's request.": "Modalità ricerca attiva. Continua con la richiesta dell'utente.",
|
||||
"Number show delay when pressing Super (ms)": "Mostra numeri premendo Super dopo (ms)",
|
||||
"Drag or click a region • LMB: Copy • RMB: Edit": "Trascina o clicca una regione • LMB: Copia • RMB: Modifica",
|
||||
"Consider plugging in your device": "Connetti il tuo dispositivo alla rete elettrica",
|
||||
"%1 queries pending": "%1 ricerche in sospeso",
|
||||
"<i>No further instruction provided</i>": "<i>Nessun'altra istruzione fornita</i>",
|
||||
"There might be a download in progress": "Potrebbe esserci un download in corso",
|
||||
"Approve": "Approva",
|
||||
"Invalid arguments. Must provide `command`.": "Argomenti non validi. Il comando richiede `command`.",
|
||||
"Reject": "Rifiuta",
|
||||
"Thought": "Pensiero",
|
||||
"Performance Profile toggle": "Profilo prestazioni",
|
||||
"Command rejected by user": "Comando rifiutato dall'utente"
|
||||
}
|
||||
@@ -0,0 +1,346 @@
|
||||
{
|
||||
"Output": "Вывод",
|
||||
"Markdown test": "Тест Markdown",
|
||||
"Intelligence": "ИИ",
|
||||
"Load chat": "Загрузить чат",
|
||||
"Workspaces shown": "Кол-во рабочих столов",
|
||||
"Style": "Стиль",
|
||||
"Reject": "Отклонить",
|
||||
"Volume": "Громкость",
|
||||
"Shutdown": "Завершение работы",
|
||||
"Fidelity": "Верность",
|
||||
"Switched to search mode. Continue with the user's request.": "Переключено в режим поиска. Продолжай с запросом пользователя.",
|
||||
"No notifications": "Нет уведомлений",
|
||||
"EasyEffects | Right-click to configure": "EasyEffects | ПКМ, чтобы настроить",
|
||||
"Suspend at": "Переход в режим сна на",
|
||||
"Brightness": "Яркость",
|
||||
"Volume mixer": "Микшер громкости",
|
||||
"Discussions": "Обсуждения",
|
||||
"Earbang protection": "Защита от громких звуков",
|
||||
"Message the model... \"%1\" for commands": "Сообщение для ИИ... \"%1\" для команд",
|
||||
"Decorations & Effects": "Декорации и эффекты",
|
||||
"Load chat from %1": "Загрузить чат из %1",
|
||||
"OK": "ОК",
|
||||
"<i>No further instruction provided</i>": "<i>Больше инструкций не предоставлено</i>",
|
||||
"Set temperature (randomness) of the model. Values range between 0 to 2 for Gemini, 0 to 1 for other models. Default is 0.5.": "Установить температуру (случайность) модели. Выберите значение от 0 до 2 для Gemini, от 0 до 1 для других моделей. По умолчанию: 0.5",
|
||||
"Open file link": "Открыть ссылку на файл",
|
||||
"API key is set\nChange with /key YOUR_API_KEY": "API ключ установлен\nПоменять с помощью /key ВАШ_КЛЮЧ_API",
|
||||
"Advanced": "Продвинутые",
|
||||
"Title bar": "Заголовок",
|
||||
"Keybinds": "Шорткаты",
|
||||
"Alternatively use /dark, /light, /img in the launcher": "Также можно использовать /dark, /light, /img в лаунчере",
|
||||
"Dark/Light toggle": "Темный/светлый",
|
||||
"Shell & utilities": "Оболочка",
|
||||
"Clipboard": "Буфер обмена",
|
||||
"Yooooo hi there": "Йооооу привет",
|
||||
"Show app icons": "Показывать иконки",
|
||||
"Save": "Сохранить",
|
||||
"Style & wallpaper": "Стиль и обои",
|
||||
"Battery": "Батарея",
|
||||
"Expressive": "Выразительность",
|
||||
"Reboot": "Перезагрузка",
|
||||
"AI": "ИИ",
|
||||
"Sleep": "Спящий режим",
|
||||
"Allow NSFW": "Разрешить NSFW",
|
||||
"Please charge!\nAutomatic suspend triggers at %1": "Подключите ПК к источнику питания!\nПереход в спящий режим на %1",
|
||||
"Select input device": "Выберите микрофон",
|
||||
"Hover to reveal": "Наведите, чтобы раскрыть",
|
||||
"Unknown Artist": "Неизвестный исполнитель",
|
||||
"Connection failed. Please inspect manually with the <tt>warp-cli</tt> command": "Ошибка подключения. Проверьте вручную командой <tt>warp-cli</tt>",
|
||||
"Lock": "Блокировка",
|
||||
"Monochrome": "Монохром",
|
||||
"**Pricing**: free. Data used for training.\n\n**Instructions**: Log into Google account, allow AI Studio to create Google Cloud project or whatever it asks, go back and click Get API key": "**Цена**: бесплатно. Данные используются для обучения.\n\n**Инстуркции**: Войдите в аккаунт Google, разрешите AI Studio создать проект Google Cloud или что оно попросит, вернитесь и нажмите Get API key",
|
||||
"Online models disallowed\n\nControlled by `policies.ai` config option": "Онлайн модели запрещены\n\nУправляется опцией `policies.ai` в конфиге",
|
||||
"Emojis": "Эмодзи",
|
||||
"Wallpaper parallax": "Параллакс обоев",
|
||||
"Interface": "Интерфейс",
|
||||
"System prompt": "Системный промпт",
|
||||
"Edit config": "Ред. конфиг",
|
||||
"Page %1": "Страница %1",
|
||||
"Task description": "Описание задания",
|
||||
"Fruit Salad": "Фруктовый салад",
|
||||
"%1 Safe Storage": "Безопасное хранилище %1",
|
||||
"Distro": "Дистрибутив",
|
||||
"Add": "Добавить",
|
||||
"Closet": "Закрытый",
|
||||
"Task Manager": "Системный монитор",
|
||||
"Configuration": "Настройка",
|
||||
"There might be a download in progress": "Возможно происходит скачивание",
|
||||
"Visibility": "Видимость",
|
||||
"Desktop": "Рабочий стол",
|
||||
"Run": "Запустить",
|
||||
"Sunrise": "Рассвет",
|
||||
"Set API key": "Задать API ключ",
|
||||
"Shell windows": "Окна оболочки",
|
||||
"Cloudflare WARP (1.1.1.1)": "Cloudflare WARP (1.1.1.1)",
|
||||
"Action": "Действие",
|
||||
"Elements": "Элементы",
|
||||
"Resources": "Ресурсы",
|
||||
"**Pricing**: free. Data use policy varies depending on your OpenRouter account settings.\n\n**Instructions**: Log into OpenRouter account, go to Keys on the topright menu, click Create API Key": "**Цена**: бесплатно. Политика использования данных зависит от настроек OpenRouter.\n\n**Инструкции**: Войдите в аккаунт OpenRouter, зайдите в Keys в меню сверху справа, нажмите Create API Key",
|
||||
"Game mode": "Игровой режим",
|
||||
"Code saved to file": "Код сохранен в файл",
|
||||
"Online | Google's model\nGives up-to-date information with search.": "Онлайн | Модель Google\nДает точную информацию благодаря поиску",
|
||||
"Issues": "Проблемы",
|
||||
"Depends on sidebars": "Зависит от панелей",
|
||||
"Translation goes here...": "Здесь будет перевод...",
|
||||
"Bar style": "Стиль панели",
|
||||
"Unknown command:": "Неизвестная команда:",
|
||||
"Invalid API provider. Supported: \n-": "Неизвестный API провайдер. Поддерживаемые: \n-",
|
||||
"Clear chat history": "Очистить историю",
|
||||
"Run command": "Выполнить команду",
|
||||
"Local only": "Локальные",
|
||||
"Tonal Spot": "Тональное пятно",
|
||||
"No corresponding search model found for %1": "Не найдено поисковой модели для %1",
|
||||
"Content": "Контент",
|
||||
"Wind": "Ветер",
|
||||
"Total token count\nInput: %1\nOutput: %2": "Количество токенов\nВвод: %1\nВывод: %2",
|
||||
"Current model: %1\nSet it with %2model MODEL": "Текущая модель: %1\nСменить с помощью %2model МОДЕЛЬ",
|
||||
"Dark": "Темный",
|
||||
"Hug": "Захват",
|
||||
"Hibernate": "Гиберрнация",
|
||||
"Registration failed. Please inspect manually with the <tt>warp-cli</tt> command": "Ошибка регистрации. Проверьте вручную командой <tt>warp-cli</tt>",
|
||||
"Calendar": "Календарь",
|
||||
"Save chat to %1": "Сохранить чат в %1",
|
||||
"Finished tasks will go here": "Здесь будут выполненные задачи",
|
||||
"Set the current API provider": "Задать текущего провайдера API",
|
||||
"Weather Service": "Сервис погоды",
|
||||
"Fake screen rounding": "Фейковое округление экрана",
|
||||
"View Markdown source": "Посмотреть исходной Markdown",
|
||||
"Change any time later with /dark, /light, /img in the launcher": "Изменяется в любое время с помощью /dark, /light, /img в лаунчере",
|
||||
"Critical warning": "Критический",
|
||||
"Waifus only | Excellent quality, limited quantity": "Только вайфу | Превосходное качество, ограниченное количество",
|
||||
"Unknown function call: %1": "Неизвестный вызов функции: %1",
|
||||
"Neutral": "Нейтрал",
|
||||
"Anime": "Аниме",
|
||||
"Cannot switch to search mode from %1": "Невозможно переключиться в режим поиска из %1",
|
||||
"Useless buttons": "Бесполезные кнопочки",
|
||||
"Unfinished": "Незавершенные",
|
||||
"Privacy Policy": "Политика конфиденциальности",
|
||||
"Online via %1 | %2's model": "Онлайн через %1 | Модель %2",
|
||||
"Large images | God tier quality, no NSFW.": "Огромные изображение | Божественное качество, нету NSFW.",
|
||||
"Base URL": "Базовый URL",
|
||||
"Not visible to model": "Невидимый для модели",
|
||||
"Auto": "Авто",
|
||||
"Might look ass. Unsupported.": "Может выглядеть хуево. Не поддерживается",
|
||||
"%1 • %2 tasks": "%1 • %2 заданий",
|
||||
"Search the web": "Искать в интернете",
|
||||
"Scroll to change brightness": "Листайте, чтобы изменить яркость",
|
||||
"Invalid arguments. Must provide `key` and `value`.": "Неправильные аргументы. Нужно предоставить `key` и `value`.",
|
||||
"Settings": "Настройки",
|
||||
"Show regions of potential interest": "Показывать регионы с потенциальным интересом",
|
||||
"Pressure": "Давление",
|
||||
"No": "Нет",
|
||||
"Such regions could be images or parts of the screen that have some containment.\nMight not always be accurate.\nThis is done with an image processing algorithm run locally and no AI is used.": "Такие регионы могут быть изображениями или части экрана, которые имеют некую ограниченность.\nМожет быть неверно.\nЭто происходит с помощью алгоритма обработки изобржений локально и ИИ не используется",
|
||||
"Select Language": "Выбрать Язык",
|
||||
"Command rejected by user": "Команда отменена пользователем",
|
||||
"Approve": "Разрешить",
|
||||
"Terminal": "Терминал",
|
||||
"Search": "Поиск",
|
||||
"or": "или",
|
||||
"Experimental | Online | Google's model\nA Gemini 2.5 Flash model optimized for cost-efficiency and high throughput.": "Эксперементальная | Онлайн | Модель Google\nМодель Gemini 2.5 Flash, оптимизированная под экономию и высокую пропускную способность",
|
||||
"Uptime: %1": "Время работы: %1",
|
||||
"Save chat": "Сохранить чат",
|
||||
"Load prompt from %1": "Загрузить промпт из %1",
|
||||
"Critically low battery": "Критически низкий заряд батареи",
|
||||
"The hentai one | Great quantity, a lot of NSFW, quality varies wildly": "Хентай | Отличный выбор, качество сильно варьируется",
|
||||
"Input": "Ввод",
|
||||
"Borderless": "Безрамочный",
|
||||
"Loaded the following system prompt\n\n---\n\n%1": "Загружен следующий системный промпт\n\n---\n\n%1",
|
||||
"Thought": "Мысли",
|
||||
"Your package manager is running": "Ваш менеджер пакетов работает",
|
||||
"12h AM/PM": "12 ч. AM/PM",
|
||||
"Scale (%)": "Размер (%)",
|
||||
"Waiting for response...": "Ожидание ответа...",
|
||||
"%1 does not require an API key": "%1 не требует API ключ",
|
||||
"Edit": "Изменить",
|
||||
"Dock": "Панель задач",
|
||||
"Set with /mode PROVIDER": "Установить с помощью /mode ПРОВАЙДЕР",
|
||||
"Low warning": "Низкий",
|
||||
"Silent": "Выкл. звук",
|
||||
"Rainbow": "Радуга",
|
||||
"Anime boorus": "Аниме боору",
|
||||
"Nothing here!": "Ничего нету!",
|
||||
"Documentation": "Документация",
|
||||
"Clear": "Очистить",
|
||||
"Transparency": "Прозрачность",
|
||||
"Show background": "Показывать фон",
|
||||
"Info": "Инфо",
|
||||
"12h am/pm": "12 ч. am/pm",
|
||||
"Reload Hyprland & Quickshell": "Перезагрузить Hyprland и Quickshell",
|
||||
"%1 characters": "%1 символов",
|
||||
". Notes for Zerochan:\n- You must enter a color\n- Set your zerochan username in `sidebar.booru.zerochan.username` config option. You [might be banned for not doing so](https://www.zerochan.net/api#:~:text=The%20request%20may%20still%20be%20completed%20successfully%20without%20this%20custom%20header%2C%20but%20your%20project%20may%20be%20banned%20for%20being%20anonymous.)!": ". Напоминание для Zerochan:\n- Вы должны ввести цвет\n- Установите свой юзернейм Zerochan с помощью `sidebar.booru.zerochan.username` в конфиге. Вы [можете быть забанены, если не сделаете этого](https://www.zerochan.net/api#:~:text=The%20request%20may%20still%20be%20completed%20successfully%20without%20this%20custom%20header%2C%20but%20your%20project%20may%20be%20banned%20for%20being%20anonymous.)!",
|
||||
"For desktop wallpapers | Good quality": "Для обоев | Отличное качество",
|
||||
"Type /key to get started with online models\nCtrl+O to expand the sidebar\nCtrl+P to detach sidebar into a window": "Введите /key, чтобы начать работу с онлайн моделями\nCtrl+O для расширения панели\nCtrl+P для отсоединения панели",
|
||||
"Close": "Закрыть",
|
||||
"Search, calculate or run": "Поиск, вычислить, выполнить",
|
||||
"Add task": "Добавить задание",
|
||||
"Enable": "Включить",
|
||||
"Temperature set to %1": "Температура установлена на %1",
|
||||
"No media": "Нет медиа",
|
||||
"Screen snip": "Скриншот",
|
||||
"Go to source (%1)": "Перейти к источнику (%1)",
|
||||
"Download": "Скачать",
|
||||
"Sunset": "Закат",
|
||||
"Weeb": "Аниме",
|
||||
"The current system prompt is\n\n---\n\n%1": "Текущий системный промпт\n\n---\n\n%1",
|
||||
"Scroll to change volume": "Листайте, чтобы изменить громкость",
|
||||
"Unknown Title": "Неизвестное Название",
|
||||
"Policies": "Политики",
|
||||
"Disable NSFW content": "Отключить NSFW контент",
|
||||
"The current API used. Endpoint:": "Текущий используемый API. Точка входа:",
|
||||
"Humidity": "Влажность",
|
||||
"Cheat sheet": "Шпаргалка",
|
||||
"Translator": "Переводчик",
|
||||
"Be patient...": "Подождите...",
|
||||
"Experimental | Online | Google's model\nCan do a little more but takes an extra turn to perform search": "Эксперементальная | Онлайн | Модель Google\nМожет сделать чуть больше, но нужен дополнительный запрос для поиска",
|
||||
"Audio": "Аудио",
|
||||
"Preferred wallpaper zoom (%)": "Предпочитаемый зум обоев (%)",
|
||||
"Model set to %1": "Установлена модель %1",
|
||||
"Enter text to translate...": "Введите текст для перевода...",
|
||||
"Use Levenshtein distance-based algorithm instead of fuzzy": "Использовать алгоритм, основанный на расстоянии Левенштейна,\n вместо нечёткого сопоставления.",
|
||||
"Depends on workspace": "Зависит от пространства",
|
||||
"All-rounder | Good quality, decent quantity": "Универсальный | Хорошее качество и количество",
|
||||
"Timeout (ms)": "Таймаут (мс)",
|
||||
"Plain rectangle": "Обычный прямоугольник",
|
||||
"No API key\nSet it with /key YOUR_API_KEY": "Нет API ключа.\nУстановите его с помощью /key ВАШ_КЛЮЧ_API",
|
||||
"Center title": "Центрировать название",
|
||||
"Buttons": "Кнопки",
|
||||
"Copy code": "Скопировать код",
|
||||
"Precipitation": "Осадки",
|
||||
"The popular one | Best quantity, but quality can vary wildly": "Популярный | Огромный выбор, но качество сильно варьируется",
|
||||
"Temperature: %1": "Температура: %1",
|
||||
"Qt apps": "Qt",
|
||||
"Delete": "Удалить",
|
||||
"Saved to %1": "Сохранено в %1",
|
||||
"Temperature\nChange with /temp VALUE": "Температура\nИзмените с помощью /temp ЗНАЧЕНИЕ",
|
||||
"App": "Приложение",
|
||||
"Bluetooth": "Bluetooth",
|
||||
"Current API endpoint: %1\nSet it with %2mode PROVIDER": "Текущий API: %1\nИзменить с помощью %2mode ПРОВАЙДЕР",
|
||||
"Cancel": "Отменить",
|
||||
"Clean stuff | Excellent quality, no NSFW": "Чистый контент | Превосходное качество, нету NSFW",
|
||||
"Wallpaper": "Обои",
|
||||
"Provider set to": "Провайдер установлен на",
|
||||
"Weather": "Погода",
|
||||
"24h": "24 ч.",
|
||||
"Show next time": " Показать в следующий раз",
|
||||
"Unknown": "Неизвестно",
|
||||
"Launch": "Запустить",
|
||||
"Overview": "Обзор",
|
||||
"Help & Support": "Помощь и поддержка",
|
||||
"Night Light | Right-click to toggle Auto mode": "Ночной свет | ПКМ для переключения Авто режима",
|
||||
"Web search": "Веб-поиск",
|
||||
"Cannot find a GPS service. Using the fallback method instead.": "Не удалось найти GPS сервис. Используем запасный вариант.",
|
||||
"Large language models": "Большие языковые модели",
|
||||
"Dotfiles": "Дотфайлы",
|
||||
"When not fullscreen": "Когда не в полноэкранном режиме",
|
||||
"Screenshot tool": "Инструмент скриншотов",
|
||||
"Get the next page of results": "Получить резултаты следующей страницы",
|
||||
"Drag or click a region • LMB: Copy • RMB: Edit": "Проведите или кликните на регион • ЛКМ: Скопировать • ПКМ: Редактировать",
|
||||
"Material palette": "Материальная палитра",
|
||||
"Columns": "Столбцы",
|
||||
"Bar": "Панель",
|
||||
"Max allowed increase": "Макс. рост",
|
||||
"Always show numbers": "Всегда показывать номера",
|
||||
"%1 notifications": "%1 уведомлений",
|
||||
"Rows": "Ряды",
|
||||
"Invalid arguments. Must provide `command`.": "Неправильный аргумент. Нужно предоставить `command`.",
|
||||
"System": "Система",
|
||||
"Shell & utilities theming must also be enabled": "Расцветка оболочки также должна быть включена.",
|
||||
"%1 queries pending": "%1 запросов в очереди",
|
||||
"Copy": "Скопировать",
|
||||
"Logout": "Выход",
|
||||
"Pinned on startup": "Закреплена на запуске",
|
||||
"%1 | Right-click to configure": "%1 | ПКМ, чтобы настроить",
|
||||
"Donate": "Задонатить",
|
||||
"Temperature must be between 0 and 2": "Температура должна быть между 0 и 2",
|
||||
"Session": "Сессия",
|
||||
"Mic toggle": "Перекл. микрофон",
|
||||
"Reboot to firmware settings": "Перезагрузиться в настройки BIOS/UEFI",
|
||||
"Low battery": "Низкий",
|
||||
"Usage": "Использование",
|
||||
"Notifications": "Уведомления",
|
||||
"Consider plugging in your device": "Задумайтесь о подключении ПК к источнику питания",
|
||||
"Cloudflare WARP": "Cloudflare WARP",
|
||||
"Automatically suspends the system when battery is low": "Автоматически переходит в режим сна когда заряд низкий",
|
||||
"Services": "Сервисы",
|
||||
"Thinking": "Думаю",
|
||||
"Color generation": "Генерация цветов",
|
||||
"Number show delay when pressing Super (ms)": "Задержка показа номеров при нажатии Super (мс)",
|
||||
"illogical-impulse Welcome": "Добро пожаловать в illogical-impulse",
|
||||
"User agent (for services that require it)": "User agent (для сервисов, которым он нужен)",
|
||||
"Appearance": "Внешний вид",
|
||||
"On-screen display": "On-screen display",
|
||||
"Download complete": "Загрузка завершена",
|
||||
"Time": "Время",
|
||||
"Float": "Поверх",
|
||||
"Pick wallpaper image on your system": "Выберите изображение для обоев на своём ПК",
|
||||
"Prevents abrupt increments and restricts volume limit": "Предотвращает резкие увеличения громкости и закрепляет лимит громоксти",
|
||||
"Unknown Album": "Неизвестный Альбом",
|
||||
"Math result": "Результат вычисления",
|
||||
"Random SFW Anime wallpaper from Konachan\nImage is saved to ~/Pictures/Wallpapers": "Случайные SFW обои с Konachan\nИзображение сохраняются в ~/Изображения/Wallpapers",
|
||||
"Could be better if you make a ton of typos,\nbut results can be weird and might not work with acronyms\n(e.g. \"GIMP\" might not give you the paint program)": "Может быть лучше, если вы сделаете много ошибок,\nно результаты могут быть странными и могут не работать с сокращениями (т.е. \"GIMP\" не выдаст программу для рисования)",
|
||||
"Select output device": "Выберите динамики",
|
||||
"Set the system prompt for the model.": "Задать системный промпт для этой модели.",
|
||||
"Choose file": "Выберите файл",
|
||||
"Choose model": "Выберите модель",
|
||||
"Tip: Hide icons and always show numbers for\nthe classic illogical-impulse experience": "Подсказка: Включите \"Показывать иконик \" и \"Всегда показывать номера\"\nдля классического опыта illogical-impulse",
|
||||
"Yes": "Да",
|
||||
"Local Ollama model | %1": "Локальная модель Ollama | %1",
|
||||
"API key set for %1": "API ключ установлен на %1",
|
||||
"Format": "Формат",
|
||||
"Colors & Wallpaper": "Цвета и Обои",
|
||||
"Note: turning off can hurt readability": "Подсказка: отключение может повредить читабельность",
|
||||
"illogical-impulse": "illogical-impulse",
|
||||
"Automatic suspend": "Авто-сон",
|
||||
"Random: Konachan": "Рандом: Konachan",
|
||||
"Workspace": "Рабочее пространство",
|
||||
"About": "О системе",
|
||||
"Color picker": "Пипетка",
|
||||
"Report a Bug": "Сообщить об ошибке",
|
||||
"Volume limit": "Лимит громкости",
|
||||
"GitHub": "GitHub",
|
||||
"Prefixes": "Префиксы",
|
||||
"Done": "Готово",
|
||||
"Invalid model. Supported: \n```": "Неправильная модель. Доступны: \n```",
|
||||
"To set an API key, pass it with the command\n\nTo view the key, pass \"get\" with the command<br/>\n\n### For %1:\n\n**Link**: %2\n\n%3": "Чтобы установить API ключ, добавьте ее к команде\n\nЧтобы просмотреть ключ, добавьте \"get\" к команде<br/>\n\n### Для %1:\n\n**Ссылка**: %2\n\n%3",
|
||||
"UV Index": "УФ-индекс",
|
||||
"Clear the current list of images": "Очистить список изображений",
|
||||
"No audio source": "Нет источников аудио",
|
||||
"API key:\n\n```txt\n%1\n```": "API ключ:\n\n```txt\n%1\n```",
|
||||
"For storing API keys and other sensitive information": "Для хранения API ключей и другой чувствительной информации",
|
||||
"Arrow keys to navigate, Enter to select\nEsc or click anywhere to cancel": "Стрелочки для навигации, Enter для выбора\nEsc или клик везде чтобы отменить",
|
||||
"Networking": "Сеть",
|
||||
"Keep system awake": "Держать ПК включённым",
|
||||
"Polling interval (ms)": "Интервал опроса (мс)",
|
||||
"To Do": "Задачи",
|
||||
"Workspaces": "Рабочие пространства",
|
||||
"That didn't work. Tips:\n- Check your tags and NSFW settings\n- If you don't have a tag in mind, type a page number": "Это не сработало. Подсказки:\n- Проверьте теги и настройки NSFW\n- Если на уме нету тегов, введите номер страницы",
|
||||
"Jump to current month": "Перейти к текущему месяцу",
|
||||
"Enter tags, or \"%1\" for commands": "Введите теги, или \"%1\" для команд",
|
||||
"No API key set for %1": "API ключ не установлен для %1",
|
||||
"Allow NSFW content": "Разрешить NSFW контент",
|
||||
"Save to Downloads": "Сохранить в загрузки",
|
||||
"Light": "Светлый",
|
||||
"Keyboard toggle": "Экранная клавиатура",
|
||||
"Night Light": "Night Light",
|
||||
"We": "Ср/*keep*/",
|
||||
"Mo": "Пн/*keep*/",
|
||||
"Su": "Вс/*keep*/",
|
||||
"Th": "Чт/*keep*/",
|
||||
"Tu": "Вт/*keep*/",
|
||||
"Experimental | Online | Google's model\nCan do a little more but doesn't search quickly": "Эксперементальная | Онлайн | Модель Google\nМожет немного больше но не ищет очень быстро",
|
||||
"Sa": "Сб/*keep*/",
|
||||
"Chain of Thought": "Цепочка мыслей",
|
||||
"Fr": "Пт/*keep*/",
|
||||
"Usage: %1load CHAT_NAME": "Использование: %1load ИМЯ_ЧАТА",
|
||||
"Tool set to %1": "Установлен инструмент %1",
|
||||
"Set the tool to use for the model.": "Установите инструмент для этой модели.",
|
||||
"Invalid tool. Supported tools:\n- %1": "Неправильный инструмент. Доступны:\n- %1",
|
||||
"Usage: %1tool TOOL_NAME": "Использование: %1tool ИНСТРУМЕНТ",
|
||||
"Performance Profile toggle": "Профили производительности",
|
||||
"Usage: %1save CHAT_NAME": "Использование: %1save ИМЯ_ЧАТА",
|
||||
"Online | Google's model\nA Gemini 2.5 Flash model optimized for cost-efficiency and high throughput.": "Онлайн | Модель Google\nМодель Gemini 2.5 Flash оптимизирована под меньшие затраты и высокую производительнность",
|
||||
"Online | Google's model\nNewer model that's slower than its predecessor but should deliver higher quality answers": "Онлайн | Модель Google\nНовая модель, которая медленее, чем ее предшественник, но выдает лучшее качество",
|
||||
"Online | Google's model\nFast, can perform searches for up-to-date information": "Онлайн | Модель Google\nБыстрая, может выполнять поиск актуальной информации",
|
||||
"Current tool: %1\nSet it with %2tool TOOL": "Текущий инструмент: %1\nИзменяется с помощью %2tool ИНСТРУМЕНТ"
|
||||
}
|
||||
@@ -0,0 +1,285 @@
|
||||
# Translation Management Tool Suite
|
||||
|
||||
This suite is used to manage project translation files, automatically extract translatable texts, compare differences between language files, and provide maintenance functions.
|
||||
|
||||
## Tool Components
|
||||
|
||||
### 1. `translation-manager.py` - Main Translation Manager
|
||||
- Extract translatable texts
|
||||
- Compare and update translation files
|
||||
- Interactive addition/removal of translation keys
|
||||
|
||||
### 2. `translation-cleaner.py` - Translation File Maintenance Tool
|
||||
- Clean unused translation keys
|
||||
- Synchronize key structure across different language files
|
||||
|
||||
### 3. `manage-translations.sh` - Convenient Wrapper Script
|
||||
- Provides a unified command-line interface
|
||||
- Displays translation status
|
||||
- Simplifies common operations
|
||||
|
||||
## Quick Start
|
||||
|
||||
### Using the Wrapper Script (Recommended)
|
||||
|
||||
```bash
|
||||
# Enter the tools directory
|
||||
cd .config/quickshell/translations/tools
|
||||
|
||||
# Show help
|
||||
./manage-translations.sh --help
|
||||
|
||||
# Show current translation status
|
||||
./manage-translations.sh status
|
||||
|
||||
# Extract translatable texts
|
||||
./manage-translations.sh extract
|
||||
|
||||
# Update all translation files
|
||||
./manage-translations.sh update
|
||||
|
||||
# Update a specific language
|
||||
./manage-translations.sh update -l zh_CN
|
||||
|
||||
# Clean unused keys
|
||||
./manage-translations.sh clean
|
||||
|
||||
# Synchronize keys across all language files
|
||||
./manage-translations.sh sync
|
||||
```
|
||||
|
||||
Or run from the project root:
|
||||
```bash
|
||||
# Run from the project root
|
||||
.config/quickshell/translations/tools/manage-translations.sh status
|
||||
.config/quickshell/translations/tools/manage-translations.sh update
|
||||
```
|
||||
|
||||
## Detailed Usage
|
||||
|
||||
### Translation Manager (`translation-manager.py`)
|
||||
|
||||
Basic usage:
|
||||
```bash
|
||||
# Process all languages
|
||||
./translation-manager.py
|
||||
|
||||
# Specify a particular language
|
||||
./translation-manager.py --language zh_CN
|
||||
|
||||
# Extract translatable texts only
|
||||
./translation-manager.py --extract-only
|
||||
|
||||
# Show extracted texts
|
||||
./translation-manager.py --extract-only --show-temp
|
||||
```
|
||||
|
||||
Parameter description:
|
||||
- `--translations-dir`, `-t`: Translation files directory (default: `.config/quickshell/translations`)
|
||||
- `--source-dir`, `-s`: Source code directory (default: `.config/quickshell`)
|
||||
- `--language`, `-l`: Specify the language code to process
|
||||
- `--extract-only`, `-e`: Only extract translatable texts
|
||||
- `--show-temp`: Show the content of the temporary extraction file
|
||||
|
||||
### Translation Cleaner (`translation-cleaner.py`)
|
||||
|
||||
```bash
|
||||
# Clean unused translation keys
|
||||
./translation-cleaner.py --clean
|
||||
|
||||
# Synchronize translation keys (using en_US as the base)
|
||||
./translation-cleaner.py --sync
|
||||
|
||||
# Specify a different source language for syncing
|
||||
./translation-cleaner.py --sync --source-lang zh_CN
|
||||
|
||||
# Clean without creating backups
|
||||
./translation-cleaner.py --clean --no-backup
|
||||
```
|
||||
|
||||
## Workflow
|
||||
|
||||
### Regular Translation Update Workflow
|
||||
|
||||
1. **Check status**:
|
||||
```bash
|
||||
./manage-translations.sh status
|
||||
```
|
||||
|
||||
2. **Update translations**:
|
||||
```bash
|
||||
./manage-translations.sh update
|
||||
```
|
||||
|
||||
3. **Clean unused keys** (optional):
|
||||
```bash
|
||||
./manage-translations.sh clean
|
||||
```
|
||||
|
||||
### Adding a New Language
|
||||
|
||||
1. **Create a new language file**:
|
||||
```bash
|
||||
./manage-translations.sh update -l new_lang
|
||||
```
|
||||
|
||||
2. **Synchronize key structure**:
|
||||
```bash
|
||||
./manage-translations.sh sync
|
||||
```
|
||||
|
||||
### Cleanup After Large Refactoring
|
||||
|
||||
1. **Backup translation files**:
|
||||
```bash
|
||||
cp -r .config/quickshell/translations .config/quickshell/translations.backup
|
||||
```
|
||||
|
||||
2. **Clean unused keys**:
|
||||
```bash
|
||||
./manage-translations.sh clean
|
||||
```
|
||||
|
||||
3. **Synchronize all languages**:
|
||||
```bash
|
||||
./manage-translations.sh sync
|
||||
```
|
||||
|
||||
## Supported Translatable Text Formats
|
||||
|
||||
The tool recognizes the following formats for translatable texts:
|
||||
|
||||
```qml
|
||||
// Basic format
|
||||
Translation.tr("Hello, world!")
|
||||
Translation.tr('Hello, world!')
|
||||
Translation.tr(`Hello, world!`)
|
||||
|
||||
// With line breaks
|
||||
Translation.tr("Line 1\nLine 2")
|
||||
|
||||
// With escape characters
|
||||
Translation.tr("Say \"Hello\"")
|
||||
|
||||
// With parameter placeholders
|
||||
Translation.tr("Hello, %1!").arg(name)
|
||||
```
|
||||
|
||||
## Example Output
|
||||
|
||||
### Status Display
|
||||
```
|
||||
$ ./manage-translations.sh status
|
||||
Analyzing translation status...
|
||||
=== Current Project Status ===
|
||||
166 translatable texts extracted
|
||||
|
||||
=== Translation File Status ===
|
||||
en_US: 470 keys
|
||||
zh_CN: 470 keys
|
||||
```
|
||||
|
||||
### Update Translations
|
||||
```
|
||||
$ ./manage-translations.sh update -l zh_CN
|
||||
Updating translation files...
|
||||
==================================================
|
||||
Processing language: zh_CN
|
||||
==================================================
|
||||
Analysis result:
|
||||
Missing keys: 5
|
||||
Extra keys: 20
|
||||
|
||||
Found 5 missing translation keys:
|
||||
1. "New feature text"
|
||||
2. "Another new text"
|
||||
...
|
||||
|
||||
Add these 5 missing keys? (y/n): y
|
||||
5 keys added
|
||||
|
||||
Found 20 extra translation keys:
|
||||
1. "Removed old text" -> "已删除的旧文本"
|
||||
...
|
||||
|
||||
Delete these 20 extra keys? (y/n): y
|
||||
20 keys deleted
|
||||
|
||||
Translation file saved
|
||||
```
|
||||
|
||||
### Clean Unused Keys
|
||||
```
|
||||
$ ./manage-translations.sh clean
|
||||
Cleaning unused translation keys...
|
||||
Processing language: zh_CN
|
||||
Found 50 unused keys:
|
||||
1. "old_unused_text"
|
||||
2. "deprecated_message"
|
||||
...
|
||||
|
||||
Delete these 50 unused keys? (y/n): y
|
||||
50 keys deleted
|
||||
Original key count: 470, after cleaning: 420
|
||||
```
|
||||
|
||||
## Advanced Features
|
||||
|
||||
### Custom Directory Structure
|
||||
|
||||
```bash
|
||||
# Use custom directories
|
||||
./translation-manager.py \
|
||||
--translations-dir /path/to/translations \
|
||||
--source-dir /path/to/source
|
||||
```
|
||||
|
||||
### Ignore Mark Feature
|
||||
|
||||
For dynamic resources or special texts that should not be automatically cleaned, you can add `/*keep*/` at the end of the translation value. The tool will automatically ignore these keys and will not delete them during cleaning or syncing.
|
||||
|
||||
Example:
|
||||
```json
|
||||
{
|
||||
"dynamic_key": "Some dynamic value /*keep*/"
|
||||
}
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
1. **Backup is important**: The tool automatically creates backups before cleaning, but it is recommended to manually back up important files
|
||||
|
||||
2. **Text extraction limitations**:
|
||||
- ~~Only supports static strings, not dynamically constructed strings~~
|
||||
- Dynamic resources (such as variable concatenation or runtime-generated text) cannot be automatically extracted. You need to manually add them to the translation file and use the `/*keep*/` mark for ignore management.
|
||||
- Must use the `Translation.tr()` format
|
||||
|
||||
3. **File encoding**: All files must use UTF-8 encoding
|
||||
|
||||
4. **Key naming conventions**: It is recommended to use English for key names and avoid special characters
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Common Issues
|
||||
|
||||
**Q: Text does not appear after adding Translation.tr?**
|
||||
A: You need to import the translation feature in your QML file using `import "root:/"`, otherwise the translation text will not be displayed correctly.
|
||||
|
||||
**Q: The number of extracted texts does not match expectations?**
|
||||
A: Check whether all translatable texts use the `Translation.tr()` format and ensure there are no dynamically constructed strings.
|
||||
|
||||
**Q: Some translations are missing after syncing?**
|
||||
A: Check whether the source language file contains all necessary keys, and consider using a different source language for syncing.
|
||||
|
||||
**Q: The cleaning operation deleted needed keys?**
|
||||
A: Restore from the automatically created backup file and check whether `Translation.tr()` is used correctly in the source code.
|
||||
|
||||
### Restore Backup
|
||||
|
||||
```bash
|
||||
# Restore a single file
|
||||
cp .config/quickshell/translations/zh_CN.json.backup .config/quickshell/translations/zh_CN.json
|
||||
|
||||
# Restore all files
|
||||
cp .config/quickshell/translations.backup/* .config/quickshell/translations/
|
||||
```
|
||||
@@ -0,0 +1,286 @@
|
||||
# 翻译管理工具套件
|
||||
|
||||
这套工具用于管理项目的翻译文件,自动提取可翻译文本,比较不同语言文件之间的差异,并提供维护功能。
|
||||
|
||||
## 工具组成
|
||||
|
||||
### 1. `translation-manager.py` - 主要翻译管理器
|
||||
- 提取可翻译文本
|
||||
- 比较和更新翻译文件
|
||||
- 交互式添加/删除翻译键
|
||||
|
||||
### 2. `translation-cleaner.py` - 翻译文件维护工具
|
||||
- 清理不再使用的翻译键
|
||||
- 同步不同语言文件的键结构
|
||||
|
||||
### 3. `manage-translations.sh` - 便捷包装脚本
|
||||
- 提供统一的命令行界面
|
||||
- 显示翻译状态
|
||||
- 简化常用操作
|
||||
|
||||
## 快速开始
|
||||
|
||||
### 使用便捷脚本(推荐)
|
||||
|
||||
```bash
|
||||
# 进入工具目录
|
||||
cd .config/quickshell/translations/tools
|
||||
|
||||
# 查看帮助
|
||||
./manage-translations.sh --help
|
||||
|
||||
# 显示当前翻译状态
|
||||
./manage-translations.sh status
|
||||
|
||||
# 提取可翻译文本
|
||||
./manage-translations.sh extract
|
||||
|
||||
# 更新所有翻译文件
|
||||
./manage-translations.sh update
|
||||
|
||||
# 更新特定语言
|
||||
./manage-translations.sh update -l zh_CN
|
||||
|
||||
# 清理不再使用的键
|
||||
./manage-translations.sh clean
|
||||
|
||||
# 同步所有语言文件的键
|
||||
./manage-translations.sh sync
|
||||
```
|
||||
|
||||
或者从项目根目录运行:
|
||||
```bash
|
||||
# 从项目根目录运行
|
||||
.config/quickshell/translations/tools/manage-translations.sh status
|
||||
.config/quickshell/translations/tools/manage-translations.sh update
|
||||
```
|
||||
|
||||
## 详细使用说明
|
||||
|
||||
### 翻译管理器 (`translation-manager.py`)
|
||||
|
||||
基本用法:
|
||||
```bash
|
||||
# 处理所有语言
|
||||
./translation-manager.py
|
||||
|
||||
# 指定特定语言
|
||||
./translation-manager.py --language zh_CN
|
||||
|
||||
# 仅提取可翻译文本
|
||||
./translation-manager.py --extract-only
|
||||
|
||||
# 显示提取的文本
|
||||
./translation-manager.py --extract-only --show-temp
|
||||
```
|
||||
|
||||
参数说明:
|
||||
- `--translations-dir`, `-t`: 翻译文件目录(默认:`.config/quickshell/translations`)
|
||||
- `--source-dir`, `-s`: 源代码目录(默认:`.config/quickshell`)
|
||||
- `--language`, `-l`: 指定要处理的语言代码
|
||||
- `--extract-only`, `-e`: 仅提取可翻译文本
|
||||
- `--show-temp`: 显示临时提取文件的内容
|
||||
|
||||
### 翻译清理器 (`translation-cleaner.py`)
|
||||
|
||||
```bash
|
||||
# 清理不再使用的翻译键
|
||||
./translation-cleaner.py --clean
|
||||
|
||||
# 同步翻译键(以 en_US 为基准)
|
||||
./translation-cleaner.py --sync
|
||||
|
||||
# 指定不同的源语言进行同步
|
||||
./translation-cleaner.py --sync --source-lang zh_CN
|
||||
|
||||
# 清理时不创建备份
|
||||
./translation-cleaner.py --clean --no-backup
|
||||
```
|
||||
|
||||
## 工作流程
|
||||
|
||||
### 日常翻译更新流程
|
||||
|
||||
1. **检查状态**:
|
||||
```bash
|
||||
./manage-translations.sh status
|
||||
```
|
||||
|
||||
2. **更新翻译**:
|
||||
```bash
|
||||
./manage-translations.sh update
|
||||
```
|
||||
|
||||
3. **清理无用键**(可选):
|
||||
```bash
|
||||
./manage-translations.sh clean
|
||||
```
|
||||
|
||||
### 新增语言流程
|
||||
|
||||
1. **创建新语言文件**:
|
||||
```bash
|
||||
./manage-translations.sh update -l new_lang
|
||||
```
|
||||
|
||||
2. **同步键结构**:
|
||||
```bash
|
||||
./manage-translations.sh sync
|
||||
```
|
||||
|
||||
### 大规模重构后的清理流程
|
||||
|
||||
1. **备份翻译文件**:
|
||||
```bash
|
||||
cp -r .config/quickshell/translations .config/quickshell/translations.backup
|
||||
```
|
||||
|
||||
2. **清理无用键**:
|
||||
```bash
|
||||
./manage-translations.sh clean
|
||||
```
|
||||
|
||||
3. **同步所有语言**:
|
||||
```bash
|
||||
./manage-translations.sh sync
|
||||
```
|
||||
|
||||
## 支持的翻译文本格式
|
||||
|
||||
工具可以识别以下格式的可翻译文本:
|
||||
|
||||
```qml
|
||||
// 基本格式
|
||||
Translation.tr("Hello, world!")
|
||||
Translation.tr('Hello, world!')
|
||||
Translation.tr(`Hello, world!`)
|
||||
|
||||
// 带换行符
|
||||
Translation.tr("Line 1\nLine 2")
|
||||
|
||||
// 带转义字符
|
||||
Translation.tr("Say \"Hello\"")
|
||||
|
||||
// 带参数占位符
|
||||
Translation.tr("Hello, %1!").arg(name)
|
||||
```
|
||||
|
||||
## 示例输出
|
||||
|
||||
### 状态显示
|
||||
```
|
||||
$ ./manage-translations.sh status
|
||||
正在分析翻译状态...
|
||||
=== 当前项目状态 ===
|
||||
提取到 166 个可翻译文本
|
||||
|
||||
=== 翻译文件状态 ===
|
||||
en_US: 470 个键
|
||||
zh_CN: 470 个键
|
||||
```
|
||||
|
||||
### 更新翻译
|
||||
```
|
||||
$ ./manage-translations.sh update -l zh_CN
|
||||
更新翻译文件...
|
||||
==================================================
|
||||
处理语言: zh_CN
|
||||
==================================================
|
||||
分析结果:
|
||||
缺少的键: 5
|
||||
多余的键: 20
|
||||
|
||||
发现 5 个缺少的翻译键:
|
||||
1. "New feature text"
|
||||
2. "Another new text"
|
||||
...
|
||||
|
||||
是否添加这 5 个缺少的键? (y/n): y
|
||||
已添加 5 个键
|
||||
|
||||
发现 20 个多余的翻译键:
|
||||
1. "Removed old text" -> "已删除的旧文本"
|
||||
...
|
||||
|
||||
是否删除这 20 个多余的键? (y/n): y
|
||||
已删除 20 个键
|
||||
|
||||
已保存翻译文件
|
||||
```
|
||||
|
||||
### 清理无用键
|
||||
```
|
||||
$ ./manage-translations.sh clean
|
||||
清理不再使用的翻译键...
|
||||
处理语言: zh_CN
|
||||
发现 50 个不再使用的键:
|
||||
1. "old_unused_text"
|
||||
2. "deprecated_message"
|
||||
...
|
||||
|
||||
是否删除这 50 个不再使用的键? (y/n): y
|
||||
已删除 50 个键
|
||||
原始键数: 470, 清理后: 420
|
||||
```
|
||||
|
||||
## 高级功能
|
||||
|
||||
### 自定义目录结构
|
||||
|
||||
```bash
|
||||
# 使用自定义目录
|
||||
./translation-manager.py \
|
||||
--translations-dir /path/to/translations \
|
||||
--source-dir /path/to/source
|
||||
```
|
||||
|
||||
|
||||
## 注意事项
|
||||
|
||||
1. **备份重要**:在执行清理操作前,工具会自动创建备份,但建议手动备份重要文件
|
||||
|
||||
2. **文本提取限制**:
|
||||
- ~~只支持静态字符串,不支持动态构建的字符串~~
|
||||
- 动态资源(如变量拼接、运行时生成的文本)无法自动提取,需要在翻译文件中手动添加,并使用 `/*keep*/` 标记进行忽略管理。
|
||||
- 必须使用 `Translation.tr()` 格式
|
||||
### 忽略标记功能
|
||||
|
||||
对于动态资源或特殊文本,如果不希望被自动清理,可在翻译值末尾添加 `/*keep*/`,工具会自动忽略这些键,不会在清理和同步时删除。
|
||||
|
||||
示例:
|
||||
```json
|
||||
{
|
||||
"dynamic_key": "Some dynamic value /*keep*/"
|
||||
}
|
||||
```
|
||||
|
||||
3. **文件编码**:所有文件必须使用 UTF-8 编码
|
||||
|
||||
4. **键名规范**:建议使用英文作为键名,避免使用特殊字符
|
||||
|
||||
## 故障排除
|
||||
|
||||
### 常见问题
|
||||
|
||||
|
||||
**Q: 添加了 Translation.tr 后文字不显示?**
|
||||
A: 需要在 QML 文件中使用 `import "root:/"` 导入翻译功能,否则无法正常显示翻译文本。
|
||||
|
||||
**Q: 提取的文本数量与预期不符?**
|
||||
A: 检查是否所有可翻译文本都使用了 `Translation.tr()` 格式,确保没有动态构建的字符串。
|
||||
|
||||
**Q: 同步后某些翻译丢失?**
|
||||
A: 检查源语言文件是否包含所有必要的键,考虑使用不同的源语言进行同步。
|
||||
|
||||
**Q: 清理操作删除了需要的键?**
|
||||
A: 从自动创建的备份文件中恢复,检查源代码中是否正确使用了 `Translation.tr()`。
|
||||
|
||||
### 恢复备份
|
||||
|
||||
```bash
|
||||
# 恢复单个文件
|
||||
cp .config/quickshell/translations/zh_CN.json.backup .config/quickshell/translations/zh_CN.json
|
||||
|
||||
# 恢复所有文件
|
||||
cp .config/quickshell/translations.backup/* .config/quickshell/translations/
|
||||
```
|
||||
@@ -0,0 +1,285 @@
|
||||
# Translation Management Tool Suite
|
||||
|
||||
This suite is used to manage project translation files, automatically extract translatable texts, compare differences between language files, and provide maintenance functions.
|
||||
|
||||
## Tool Components
|
||||
|
||||
### 1. `translation-manager.py` - Main Translation Manager
|
||||
- Extract translatable texts
|
||||
- Compare and update translation files
|
||||
- Interactive addition/removal of translation keys
|
||||
|
||||
### 2. `translation-cleaner.py` - Translation File Maintenance Tool
|
||||
- Clean unused translation keys
|
||||
- Synchronize key structure across different language files
|
||||
|
||||
### 3. `manage-translations.sh` - Convenient Wrapper Script
|
||||
- Provides a unified command-line interface
|
||||
- Displays translation status
|
||||
- Simplifies common operations
|
||||
|
||||
## Quick Start
|
||||
|
||||
### Using the Wrapper Script (Recommended)
|
||||
|
||||
```bash
|
||||
# Enter the tools directory
|
||||
cd .config/quickshell/translations/tools
|
||||
|
||||
# Show help
|
||||
./manage-translations.sh --help
|
||||
|
||||
# Show current translation status
|
||||
./manage-translations.sh status
|
||||
|
||||
# Extract translatable texts
|
||||
./manage-translations.sh extract
|
||||
|
||||
# Update all translation files
|
||||
./manage-translations.sh update
|
||||
|
||||
# Update a specific language
|
||||
./manage-translations.sh update -l zh_CN
|
||||
|
||||
# Clean unused keys
|
||||
./manage-translations.sh clean
|
||||
|
||||
# Synchronize keys across all language files
|
||||
./manage-translations.sh sync
|
||||
```
|
||||
|
||||
Or run from the project root:
|
||||
```bash
|
||||
# Run from the project root
|
||||
.config/quickshell/translations/tools/manage-translations.sh status
|
||||
.config/quickshell/translations/tools/manage-translations.sh update
|
||||
```
|
||||
|
||||
## Detailed Usage
|
||||
|
||||
### Translation Manager (`translation-manager.py`)
|
||||
|
||||
Basic usage:
|
||||
```bash
|
||||
# Process all languages
|
||||
./translation-manager.py
|
||||
|
||||
# Specify a particular language
|
||||
./translation-manager.py --language zh_CN
|
||||
|
||||
# Extract translatable texts only
|
||||
./translation-manager.py --extract-only
|
||||
|
||||
# Show extracted texts
|
||||
./translation-manager.py --extract-only --show-temp
|
||||
```
|
||||
|
||||
Parameter description:
|
||||
- `--translations-dir`, `-t`: Translation files directory (default: `.config/quickshell/translations`)
|
||||
- `--source-dir`, `-s`: Source code directory (default: `.config/quickshell`)
|
||||
- `--language`, `-l`: Specify the language code to process
|
||||
- `--extract-only`, `-e`: Only extract translatable texts
|
||||
- `--show-temp`: Show the content of the temporary extraction file
|
||||
|
||||
### Translation Cleaner (`translation-cleaner.py`)
|
||||
|
||||
```bash
|
||||
# Clean unused translation keys
|
||||
./translation-cleaner.py --clean
|
||||
|
||||
# Synchronize translation keys (using en_US as the base)
|
||||
./translation-cleaner.py --sync
|
||||
|
||||
# Specify a different source language for syncing
|
||||
./translation-cleaner.py --sync --source-lang zh_CN
|
||||
|
||||
# Clean without creating backups
|
||||
./translation-cleaner.py --clean --no-backup
|
||||
```
|
||||
|
||||
## Workflow
|
||||
|
||||
### Regular Translation Update Workflow
|
||||
|
||||
1. **Check status**:
|
||||
```bash
|
||||
./manage-translations.sh status
|
||||
```
|
||||
|
||||
2. **Update translations**:
|
||||
```bash
|
||||
./manage-translations.sh update
|
||||
```
|
||||
|
||||
3. **Clean unused keys** (optional):
|
||||
```bash
|
||||
./manage-translations.sh clean
|
||||
```
|
||||
|
||||
### Adding a New Language
|
||||
|
||||
1. **Create a new language file**:
|
||||
```bash
|
||||
./manage-translations.sh update -l new_lang
|
||||
```
|
||||
|
||||
2. **Synchronize key structure**:
|
||||
```bash
|
||||
./manage-translations.sh sync
|
||||
```
|
||||
|
||||
### Cleanup After Large Refactoring
|
||||
|
||||
1. **Backup translation files**:
|
||||
```bash
|
||||
cp -r .config/quickshell/translations .config/quickshell/translations.backup
|
||||
```
|
||||
|
||||
2. **Clean unused keys**:
|
||||
```bash
|
||||
./manage-translations.sh clean
|
||||
```
|
||||
|
||||
3. **Synchronize all languages**:
|
||||
```bash
|
||||
./manage-translations.sh sync
|
||||
```
|
||||
|
||||
## Supported Translatable Text Formats
|
||||
|
||||
The tool recognizes the following formats for translatable texts:
|
||||
|
||||
```qml
|
||||
// Basic format
|
||||
Translation.tr("Hello, world!")
|
||||
Translation.tr('Hello, world!')
|
||||
Translation.tr(`Hello, world!`)
|
||||
|
||||
// With line breaks
|
||||
Translation.tr("Line 1\nLine 2")
|
||||
|
||||
// With escape characters
|
||||
Translation.tr("Say \"Hello\"")
|
||||
|
||||
// With parameter placeholders
|
||||
Translation.tr("Hello, %1!").arg(name)
|
||||
```
|
||||
|
||||
## Example Output
|
||||
|
||||
### Status Display
|
||||
```
|
||||
$ ./manage-translations.sh status
|
||||
Analyzing translation status...
|
||||
=== Current Project Status ===
|
||||
166 translatable texts extracted
|
||||
|
||||
=== Translation File Status ===
|
||||
en_US: 470 keys
|
||||
zh_CN: 470 keys
|
||||
```
|
||||
|
||||
### Update Translations
|
||||
```
|
||||
$ ./manage-translations.sh update -l zh_CN
|
||||
Updating translation files...
|
||||
==================================================
|
||||
Processing language: zh_CN
|
||||
==================================================
|
||||
Analysis result:
|
||||
Missing keys: 5
|
||||
Extra keys: 20
|
||||
|
||||
Found 5 missing translation keys:
|
||||
1. "New feature text"
|
||||
2. "Another new text"
|
||||
...
|
||||
|
||||
Add these 5 missing keys? (y/n): y
|
||||
5 keys added
|
||||
|
||||
Found 20 extra translation keys:
|
||||
1. "Removed old text" -> "已删除的旧文本"
|
||||
...
|
||||
|
||||
Delete these 20 extra keys? (y/n): y
|
||||
20 keys deleted
|
||||
|
||||
Translation file saved
|
||||
```
|
||||
|
||||
### Clean Unused Keys
|
||||
```
|
||||
$ ./manage-translations.sh clean
|
||||
Cleaning unused translation keys...
|
||||
Processing language: zh_CN
|
||||
Found 50 unused keys:
|
||||
1. "old_unused_text"
|
||||
2. "deprecated_message"
|
||||
...
|
||||
|
||||
Delete these 50 unused keys? (y/n): y
|
||||
50 keys deleted
|
||||
Original key count: 470, after cleaning: 420
|
||||
```
|
||||
|
||||
## Advanced Features
|
||||
|
||||
### Custom Directory Structure
|
||||
|
||||
```bash
|
||||
# Use custom directories
|
||||
./translation-manager.py \
|
||||
--translations-dir /path/to/translations \
|
||||
--source-dir /path/to/source
|
||||
```
|
||||
|
||||
### Ignore Mark Feature
|
||||
|
||||
For dynamic resources or special texts that should not be automatically cleaned, you can add `/*keep*/` at the end of the translation value. The tool will automatically ignore these keys and will not delete them during cleaning or syncing.
|
||||
|
||||
Example:
|
||||
```json
|
||||
{
|
||||
"dynamic_key": "Some dynamic value /*keep*/"
|
||||
}
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
1. **Backup is important**: The tool automatically creates backups before cleaning, but it is recommended to manually back up important files
|
||||
|
||||
2. **Text extraction limitations**:
|
||||
- ~~Only supports static strings, not dynamically constructed strings~~
|
||||
- Dynamic resources (such as variable concatenation or runtime-generated text) cannot be automatically extracted. You need to manually add them to the translation file and use the `/*keep*/` mark for ignore management.
|
||||
- Must use the `Translation.tr()` format
|
||||
|
||||
3. **File encoding**: All files must use UTF-8 encoding
|
||||
|
||||
4. **Key naming conventions**: It is recommended to use English for key names and avoid special characters
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Common Issues
|
||||
|
||||
**Q: Text does not appear after adding Translation.tr?**
|
||||
A: You need to import the translation feature in your QML file using `import "root:/"`, otherwise the translation text will not be displayed correctly.
|
||||
|
||||
**Q: The number of extracted texts does not match expectations?**
|
||||
A: Check whether all translatable texts use the `Translation.tr()` format and ensure there are no dynamically constructed strings.
|
||||
|
||||
**Q: Some translations are missing after syncing?**
|
||||
A: Check whether the source language file contains all necessary keys, and consider using a different source language for syncing.
|
||||
|
||||
**Q: The cleaning operation deleted needed keys?**
|
||||
A: Restore from the automatically created backup file and check whether `Translation.tr()` is used correctly in the source code.
|
||||
|
||||
### Restore Backup
|
||||
|
||||
```bash
|
||||
# Restore a single file
|
||||
cp .config/quickshell/translations/zh_CN.json.backup .config/quickshell/translations/zh_CN.json
|
||||
|
||||
# Restore all files
|
||||
cp .config/quickshell/translations.backup/* .config/quickshell/translations/
|
||||
```
|
||||
@@ -0,0 +1,149 @@
|
||||
#!/bin/bash
|
||||
# Translation management script - convenient wrapper
|
||||
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
TRANSLATIONS_DIR="$(dirname "$SCRIPT_DIR")"
|
||||
SOURCE_DIR="$(dirname "$(dirname "$TRANSLATIONS_DIR")")"
|
||||
|
||||
show_help() {
|
||||
echo "Translation Management Tool - Convenient Wrapper"
|
||||
echo ""
|
||||
echo "Usage: $0 [options] <command>"
|
||||
echo ""
|
||||
echo "Commands:"
|
||||
echo " extract Extract translatable texts to temporary file"
|
||||
echo " update Update translation files (add missing/remove extra keys)"
|
||||
echo " clean Clean unused translation keys"
|
||||
echo " sync Sync keys across all language files"
|
||||
echo " status Show translation status"
|
||||
echo ""
|
||||
echo "Options:"
|
||||
echo " -l, --lang LANG Specify language (e.g.: zh_CN)"
|
||||
echo " -t, --trans-dir DIR Translation files directory (default: $TRANSLATIONS_DIR)"
|
||||
echo " -s, --source-dir DIR Source code directory (default: $SOURCE_DIR)"
|
||||
echo " -h, --help Show this help message"
|
||||
echo ""
|
||||
echo "Examples:"
|
||||
echo " $0 extract # Extract translatable texts"
|
||||
echo " $0 update -l zh_CN # Update Chinese translations"
|
||||
echo " $0 update # Update all translations"
|
||||
echo " $0 clean # Clean unused keys"
|
||||
echo " $0 sync # Sync keys across all languages"
|
||||
echo " $0 status # Show translation status"
|
||||
}
|
||||
|
||||
show_status() {
|
||||
echo "Analyzing translation status..."
|
||||
|
||||
# Extract current text count
|
||||
echo "=== Current Project Status ==="
|
||||
python3 "$SCRIPT_DIR/translation-manager.py" \
|
||||
--translations-dir "$TRANSLATIONS_DIR" \
|
||||
--source-dir "$SOURCE_DIR" \
|
||||
--extract-only | grep "Extracted"
|
||||
|
||||
echo ""
|
||||
echo "=== Translation File Status ==="
|
||||
|
||||
if [ -d "$TRANSLATIONS_DIR" ]; then
|
||||
for file in "$TRANSLATIONS_DIR"/*.json; do
|
||||
if [ -f "$file" ]; then
|
||||
lang=$(basename "$file" .json)
|
||||
count=$(jq 'length' "$file" 2>/dev/null || echo "error")
|
||||
echo " $lang: $count keys"
|
||||
fi
|
||||
done
|
||||
else
|
||||
echo " Translation directory does not exist: $TRANSLATIONS_DIR"
|
||||
fi
|
||||
}
|
||||
|
||||
# Parse command line arguments
|
||||
LANG_CODE=""
|
||||
COMMAND=""
|
||||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case $1 in
|
||||
-l|--lang)
|
||||
LANG_CODE="$2"
|
||||
shift 2
|
||||
;;
|
||||
-t|--trans-dir)
|
||||
TRANSLATIONS_DIR="$2"
|
||||
shift 2
|
||||
;;
|
||||
-s|--source-dir)
|
||||
SOURCE_DIR="$2"
|
||||
shift 2
|
||||
;;
|
||||
-h|--help)
|
||||
show_help
|
||||
exit 0
|
||||
;;
|
||||
extract|update|clean|sync|status)
|
||||
if [ -n "$COMMAND" ]; then
|
||||
echo "Error: Only one command can be specified"
|
||||
exit 1
|
||||
fi
|
||||
COMMAND="$1"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
echo "Unknown option: $1"
|
||||
show_help
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ -z "$COMMAND" ]; then
|
||||
echo "Error: A command must be specified"
|
||||
show_help
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check dependencies
|
||||
if ! command -v python3 >/dev/null 2>&1; then
|
||||
echo "Error: python3 is required"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$COMMAND" = "status" ] && ! command -v jq >/dev/null 2>&1; then
|
||||
echo "Warning: jq is not installed, status display may be incomplete"
|
||||
fi
|
||||
|
||||
# Build base arguments
|
||||
BASE_ARGS="--translations-dir $TRANSLATIONS_DIR --source-dir $SOURCE_DIR"
|
||||
|
||||
case $COMMAND in
|
||||
extract)
|
||||
echo "Extracting translatable texts..."
|
||||
python3 "$SCRIPT_DIR/translation-manager.py" $BASE_ARGS --extract-only --show-temp
|
||||
;;
|
||||
update)
|
||||
echo "Updating translation files..."
|
||||
if [ -n "$LANG_CODE" ]; then
|
||||
python3 "$SCRIPT_DIR/translation-manager.py" $BASE_ARGS --language "$LANG_CODE"
|
||||
else
|
||||
python3 "$SCRIPT_DIR/translation-manager.py" $BASE_ARGS
|
||||
fi
|
||||
;;
|
||||
clean)
|
||||
echo "Cleaning unused translation keys..."
|
||||
python3 "$SCRIPT_DIR/translation-cleaner.py" $BASE_ARGS --clean
|
||||
;;
|
||||
sync)
|
||||
echo "Syncing translation keys..."
|
||||
python3 "$SCRIPT_DIR/translation-cleaner.py" $BASE_ARGS --sync
|
||||
;;
|
||||
status)
|
||||
show_status
|
||||
;;
|
||||
*)
|
||||
echo "Unknown command: $COMMAND"
|
||||
show_help
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
@@ -0,0 +1,200 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Translation File Maintenance Helper
|
||||
Used to clean and organize translation files, removing unused keys
|
||||
"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
import json
|
||||
import argparse
|
||||
import importlib.util
|
||||
from pathlib import Path
|
||||
from typing import Dict, Set, List
|
||||
|
||||
# Import from the same directory using importlib
|
||||
current_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
manager_path = os.path.join(current_dir, 'translation-manager.py')
|
||||
spec = importlib.util.spec_from_file_location("translation_manager", manager_path)
|
||||
translation_manager = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(translation_manager)
|
||||
TranslationManager = translation_manager.TranslationManager
|
||||
|
||||
def clean_translation_files(translations_dir: str, source_dir: str, backup: bool = True):
|
||||
"""Clean translation files by removing unused keys"""
|
||||
print("Starting translation file cleanup...")
|
||||
|
||||
# Create manager
|
||||
manager = TranslationManager(translations_dir, source_dir)
|
||||
|
||||
# Extract currently used texts
|
||||
print("Extracting currently used translatable texts...")
|
||||
current_texts = manager.extract_translatable_texts()
|
||||
print(f"Extracted {len(current_texts)} currently used texts")
|
||||
|
||||
# Get all language files
|
||||
languages = manager.get_available_languages()
|
||||
if not languages:
|
||||
print("No translation files found")
|
||||
return
|
||||
|
||||
print(f"Found language files: {', '.join(languages)}")
|
||||
|
||||
total_removed = 0
|
||||
|
||||
for lang in languages:
|
||||
print(f"\nProcessing language: {lang}")
|
||||
|
||||
# Load translation file
|
||||
translations = manager.load_translation_file(lang)
|
||||
original_count = len(translations)
|
||||
|
||||
# Find unused keys, skip those whose value ends with /*keep*/
|
||||
unused_keys = set()
|
||||
for k in translations.keys():
|
||||
v = translations[k]
|
||||
if k not in current_texts:
|
||||
if isinstance(v, str) and v.strip().endswith('/*keep*/'):
|
||||
continue
|
||||
unused_keys.add(k)
|
||||
|
||||
if unused_keys:
|
||||
print(f"Found {len(unused_keys)} unused keys:")
|
||||
for i, key in enumerate(sorted(unused_keys)[:10], 1): # Only show first 10
|
||||
print(f" {i}. \"{key[:50]}{'...' if len(key) > 50 else ''}\"")
|
||||
if len(unused_keys) > 10:
|
||||
print(f" ... and {len(unused_keys) - 10} more keys")
|
||||
|
||||
response = input(f"Delete these {len(unused_keys)} unused keys? (y/n): ")
|
||||
if response.lower().strip() in ['y', 'yes']:
|
||||
if backup:
|
||||
# Create backup only when user confirms deletion
|
||||
backup_file = Path(translations_dir) / f"{lang}.json.bak"
|
||||
with open(backup_file, 'w', encoding='utf-8') as f:
|
||||
json.dump(translations, f, ensure_ascii=False, indent=2)
|
||||
print(f"Created backup: {backup_file}")
|
||||
# Delete unused keys
|
||||
for key in unused_keys:
|
||||
del translations[key]
|
||||
|
||||
# Save cleaned file
|
||||
manager.save_translation_file(lang, translations)
|
||||
removed_count = len(unused_keys)
|
||||
total_removed += removed_count
|
||||
print(f"Deleted {removed_count} keys")
|
||||
else:
|
||||
print("Skipped deletion")
|
||||
else:
|
||||
print("No unused keys found")
|
||||
|
||||
new_count = len(translations)
|
||||
print(f"Original key count: {original_count}, after cleanup: {new_count}")
|
||||
|
||||
print(f"\nCleanup completed! Total deleted {total_removed} unused keys.")
|
||||
|
||||
def sync_translations(translations_dir: str, source_lang: str = "en_US", target_langs: List[str] = None):
|
||||
"""Sync translation keys to ensure all language files have the same keys"""
|
||||
print(f"Starting translation key sync using {source_lang} as reference...")
|
||||
|
||||
translations_path = Path(translations_dir)
|
||||
|
||||
# Load source language file
|
||||
source_file = translations_path / f"{source_lang}.json"
|
||||
if not source_file.exists():
|
||||
print(f"Error: Source language file does not exist: {source_file}")
|
||||
return
|
||||
|
||||
with open(source_file, 'r', encoding='utf-8') as f:
|
||||
source_translations = json.load(f)
|
||||
|
||||
source_keys = set(source_translations.keys())
|
||||
print(f"Source language {source_lang} has {len(source_keys)} keys")
|
||||
|
||||
# Get target language list
|
||||
if target_langs is None:
|
||||
target_langs = []
|
||||
for file_path in translations_path.glob("*.json"):
|
||||
lang_code = file_path.stem
|
||||
if lang_code != source_lang:
|
||||
target_langs.append(lang_code)
|
||||
|
||||
if not target_langs:
|
||||
print("No target language files found")
|
||||
return
|
||||
|
||||
print(f"Target languages: {', '.join(target_langs)}")
|
||||
|
||||
for target_lang in target_langs:
|
||||
print(f"\nSyncing language: {target_lang}")
|
||||
|
||||
target_file = translations_path / f"{target_lang}.json"
|
||||
if target_file.exists():
|
||||
with open(target_file, 'r', encoding='utf-8') as f:
|
||||
target_translations = json.load(f)
|
||||
else:
|
||||
target_translations = {}
|
||||
|
||||
target_keys = set(target_translations.keys())
|
||||
|
||||
# Find missing and extra keys
|
||||
missing_keys = source_keys - target_keys
|
||||
extra_keys = target_keys - source_keys
|
||||
|
||||
print(f" Missing keys: {len(missing_keys)}")
|
||||
print(f" Extra keys: {len(extra_keys)}")
|
||||
|
||||
# Add missing keys
|
||||
if missing_keys:
|
||||
for key in missing_keys:
|
||||
# Use source language value as placeholder by default
|
||||
target_translations[key] = source_translations[key]
|
||||
print(f" Added {len(missing_keys)} missing keys")
|
||||
|
||||
# Ask whether to delete extra keys
|
||||
if extra_keys:
|
||||
response = input(f" Delete {len(extra_keys)} extra keys? (y/n): ")
|
||||
if response.lower().strip() in ['y', 'yes']:
|
||||
for key in extra_keys:
|
||||
del target_translations[key]
|
||||
print(f" Deleted {len(extra_keys)} extra keys")
|
||||
|
||||
# Save file (ensure UTF-8, fix for special chars)
|
||||
with open(target_file, 'w', encoding='utf-8', newline='') as f:
|
||||
json.dump(target_translations, f, ensure_ascii=False, indent=2)
|
||||
print(f" Saved: {target_file}")
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description="Translation File Maintenance Helper")
|
||||
parser.add_argument("--translations-dir", "-t",
|
||||
default=".config/quickshell/translations",
|
||||
help="Translation files directory")
|
||||
parser.add_argument("--source-dir", "-s",
|
||||
default=".config/quickshell",
|
||||
help="Source code directory")
|
||||
parser.add_argument("--clean", "-c", action="store_true",
|
||||
help="Clean unused translation keys")
|
||||
parser.add_argument("--sync", action="store_true",
|
||||
help="Sync translation keys")
|
||||
parser.add_argument("--source-lang", default="en_US",
|
||||
help="Source language for syncing (default: en_US)")
|
||||
parser.add_argument("--no-backup", action="store_true",
|
||||
help="Do not create backup files when cleaning")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
# Convert to absolute paths
|
||||
translations_dir = os.path.abspath(args.translations_dir)
|
||||
source_dir = os.path.abspath(args.source_dir)
|
||||
|
||||
if args.clean:
|
||||
clean_translation_files(translations_dir, source_dir, backup=not args.no_backup)
|
||||
elif args.sync:
|
||||
sync_translations(translations_dir, args.source_lang)
|
||||
else:
|
||||
print("Please specify an operation:")
|
||||
print(" --clean: Clean unused translation keys")
|
||||
print(" --sync: Sync translation keys")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,324 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Translation File Management Script
|
||||
Used to update and extract translatable texts, manage JSON translation file key comparison
|
||||
"""
|
||||
|
||||
import os
|
||||
import json
|
||||
import re
|
||||
import sys
|
||||
import argparse
|
||||
from pathlib import Path
|
||||
from typing import Dict, Set, List, Tuple
|
||||
import tempfile
|
||||
import subprocess
|
||||
|
||||
class TranslationManager:
|
||||
def __init__(self, translations_dir: str, source_dir: str):
|
||||
self.translations_dir = Path(translations_dir)
|
||||
self.source_dir = Path(source_dir)
|
||||
self.temp_extracted_file = None
|
||||
|
||||
# Ensure translation directory exists
|
||||
self.translations_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
def extract_translatable_texts(self) -> Set[str]:
|
||||
"""Extract translatable texts from source code"""
|
||||
translatable_texts = set()
|
||||
|
||||
# Search patterns: Translation.tr("text") or Translation.tr('text')
|
||||
# Improved regex that handles nested quotes correctly
|
||||
patterns = [
|
||||
r'Translation\.tr\s*\(\s*(["\'])(((?!\1)[^\\]|\\.)*)(\1)\s*\)', # Double or single quotes with escape support
|
||||
r'Translation\.tr\s*\(\s*`([^`]*(?:\\.[^`]*)*?)`\s*\)', # Backticks (template strings)
|
||||
]
|
||||
|
||||
# Search all .qml and .js files
|
||||
file_extensions = ['*.qml', '*.js']
|
||||
|
||||
for ext in file_extensions:
|
||||
for file_path in self.source_dir.rglob(ext):
|
||||
try:
|
||||
with open(file_path, 'r', encoding='utf-8') as f:
|
||||
content = f.read()
|
||||
|
||||
for pattern in patterns:
|
||||
matches = re.findall(pattern, content, re.MULTILINE | re.DOTALL)
|
||||
for match in matches:
|
||||
# Handle different match group structures
|
||||
if isinstance(match, tuple):
|
||||
# For improved regex, text is in the second group
|
||||
if len(match) >= 3:
|
||||
text = match[1] # Second group is the text content
|
||||
else:
|
||||
text = match[0] if match else ""
|
||||
else:
|
||||
text = match
|
||||
|
||||
try:
|
||||
if '\\u' in text or '\\x' in text:
|
||||
clean_text = bytes(text, "utf-8").decode("unicode_escape")
|
||||
else:
|
||||
clean_text = (
|
||||
text.replace('\\n', '\n')
|
||||
.replace('\\t', '\t')
|
||||
.replace('\\r', '\r')
|
||||
.replace('\\"', '"')
|
||||
.replace('\\\'', "'")
|
||||
.replace('\\f', '\f')
|
||||
.replace('\\b', '\b')
|
||||
.replace('\\\\', '\\')
|
||||
)
|
||||
except Exception:
|
||||
clean_text = text
|
||||
|
||||
# Clean text (remove extra whitespace)
|
||||
clean_text = clean_text.strip()
|
||||
if clean_text:
|
||||
translatable_texts.add(clean_text)
|
||||
|
||||
except (UnicodeDecodeError, IOError) as e:
|
||||
print(f"Warning: Cannot read file {file_path}: {e}")
|
||||
|
||||
return translatable_texts
|
||||
|
||||
def create_temp_translation_file(self, texts: Set[str]) -> str:
|
||||
"""Create temporary JSON file containing extracted texts"""
|
||||
temp_data = {}
|
||||
for text in sorted(texts):
|
||||
temp_data[text] = text # Key and value are the same, indicating untranslated
|
||||
|
||||
# Create temporary file
|
||||
with tempfile.NamedTemporaryFile(mode='w', suffix='.json', delete=False, encoding='utf-8') as f:
|
||||
json.dump(temp_data, f, ensure_ascii=False, indent=2)
|
||||
self.temp_extracted_file = f.name
|
||||
|
||||
return self.temp_extracted_file
|
||||
|
||||
def load_translation_file(self, lang_code: str) -> Dict[str, str]:
|
||||
"""Load translation file for specified language"""
|
||||
file_path = self.translations_dir / f"{lang_code}.json"
|
||||
if file_path.exists():
|
||||
try:
|
||||
with open(file_path, 'r', encoding='utf-8') as f:
|
||||
return json.load(f)
|
||||
except (json.JSONDecodeError, IOError) as e:
|
||||
print(f"Warning: Cannot load translation file {file_path}: {e}")
|
||||
return {}
|
||||
return {}
|
||||
|
||||
def save_translation_file(self, lang_code: str, translations: Dict[str, str]):
|
||||
"""Save translation file"""
|
||||
file_path = self.translations_dir / f"{lang_code}.json"
|
||||
try:
|
||||
with open(file_path, 'w', encoding='utf-8') as f:
|
||||
json.dump(translations, f, ensure_ascii=False, indent=2)
|
||||
print(f"Translation file saved: {file_path}")
|
||||
except IOError as e:
|
||||
print(f"Error: Cannot save translation file {file_path}: {e}")
|
||||
|
||||
def get_available_languages(self) -> List[str]:
|
||||
"""Get list of available languages"""
|
||||
languages = []
|
||||
for file_path in self.translations_dir.glob("*.json"):
|
||||
lang_code = file_path.stem
|
||||
languages.append(lang_code)
|
||||
return sorted(languages)
|
||||
|
||||
def compare_translations(self, extracted_texts: Set[str], target_lang: str) -> Tuple[Set[str], Set[str]]:
|
||||
"""Compare extracted texts with existing translation file"""
|
||||
existing_translations = self.load_translation_file(target_lang)
|
||||
existing_keys = set(existing_translations.keys())
|
||||
|
||||
missing_keys = extracted_texts - existing_keys # Missing keys
|
||||
extra_keys = existing_keys - extracted_texts # Extra keys
|
||||
|
||||
return missing_keys, extra_keys
|
||||
|
||||
def interactive_update(self, lang_code: str, missing_keys: Set[str], extra_keys: Set[str]):
|
||||
"""Interactively update translation file, create backup only if updating"""
|
||||
translations = self.load_translation_file(lang_code)
|
||||
modified = False
|
||||
backup_created = False
|
||||
|
||||
# Handle missing keys
|
||||
if missing_keys:
|
||||
print(f"\nFound {len(missing_keys)} missing translation keys:")
|
||||
for i, key in enumerate(sorted(missing_keys), 1):
|
||||
print(f"{i}. \"{key}\"")
|
||||
|
||||
if self.ask_yes_no(f"\nAdd these {len(missing_keys)} missing keys?"):
|
||||
if not backup_created:
|
||||
backup_file = self.translations_dir / f"{lang_code}.json.bak"
|
||||
with open(backup_file, 'w', encoding='utf-8') as f:
|
||||
json.dump(translations, f, ensure_ascii=False, indent=2)
|
||||
print(f"Created backup: {backup_file}")
|
||||
backup_created = True
|
||||
for key in missing_keys:
|
||||
translations[key] = key # Default value is the key itself
|
||||
modified = True
|
||||
print(f"Added {len(missing_keys)} keys")
|
||||
|
||||
# Handle extra keys
|
||||
if extra_keys:
|
||||
# Only show extra keys that are not marked with /*keep*/
|
||||
filtered_extra_keys = [key for key in extra_keys if not (isinstance(translations.get(key, ""), str) and translations.get(key, "").strip().endswith('/*keep*/'))]
|
||||
if filtered_extra_keys:
|
||||
print(f"\nFound {len(filtered_extra_keys)} extra translation keys:")
|
||||
for i, key in enumerate(sorted(filtered_extra_keys), 1):
|
||||
print(f"{i}. \"{key}\" -> \"{translations.get(key, '')}\"")
|
||||
if self.ask_yes_no(f"\nDelete these {len(filtered_extra_keys)} extra keys?"):
|
||||
if not backup_created:
|
||||
backup_file = self.translations_dir / f"{lang_code}.json.bak"
|
||||
with open(backup_file, 'w', encoding='utf-8') as f:
|
||||
json.dump(translations, f, ensure_ascii=False, indent=2)
|
||||
print(f"Created backup: {backup_file}")
|
||||
backup_created = True
|
||||
deleted_count = 0
|
||||
for key in filtered_extra_keys:
|
||||
if key in translations:
|
||||
del translations[key]
|
||||
modified = True
|
||||
deleted_count += 1
|
||||
print(f"Deleted {deleted_count} keys")
|
||||
|
||||
# Save changes
|
||||
if modified:
|
||||
self.save_translation_file(lang_code, translations)
|
||||
else:
|
||||
print("No changes made")
|
||||
|
||||
def ask_yes_no(self, question: str) -> bool:
|
||||
"""Ask user for confirmation"""
|
||||
while True:
|
||||
response = input(f"{question} (y/n): ").lower().strip()
|
||||
if response in ['y', 'yes']:
|
||||
return True
|
||||
elif response in ['n', 'no']:
|
||||
return False
|
||||
else:
|
||||
print("Please enter y/yes or n/no")
|
||||
|
||||
def cleanup(self):
|
||||
"""Clean up temporary files"""
|
||||
if self.temp_extracted_file and os.path.exists(self.temp_extracted_file):
|
||||
os.unlink(self.temp_extracted_file)
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description="Translation file management tool")
|
||||
parser.add_argument("--translations-dir", "-t",
|
||||
default=".config/quickshell/translations",
|
||||
help="Translation files directory (default: .config/quickshell/translations)")
|
||||
parser.add_argument("--source-dir", "-s",
|
||||
default=".config/quickshell",
|
||||
help="Source code directory (default: .config/quickshell)")
|
||||
parser.add_argument("--language", "-l",
|
||||
help="Specify language code to process (e.g., zh_CN)")
|
||||
parser.add_argument("--extract-only", "-e", action="store_true",
|
||||
help="Only extract translatable texts to temporary file")
|
||||
parser.add_argument("--show-temp", action="store_true",
|
||||
help="Show temporary extracted file content")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
# Convert to absolute paths
|
||||
translations_dir = os.path.abspath(args.translations_dir)
|
||||
source_dir = os.path.abspath(args.source_dir)
|
||||
|
||||
print(f"Translation directory: {translations_dir}")
|
||||
print(f"Source code directory: {source_dir}")
|
||||
|
||||
# Check if directories exist
|
||||
if not os.path.exists(source_dir):
|
||||
print(f"Error: Source code directory does not exist: {source_dir}")
|
||||
sys.exit(1)
|
||||
|
||||
# Create manager
|
||||
manager = TranslationManager(translations_dir, source_dir)
|
||||
|
||||
try:
|
||||
# Extract translatable texts
|
||||
print("\nExtracting translatable texts...")
|
||||
extracted_texts = manager.extract_translatable_texts()
|
||||
print(f"Extracted {len(extracted_texts)} translatable texts")
|
||||
|
||||
# Create temporary file
|
||||
temp_file = manager.create_temp_translation_file(extracted_texts)
|
||||
print(f"Created temporary file: {temp_file}")
|
||||
|
||||
if args.show_temp:
|
||||
print("\nTemporary file contents:")
|
||||
with open(temp_file, 'r', encoding='utf-8') as f:
|
||||
print(f.read())
|
||||
|
||||
if args.extract_only:
|
||||
print("Extract-only mode, program finished")
|
||||
return
|
||||
|
||||
# Get available languages
|
||||
available_languages = manager.get_available_languages()
|
||||
|
||||
if args.language:
|
||||
target_languages = [args.language]
|
||||
else:
|
||||
print(f"\nAvailable languages: {', '.join(available_languages) if available_languages else 'None'}")
|
||||
|
||||
if not available_languages:
|
||||
print("No existing translation files found")
|
||||
lang_input = input("Enter language code to create (e.g.: zh_CN): ").strip()
|
||||
if lang_input:
|
||||
target_languages = [lang_input]
|
||||
else:
|
||||
print("No language specified, program finished")
|
||||
return
|
||||
else:
|
||||
print("Choose language to process:")
|
||||
for i, lang in enumerate(available_languages, 1):
|
||||
print(f"{i}. {lang}")
|
||||
print("a. Process all languages")
|
||||
|
||||
choice = input("Please choose (enter number, language code, or 'a'): ").strip()
|
||||
|
||||
if choice.lower() == 'a':
|
||||
target_languages = available_languages
|
||||
elif choice.isdigit() and 1 <= int(choice) <= len(available_languages):
|
||||
target_languages = [available_languages[int(choice) - 1]]
|
||||
elif choice in available_languages:
|
||||
target_languages = [choice]
|
||||
else:
|
||||
print("Invalid choice, program finished")
|
||||
return
|
||||
|
||||
# Process each language
|
||||
for lang in target_languages:
|
||||
print(f"\n{'='*50}")
|
||||
print(f"Processing language: {lang}")
|
||||
print('='*50)
|
||||
|
||||
missing_keys, extra_keys = manager.compare_translations(extracted_texts, lang)
|
||||
|
||||
if not missing_keys and not extra_keys:
|
||||
print(f"Translation file for language {lang} is already up to date")
|
||||
continue
|
||||
|
||||
print(f"Analysis results:")
|
||||
print(f" Missing keys: {len(missing_keys)}")
|
||||
# Load translation file for current lang to get values
|
||||
current_translations = manager.load_translation_file(lang)
|
||||
filtered_extra_keys = [key for key in extra_keys if not (isinstance(current_translations.get(key, ""), str) and current_translations.get(key, "").strip().endswith('/*keep*/'))]
|
||||
ignored_extra_keys = [key for key in extra_keys if (isinstance(current_translations.get(key, ""), str) and current_translations.get(key, "").strip().endswith('/*keep*/'))]
|
||||
print(f" Extra keys: {len(filtered_extra_keys)}")
|
||||
if ignored_extra_keys:
|
||||
print(f" Ignored keys: {len(ignored_extra_keys)} (marked with /*keep*/)")
|
||||
|
||||
if missing_keys or extra_keys:
|
||||
manager.interactive_update(lang, missing_keys, extra_keys)
|
||||
|
||||
finally:
|
||||
# Clean up temporary files
|
||||
manager.cleanup()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,342 @@
|
||||
{
|
||||
"Mo": "Пн/*keep*/",
|
||||
"Tu": "Вт/*keep*/",
|
||||
"We": "Ср/*keep*/",
|
||||
"Th": "Чт/*keep*/",
|
||||
"Fr": "Пт/*keep*/",
|
||||
"Sa": "Сб/*keep*/",
|
||||
"Su": "Нд/*keep*/",
|
||||
"%1 characters": "%1 символів",
|
||||
"**Pricing**: free. Data use policy varies depending on your OpenRouter account settings.\n\n**Instructions**: Log into OpenRouter account, go to Keys on the topright menu, click Create API Key": "**Вартість**: безкоштовно. Політика використання даних залежить від параметрів облікового запису OpenRouter.\n\n**Інструкції**: Увійдіть в обліковий запис OpenRouter, перейдіть до розділу «Keys» у верхньому правому меню, натисніть «Create API Key»",
|
||||
"**Pricing**: free. Data used for training.\n\n**Instructions**: Log into Google account, allow AI Studio to create Google Cloud project or whatever it asks, go back and click Get API key": "**Вартість**: безкоштовно. Дані використовуються для тренування.\n\n**Інструкції**: Увійдіть в обліковий запис Google, дозвольте AI Studio створити проект Google Cloud або те, що вона попросить, поверніться назад і натисніть Get API key",
|
||||
". Notes for Zerochan:\n- You must enter a color\n- Set your zerochan username in `sidebar.booru.zerochan.username` config option. You [might be banned for not doing so](https://www.zerochan.net/api#:~:text=The%20request%20may%20still%20be%20completed%20successfully%20without%20this%20custom%20header%2C%20but%20your%20project%20may%20be%20banned%20for%20being%20anonymous.)!": ". Примітки для Zerochan:\n- Ви повинні ввести колір\n- Встановіть ваше ім'я користувача zerochan у параметрі конфігурації `sidebar.booru.zerochan.username`. Якщо ви цього не зробите, вас [може бути заблоковано](https://www.zerochan.net/api#:~:text=The%20request%20may%20still%20be%20completed%20successfully%20without%20this%20custom%20header%2C%20but%20your%20project%20may%20be%20banned%20for%20being%20anonymous.)!",
|
||||
"<i>No further instruction provided</i>": "<i>Подальших інструкцій не надано</i>",
|
||||
"Action": "Дія",
|
||||
"Add": "Додати",
|
||||
"Add task": "Додати завдання",
|
||||
"All-rounder | Good quality, decent quantity": "Універсальний | Хороша якість, пристойна кількість",
|
||||
"Allow NSFW": "Дозволити NSFW",
|
||||
"Allow NSFW content": "Дозволити NSFW вміст",
|
||||
"Anime": "Аніме",
|
||||
"Anime boorus": "Аніме боору",
|
||||
"App": "Програма",
|
||||
"Arrow keys to navigate, Enter to select\nEsc or click anywhere to cancel": "Стрілки для навігації, Enter для вибору\nНатисніть Esc або будь де щоб скасувати",
|
||||
"Bluetooth": "Bluetooth",
|
||||
"Brightness": "Яскравість",
|
||||
"Cancel": "Скасувати",
|
||||
"Cheat sheet": "Шпаргалка",
|
||||
"Choose model": "Виберіть модель",
|
||||
"Clean stuff | Excellent quality, no NSFW": "Чистий вміст | Відмінна якість, без NSFW",
|
||||
"Clear": "Очистити",
|
||||
"Clear chat history": "Очистити історію чату",
|
||||
"Clear the current list of images": "Очистити поточний список картинок",
|
||||
"Close": "Закрити",
|
||||
"Copy": "Копіювати",
|
||||
"Copy code": "Копіювати код",
|
||||
"Delete": "Видалити",
|
||||
"Desktop": "Стільниця",
|
||||
"Disable NSFW content": "Вимкнути NSFW вміст",
|
||||
"Done": "Готово",
|
||||
"Download": "Завантажити",
|
||||
"Edit": "Редагувати",
|
||||
"Enter text to translate...": "Введіть текст щоб перекласти...",
|
||||
"Finished tasks will go here": "Завершені завдання зберігаються тут",
|
||||
"For desktop wallpapers | Good quality": "На шпалери | Хороша якість",
|
||||
"For storing API keys and other sensitive information": "Для зберігання API ключів та іншої конфіденційної інформація",
|
||||
"Game mode": "Ігровий режим",
|
||||
"Get the next page of results": "Наступна сторінка результатів",
|
||||
"Hibernate": "Сплячий режим",
|
||||
"Input": "Ввід",
|
||||
"Intelligence": "Інтелект",
|
||||
"Interface": "Інтерфейс",
|
||||
"Invalid arguments. Must provide `key` and `value`.": "Неправильні аргументи. Повинні бути вказані `key` та `value`.",
|
||||
"Jump to current month": "Перейти до поточного місяця",
|
||||
"Keep system awake": "Тримати систему в режимі очікування",
|
||||
"Large images | God tier quality, no NSFW.": "Великі зображення | Божественна якість, без NSFW.",
|
||||
"Large language models": "Великі мовні моделі",
|
||||
"Launch": "Пуск",
|
||||
"Lock": "Блокувати",
|
||||
"Logout": "Вийти",
|
||||
"Markdown test": "Тест Markdown",
|
||||
"Math result": "Результат обчислень",
|
||||
"No audio source": "Немає джерела аудіо",
|
||||
"No media": "Немає медіа",
|
||||
"No notifications": "Немає сповіщень",
|
||||
"Not visible to model": "Не видно для моделі",
|
||||
"Nothing here!": "Тут нічого!",
|
||||
"Notifications": "Сповіщення",
|
||||
"OK": "Гаразд",
|
||||
"Open file link": "Відкрити лінк до файлу",
|
||||
"Output": "Вивід",
|
||||
"Reboot": "Перезапуск",
|
||||
"Reboot to firmware settings": "Перезапуск в параметри UEFI/BIOS",
|
||||
"Reload Hyprland & Quickshell": "Перезавантажити Hyprland та Quickshell",
|
||||
"Run": "Виконати",
|
||||
"Run command": "Виконати команду",
|
||||
"Save": "Зберегти",
|
||||
"Save to Downloads": "Зберегти в Завантаження",
|
||||
"Search": "Пошук",
|
||||
"Search the web": "Шукати в інтернеті",
|
||||
"Search, calculate or run": "Шукати, обчислювати або запускати",
|
||||
"Select Language": "Вибрати мову",
|
||||
"Session": "Сесія",
|
||||
"Set API key": "Вказати ключ API",
|
||||
"Set temperature (randomness) of the model. Values range between 0 to 2 for Gemini, 0 to 1 for other models. Default is 0.5.": "Задати температуру (випадковість) моделі. Значення в діапазоні від 0 до 2 для Gemini, від 0 до 1 для інших моделей. Значення за замовчуванням 0.5.",
|
||||
"Set the current API provider": "Встановити поточного провайдера API",
|
||||
"Shutdown": "Вимкнути",
|
||||
"Silent": "Тиша",
|
||||
"Sleep": "Сон",
|
||||
"System": "Система",
|
||||
"Task Manager": "Менеджер завдань",
|
||||
"Task description": "Опис завдання",
|
||||
"Temperature must be between 0 and 2": "Температура має бути між 0 та 2",
|
||||
"The hentai one | Great quantity, a lot of NSFW, quality varies wildly": "Хентай | Велика кількість, багато NSFW, якість сильно варіюється",
|
||||
"The popular one | Best quantity, but quality can vary wildly": "Популярний | Найкраща кількість, але якість може сильно варіюватись",
|
||||
"Thinking": "Замислився",
|
||||
"Translation goes here...": "Переклад буде тут...",
|
||||
"Translator": "Перекладач",
|
||||
"Unfinished": "Незавершений",
|
||||
"Unknown": "Невідмий",
|
||||
"Unknown Album": "Невідомий Альбои",
|
||||
"Unknown Artist": "Невідомий Виконавець",
|
||||
"Unknown Title": "Невідома назва",
|
||||
"View Markdown source": "Дивитися джерело Markdown",
|
||||
"Volume": "Гучність",
|
||||
"Volume mixer": "Мікшер гучності",
|
||||
"Waifus only | Excellent quality, limited quantity": "Лише вайфу | Відмінна якість, обмежена кількість",
|
||||
"Waiting for response...": "Чекаємо відповідь...",
|
||||
"Workspace": "Простір",
|
||||
"Invalid API provider. Supported: \n-": "Неправильний провайдер API. Підтримується: \n-",
|
||||
"Unknown command:": "Невідома команда:",
|
||||
"Type /key to get started with online models\nCtrl+O to expand the sidebar\nCtrl+P to detach sidebar into a window": "Введіть /key, щоб почати роботу з онлайн моделями\nCtrl+O, щоб розгорнути бічну панель\nCtrl+P, щоб прибрати бічну панель у вікно",
|
||||
"Provider set to": "Провайдер виставлений на",
|
||||
"Invalid model. Supported: \n```": "Неправельна модель. Підтримується: \n```",
|
||||
"That didn't work. Tips:\n- Check your tags and NSFW settings\n- If you don't have a tag in mind, type a page number": "Це не спрацювало. Поради:\n- Перевірте свої теги та параметри NSFW\n- Якщо ви не знаєте тега, введіть номер сторінки",
|
||||
"Switched to search mode. Continue with the user's request.": "Перейшли в режим пошуку. Продовження пошуку за запитом користувача.",
|
||||
"Settings": "Параметри",
|
||||
"Save chat": "Зберегти чат",
|
||||
"Load chat": "Завантажити чат",
|
||||
"or": "або",
|
||||
"Set the system prompt for the model.": "Встановіть системний запит для моделі.",
|
||||
"To Do": "Зробити",
|
||||
"Calendar": "Календар",
|
||||
"Advanced": "Розширені",
|
||||
"About": "Про",
|
||||
"Services": "Сервіси",
|
||||
"Style": "Стиль",
|
||||
"Edit config": "Редагувати конфігурацію",
|
||||
"Colors & Wallpaper": "Кольори та Шпалери",
|
||||
"Light": "Світла",
|
||||
"Dark": "Темна",
|
||||
"Material palette": "Палітра кольорів",
|
||||
"Fidelity": "Вірність",
|
||||
"Fruit Salad": "Фруктовий салат",
|
||||
"Alternatively use /dark, /light, /img in the launcher": "Або використовуйте /dark, /light, /img у лаунчері",
|
||||
"Fake screen rounding": "Фальшиві заокруглення екрану",
|
||||
"When not fullscreen": "Коли не на весь екран",
|
||||
"Choose file": "Вибрати файл",
|
||||
"Random SFW Anime wallpaper from Konachan\nImage is saved to ~/Pictures/Wallpapers": "Випадкові SFW аніме шпалери від Konachan\nЗображення збережено до ~/Pictures/Wallpapers",
|
||||
"Be patient...": "Потерпіть...",
|
||||
"Decorations & Effects": "Декорації та ефекти",
|
||||
"Tonal Spot": "Тональна пляма",
|
||||
"Shell windows": "Вікна оболонки",
|
||||
"Auto": "Авто",
|
||||
"Wallpaper": "Шпалери",
|
||||
"Content": "Вміст",
|
||||
"Title bar": "Заголовок",
|
||||
"Transparency": "Прозорість",
|
||||
"Expressive": "Виразний",
|
||||
"Yes": "Так",
|
||||
"Enable": "Увімкнути",
|
||||
"Rainbow": "Веселка",
|
||||
"Might look ass. Unsupported.": "Виглядатиме дурновато. Не підтримується.",
|
||||
"Monochrome": "Монохромний",
|
||||
"Random: Konachan": "Випадково: Konachan",
|
||||
"Center title": "Назва по центру",
|
||||
"Neutral": "Нейтральний",
|
||||
"Pick wallpaper image on your system": "Виберіть зображення шпалер на вашому комп'ютері",
|
||||
"No": "Ні",
|
||||
"AI": "ШІ",
|
||||
"Local only": "Лише локально",
|
||||
"Policies": "Політика",
|
||||
"Weeb": "Віабу",
|
||||
"Closet": "Шафа",
|
||||
"Bar style": "Стиль заголовку",
|
||||
"Show next time": "Показати пізніше",
|
||||
"Usage": "Використання",
|
||||
"Plain rectangle": "Звичайний квадрат",
|
||||
"Useless buttons": "Безкорисні кнопки",
|
||||
"GitHub": "GitHub",
|
||||
"Style & wallpaper": "Стиль та шпалери",
|
||||
"Configuration": "Конфігурація",
|
||||
"Change any time later with /dark, /light, /img in the launcher": "Змініть будь-коли пізніше за допомогою /dark, /light, /img у лаунчері",
|
||||
"Keybinds": "Комбінації клавіш",
|
||||
"Float": "Плаваюче",
|
||||
"Hug": "Обійми",
|
||||
"Yooooo hi there": "Йоооо, привіт",
|
||||
"illogical-impulse Welcome": "illogical-impulse Вітаємо",
|
||||
"Info": "Інфо",
|
||||
"Volume limit": "Обмеження гучності",
|
||||
"Prevents abrupt increments and restricts volume limit": "Запобігає різкому збільшенню та обмежує ліміт гучності",
|
||||
"Resources": "Ресурси",
|
||||
"12h am/pm": "12г AM/PM",
|
||||
"Base URL": "Базовий лінк",
|
||||
"Audio": "Аудіо",
|
||||
"Networking": "Мережування",
|
||||
"Format": "Формат",
|
||||
"Time": "Час",
|
||||
"Battery": "Батарея",
|
||||
"Prefixes": "Префікси",
|
||||
"Emojis": "Емодзі",
|
||||
"Earbang protection": "Захист навушників",
|
||||
"Automatically suspends the system when battery is low": "Автоматично призупиняє роботу системи, коли батарея розряджається",
|
||||
"Automatic suspend": "Автоматична зупинка",
|
||||
"Suspend at": "Зупиняти на",
|
||||
"Max allowed increase": "Максимально допустимий приріст",
|
||||
"Web search": "Пошук в інтернеті",
|
||||
"Polling interval (ms)": "Інтервал між опитуваннями (мс)",
|
||||
"Clipboard": "Буфер обміну",
|
||||
"Low warning": "Незначні попередження",
|
||||
"24h": "24г",
|
||||
"Use Levenshtein distance-based algorithm instead of fuzzy": "Використовуйте алгоритм на основі відстані Левенштейна замість нечіткого",
|
||||
"System prompt": "Системний запит",
|
||||
"12h AM/PM": "12г AM/PM",
|
||||
"Could be better if you make a ton of typos,\nbut results can be weird and might not work with acronyms\n(e.g. \"GIMP\" might not give you the paint program)": "Було б краще, якби ви зробили купу помилок,\nале результати можуть бути дивними і не працювати з абревіатурами\n(наприклад, «GIMP» може не вивести програму для малювання).",
|
||||
"Critical warning": "Критичні попередження",
|
||||
"User agent (for services that require it)": "User agent (для сервісів де це потрібно)",
|
||||
"Such regions could be images or parts of the screen that have some containment.\nMight not always be accurate.\nThis is done with an image processing algorithm run locally and no AI is used.": "Такими областями можуть бути зображення або частини екрана, які мають певні обмеження.\nМоже бути не завжди точним.\nЦе робиться за допомогою алгоритму обробки зображень, запущеного локально, і не використовується ШІ.",
|
||||
"Note: turning off can hurt readability": "Примітка: вимкнення може погіршити читабельність",
|
||||
"Workspaces shown": "Показані простори",
|
||||
"Dark/Light toggle": "Перемикач Світлої/Темної",
|
||||
"Dock": "Лоток",
|
||||
"Weather": "Погода",
|
||||
"Pinned on startup": "Прикріплено до запуску",
|
||||
"Tip: Hide icons and always show numbers for\nthe classic illogical-impulse experience": "Порада: приховуйте іконки і завжди показуйте цифри для класичного досвіду illogical-impulse",
|
||||
"Appearance": "Вигляд",
|
||||
"Always show numbers": "Завжди показувати номери",
|
||||
"Buttons": "Кнопки",
|
||||
"Keyboard toggle": "Перемикання клавіатури",
|
||||
"Scale (%)": "Розмір (%)",
|
||||
"Overview": "Огляд",
|
||||
"Rows": "Рядки",
|
||||
"Borderless": "Без меж",
|
||||
"Screenshot tool": "Інструмент створення скріншотів",
|
||||
"Number show delay when pressing Super (ms)": "Затримка відображення номера при натисканні клавіші Super (мс)",
|
||||
"Timeout (ms)": "Тайм-аут (ms)",
|
||||
"Show app icons": "Показувати іконки програм",
|
||||
"Workspaces": "Простори",
|
||||
"Columns": "Стовбці",
|
||||
"On-screen display": "Екранний дисплей",
|
||||
"Screen snip": "Скріншот",
|
||||
"Mic toggle": "Перемикач мікрофону",
|
||||
"Hover to reveal": "Наведіть курсор, щоб відкрити",
|
||||
"Bar": "Панель",
|
||||
"Show background": "Показувати задній фон",
|
||||
"Show regions of potential interest": "Показати регіони потенційного інтересу",
|
||||
"Color picker": "Вибір кольору",
|
||||
"Help & Support": "Допомога та підтримка",
|
||||
"Discussions": "Дискусії",
|
||||
"Color generation": "Генератор кольорів",
|
||||
"Dotfiles": "Дотфайли",
|
||||
"Distro": "Дистрибютив",
|
||||
"Privacy Policy": "Політика Конфіденційності",
|
||||
"Documentation": "Документація",
|
||||
"Shell & utilities theming must also be enabled": "Тему оболонки та утиліт також слід увімкнути",
|
||||
"illogical-impulse": "illogical-impulse",
|
||||
"Donate": "Донат",
|
||||
"Terminal": "Термінал",
|
||||
"Shell & utilities": "Оболонка та утиліти",
|
||||
"Qt apps": "Програми Qt",
|
||||
"Report a Bug": "Повідомити про помилку",
|
||||
"Issues": "Проблеми",
|
||||
"Drag or click a region • LMB: Copy • RMB: Edit": "Перетягніть або клацніть регіон - LMB: Копіювати - RMB: Редагувати",
|
||||
"Current model: %1\nSet it with %2model MODEL": "Поточна модель: %1\nЗадати її за допомогою %2model МОДЕЛЬ",
|
||||
"Message the model... \"%1\" for commands": "Написати моделі... «%1» для команд",
|
||||
"No API key set for %1": "Немає вказаного API ключач для %1",
|
||||
"Loaded the following system prompt\n\n---\n\n%1": "Завантажився наступний системний запит\n\n---\n\n%1",
|
||||
"%1 | Right-click to configure": "%1 | ПКМ для налаштування",
|
||||
"API key set for %1": "ключ API вказано для %1",
|
||||
"Online via %1 | %2's model": "Онлайн через %1 | %2's модель",
|
||||
"Current API endpoint: %1\nSet it with %2mode PROVIDER": "Поточна кінцева точка API: %1\nВстановіть її за допомогою %2mode ПРОВАЙТЕР",
|
||||
"Go to source (%1)": "До джерела (%1)",
|
||||
"Temperature set to %1": "Температура виставлена на %1",
|
||||
"Enter tags, or \"%1\" for commands": "Напишіть тег або \"%1\" для команд",
|
||||
"%1 queries pending": "%1 запитів на розгляді",
|
||||
"API key:\n\n```txt\n%1\n```": "ключ API:\n\n```txt\n%1\n```",
|
||||
"Uptime: %1": "Активно: %1",
|
||||
"%1 Safe Storage": "%1 Надійне зберігання",
|
||||
"%1 does not require an API key": "%1 не потребує API ключа",
|
||||
"Temperature: %1": "температура: %1",
|
||||
"Model set to %1": "Модель встановлена на %1",
|
||||
"Page %1": "Сторінка %1",
|
||||
"Local Ollama model | %1": "Локальна модель Оллама | %1",
|
||||
"The current system prompt is\n\n---\n\n%1": "Поточний запит системи\n\n---\n\n%1",
|
||||
"Unknown function call: %1": "Невідомий виклик функції: %1",
|
||||
"%1 notifications": "%1 сповіщень",
|
||||
"Load chat from %1": "Завантажено чат з %1",
|
||||
"Load prompt from %1": "Завантажено запит з %1",
|
||||
"Save chat to %1": "Зберегти чат до %1",
|
||||
"Weather Service": "Сервіс погоди",
|
||||
"Cannot find a GPS service. Using the fallback method instead.": "Не вдається знайти службу GPS. Замість цього використовується резервний метод.",
|
||||
"Critically low battery": "Критичний рівень заряду батареї",
|
||||
"Select output device": "Виберіть вихідний пристрій",
|
||||
"Code saved to file": "Код збережений у файл",
|
||||
"Online models disallowed\n\nControlled by `policies.ai` config option": "Онлайн-моделі заборонено\n\nКерується параметром конфігурації `policies.ai`",
|
||||
"Scroll to change volume": "Прокрутіть, щоб змінити гучність",
|
||||
"Elements": "Елементи",
|
||||
"%1 • %2 tasks": "%1 • %2 завдань",
|
||||
"Download complete": "Завантаження завершено",
|
||||
"Please charge!\nAutomatic suspend triggers at %1": "Будь ласка, зарядіть! \nАвтоматичне призупинення спрацьовування при %1",
|
||||
"Cloudflare WARP": "Cloudflare WARP",
|
||||
"Cloudflare WARP (1.1.1.1)": "Cloudflare WARP (1.1.1.1)",
|
||||
"Scroll to change brightness": "Прокрутіть щоб змінити яскравість",
|
||||
"Connection failed. Please inspect manually with the <tt>warp-cli</tt> command": "Помилка зєднання. Перевірте самостійно за допомогою команди <tt>warp-cli</tt>",
|
||||
"Select input device": "Виберіть вхідний пристрій",
|
||||
"Registration failed. Please inspect manually with the <tt>warp-cli</tt> command": "Помилка реєстрації. Перевірте самостійно за допомогою команди <tt>warp-cli</tt>",
|
||||
"Consider plugging in your device": "Подумайте про те, щоб підключити свій пристрій",
|
||||
"Low battery": "Низький заряд батареї",
|
||||
"Saved to %1": "Збережено до %1",
|
||||
"Sunset": "Захід сонця",
|
||||
"UV Index": "Індекс UV",
|
||||
"Humidity": "Вологість",
|
||||
"Wind": "Вітер",
|
||||
"Sunrise": "Світанок",
|
||||
"Pressure": "Тиск",
|
||||
"Visibility": "Видимість",
|
||||
"Precipitation": "Опади",
|
||||
"No API key\nSet it with /key YOUR_API_KEY": "Немає API ключа\nВстановіть його можна командою /key YOUR_API_KEY",
|
||||
"Your package manager is running": "Ваш пакетний менеджер запущено",
|
||||
"Night Light | Right-click to toggle Auto mode": "Нічне світло | ПКМ щоб увімкнути автоматичний режим",
|
||||
"Gives the model search capabilities (immediately)": "Надає можливість пошуку моделі (негайно)",
|
||||
"Depends on workspace": "Залежно від простору",
|
||||
"Invalid arguments. Must provide `command`.": "Неправельні параметри. Потрібно вказати `command`.",
|
||||
"Temperature\nChange with /temp VALUE": "Температура\nЗмінити можна командою /temp ЗНАЧЕННЯ",
|
||||
"Online | Google's model\nGoogle's state-of-the-art multipurpose model that excels at coding and complex reasoning tasks.": "Онлайн | Модель Google\nСучасна багатоцільова модель Google, яка чудово справляється з кодуванням і складними завданнями на міркування.",
|
||||
"EasyEffects | Right-click to configure": "EasyEffects | ПКМ щоб налаштувати",
|
||||
"Thought": "Думка",
|
||||
"Online | Google's model\nA Gemini 2.5 Flash model optimized for cost-efficiency and high throughput.": "Онлайн | Модель Google \nМодель Gemini 2.5 Flash оптимізована для економічної ефективності та високої пропускної здатності.",
|
||||
"API key is set\nChange with /key YOUR_API_KEY": "API ключ встановлено\nЗмінити можна командою /key YOUR_API_KEY",
|
||||
"Current tool: %1\nSet it with %2tool TOOL": "Поточний інструмент: %1\nВстановіть його командою %2tool TOOL",
|
||||
"**Instructions**: Log into Mistral account, go to Keys on the sidebar, click Create new key": "**Інструкції**: Увійдіть в обліковий запис Mistral, перейдіть до розділу «Keys» на бічній панелі, натисніть «Create new key»",
|
||||
"Usage: %1tool TOOL_NAME": "Використання: %1tool TOOL_NAME",
|
||||
"Online | Google's model\nFast, can perform searches for up-to-date information": "Онлайн | модель Google \nШвидкий, може здійснювати пошук актуальної інформації",
|
||||
"Approve": "Схвалити",
|
||||
"Preferred wallpaper zoom (%)": "Бажаний маштаб шпалер (%)",
|
||||
"Performance Profile toggle": "Перемикач профілю продуктивності",
|
||||
"Total token count\nInput: %1\nOutput: %2": "Загальна кількість токенів\nВхідні: %1\nВихідні: %2",
|
||||
"Wallpaper parallax": "Обємні шпалери",
|
||||
"Invalid tool. Supported tools:\n- %1": "Неправельний інструмент. Підтримуються:\n- %1",
|
||||
"Usage: %1load CHAT_NAME": "Виокристання: %1load CHAT_NAME",
|
||||
"Reject": "Відхилити",
|
||||
"Usage: %1save CHAT_NAME": "Використання: %1save CHAT_NAME",
|
||||
"Set the tool to use for the model.": "Вкажіть інструмент для роботи з моделью",
|
||||
"Online | %1's model | Delivers fast, responsive and well-formatted answers. Disadvantages: not very eager to do stuff; might make up unknown function calls": "Онлайн | %1's модель | Надає швидкі, чуйні та добре відформатовані відповіді. Недоліки: не дуже охоче виконує завдання; може вигадувати виклики невідомих функцій",
|
||||
"Depends on sidebars": "Залежно від бокових панелей",
|
||||
"Command rejected by user": "Команда відхилена користувачем",
|
||||
"There might be a download in progress": "Можливо, триває завантаження",
|
||||
"Disable tools": "Вимкнути інструмент",
|
||||
"Tool set to: %1": "Інструмет вказано: %1",
|
||||
"Commands, edit configs, search.\nTakes an extra turn to switch to search mode if that's needed": "Команди, редагування конфігурацій, пошук.\nВиконує додаткову дію для переходу в режим пошуку, якщо це потрібно",
|
||||
"To set an API key, pass it with the %4 command\n\nTo view the key, pass \"get\" with the command<br/>\n\n### For %1:\n\n**Link**: %2\n\n%3": "Щоб задати ключ API, передайте його командою %4\n\nЩоб переглянути ключ, передайте \"get\" командою<br/>\n\n### Для %1:\n\n**Лінк**: %2\n\n%3",
|
||||
"Online | Google's model\nNewer model that's slower than its predecessor but should deliver higher quality answers": "Онлайн | Модель Google\nНовіша модель, яка повільніша за свою попередницю, але має надавати якісніші відповіді"
|
||||
}
|
||||
@@ -0,0 +1,373 @@
|
||||
{
|
||||
"Unknown function call: %1": "Hàm không xác định: %1",
|
||||
"Show next time": "Hiển thị lần sau",
|
||||
"Fidelity": "Khá giống gốc",
|
||||
"Open file link": "Mở liên kết tệp",
|
||||
"Interrupts possibility of overview being toggled on release.": "Ngăn mở overview khi nhả nút.",
|
||||
"No audio source": "Không có nguồn âm thanh",
|
||||
"Might look ass. Unsupported.": "Có thể rất tệ. Không được hỗ trợ.",
|
||||
"Jump to current month": "Nhảy đến tháng hiện tại",
|
||||
"Delete": "Xóa",
|
||||
"**Pricing**: free. Data used for training.\n\n**Instructions**: Log into Google account, allow AI Studio to create Google Cloud project or whatever it asks, go back and click Get API key": "**Giá**: miễn phí. Dữ liệu được sử dụng cho mục đích huấn luyện. **Hướng dẫn**: Đăng nhập vào tài khoản Google, cho phép AI Studio tạo dự án Google Cloud gì đó, quay lại rồi ấn Get API key",
|
||||
"Rainbow": "Cầu vồng",
|
||||
"%1 does not require an API key": "%1 không cần API key",
|
||||
"Choose model": "Chọn model",
|
||||
"Prevents abrupt increments and restricts volume limit": "Chặn thay đổi đột ngột và giới hạn âm lượng",
|
||||
"%1 characters": "%1 ký tự",
|
||||
"Change any time later with /dark, /light, /img in the launcher": "Thay đổi bất cứ lúc nào sau này với /dark, /light, /img trong launcher",
|
||||
"Tonal Spot": "Tonal Spot",
|
||||
"Neutral": "Trung tính",
|
||||
"To Do": "Cần làm",
|
||||
"Auto": "Tự động",
|
||||
"Polling interval (ms)": "Thời gian lặp lại (ms)",
|
||||
"Center title": "Căn giữa tiêu đề",
|
||||
"Lock": "Khóa màn hình",
|
||||
"Screen snip": "Chụp màn hình (chọn vùng)",
|
||||
"User agent (for services that require it)": "User agent (nếu cần)",
|
||||
"Report a Bug": "Báo lỗi",
|
||||
"Shutdown": "Tắt máy",
|
||||
"Keyboard toggle": "Mở/đóng bàn phím ảo",
|
||||
"The hentai one | Great quantity, a lot of NSFW, quality varies wildly": "Cái nhiều hentai nhất | Số lượng rất tốt, rất nhiều NSFW, chất lượng có thể khác nhau nhiều",
|
||||
"Download": "Tải xuống",
|
||||
"Note: turning off can hurt readability": "Ghi chú: nếu tắt có thể khó đọc",
|
||||
"Local Ollama model | %1": "Model Ollama trên máy | %1",
|
||||
"Silent": "Im lặng",
|
||||
"Columns": "Số cột",
|
||||
"Set with /mode PROVIDER": "Set with /mode PROVIDER",
|
||||
"Issues": "Các vấn đề",
|
||||
"Policies": "Chính sách",
|
||||
"Load chat from %1": "Tải trò chuyện từ %1",
|
||||
"Unknown Album": "Album không xác định",
|
||||
"Yes": "Có",
|
||||
"Battery": "Pin",
|
||||
"Material palette": "Kiểu material",
|
||||
"Chain of Thought": "Dòng suy nghĩ",
|
||||
"This is necessary because GlobalShortcut.onReleased in quickshell triggers whether or not you press something else while holding the key.": "Cần cái này vì GlobalShortcut.onReleased cho một phím của Quickshell được kích hoạt kể cả khi ban ân phím khác trước khi thả phím đó.",
|
||||
"Low warning": "Cảnh báo thấp",
|
||||
". Notes for Zerochan:\n- You must enter a color\n- Set your zerochan username in `sidebar.booru.zerochan.username` config option. You [might be banned for not doing so](https://www.zerochan.net/api#:~:text=The%20request%20may%20still%20be%20completed%20successfully%20without%20this%20custom%20header%2C%20but%20your%20project%20may%20be%20banned%20for%20being%20anonymous.)!": ". Với Zerochan:\n- Hãy nhập tên một màu (bằng tiếng Anh)\n- Đặt username Zerochan trong tùy chọn `sidebar.booru.zerochan.username`. Bạn [có thể bị ban nếu không tuân thủ](https://www.zerochan.net/api#:~:text=The%20request%20may%20still%20be%20completed%20successfully%20without%20this%20custom%20header%2C%20but%20your%20project%20may%20be%20banned%20for%20being%20anonymous.)!",
|
||||
"Brightness": "Độ sáng",
|
||||
"Yooooo hi there": "Yooooo chào bạn",
|
||||
"Colors & Wallpaper": "Màu sắc & Hình nền",
|
||||
"No media": "Không có media",
|
||||
"Critical warning": "Cảnh báo rất thấp",
|
||||
"Mic toggle": "Bật/tắt mic",
|
||||
"12h AM/PM": "12h AM/PM",
|
||||
"Large language models": "Mô hình ngôn ngữ lớn",
|
||||
"Markdown test": "Test markdown",
|
||||
"Temperature: %1": "Nhiệt độ: %1",
|
||||
"Edit": "Sửa",
|
||||
"Waifus only | Excellent quality, limited quantity": "Chỉ waifus | Chất lượng xuất sắc, số lượng hạn chế",
|
||||
"Cheat sheet": "Bảng tra cứu",
|
||||
"Current model: %1\nSet it with %2model MODEL": "Model đang chọn: %1\nChọn với lệnh %2model MODEL",
|
||||
"Provider set to": "Đã đặt nhà cung cấp thành",
|
||||
"Clear": "Xóa hết",
|
||||
"GitHub": "GitHub",
|
||||
"App": "Ứng dụng",
|
||||
"Title bar": "Thanh tiêu đề",
|
||||
"Web search": "Tìm kiếm web",
|
||||
"Invalid model. Supported: \n```": "Model không hợp lệ. Các lựa chọn: \n```",
|
||||
"Calendar": "Lịch",
|
||||
"Done": "Đã xong",
|
||||
"Monochrome": "Đen trắng",
|
||||
"Show regions of potential interest": "Hiển thị vùng thông minh",
|
||||
"Dark/Light toggle": "Chuyển chế độ sáng/tối",
|
||||
"Unknown command:": "Lệnh không xác định:",
|
||||
"Allow NSFW content": "Cho phép nội dung NSFW",
|
||||
"Closes cheatsheet on press": "Đóng bảng tra cứu khi ấn",
|
||||
"Set temperature (randomness) of the model. Values range between 0 to 2 for Gemini, 0 to 1 for other models. Default is 0.5.": "Chỉnh giá trị nhiệt độ (sự ngẫu nhiên) của model. Giá trị 0-2 với Gemini, 0-1 với các model khác. Mặc định là 0.5.",
|
||||
"Invalid API provider. Supported: \n-": "Nhà cung cấp API không hợp lệ. Các lựa chọn: \n-",
|
||||
"Shell windows": "Cửa sổ của shell",
|
||||
"Loaded the following system prompt\n\n---\n\n%1": "Đã tải chỉ dẫn hệ thống sau đây\n\n---\n\n%1",
|
||||
"Clipboard": "Clipboard",
|
||||
"For storing API keys and other sensitive information": "Để lưu trữ API key và các thông tin nhạy cảm khác",
|
||||
"Wallpaper": "Hình nền",
|
||||
"Decorations & Effects": "Trang trí & Hiệu ứng",
|
||||
"AI": "AI",
|
||||
"Large images | God tier quality, no NSFW.": "Ảnh kích thước lớn | Chất lượng cực tốt, không có NSFW.",
|
||||
"When not fullscreen": "Khi không toàn màn hình",
|
||||
"Resources": "Tài nguyên",
|
||||
"Light": "Sáng",
|
||||
"Weeb": "Wibu",
|
||||
"Disable NSFW content": "Tắt nội dung NSFW",
|
||||
"OK": "OK",
|
||||
"Screenshot tool": "Công cụ chụp màn hình",
|
||||
"Enable": "Bật",
|
||||
"Select Language": "Chọn ngôn ngữ",
|
||||
"System": "Hệ thống",
|
||||
"Emojis": "Emoji",
|
||||
"The current system prompt is\n\n---\n\n%1": "Chỉ dẫn hệ thống hiện tại như sau\n\n---\n\n%1",
|
||||
"Translator": "Dịch",
|
||||
"Sleep": "Ngủ",
|
||||
"Action": "Hành động",
|
||||
"Audio": "Âm thanh",
|
||||
"Show background": "Hiện nền",
|
||||
"All-rounder | Good quality, decent quantity": "Tốt đều | Chất lượng tốt, số lượng ổn",
|
||||
"Documentation": "Tài liệu",
|
||||
"Terminal": "Terminal",
|
||||
"Distro": "Distro",
|
||||
"Clear chat history": "Xóa lịch sử trò chuyện",
|
||||
"Float": "Nổi",
|
||||
"<i>No further instruction provided</i>": "<i>No further instruction provided</i>",
|
||||
"Choose file": "Chọn tệp",
|
||||
"Set the system prompt for the model.": "Đặt chỉ dẫn hệ thống cho model.",
|
||||
"Unknown Title": "Bài hát không rõ tên",
|
||||
"Math result": "Kết quả phép tính",
|
||||
"Logout": "Đăng xuất",
|
||||
"Privacy Policy": "Chính sách quyền riêng tư",
|
||||
"Style": "Phong cách",
|
||||
"Borderless": "Không viền",
|
||||
"Set API key": "Đặt API key",
|
||||
"Clean stuff | Excellent quality, no NSFW": "Sạch sẽ | Chất lượng xuất sắc, không có NSFW",
|
||||
"Experimental | Online | Google's model\nCan do a little more but doesn't search quickly": "Thử nghiệm | Trực tuyến | Model của Google\nCó thể làm nhiều hơn một chút nhưng không tìm kiếm nhanh chóng",
|
||||
"Toggles cheatsheet on press": "Mở/đóng bảng tra cứu khi ấn",
|
||||
"Thinking": "Đang nghĩ",
|
||||
"Earbang protection": "Bảo vệ tai",
|
||||
"Advanced": "Nâng cao",
|
||||
"Could be better if you make a ton of typos,\nbut results can be weird and might not work with acronyms\n(e.g. \"GIMP\" might not give you the paint program)": "Có thể tốt hơn nếu bạn gõ lệch phím nhiều,\nnhưng kết quả có thể hơi lạ và không hoạt động tốt với từ viết tắt\n(ví dụ tìm \"GIMP\" có thể không ra cái chương trình vẽ)",
|
||||
"Shell & utilities theming must also be enabled": "Cần Shell & công cụ cũng bật",
|
||||
"Desktop": "Màn hình chính",
|
||||
"Anime": "Anime",
|
||||
"Qt apps": "Các ứng dụng Qt",
|
||||
"Style & wallpaper": "Phong cách & hình nền",
|
||||
"Finished tasks will go here": "Việc đã xong sẽ hiện ở đây",
|
||||
"Weather": "Thời tiết",
|
||||
"Settings": "Cài đặt",
|
||||
"Shell & utilities": "Shell & tiện ích",
|
||||
"Unfinished": "Chưa xong",
|
||||
"Random: Konachan": "Ngẫu nhiên: Konachan",
|
||||
"Pick wallpaper image on your system": "Chọn hình nền trên máy",
|
||||
"Volume": "Âm lượng",
|
||||
"Add": "Thêm",
|
||||
"Hibernate": "Ngủ đông",
|
||||
"Run": "Chạy",
|
||||
"Keep system awake": "Giữ hệ thống bật",
|
||||
"To make sure this works consistently, use binditn = MODKEYS, catchall in an automatically triggered submap that includes everything.": "Để đảm bảo luôn hoạt động, dùng binditn = MODKEYS, catchall trong một submap luôn được kích hoạt bao trùm mọi thứ.",
|
||||
"Plain rectangle": "Hình chữ nhật",
|
||||
"%1 queries pending": "%1 lệnh gọi đang chờ",
|
||||
"Temperature set to %1": "Nhiệt độ đã được đặt thành %1",
|
||||
"Notifications": "Thông báo",
|
||||
"System prompt": "Chỉ dẫn hệ thống",
|
||||
"Hover to reveal": "Đặt chuột vào để hiện",
|
||||
"No": "Không",
|
||||
"Bar": "Bar",
|
||||
"Search the web": "Tìm kiếm web",
|
||||
"Page %1": "Trang %1",
|
||||
"Reboot": "Khởi động lại",
|
||||
"Such regions could be images or parts of the screen that have some containment.\nMight not always be accurate.\nThis is done with an image processing algorithm run locally and no AI is used.": "Các vùng có thể là hình ảnh hoặc phần của màn hình cớ vẻ được bao chứa.\nKhông luôn chính xác.\nSử dụng một thuật toán xử lý ảnh chạy trên máy, không dùng AI.",
|
||||
"Show app icons": "Hiện biểu tượng ứng dụng",
|
||||
"Closet": "Nghiện mà ngại",
|
||||
"Set the current API provider": "Đặt nguồn cung cấp API",
|
||||
"Cancel": "Hủy",
|
||||
"Networking": "Mạng",
|
||||
"Overview": "Overview",
|
||||
"Search, calculate or run": "Tìm, tính hoặc chạy",
|
||||
"Useless buttons": "Mấy nút vô dụng",
|
||||
"Transparency": "Sự trong suốt",
|
||||
"Temperature must be between 0 and 2": "Nhiệt độ phải trong khoảng từ 0 đến 2",
|
||||
"Automatically suspends the system when battery is low": "Tự động ngủ khi pin thấp",
|
||||
"Current API endpoint: %1\nSet it with %2mode PROVIDER": "Endpoint API hiện tại: %1\nĐặt với lệnh %2mode PROVIDER",
|
||||
"Services": "Các dịch vụ",
|
||||
"Reload Hyprland & Quickshell": "Tải lại Hyprland & Quickshell",
|
||||
"Automatic suspend": "Tự động ngủ",
|
||||
"illogical-impulse Welcome": "illogical-impulse - Xin chào",
|
||||
"Interface": "Giao diện",
|
||||
"Load chat": "Tải cuộc trò chuyện",
|
||||
"Number show delay when pressing Super (ms)": "Thời gian chờ hiện số khi nhấn Super (ms)",
|
||||
"Clear the current list of images": "Xóa danh sách hình ảnh hiện tại",
|
||||
"Fake screen rounding": "Giả bo tròn màn hình",
|
||||
"Tip: Hide icons and always show numbers for\nthe classic illogical-impulse experience": "Mẹo: Ẩn biểu tượng và luôn hiển thị số nếu\nmuốn giống trải nghiệm illogical-impulse gốc",
|
||||
"Launch": "Chạy",
|
||||
"%1 notifications": "%1 thông báo",
|
||||
"%1 | Right-click to configure": "%1 | Ấn chuột phải để chỉnh",
|
||||
"Unknown Artist": "Nghệ sĩ không xác định",
|
||||
"Appearance": "Giao diện",
|
||||
"Task Manager": "Quản lí ứng dụng đang chạy",
|
||||
"To set an API key, pass it with the command\n\nTo view the key, pass \"get\" with the command<br/>\n\n### For %1:\n\n**Link**: %2\n\n%3": "Để đặt API key, viết nó sau lệnh\n\nĐể xem lại, viết \"get\" sau lệnh<br/>\n\n### Với %1:\n\n**Link**: %2\n\n%3",
|
||||
"Opens cheatsheet on press": "Mở bảng tra cứu khi ấn",
|
||||
"Invalid arguments. Must provide `key` and `value`.": "Biến không hợp lệ. cần cả `key` và `value`.",
|
||||
"About": "Giới thiệu",
|
||||
"illogical-impulse": "illogical-impulse",
|
||||
"Help & Support": "Trợ giúp",
|
||||
"Enter tags, or \"%1\" for commands": "Nhập tag hoặc \"%1\" để xem các lệnh",
|
||||
"Format": "Định dạng",
|
||||
"Content": "Giống gốc",
|
||||
"Edit config": "Sửa config",
|
||||
"Bluetooth": "Bluetooth",
|
||||
"Be patient...": "Bình tĩnh...",
|
||||
"Discussions": "Thảo luận",
|
||||
"Anime boorus": "Các booru anime",
|
||||
"That didn't work. Tips:\n- Check your tags and NSFW settings\n- If you don't have a tag in mind, type a page number": "Quả này không được. Mẹo:\n- Kiểm tra tag và cài đặt NSFW\n- Nếu không nghĩ ra tag nào có thể nhập số trang",
|
||||
"Task description": "Mô tả công việc",
|
||||
"Max allowed increase": "Thay đổi tối đa",
|
||||
"Rows": "Số hàng",
|
||||
"Switched to search mode. Continue with the user's request.": "Đã chuyển sang chế độ tìm kiếm. Tiếp tục với yêu cầu của người dùng.",
|
||||
"Use Levenshtein distance-based algorithm instead of fuzzy": "Sử dụng thuật toán dùng khoảng cách Levenshtein thay vì fuzzy",
|
||||
"Copy": "Sao chép",
|
||||
"12h am/pm": "12h am/pm",
|
||||
"Unknown": "Không xác định",
|
||||
"Waiting for response...": "Đang chờ phản hồi...",
|
||||
"Workspace": "Workspace",
|
||||
"Random SFW Anime wallpaper from Konachan\nImage is saved to ~/Pictures/Wallpapers": "Hình nền Anime SFW ngẫu nhiên từ Konachan\nẢnh được lưu vào ~/Pictures/Wallpapers",
|
||||
"Online via %1 | %2's model": "Trực tuyến qua %1 | Model của %2",
|
||||
"Always show numbers": "Luôn hiện số",
|
||||
"or": "hoặc",
|
||||
"Drag or click a region • LMB: Copy • RMB: Edit": "Kéo thả hoặc chọn vùng • Chuột trái: Sao chép • Chuột phải: Chỉnh sửa",
|
||||
"Local only": "Chỉ trên máy",
|
||||
"Donate": "Ủng hộ",
|
||||
"Online | Google's model\nGives up-to-date information with search.": "Trực tuyến | Model của Google\nCó thể tìm kiếm để cung cấp thông tin cập nhật.",
|
||||
"Run command": "Chạy lệnh",
|
||||
"Dotfiles": "Dotfiles",
|
||||
"Volume limit": "Giới hạn âm lượng",
|
||||
"On-screen display": "Âm lượng/độ sáng",
|
||||
"Reboot to firmware settings": "Khởi động lại vào cài đặt firmware",
|
||||
"Workspaces shown": "Số workspace hiển thị",
|
||||
"Save": "Lưu",
|
||||
"The popular one | Best quantity, but quality can vary wildly": "Phổ biến | Số lượng tốt nhất, nhưng chất lượng không biết đâu vào đâu",
|
||||
"Save chat": "Lưu cuộc trò chuyện",
|
||||
"Intelligence": "Trí tuệ",
|
||||
"Translation goes here...": "Bản dịch sẽ hiện ở đây...",
|
||||
"Toggle clipboard query on overview widget": "Mở/đóng tìm kiếm clipboard trên overview",
|
||||
"Search": "Tìm kiếm",
|
||||
"Timeout (ms)": "Thời gian chờ (ms)",
|
||||
"24h": "24h",
|
||||
"Color picker": "Chọn màu",
|
||||
"Save to Downloads": "Lưu vào Downloads",
|
||||
"No notifications": "Không có thông báo",
|
||||
"Game mode": "Chế độ game",
|
||||
"Alternatively use /dark, /light, /img in the launcher": "Có thể dùng /dark, /light, /img trong launcher",
|
||||
"Info": "Thông tin",
|
||||
"Dock": "Dock",
|
||||
"Pinned on startup": "Ghim khi khởi động",
|
||||
"Suspend at": "Tạm dừng ở",
|
||||
"Fruit Salad": "Salad hoa quả",
|
||||
"API key:\n\n```txt\n%1\n```": "API key:\n\n```txt\n%1\n```",
|
||||
"API key set for %1": "API key đã đặt cho %1",
|
||||
"Not visible to model": "Không hiển thị cho model",
|
||||
"Expressive": "Biểu cảm",
|
||||
"Enter text to translate...": "Nhập văn bản để dịch...",
|
||||
"Usage": "Cách dùng",
|
||||
"Message the model... \"%1\" for commands": "Hỏi model... \"%1\" để xem lệnh",
|
||||
"Keybinds": "Phím tắt",
|
||||
"Model set to %1": "Đã đặt model thành %1",
|
||||
"Scale (%)": "Tỉ lệ (%)",
|
||||
"Type /key to get started with online models\nCtrl+O to expand the sidebar\nCtrl+P to detach sidebar into a window": "Gõ /key để bắt đầu dùng các model trực tuyến\nCtrl+O để mở rộng sidebar\nCtrl+P để nhấc sidebar thành cửa sổ",
|
||||
"Output": "Đầu ra",
|
||||
"Uptime: %1": "Máy bật được %1",
|
||||
"For desktop wallpapers | Good quality": "Cho hình nền máy tính | Chất lượng tốt",
|
||||
"Nothing here!": "Không có gì ở đây!",
|
||||
"Close": "Đóng",
|
||||
"Arrow keys to navigate, Enter to select\nEsc or click anywhere to cancel": "Phím mũi tên để chọn, Enter để xác nhận\nEsc hoặc ấn bất kỳ đâu để thoát",
|
||||
"Copy code": "Sao chép code",
|
||||
"Load prompt from %1": "Tải chỉ dẫn từ %1",
|
||||
"Time": "Thời gian",
|
||||
"**Pricing**: free. Data use policy varies depending on your OpenRouter account settings.\n\n**Instructions**: Log into OpenRouter account, go to Keys on the topright menu, click Create API Key": "**Giá**: miễn phí. Chính sách sử dụng dữ liệu tùy thuộc vào cài đặt tài khoản OpenRouter của bạn.\n\n**Hướng dẫn**: Đăng nhập vào tài khoản OpenRouter, mở Keys ở menu góc trên bên phải, ấn Create API Key",
|
||||
"Bar style": "Phong cách bar",
|
||||
"Configuration": "Cài đặt",
|
||||
"Prefixes": "Kí tự đầu",
|
||||
"No API key set for %1": "Không có API key cho %1",
|
||||
"Add task": "Thêm công việc",
|
||||
"Volume mixer": "Trộn âm lượng",
|
||||
"Go to source (%1)": "Đi đến nguồn (%1)",
|
||||
"The current API used. Endpoint:": "API đang sử dụng. Endpoint:",
|
||||
"View Markdown source": "Xem nguồn Markdown",
|
||||
"Input": "Đầu vào",
|
||||
"Allow NSFW": "Cho phép NSFW",
|
||||
"Session": "Session",
|
||||
"Detach left sidebar into a window/Attach it back": "Nhấc sidebar trái thành cửa sổ/Đặt nó lại",
|
||||
"Night Light": "Lọc ánh sáng xanh",
|
||||
"Workspaces": "Các workspace",
|
||||
"Dark": "Tối",
|
||||
"Base URL": "Base URL",
|
||||
"Hug": "Ôm",
|
||||
"Buttons": "Các nút",
|
||||
"Get the next page of results": "Lấy trang kết quả tiếp theo",
|
||||
"%1 Safe Storage": "Lưu trữ an toàn %1",
|
||||
"Color generation": "Chỉnh màu",
|
||||
"Select output device": "Chọn đầu ra",
|
||||
"Select input device": "Chọn đầu vào",
|
||||
"%1 • %2 tasks": "%1 • %2 việc cần làm",
|
||||
"Online models disallowed\n\nControlled by `policies.ai` config option": "Model trực tuyến không được cho phép\n\nCài đặt bởi lựa chọn `policies.ai`",
|
||||
"Download complete": "Đã tải xong",
|
||||
"Code saved to file": "Code đã lưu vào file",
|
||||
"Critically low battery": "Pin rất thấp",
|
||||
"Scroll to change brightness": "Cuộn để thay đổi độ sáng",
|
||||
"Cloudflare WARP": "Cloudflare WARP",
|
||||
"Toggles bar on press": "Mở/đóng bar khi ấn",
|
||||
"Saved to %1": "Đã lưu vào %1",
|
||||
"Elements": "Nguyên tố",
|
||||
"Save chat to %1": "Lưu chat vào %1",
|
||||
"Connection failed. Please inspect manually with the <tt>warp-cli</tt> command": "Kết nối không thành công. Hãy xem lại với lệnh <tt>warp-cli</tt>",
|
||||
"Weather Service": "Thời tiết",
|
||||
"Registration failed. Please inspect manually with the <tt>warp-cli</tt> command": "Đăng ký không thành công. Hãy xem lại với lệnh <tt>warp-cli</tt>",
|
||||
"Consider plugging in your device": "Hãy cắm nguồn thiết bị của bạn",
|
||||
"Cloudflare WARP (1.1.1.1)": "Cloudflare WARP (1.1.1.1)",
|
||||
"Cannot find a GPS service. Using the fallback method instead.": "Không tìm thấy dịch vụ GPS. Đang sử dụng phương pháp dự phòng.",
|
||||
"Opens bar on press": "Mở bar khi ấn",
|
||||
"Low battery": "Pin yếu",
|
||||
"Scroll to change volume": "Cuộn để thay đổi âm lượng",
|
||||
"Please charge!\nAutomatic suspend triggers at %1": "Hãy sạc pin!\nHệ thống sẽ tự động ngủ khi pin xuống %1",
|
||||
"Closes bar on press": "Đóng bar khi ấn",
|
||||
"Mo": "T2/*keep*/",
|
||||
"Tu": "T3/*keep*/",
|
||||
"We": "T4/*keep*/",
|
||||
"Th": "T5/*keep*/",
|
||||
"Fr": "T6/*keep*/",
|
||||
"Sa": "T7/*keep*/",
|
||||
"Su": "CN/*keep*/",
|
||||
"Approve": "Chấp nhận",
|
||||
"Set the tool to use for the model.": "Chọn công cụ để sử dụng với model.",
|
||||
"No API key\nSet it with /key YOUR_API_KEY": "Không có API key\nĐặt bằng /key API_KEY",
|
||||
"API Key": "API Key",
|
||||
"EasyEffects | Right-click to configure": "EasyEffects | Ấn chuột phải để chỉnh cài đặt",
|
||||
"API key is set": "API key đã đặt",
|
||||
"Invalid tool. Supported tools:\n- %1": "Công cụ không hợp lệ. Các lựa chọn:\n- %1",
|
||||
"Thought": "Suy nghĩ",
|
||||
"Current tool: %1\nSet it with %2tool TOOL": "Công cụ: %1\nĐặt bằng %2tool CÔNG_CỤ",
|
||||
"Edit shell config file": "Chỉnh file config của shell",
|
||||
"A download might be in progress": "Có thể có tệp đang tải",
|
||||
"API key is set\nChange with /key YOUR_API_KEY": "API key đã đặt\nThay đổi bằng /key API_KEY",
|
||||
"Temperature\nChange with /temp VALUE": "Nhiệt độ (độ ngẫu nhiên)\nThay đổi bằng /temp GIÁ_TRỊ",
|
||||
"Your package manager is running": "Package manager đang chạy",
|
||||
"Usage: %1load CHAT_NAME": "Hướng dẫn: %1load TÊN_ĐOẠN_CHAT",
|
||||
"Cannot switch to search mode from %1": "Không thể chuyển sang chế độ tìm kiếm từ %1",
|
||||
"UV Index": "Chỉ số UV",
|
||||
"Online | Google's model\nFast, can perform searches for up-to-date information": "Trực tuyến | Model của Google\nNhanh, có thể tìm kiếm Google để lấy thông tin cập nhật",
|
||||
"Token count": "Số lượng token",
|
||||
"Experimental | Online | Google's model\nA Gemini 2.5 Flash model optimized for cost-efficiency and high throughput.": "Thử nghiệm | Trực tuyến | Model của Google\nModel Gemini 2.5 Flash tối ưu hóa cho hiệu quả chi phí và băng thông.",
|
||||
"Wallpaper parallax": "Hiệu ứng parallax (hình nền)",
|
||||
"Usage: %1tool TOOL_NAME": "Hướng dẫn: %1tool TÊN_CÔNG_CỤ",
|
||||
"Humidity": "Độ ẩm",
|
||||
"Invalid tool. Supported tools: %1": "Công cụ không hợp lệ. Các lựa chọn: %1",
|
||||
"Sunset": "Hoàng hôn",
|
||||
"Total token count\nInput: %1\nOutput: %2": "Số lượng token\nInput: %1\nOutput: %2",
|
||||
"Online | Google's model\nA Gemini 2.5 Flash model optimized for cost-efficiency and high throughput.": "Trực tuyến | Model của Google\nModel Gemini 2.5 Flash tối ưu hóa cho hiệu quả chi phí và băng thông.",
|
||||
"Visibility": "Tầm nhìn",
|
||||
"Pressure": "Áp suất",
|
||||
"Depends on workspace": "Phụ thuộc vào workspace",
|
||||
"Reject": "Từ chối",
|
||||
"Precipitation": "Lượng mưa",
|
||||
"Wind": "Gió",
|
||||
"Usage: %1save CHAT_NAME": "Hướng dẫn: %1save TÊN_ĐOẠN_CHAT",
|
||||
"Enable EasyEffects": "Bật EasyEffects",
|
||||
"Night Light | Click to toggle, right-click to toggle automatic mode": "Lọc ánh sáng xanh | ấn để bật/tắt, ấn chuột phải để bật/tắt chế độ tự động",
|
||||
"Night Light | Right-click to toggle Auto mode": "Lọc ánh sáng xanh | Ấn chuột phải để bật/tắt chế độ tự động",
|
||||
"No command provided": "Không có lệnh nào được cung cấp",
|
||||
"No API key": "Không có API key",
|
||||
"Performance Profile toggle": "Nút Performance Profile",
|
||||
"Sunrise": "Bình minh",
|
||||
"Online | Google's model\nNewer one that's slower": "Trực tuyến | Model của Google\nMới hơn nhưng chậm hơn",
|
||||
"Command rejected by user": "Lệnh bị từ chối bởi người dùng",
|
||||
"Experimental | Online | Google's model\nCan do a little more but takes an extra turn to perform search": "Thử nghiệm | Trực tuyến | Model của Google\nCó thể làm nhiều hơn một chút nhưng mất thêm một lượt để thực hiện tìm kiếm",
|
||||
"Depends on sidebars": "Phụ thuộc vào sidebar",
|
||||
"Temperature": "Nhiệt độ",
|
||||
"There might be a download in progress": "Có thể có tệp đang tải",
|
||||
"EasyEffects": "EasyEffects",
|
||||
"Token count | Input: %1 | Output: %2": "Số lượng token | Input: %1 | Output: %2",
|
||||
"Tool set to %1": "Công cụ được đặt thành %1",
|
||||
"Invalid arguments. Must provide `command`.": "Tham số không hợp lệ. Phải cung cấp `command`.",
|
||||
"A download is in progress": "Có một tệp đang tải",
|
||||
"illogical-impulse Settings": "Cài đặt illogical-impulse",
|
||||
"Online | Google's model\nNewer model that's slower than its predecessor but should deliver higher quality answers": "Trực tuyến | Model của Google\nMới hơn nhưng chậm hơn so với phiên bản trước nhưng nên cung cấp câu trả lời chất lượng cao hơn",
|
||||
"Preferred wallpaper zoom (%)": "Tỷ lệ thu phóng hình nền (%)",
|
||||
"Function Response": "Phản hồi function"
|
||||
}
|
||||
@@ -0,0 +1,314 @@
|
||||
{
|
||||
"Mo": "一/*keep*/",
|
||||
"Tu": "二/*keep*/",
|
||||
"We": "三/*keep*/",
|
||||
"Th": "四/*keep*/",
|
||||
"Fr": "五/*keep*/",
|
||||
"Sa": "六/*keep*/",
|
||||
"Su": "日/*keep*/",
|
||||
"%1 characters": "%1 个字符",
|
||||
"**Pricing**: free. Data used for training.\n\n**Instructions**: Log into Google account, allow AI Studio to create Google Cloud project or whatever it asks, go back and click Get API key": "**价格**:免费。数据用于训练。\n\n**说明**:登录 Google 账户,允许 AI Studio 创建 Google Cloud 项目或其他要求,然后返回并点击获取 API 密钥",
|
||||
"**Pricing**: free. Data use policy varies depending on your OpenRouter account settings.\n\n**Instructions**: Log into OpenRouter account, go to Keys on the topright menu, click Create API Key": "**价格**:免费。数据使用政策取决于您的 OpenRouter 账户设置。\n\n**说明**:登录 OpenRouter 账户,在右上角菜单中选择 Keys,点击创建 API 密钥",
|
||||
". Notes for Zerochan:\n- You must enter a color\n- Set your zerochan username in `sidebar.booru.zerochan.username` config option. You [might be banned for not doing so](https://www.zerochan.net/api#:~:text=The%20request%20may%20still%20be%20completed%20successfully%20without%20this%20custom%20header%2C%20but%20your%20project%20may%20be%20banned%20for%20being%20anonymous.)!": ". Notes for Zerochan:\n- You must enter a color\n- Set your zerochan username in `sidebar.booru.zerochan.username` config option. You [might be banned for not doing so](https://www.zerochan.net/api#:~:text=The%20request%20may%20still%20be%20completed%20successfully%20without%20this%20custom%20header%2C%20but%20your%20project%20may%20be%20banned%20for%20being%20anonymous.)!",
|
||||
"<i>No further instruction provided</i>": "<i>未提供进一步说明</i>",
|
||||
"API key set for %1": "已为 %1 设置 API 密钥",
|
||||
"API key:\n\n```txt\n%1\n```": "API 密钥:\n\n```txt\n%1\n```",
|
||||
"Action": "操作",
|
||||
"Add": "添加",
|
||||
"Add task": "添加任务",
|
||||
"All-rounder | Good quality, decent quantity": "全能型 | 质量好,数量适中",
|
||||
"Allow NSFW": "允许 NSFW",
|
||||
"Allow NSFW content": "允许 NSFW 内容",
|
||||
"Anime": "动漫",
|
||||
"Anime boorus": "动漫图库",
|
||||
"App": "应用",
|
||||
"Arrow keys to navigate, Enter to select\nEsc or click anywhere to cancel": "方向键导航,回车选择\nEsc 或点击任意地方取消",
|
||||
"Bluetooth": "蓝牙",
|
||||
"Brightness": "亮度",
|
||||
"Cancel": "取消",
|
||||
"Chain of Thought": "思维链",
|
||||
"Cheat sheet": "快捷键表",
|
||||
"Choose model": "选择模型",
|
||||
"Clean stuff | Excellent quality, no NSFW": "清洁内容 | 优秀质量,无 NSFW",
|
||||
"Clear": "清除",
|
||||
"Clear chat history": "清除聊天记录",
|
||||
"Clear the current list of images": "清除当前图片列表",
|
||||
"Close": "关闭",
|
||||
"Copy": "复制",
|
||||
"Copy code": "复制代码",
|
||||
"Current API endpoint: %1\nSet it with %2mode PROVIDER": "当前 API 端点:%1\n使用 %2mode PROVIDER 设置",
|
||||
"Delete": "删除",
|
||||
"Desktop": "桌面",
|
||||
"Disable NSFW content": "禁用 NSFW 内容",
|
||||
"Done": "完成",
|
||||
"Download": "下载",
|
||||
"Edit": "编辑",
|
||||
"Enter text to translate...": "输入要翻译的文本...",
|
||||
"Finished tasks will go here": "已完成的任务将显示在这里",
|
||||
"For desktop wallpapers | Good quality": "桌面壁纸专用 | 质量好",
|
||||
"For storing API keys and other sensitive information": "用于存储 API 密钥和其他敏感信息",
|
||||
"Game mode": "游戏模式",
|
||||
"Get the next page of results": "获取下一页结果",
|
||||
"Go to source (%1)": "转到源 (%1)",
|
||||
"Hibernate": "休眠",
|
||||
"Input": "输入",
|
||||
"Intelligence": "智能体",
|
||||
"Interface": "界面",
|
||||
"Invalid arguments. Must provide `key` and `value`.": "参数无效。必须提供 `key` 和 `value`。",
|
||||
"Jump to current month": "跳转到当前月份",
|
||||
"Keep system awake": "保持系统唤醒",
|
||||
"Large images | God tier quality, no NSFW.": "大尺寸图片 | 顶级质量,无 NSFW",
|
||||
"Large language models": "大语言模型",
|
||||
"Launch": "启动",
|
||||
"Local Ollama model | %1": "本地 Ollama 模型 | %1",
|
||||
"Lock": "锁定",
|
||||
"Logout": "注销",
|
||||
"Markdown test": "Markdown 测试",
|
||||
"Math result": "数学结果",
|
||||
"Night Light": "护眼模式",
|
||||
"No API key set for %1": "未为 %1 设置 API 密钥",
|
||||
"No audio source": "无音频源",
|
||||
"No media": "无媒体",
|
||||
"No notifications": "无通知",
|
||||
"Not visible to model": "对模型不可见",
|
||||
"Nothing here!": "这里什么都没有!",
|
||||
"Notifications": "通知",
|
||||
"OK": "确定",
|
||||
"Open file link": "打开文件链接",
|
||||
"Output": "输出",
|
||||
"Page %1": "第 %1 页",
|
||||
"Reboot": "重启",
|
||||
"Reboot to firmware settings": "重启到固件设置",
|
||||
"Reload Hyprland & Quickshell": "重新加载 Hyprland 和 Quickshell",
|
||||
"Run": "运行",
|
||||
"Run command": "运行命令",
|
||||
"Save": "保存",
|
||||
"Save to Downloads": "保存到下载文件夹",
|
||||
"Search": "搜索",
|
||||
"Search the web": "在网络上搜索",
|
||||
"Search, calculate or run": "搜索、计算或运行",
|
||||
"Select Language": "选择语言",
|
||||
"Session": "会话",
|
||||
"Set API key": "设置 API 密钥",
|
||||
"Set temperature (randomness) of the model. Values range between 0 to 2 for Gemini, 0 to 1 for other models. Default is 0.5.": "设置模型的温度(随机性)。Gemini 模型范围为 0 到 2,其他模型为 0 到 1。默认值为 0.5。",
|
||||
"Set the current API provider": "设置当前 API 提供商",
|
||||
"Shutdown": "关机",
|
||||
"Silent": "静音",
|
||||
"Sleep": "睡眠",
|
||||
"System": "系统",
|
||||
"Task Manager": "任务管理器",
|
||||
"Task description": "任务描述",
|
||||
"Temperature must be between 0 and 2": "温度必须在 0 到 2 之间",
|
||||
"Temperature set to %1": "温度设置为 %1",
|
||||
"Temperature: %1": "温度:%1",
|
||||
"The hentai one | Great quantity, a lot of NSFW, quality varies wildly": "成人向 | 数量巨大,大量 NSFW,质量参差不齐",
|
||||
"The popular one | Best quantity, but quality can vary wildly": "最受欢迎 | 数量最多,但质量参差不齐",
|
||||
"Thinking": "思考中",
|
||||
"Translation goes here...": "翻译结果会显示在这里...",
|
||||
"Translator": "翻译器",
|
||||
"Unfinished": "未完成",
|
||||
"Unknown": "未知",
|
||||
"Unknown Album": "未知专辑",
|
||||
"Unknown Artist": "未知艺术家",
|
||||
"Unknown Title": "未知标题",
|
||||
"Unknown function call: %1": "未知函数调用:%1",
|
||||
"Uptime: %1": "运行时间:%1",
|
||||
"View Markdown source": "查看 Markdown 源码",
|
||||
"Volume": "音量",
|
||||
"Volume mixer": "音量混合器",
|
||||
"Waifus only | Excellent quality, limited quantity": "仅限角色 | 优秀质量,数量有限",
|
||||
"Waiting for response...": "等待响应...",
|
||||
"Workspace": "工作区",
|
||||
"%1 Safe Storage": "%1 安全存储",
|
||||
"%1 does not require an API key": "%1 不需要 API 密钥",
|
||||
"%1 queries pending": "%1 个查询等待中",
|
||||
"%1 | Right-click to configure": "%1 | 右键点击进行配置",
|
||||
"Set with /mode PROVIDER": "使用 /mode PROVIDER 设置",
|
||||
"Invalid API provider. Supported: \n-": "无效的 API 提供商。支持的:\n-",
|
||||
"Unknown command:": "未知命令:",
|
||||
"Type /key to get started with online models\nCtrl+O to expand the sidebar\nCtrl+P to detach sidebar into a window": "输入 /key 开始使用在线模型\nCtrl+O 展开侧边栏\nCtrl+P 将侧边栏分离为窗口",
|
||||
"The current API used. Endpoint:": "当前使用的 API。端点:",
|
||||
"Provider set to": "提供商设置为",
|
||||
"Invalid model. Supported: \n```": "无效模型。支持的:\n```",
|
||||
"Switched to search mode. Continue with the user's request.": "已切换到搜索模式。继续处理用户请求。",
|
||||
"Experimental | Online | Google's model\nCan do a little more but doesn't search quickly": "实验性 | 在线 | Google 模型\n功能更多但搜索速度较慢",
|
||||
"To set an API key, pass it with the command\n\nTo view the key, pass \"get\" with the command<br/>\n\n### For %1:\n\n**Link**: %2\n\n%3": "要设置 API 密钥,请将其与命令一起传递\n\n要查看密钥,请将 \"get\" 与命令一起传递<br/>\n\n### 对于 %1:\n\n**链接**:%2\n\n%3",
|
||||
"Enter tags, or \"%1\" for commands": "输入标签,或 \"%1\" 查看命令",
|
||||
"Online via %1 | %2's model": "通过 %1 在线 | %2 的模型",
|
||||
"That didn't work. Tips:\n- Check your tags and NSFW settings\n- If you don't have a tag in mind, type a page number": "没有找到结果。提示:\n- 检查您的标签和 NSFW 设置\n- 如果没有想到标签,请输入页码",
|
||||
"Online | Google's model\nGives up-to-date information with search.": "在线 | Google 模型\n通过搜索提供最新信息。",
|
||||
"Settings": "设置",
|
||||
"Save chat": "保存对话",
|
||||
"Load chat": "加载对话",
|
||||
"or": "或",
|
||||
"Set the system prompt for the model.": "为模型设置系统提示。",
|
||||
"To Do": "待办",
|
||||
"Calendar": "日历",
|
||||
"Advanced": "高级",
|
||||
"About": "关于",
|
||||
"Services": "服务",
|
||||
"Style": "样式",
|
||||
"Edit config": "编辑配置",
|
||||
"Colors & Wallpaper": "颜色和壁纸",
|
||||
"Light": "浅色",
|
||||
"Dark": "深色",
|
||||
"Material palette": "颜色主题",
|
||||
"Fidelity": "保真度",
|
||||
"Fruit Salad": "水果沙拉",
|
||||
"Alternatively use /dark, /light, /img in the launcher": "或者在启动器中使用 /dark、/light、/img",
|
||||
"Fake screen rounding": "伪造屏幕圆角",
|
||||
"When not fullscreen": "非全屏时",
|
||||
"Choose file": "选择文件",
|
||||
"Random SFW Anime wallpaper from Konachan\nImage is saved to ~/Pictures/Wallpapers": "随机 Konachan SFW 动漫壁纸\n图片保存到 ~/图片/Wallpapers",
|
||||
"Be patient...": "请耐心等待...",
|
||||
"Decorations & Effects": "装饰与特效",
|
||||
"Tonal Spot": "色调点",
|
||||
"Shell windows": "Shell 窗口",
|
||||
"Auto": "自动",
|
||||
"Wallpaper": "壁纸",
|
||||
"Content": "内容",
|
||||
"Title bar": "标题栏",
|
||||
"Transparency": "透明度",
|
||||
"Expressive": "表现力",
|
||||
"Yes": "是",
|
||||
"Enable": "启用",
|
||||
"Rainbow": "彩虹",
|
||||
"Might look ass. Unsupported.": "可能效果很差。不支持。",
|
||||
"Monochrome": "单色",
|
||||
"Random: Konachan": "随机:Konachan",
|
||||
"Center title": "标题居中",
|
||||
"Neutral": "中性",
|
||||
"Pick wallpaper image on your system": "在系统中选择壁纸图片",
|
||||
"No": "否",
|
||||
"AI": "AI",
|
||||
"Local only": "仅本地",
|
||||
"Policies": "策略",
|
||||
"Weeb": "二次元",
|
||||
"Closet": "隐藏",
|
||||
"Bar style": "条栏样式",
|
||||
"Show next time": "下次显示",
|
||||
"Usage": "用法",
|
||||
"Plain rectangle": "纯矩形",
|
||||
"Useless buttons": "无用按钮",
|
||||
"GitHub": "GitHub",
|
||||
"Style & wallpaper": "样式与壁纸",
|
||||
"Configuration": "配置",
|
||||
"Change any time later with /dark, /light, /img in the launcher": "之后可在启动器用 /dark、/light、/img 更改",
|
||||
"Keybinds": "快捷键",
|
||||
"Float": "浮动",
|
||||
"Hug": "贴合",
|
||||
"Yooooo hi there": "哟嗬,您好呀",
|
||||
"illogical-impulse Welcome": "illogical-impulse 欢迎页",
|
||||
"Info": "信息",
|
||||
"Volume limit": "音量限制",
|
||||
"Prevents abrupt increments and restricts volume limit": "防止骤增并限制音量",
|
||||
"Resources": "资源",
|
||||
"12h am/pm": "12小时 上午/下午",
|
||||
"Base URL": "基础 URL",
|
||||
"Audio": "声音",
|
||||
"Networking": "网络",
|
||||
"Format": "格式",
|
||||
"Time": "时间",
|
||||
"Battery": "电池",
|
||||
"Prefixes": "前缀",
|
||||
"Emojis": "表情符号",
|
||||
"Earbang protection": "防爆音保护",
|
||||
"Automatically suspends the system when battery is low": "电池电量低时自动挂起系统",
|
||||
"Automatic suspend": "自动挂起",
|
||||
"Suspend at": "挂起阈值",
|
||||
"Max allowed increase": "最大允许增幅",
|
||||
"Web search": "网页搜索",
|
||||
"Polling interval (ms)": "轮询间隔(毫秒)",
|
||||
"Clipboard": "剪贴板",
|
||||
"Low warning": "低电量警告",
|
||||
"24h": "24小时制",
|
||||
"Use Levenshtein distance-based algorithm instead of fuzzy": "使用 Levenshtein 距离算法替代模糊匹配",
|
||||
"System prompt": "系统提示词",
|
||||
"12h AM/PM": "12小时 AM/PM",
|
||||
"Could be better if you make a ton of typos,\nbut results can be weird and might not work with acronyms\n(e.g. \"GIMP\" might not give you the paint program)": "如果你经常打错字可能更好用,但结果可能很奇怪,并且可能无法匹配缩写(如 \"GIMP\" 可能搜不到绘图程序)",
|
||||
"Critical warning": "临界警告",
|
||||
"User agent (for services that require it)": "用户代理(部分服务需要)",
|
||||
"Such regions could be images or parts of the screen that have some containment.\nMight not always be accurate.\nThis is done with an image processing algorithm run locally and no AI is used.": "这些区域可能是图片或屏幕中具有一定包容性的部分。\n可能并不总是准确。\n这是通过本地运行的图像处理算法实现的,没有使用 AI。",
|
||||
"Note: turning off can hurt readability": "注意:关闭后可能影响可读性",
|
||||
"Workspaces shown": "显示的工作区数",
|
||||
"Dark/Light toggle": "深浅色切换",
|
||||
"Dock": "停靠栏",
|
||||
"Weather": "天气",
|
||||
"Pinned on startup": "启动时固定",
|
||||
"Tip: Hide icons and always show numbers for\nthe classic illogical-impulse experience": "提示:隐藏图标并始终显示数字以获得经典体验",
|
||||
"Appearance": "外观",
|
||||
"Always show numbers": "总是显示数字",
|
||||
"Buttons": "按钮",
|
||||
"Keyboard toggle": "键盘切换",
|
||||
"Scale (%)": "缩放比例(%)",
|
||||
"Overview": "概览",
|
||||
"Rows": "行数",
|
||||
"Borderless": "无边框",
|
||||
"Screenshot tool": "截图工具",
|
||||
"Number show delay when pressing Super (ms)": "按下 Super 时数字显示延迟(ms)",
|
||||
"Timeout (ms)": "超时时间(ms)",
|
||||
"Show app icons": "显示应用图标",
|
||||
"Workspaces": "工作区",
|
||||
"Columns": "列数",
|
||||
"On-screen display": "屏幕显示",
|
||||
"Screen snip": "屏幕截图",
|
||||
"Mic toggle": "麦克风切换",
|
||||
"Hover to reveal": "悬停显示",
|
||||
"Bar": "条栏",
|
||||
"Show background": "显示背景",
|
||||
"Show regions of potential interest": "显示可能感兴趣的区域",
|
||||
"Color picker": "取色器",
|
||||
"Help & Support": "帮助与支持",
|
||||
"Discussions": "讨论区",
|
||||
"Color generation": "配色生成",
|
||||
"Dotfiles": "配置文件",
|
||||
"Distro": "发行版",
|
||||
"Privacy Policy": "隐私政策",
|
||||
"Documentation": "文档",
|
||||
"Shell & utilities theming must also be enabled": "必须同时启用 Shell 与工具主题",
|
||||
"illogical-impulse": "illogical-impulse",
|
||||
"Donate": "捐助",
|
||||
"Terminal": "终端",
|
||||
"Shell & utilities": "Shell 与工具",
|
||||
"Qt apps": "Qt 应用",
|
||||
"Report a Bug": "报告问题",
|
||||
"Issues": "问题追踪",
|
||||
"Drag or click a region • LMB: Copy • RMB: Edit": "拖动或点击一个区域 • 鼠标左键:复制 • 鼠标右键:编辑",
|
||||
"Current model: %1\nSet it with %2model MODEL": "当前模型:%1\n使用 %2model MODEL 设置",
|
||||
"Message the model... \"%1\" for commands": "与模型对话... \"%1\" 查看命令",
|
||||
"The current system prompt is\n\n---\n\n%1": "当前系统提示词为\n\n---\n\n%1",
|
||||
"Model set to %1": "模型已设置为 %1",
|
||||
"Loaded the following system prompt\n\n---\n\n%1": "已加载以下系统提示词\n\n---\n\n%1",
|
||||
"%1 notifications": "%1 条通知",
|
||||
"Save chat to %1": "保存聊天记录到 %1",
|
||||
"Load chat from %1": "从 %1 加载聊天记录",
|
||||
"Load prompt from %1": "从 %1 加载提示词",
|
||||
"Select output device": "选择输出设备",
|
||||
"%1 • %2 tasks": "%1 • %2 个任务",
|
||||
"Online models disallowed\n\nControlled by `policies.ai` config option": "禁止在线模型\n\n由 `policies.ai` 配置项控制",
|
||||
"Select input device": "选择输入设备",
|
||||
"Low battery": "电量低",
|
||||
"Registration failed. Please inspect manually with the <tt>warp-cli</tt> command": "注册失败。请使用 <tt>warp-cli</tt> 命令手动检查",
|
||||
"Code saved to file": "代码已保存到文件",
|
||||
"Consider plugging in your device": "请考虑连接您的设备",
|
||||
"Weather Service": "天气服务",
|
||||
"Please charge!\nAutomatic suspend triggers at %1": "请充电!\n自动挂起将在 %1 时触发",
|
||||
"Cloudflare WARP (1.1.1.1)": "Cloudflare WARP (1.1.1.1)",
|
||||
"Cloudflare WARP": "Cloudflare WARP",
|
||||
"Download complete": "下载完成",
|
||||
"Critically low battery": "电量极低",
|
||||
"Scroll to change brightness": "滚动以调节亮度",
|
||||
"Saved to %1": "已保存到 %1",
|
||||
"Cannot find a GPS service. Using the fallback method instead.": "无法找到 GPS 服务。正在使用备用方法。",
|
||||
"Elements": "元素",
|
||||
"Scroll to change volume": "滚动以调节音量",
|
||||
"Connection failed. Please inspect manually with the <tt>warp-cli</tt> command": "连接失败。请使用 <tt>warp-cli</tt> 命令手动检查",
|
||||
"UV Index": "紫外线指数",
|
||||
"Pressure": "气压",
|
||||
"Visibility": "能见度",
|
||||
"Sunrise": "日出",
|
||||
"Sunset": "日落",
|
||||
"Humidity": "湿度",
|
||||
"Wind": "风",
|
||||
"Precipitation": "降水量"
|
||||
}
|
||||
Reference in New Issue
Block a user