Quickshell qstr seems not to be working, trying to implement custom translation

Add Chinese (zh_CN) translations for Quickshell interface and settings
This commit is contained in:
月月
2025-06-17 12:29:21 +08:00
parent 54dfad1d5b
commit b32734b9f5
50 changed files with 1324 additions and 187 deletions
+472
View File
@@ -0,0 +1,472 @@
{
"%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>",
"API key set for {0}": "API key set for {0}",
"API key:\n\n```txt\n{0}\n```": "API key:\n\n```txt\n{0}\n```",
"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",
"Closes cheatsheet on press": "Closes cheatsheet on press",
"Closes left sidebar on press": "Closes left sidebar on press",
"Closes media controls on press": "Closes media controls on press",
"Closes on screen keyboard on press": "Closes on screen keyboard on press",
"Closes overview": "Closes overview",
"Closes right sidebar on press": "Closes right sidebar on press",
"Copy": "Copy",
"Copy code": "Copy code",
"Ctrl+O to expand the sidebar\nCtrl+P to detach sidebar into a window": "Ctrl+O to expand the sidebar\nCtrl+P to detach sidebar into a window",
"Current API endpoint: {0}\nSet it with {1}mode PROVIDER": "Current API endpoint: {0}\nSet it with {1}mode PROVIDER",
"Current model: {0}\nSet it with {1}model MODEL": "Current model: {0}\nSet it with {1}model MODEL",
"Decrease brightness": "Decrease brightness",
"Delete": "Delete",
"Desktop": "Desktop",
"Detach left sidebar into a window/Attach it back": "Detach left sidebar into a window/Attach it back",
"Disable NSFW content": "Disable NSFW content",
"Done": "Done",
"Download": "Download",
"Download complete": "Download complete",
"Edit": "Edit",
"Enter text to translate...": "Enter text to translate...",
"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",
"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",
"Go to source ({0})": "Go to source ({0})",
"Hibernate": "Hibernate",
"Hides brightness OSD on press": "Hides brightness OSD on press",
"Hides volume OSD on press": "Hides volume OSD on press",
"Hold to show workspace numbers, release to show icons": "Hold to show workspace numbers, release to show icons",
"Increase brightness": "Increase brightness",
"Input": "Input",
"Intelligence": "Intelligence",
"Interface": "Interface",
"Interrupts possibility of overview being toggled on release. ": "Interrupts possibility of overview being toggled on release. ",
"Invalid API provider. Supported: \n- ": "Invalid API provider. Supported: \n- ",
"Invalid arguments. Must provide `key` and `value`.": "Invalid arguments. Must provide `key` and `value`.",
"Invalid model. Supported: \n```\n": "Invalid model. Supported: \n```\n",
"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",
"Local Ollama model | {0}": "Local Ollama model | {0}",
"Lock": "Lock",
"Logout": "Logout",
"Markdown test": "Markdown test",
"Math result": "Math result",
"Night Light": "Night Light",
"No API key set for {0}": "No API key set for {0}",
"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",
"Online via {0} | {1}'s model": "Online via {0} | {1}'s model",
"Online | Google's model\nGives up-to-date information with search.": "Online | Google's model\nGives up-to-date information with search.",
"Open file link": "Open file link",
"Opens cheatsheet on press": "Opens cheatsheet on press",
"Opens left sidebar on press": "Opens left sidebar on press",
"Opens media controls on press": "Opens media controls on press",
"Opens on screen keyboard on press": "Opens on screen keyboard on press",
"Opens right sidebar on press": "Opens right sidebar on press",
"Opens session screen on press": "Opens session screen on press",
"Output": "Output",
"Page {0}": "Page {0}",
"Plasma Settings": "Plasma Settings",
"Provider set to ": "Provider set to ",
"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",
"Scroll to change brightness": "Scroll to change brightness",
"Scroll to change volume": "Scroll to change volume",
"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",
"Shell configuration created": "Shell configuration created",
"Shell configuration failed to load": "Shell configuration failed to load",
"Shell configuration reloaded": "Shell configuration reloaded",
"Shutdown": "Shutdown",
"Silent": "Silent",
"Sleep": "Sleep",
"Switched to search mode. Continue with the user's request.": "Switched to search mode. Continue with the user's request.",
"System": "System",
"Task Manager": "Task Manager",
"Task description": "Task description",
"Temperature must be between 0 and 2": "Temperature must be between 0 and 2",
"Temperature set to {0}": "Temperature set to {0}",
"Temperature: {0}": "Temperature: {0}",
"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",
"The current API used. Endpoint: ": "The current API used. Endpoint: ",
"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",
"This is necessary because GlobalShortcut.onReleased in quickshell triggers whether or not you press something else while holding the key. ": "This is necessary because GlobalShortcut.onReleased in quickshell triggers whether or not you press something else while holding the key. ",
"To make sure this works consistently, use binditn = MODKEYS, catchall in an automatically triggered submap that includes everything.": "To make sure this works consistently, use binditn = MODKEYS, catchall in an automatically triggered submap that includes everything.",
"Toggle clipboard query on overview widget": "Toggle clipboard query on overview widget",
"Toggle emoji query on overview widget": "Toggle emoji query on overview widget",
"Toggles cheatsheet on press": "Toggles cheatsheet on press",
"Toggles left sidebar on press": "Toggles left sidebar on press",
"Toggles media controls on press": "Toggles media controls on press",
"Toggles on screen keyboard on press": "Toggles on screen keyboard on press",
"Toggles overview on press": "Toggles overview on press",
"Toggles overview on release": "Toggles overview on release",
"Toggles right sidebar on press": "Toggles right sidebar on press",
"Toggles session screen on press": "Toggles session screen on press",
"Translation goes here...": "Translation goes here...",
"Translator": "Translator",
"Triggers brightness OSD on press": "Triggers brightness OSD on press",
"Triggers volume OSD on press": "Triggers volume OSD on press",
"Unfinished": "Unfinished",
"Unknown": "Unknown",
"Unknown Album": "Unknown Album",
"Unknown Artist": "Unknown Artist",
"Unknown Title": "Unknown Title",
"Unknown command: ": "Unknown command: ",
"Unknown function call: {0}": "Unknown function call: {0}",
"Uptime: {0}": "Uptime: {0}",
"Use casual tone. No user knowledge is to be assumed except basic Linux literacy. Be brief and concise: When explaining concepts, use bullet points (prefer minus sign (-) over asterisk (*)) and highlight keywords in **bold** to pinpoint the main concepts instead of long paragraphs. You are also encouraged to split your response with h2 headers, each header title beginning with an emoji, like `## 🐧 Linux`. When making changes to the user's config, you must get the config to know what values there are before setting.": "Use casual tone. No user knowledge is to be assumed except basic Linux literacy. Be brief and concise: When explaining concepts, use bullet points (prefer minus sign (-) over asterisk (*)) and highlight keywords in **bold** to pinpoint the main concepts instead of long paragraphs. You are also encouraged to split your response with h2 headers, each header title beginning with an emoji, like `## 🐧 Linux`. When making changes to the user's config, you must get the config to know what values there are before setting.",
"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",
"\nSet with /mode PROVIDER": "\nSet with /mode PROVIDER",
"about": "About",
"accessed": "Accessed",
"account": "Account",
"active": "Active",
"active_state": "Active",
"addon": "Add-on",
"addons": "Add-ons",
"address": "Address",
"admin": "Administrator",
"align": "Align",
"always_on_top": "Always on Top",
"animate": "Animate",
"app": "App",
"appearance": "Appearance",
"application": "Application",
"applications": "Applications",
"apply": "Apply",
"apps": "Apps",
"auto": "Auto",
"background": "Background",
"balanced": "Balanced",
"bar": "Bar",
"bars": "Bars",
"battery": "Battery",
"bluetooth": "Bluetooth",
"blur": "Blur",
"border": "Border",
"bottom": "Bottom",
"brightness": "Brightness",
"bring_to_front": "Bring to Front",
"bytes": "{0} bytes",
"cancel": "Cancel",
"center": "Center",
"characters": "{0} characters",
"charging": "Charging",
"clear_all": "Clear All",
"clicked": "Clicked",
"close": "Close",
"collapse": "Collapse",
"color": "Color",
"command": "Command",
"connected": "Connected",
"connecting": "Connecting...",
"context_menu": "Context Menu",
"copy": "Copy",
"cpu": "CPU",
"created": "Created",
"critical": "Critical",
"customize": "Customize",
"cut": "Cut",
"dark": "Dark",
"dashboard": "Dashboard",
"date": "Date",
"debug": "Debug",
"default": "Default",
"degrees": "{0}°",
"delete": "Delete",
"demo": "Demo",
"desktop": "Desktop",
"dialog": "Dialog",
"disabled": "Disabled",
"discharging": "Discharging",
"disconnected": "Disconnected",
"disk": "Disk",
"display": "Display",
"distribute": "Distribute",
"dock": "Dock",
"documents": "Documents",
"double_clicked": "Double Clicked",
"downloads": "Downloads",
"dragged": "Dragged",
"dropdown": "Dropdown",
"dropped": "Dropped",
"effect": "Effect",
"email": "Email",
"enabled": "Enabled",
"error": "Error",
"ethernet": "Ethernet",
"example": "Example",
"execute": "Execute",
"exit": "Exit",
"expand": "Expand",
"extension": "Extension",
"extensions": "Extensions",
"fan": "Fan",
"favorites": "Favorites",
"file": "File",
"files": "Files",
"filter": "Filter",
"flip": "Flip",
"floating": "Floating",
"focus": "Focus",
"folder": "Folder",
"folders": "Folders",
"foreground": "Foreground",
"format": "Format",
"full": "Full",
"fullscreen": "Fullscreen",
"gigabytes": "{0} GB",
"gigahertz": "{0} GHz",
"glow": "Glow",
"group": "Group",
"guest": "Guest",
"headphones": "Headphones",
"help": "Help",
"hertz": "{0} Hz",
"hibernate": "Hibernate",
"hidden": "Hidden",
"hide": "Hide",
"highlight": "Highlight",
"hint": "Hint",
"home": "Home",
"hour": "Hour",
"hours": "Hours",
"hover": "Hover",
"inactive": "Inactive",
"info": "Info",
"input": "Input",
"install": "Install",
"justify": "Justify",
"keybinds": "Key Bindings",
"keyboard": "Keyboard",
"kilobytes": "{0} KB",
"kilohertz": "{0} kHz",
"landscape": "Landscape",
"language": "Language",
"launcher": "Launcher",
"left": "Left",
"light": "Light",
"loading": "Loading...",
"lock": "Lock",
"log": "Log",
"logout": "Logout",
"long_pressed": "Long Pressed",
"low": "Low",
"manual": "Manual",
"margin": "Margin",
"maximize": "Maximize",
"megabytes": "{0} MB",
"megahertz": "{0} MHz",
"memory": "Memory",
"menu": "Menu",
"menubar": "Menu Bar",
"microphone": "Microphone",
"minimize": "Minimize",
"minute": "Minute",
"minutes": "Minutes",
"mirror": "Mirror",
"modal": "Modal",
"modified": "Modified",
"monitor": "Monitor",
"mouse": "Mouse",
"move": "Move",
"music": "Music",
"mute": "Mute",
"network": "Network",
"next": "Next",
"no": "No",
"no_notifications": "No notifications",
"notifications": "Notifications",
"off": "Off",
"ok": "OK",
"on": "On",
"opacity": "Opacity",
"open": "Open",
"orientation": "Orientation",
"outline": "Outline",
"output": "Output",
"overview": "Overview",
"owner": "Owner",
"package": "Package",
"packages": "Packages",
"padding": "Padding",
"panel": "Panel",
"panels": "Panels",
"panned": "Panned",
"password": "Password",
"paste": "Paste",
"pause": "Pause",
"percent": "{0}%",
"performance": "Performance",
"permissions": "Permissions",
"phone": "Phone",
"pictures": "Pictures",
"pinched": "Pinched",
"pinned": "Pinned",
"pixels": "{0}px",
"placeholder": "Placeholder",
"play": "Play",
"plugin": "Plugin",
"plugins": "Plugins",
"popup": "Popup",
"portrait": "Portrait",
"power": "Power",
"power_saver": "Power Saver",
"pressed": "Pressed",
"previous": "Previous",
"profile": "Profile",
"properties": "Properties",
"quiet": "Quiet",
"quit": "Quit",
"read": "Read",
"recent": "Recent",
"recording": "Recording",
"refresh": "Refresh",
"refresh_rate": "Refresh Rate",
"reload": "Reload",
"rename": "Rename",
"reset": "Reset",
"resize": "Resize",
"resolution": "Resolution",
"restart": "Restart",
"restore": "Restore",
"right": "Right",
"right_clicked": "Right Clicked",
"rotate": "Rotate",
"rotated": "Rotated",
"sample": "Sample",
"save": "Save",
"scale": "Scale",
"screenshot": "Screenshot",
"scrolled": "Scrolled",
"search": "Search",
"second": "Second",
"seconds": "Seconds",
"selection": "Selection",
"send_to_back": "Send to Back",
"settings": "Settings",
"shadow": "Shadow",
"shortcuts": "Shortcuts",
"show": "Show",
"shutdown": "Shutdown",
"sidebar": "Sidebar",
"silent": "Silent",
"size": "Size",
"snapped": "Snapped",
"software": "Software",
"space": "Space",
"speaker": "Speaker",
"statusbar": "Status Bar",
"sticky": "Sticky",
"stop": "Stop",
"style": "Style",
"success": "Success",
"suspend": "Suspend",
"swiped": "Swiped",
"systray": "System Tray",
"tapped": "Tapped",
"taskbar": "Taskbar",
"temperature": "Temperature",
"terabytes": "{0} TB",
"terminal": "Terminal",
"test": "Test",
"theme": "Theme",
"tiled": "Tiled",
"time": "Time",
"tips": "Tips",
"today": "Today",
"tomorrow": "Tomorrow",
"toolbar": "Toolbar",
"tooltip": "Tooltip",
"top": "Top",
"touchpad": "Touchpad",
"trace": "Trace",
"transform": "Transform",
"transition": "Transition",
"transparency": "Transparency",
"trash": "Trash",
"tutorial": "Tutorial",
"type": "Type",
"uninstall": "Uninstall",
"unlock": "Unlock",
"unmute": "Unmute",
"unpinned": "Unpinned",
"unsticky": "Unsticky",
"update": "Update",
"upgrade": "Upgrade",
"user": "User",
"username": "Username",
"verbose": "Verbose",
"version": "Version",
"videos": "Videos",
"visible": "Visible",
"volume": "Volume",
"warning": "Warning",
"welcome": "Welcome",
"widget": "Widget",
"widgets": "Widgets",
"wifi": "Wi-Fi",
"window": "Window",
"windowed": "Windowed",
"windows": "Windows",
"workspace": "Workspace",
"workspaces": "Workspaces",
"write": "Write",
"yes": "Yes",
"yesterday": "Yesterday",
"zoomed": "Zoomed",
"{0} (copied)": "{0} (copied)",
"{0} Safe Storage": "{0} Safe Storage",
"{0} does not require an API key": "{0} does not require an API key",
"{0} queries pending": "{0} queries pending",
"{0} | Right-click to configure": "{0} | Right-click to configure"
}