mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 09:46:54 +02:00
Fix Spanish localization for Awake module name and all product name instances (#41252)
The Awake module name was being incorrectly translated to "Activo" in Spanish localization, while it should remain as "Awake" (similar to how "Text Extractor" remains untranslated). **Issue:** In the Spanish version of PowerToys Settings, the Awake module was appearing as "Activo" instead of "Awake". This is inconsistent with other module names like "Text Extractor" that remain in English. **Root Cause:** The localization system was translating strings that had generic comments like "Product name: Navigation view item name for Awake". Strings without comments or with specific "do not localize" comments are preserved in their original language. **Solution:** Updated the resource file comments for all Awake-related strings to include explicit localization prevention instructions: 1. Changed `Shell_Awake.Content` comment from "Product name: Navigation view item name for Awake" to "Awake is a product name, do not localize" 2. Added "Awake is a product name, do not localize" comment to `Awake.ModuleTitle` which previously had no comment 3. Added "Awake is a product name, do not localize" comment to OOBE (Out of Box Experience) strings: - `Oobe_Awake.Description` - `Oobe_Awake_HowToUse.Text` - `Oobe_Awake_TipsAndTricks.Text` 4. Added "Awake is a product name, do not localize" comment to `Awake_ModeSettingsCard.Description` These changes follow the same pattern used by other PowerToys modules (PowerRename, PowerToys Run, Shortcut Guide, etc.) to prevent translation of product names across all user-facing contexts including settings, navigation, and onboarding flows. **Files Changed:** - `src/settings-ui/Settings.UI/Strings/en-us/Resources.resw` Fixes #41199. <!-- START COPILOT CODING AGENT TIPS --> --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: niels9001 <9866362+niels9001@users.noreply.github.com> Co-authored-by: Niels Laute <niels.laute@live.nl>
This commit is contained in:
@@ -485,7 +485,7 @@
|
||||
</data>
|
||||
<data name="Shell_Awake.Content" xml:space="preserve">
|
||||
<value>Awake</value>
|
||||
<comment>Product name: Navigation view item name for Awake</comment>
|
||||
<comment>{Locked}</comment>
|
||||
</data>
|
||||
<data name="Shell_PowerLauncher.Content" xml:space="preserve">
|
||||
<value>PowerToys Run</value>
|
||||
@@ -2280,6 +2280,7 @@ From there, simply click on one of the supported files in the File Explorer and
|
||||
</data>
|
||||
<data name="Awake.ModuleTitle" xml:space="preserve">
|
||||
<value>Awake</value>
|
||||
<comment>Awake is a product name, do not localize</comment>
|
||||
</data>
|
||||
<data name="Awake.ModuleDescription" xml:space="preserve">
|
||||
<value>A convenient way to keep your PC awake on-demand.</value>
|
||||
@@ -2333,12 +2334,15 @@ From there, simply click on one of the supported files in the File Explorer and
|
||||
</data>
|
||||
<data name="Oobe_Awake.Description" xml:space="preserve">
|
||||
<value>Awake is a Windows tool designed to keep your PC awake on-demand without having to manage its power settings. This behavior can be helpful when running time-consuming tasks while ensuring that your PC does not go to sleep or turn off its screens.</value>
|
||||
<comment>Awake is a product name, do not localize</comment>
|
||||
</data>
|
||||
<data name="Oobe_Awake_HowToUse.Text" xml:space="preserve">
|
||||
<value>Open **PowerToys Settings** and enable Awake</value>
|
||||
<comment>Awake is a product name, do not localize</comment>
|
||||
</data>
|
||||
<data name="Oobe_Awake_TipsAndTricks.Text" xml:space="preserve">
|
||||
<value>You can always change modes quickly by **right-clicking the Awake icon** in the system tray.</value>
|
||||
<comment>Awake is a product name, do not localize</comment>
|
||||
</data>
|
||||
<data name="General_FailedToDownloadTheNewVersion.Title" xml:space="preserve">
|
||||
<value>An error occurred trying to install this update:</value>
|
||||
@@ -2433,6 +2437,7 @@ From there, simply click on one of the supported files in the File Explorer and
|
||||
</data>
|
||||
<data name="Awake_ModeSettingsCard.Description" xml:space="preserve">
|
||||
<value>Manage the state of your device when Awake is active</value>
|
||||
<comment>Awake is a product name, do not localize</comment>
|
||||
</data>
|
||||
<data name="ExcludedApps.Header" xml:space="preserve">
|
||||
<value>Excluded apps</value>
|
||||
|
||||
Reference in New Issue
Block a user