[QuickAccent] Rename PowerAccent to Quick Accent (#20176)

* Rename PowerAccent to Keyboard Accent

* Fix bug report and translation issue templates

* Rename to Quick Accent

* missing mention
This commit is contained in:
Jaime Bernardo
2022-08-31 19:05:54 +01:00
committed by GitHub
parent 7e291fb303
commit 9b3e8503a8
24 changed files with 97 additions and 97 deletions

View File

@@ -46,16 +46,16 @@ body:
- PDF Thumbnail - PDF Thumbnail
- G-code Preview - G-code Preview
- G-code Thumbnail - G-code Thumbnail
- PowerAccent
- TextExtractor
- PowerRename - PowerRename
- PowerToys Run - PowerToys Run
- Quick Accent
- Screen ruler - Screen ruler
- Shortcut Guide - Shortcut Guide
- STL Thumbnail - STL Thumbnail
- SVG Preview - SVG Preview
- SVG Thumbnail - SVG Thumbnail
- Settings - Settings
- TextExtractor
- Video Conference Mute - Video Conference Mute
- Welcome / PowerToys Tour window - Welcome / PowerToys Tour window
- System tray interaction - System tray interaction

View File

@@ -37,7 +37,7 @@ body:
- PDF Thumbnail - PDF Thumbnail
- G-code Preview - G-code Preview
- G-code Thumbnail - G-code Thumbnail
- PowerAccent - Quick Accent
- PowerRename - PowerRename
- PowerToys Run - PowerToys Run
- Screen Ruler - Screen Ruler

View File

@@ -13,7 +13,7 @@ Aaron has helped triaging, discussing, and creating a substantial number of issu
CleanCodeDeveloper helped do massive amounts of code stability and image resizer work. CleanCodeDeveloper helped do massive amounts of code stability and image resizer work.
### [@damienleroy](https://github.com/damienleroy) - [Damien Leroy](https://www.linkedin.com/in/Damien-Leroy-b2734416a/) ### [@damienleroy](https://github.com/damienleroy) - [Damien Leroy](https://www.linkedin.com/in/Damien-Leroy-b2734416a/)
Damien has helped out by developing and contributing the Keyboard Accent utility. Damien has helped out by developing and contributing the Quick Accent utility.
### [@davidegiacometti](https://github.com/davidegiacometti) - [Davide Giacometti](https://www.linkedin.com/in/davidegiacometti/) ### [@davidegiacometti](https://github.com/davidegiacometti) - [Davide Giacometti](https://www.linkedin.com/in/davidegiacometti/)
Davide has helped fix multiple bugs, added new features, as well as help us with the ARM64 effort by porting applications to .NET Core. Davide has helped fix multiple bugs, added new features, as well as help us with the ARM64 effort by porting applications to .NET Core.

View File

@@ -18,7 +18,7 @@ struct LogSettings
inline const static std::string launcherLoggerName = "launcher"; inline const static std::string launcherLoggerName = "launcher";
inline const static std::wstring launcherLogPath = L"LogsModuleInterface\\launcher-log.txt"; inline const static std::wstring launcherLogPath = L"LogsModuleInterface\\launcher-log.txt";
inline const static std::wstring awakeLogPath = L"Logs\\awake-log.txt"; inline const static std::wstring awakeLogPath = L"Logs\\awake-log.txt";
inline const static std::wstring powerAccentLogPath = L"poweraccent.log"; inline const static std::wstring powerAccentLogPath = L"quick-accent-log.txt";
inline const static std::string fancyZonesLoggerName = "fancyzones"; inline const static std::string fancyZonesLoggerName = "fancyzones";
inline const static std::wstring fancyZonesLogPath = L"fancyzones-log.txt"; inline const static std::wstring fancyZonesLogPath = L"fancyzones-log.txt";
inline const static std::wstring fancyZonesOldLogPath = L"FancyZonesLogs\\"; // needed to clean up old logs inline const static std::wstring fancyZonesOldLogPath = L"FancyZonesLogs\\"; // needed to clean up old logs

View File

@@ -12,7 +12,7 @@ using System.Text.Json;
public class SettingsService public class SettingsService
{ {
private const string PowerAccentModuleName = "PowerAccent"; private const string PowerAccentModuleName = "QuickAccent";
private readonly ISettingsUtils _settingsUtils; private readonly ISettingsUtils _settingsUtils;
private readonly IFileSystemWatcher _watcher; private readonly IFileSystemWatcher _watcher;
private readonly object _loadingSettingsLock = new object(); private readonly object _loadingSettingsLock = new object();
@@ -34,7 +34,7 @@ public class SettingsService
{ {
if (!_settingsUtils.SettingsExists(PowerAccentModuleName)) if (!_settingsUtils.SettingsExists(PowerAccentModuleName))
{ {
Logger.LogInfo("PowerAccent settings.json was missing, creating a new one"); Logger.LogInfo("QuickAccent settings.json was missing, creating a new one");
var defaultSettings = new PowerAccentSettings(); var defaultSettings = new PowerAccentSettings();
var options = new JsonSerializerOptions var options = new JsonSerializerOptions
{ {

View File

@@ -14,7 +14,7 @@ namespace PowerAccent.Core.Tools
public static class Logger public static class Logger
{ {
private static readonly IFileSystem _fileSystem = new FileSystem(); private static readonly IFileSystem _fileSystem = new FileSystem();
private static readonly string ApplicationLogPath = Path.Combine(Constants.AppDataPath(), "PowerAccent\\Logs"); private static readonly string ApplicationLogPath = Path.Combine(Constants.AppDataPath(), "QuickAccent\\Logs");
static Logger() static Logger()
{ {

View File

@@ -16,7 +16,7 @@ namespace PowerAccent.UI
protected override void OnStartup(StartupEventArgs e) protected override void OnStartup(StartupEventArgs e)
{ {
const string appName = "PowerAccent"; const string appName = "QuickAccent";
bool createdNew; bool createdNew;
_mutex = new Mutex(true, appName, out createdNew); _mutex = new Mutex(true, appName, out createdNew);

View File

@@ -17,7 +17,7 @@ namespace PowerAccent;
internal static class Program internal static class Program
{ {
private const string PROGRAM_NAME = "PowerAccent"; private const string PROGRAM_NAME = "QuickAccent";
private const string PROGRAM_APP_NAME = "PowerToys.PowerAccent"; private const string PROGRAM_APP_NAME = "PowerToys.PowerAccent";
private static App _application; private static App _application;
private static int _powerToysRunnerPid; private static int _powerToysRunnerPid;
@@ -40,7 +40,7 @@ internal static class Program
} }
else else
{ {
Logger.LogWarning("Another running PowerAccent instance was detected. Exiting PowerAccent"); Logger.LogWarning("Another running QuickAccent instance was detected. Exiting QuickAccent");
} }
} }
@@ -65,11 +65,11 @@ internal static class Program
{ {
_ = int.TryParse(args[0], out _powerToysRunnerPid); _ = int.TryParse(args[0], out _powerToysRunnerPid);
Logger.LogInfo($"PowerAccent started from the PowerToys Runner. Runner pid={_powerToysRunnerPid}"); Logger.LogInfo($"QuickAccent started from the PowerToys Runner. Runner pid={_powerToysRunnerPid}");
RunnerHelper.WaitForPowerToysRunner(_powerToysRunnerPid, () => RunnerHelper.WaitForPowerToysRunner(_powerToysRunnerPid, () =>
{ {
Logger.LogInfo("PowerToys Runner exited. Exiting PowerAccent"); Logger.LogInfo("PowerToys Runner exited. Exiting QuickAccent");
Terminate(); Terminate();
}); });
} }
@@ -80,7 +80,7 @@ internal static class Program
} }
else else
{ {
Logger.LogInfo($"PowerAccent started detached from PowerToys Runner."); Logger.LogInfo($"QuickAccent started detached from PowerToys Runner.");
_powerToysRunnerPid = -1; _powerToysRunnerPid = -1;
} }
} }

View File

@@ -3,5 +3,5 @@
namespace PowerAccentConstants namespace PowerAccentConstants
{ {
// Name of the powertoy module. // Name of the powertoy module.
inline const std::wstring ModuleKey = L"PowerAccent"; inline const std::wstring ModuleKey = L"QuickAccent";
} }

View File

@@ -88,7 +88,7 @@ END
STRINGTABLE STRINGTABLE
BEGIN BEGIN
IDS_POWERACCENT_NAME "PowerAccent" IDS_POWERACCENT_NAME "QuickAccent"
END END
#endif // English (United States) resources #endif // English (United States) resources

View File

@@ -35,8 +35,8 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv
return TRUE; return TRUE;
} }
const static wchar_t* MODULE_NAME = L"PowerAccent"; const static wchar_t* MODULE_NAME = L"QuickAccent";
const static wchar_t* MODULE_DESC = L"A module that keeps your computer PowerAccent on-demand."; const static wchar_t* MODULE_DESC = L"A module that keeps your computer QuickAccent on-demand.";
class PowerAccent : public PowertoyModuleIface class PowerAccent : public PowertoyModuleIface
{ {
@@ -55,20 +55,20 @@ private:
void launch_process() void launch_process()
{ {
Logger::trace(L"Launching PowerToys PowerAccent process"); Logger::trace(L"Launching PowerToys QuickAccent process");
unsigned long powertoys_pid = GetCurrentProcessId(); unsigned long powertoys_pid = GetCurrentProcessId();
std::wstring executable_args = L"" + std::to_wstring(powertoys_pid); std::wstring executable_args = L"" + std::to_wstring(powertoys_pid);
std::wstring application_path = L"modules\\PowerAccent\\PowerToys.PowerAccent.exe"; std::wstring application_path = L"modules\\PowerAccent\\PowerToys.PowerAccent.exe";
std::wstring full_command_path = application_path + L" " + executable_args.data(); std::wstring full_command_path = application_path + L" " + executable_args.data();
Logger::trace(L"PowerToys PowerAccent launching: " + full_command_path); Logger::trace(L"PowerToys QuickAccent launching: " + full_command_path);
STARTUPINFO info = { sizeof(info) }; STARTUPINFO info = { sizeof(info) };
if (!CreateProcess(application_path.c_str(), full_command_path.data(), NULL, NULL, true, NULL, NULL, NULL, &info, &p_info)) if (!CreateProcess(application_path.c_str(), full_command_path.data(), NULL, NULL, true, NULL, NULL, NULL, &info, &p_info))
{ {
DWORD error = GetLastError(); DWORD error = GetLastError();
std::wstring message = L"PowerToys PowerAccent failed to start with error: "; std::wstring message = L"PowerToys QuickAccent failed to start with error: ";
message += std::to_wstring(error); message += std::to_wstring(error);
Logger::error(message); Logger::error(message);
} }
@@ -79,7 +79,7 @@ public:
{ {
app_name = MODULE_NAME; app_name = MODULE_NAME;
app_key = PowerAccentConstants::ModuleKey; app_key = PowerAccentConstants::ModuleKey;
LoggerHelpers::init_logger(app_key, L"ModuleInterface", "PowerAccent"); LoggerHelpers::init_logger(app_key, L"ModuleInterface", "QuickAccent");
Logger::info("Launcher object is constructing"); Logger::info("Launcher object is constructing");
}; };
@@ -138,20 +138,20 @@ public:
{ {
if (m_enabled) if (m_enabled)
{ {
Logger::trace(L"Disabling PowerAccent... {}", m_enabled); Logger::trace(L"Disabling QuickAccent... {}", m_enabled);
ResetEvent(m_hInvokeEvent); ResetEvent(m_hInvokeEvent);
auto exitEvent = CreateEvent(nullptr, false, false, CommonSharedConstants::POWERACCENT_EXIT_EVENT); auto exitEvent = CreateEvent(nullptr, false, false, CommonSharedConstants::POWERACCENT_EXIT_EVENT);
if (!exitEvent) if (!exitEvent)
{ {
Logger::warn(L"Failed to create exit event for PowerToys PowerAccent. {}", get_last_error_or_default(GetLastError())); Logger::warn(L"Failed to create exit event for PowerToys QuickAccent. {}", get_last_error_or_default(GetLastError()));
} }
else else
{ {
Logger::trace(L"Signaled exit event for PowerToys PowerAccent."); Logger::trace(L"Signaled exit event for PowerToys QuickAccent.");
if (!SetEvent(exitEvent)) if (!SetEvent(exitEvent))
{ {
Logger::warn(L"Failed to signal exit event for PowerToys PowerAccent. {}", get_last_error_or_default(GetLastError())); Logger::warn(L"Failed to signal exit event for PowerToys QuickAccent. {}", get_last_error_or_default(GetLastError()));
// For some reason, we couldn't process the signal correctly, so we still // For some reason, we couldn't process the signal correctly, so we still
// need to terminate the PowerAccent process. // need to terminate the PowerAccent process.

View File

@@ -7,7 +7,7 @@
////////////////////////////// //////////////////////////////
// Non-localizable // Non-localizable
#define FILE_DESCRIPTION "PowerToys PowerAccent Module" #define FILE_DESCRIPTION "PowerToys QuickAccent Module"
#define INTERNAL_NAME "PowerToys.PowerAccentModuleInterface" #define INTERNAL_NAME "PowerToys.PowerAccentModuleInterface"
#define ORIGINAL_FILENAME "PowerToys.PowerAccentModuleInterface.dll" #define ORIGINAL_FILENAME "PowerToys.PowerAccentModuleInterface.dll"

View File

@@ -241,7 +241,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library
private bool powerAccent; private bool powerAccent;
[JsonPropertyName("PowerAccent")] [JsonPropertyName("QuickAccent")]
public bool PowerAccent public bool PowerAccent
{ {
get => powerAccent; get => powerAccent;

View File

@@ -9,7 +9,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library
{ {
public class PowerAccentSettings : BasePTModuleSettings, ISettingsConfig public class PowerAccentSettings : BasePTModuleSettings, ISettingsConfig
{ {
public const string ModuleName = "PowerAccent"; public const string ModuleName = "QuickAccent";
public const string ModuleVersion = "0.0.1"; public const string ModuleVersion = "0.0.1";
[JsonPropertyName("properties")] [JsonPropertyName("properties")]

View File

@@ -9,7 +9,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library
{ {
public class SndPowerAccentSettings public class SndPowerAccentSettings
{ {
[JsonPropertyName("PowerAccent")] [JsonPropertyName("QuickAccent")]
public PowerAccentSettings PowerAccentSettings { get; set; } public PowerAccentSettings PowerAccentSettings { get; set; }
public SndPowerAccentSettings() public SndPowerAccentSettings()

View File

@@ -122,7 +122,7 @@ namespace Microsoft.PowerToys.Settings.UI
case "ImageResizer": StartupPage = typeof(Views.ImageResizerPage); break; case "ImageResizer": StartupPage = typeof(Views.ImageResizerPage); break;
case "KBM": StartupPage = typeof(Views.KeyboardManagerPage); break; case "KBM": StartupPage = typeof(Views.KeyboardManagerPage); break;
case "MouseUtils": StartupPage = typeof(Views.MouseUtilsPage); break; case "MouseUtils": StartupPage = typeof(Views.MouseUtilsPage); break;
case "PowerAccent": StartupPage = typeof(Views.PowerAccentPage); break; case "QuickAccent": StartupPage = typeof(Views.PowerAccentPage); break;
case "TextExtractor": StartupPage = typeof(Views.PowerOcrPage); break; case "TextExtractor": StartupPage = typeof(Views.PowerOcrPage); break;
case "PowerRename": StartupPage = typeof(Views.PowerRenamePage); break; case "PowerRename": StartupPage = typeof(Views.PowerRenamePage); break;
case "FileExplorer": StartupPage = typeof(Views.PowerPreviewPage); break; case "FileExplorer": StartupPage = typeof(Views.PowerPreviewPage); break;

View File

@@ -15,7 +15,7 @@ namespace Microsoft.PowerToys.Settings.UI.OOBE.Enums
ImageResizer, ImageResizer,
KBM, KBM,
MouseUtils, MouseUtils,
PowerAccent, QuickAccent,
TextExtractor, TextExtractor,
PowerRename, PowerRename,
Run, Run,

View File

@@ -8,7 +8,7 @@
xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls"
xmlns:toolkitcontrols="using:CommunityToolkit.WinUI.UI.Controls"> xmlns:toolkitcontrols="using:CommunityToolkit.WinUI.UI.Controls">
<controls:OOBEPageControl x:Uid="Oobe_PowerAccent" <controls:OOBEPageControl x:Uid="Oobe_QuickAccent"
HeroImage="ms-appx:///Assets/Modules/OOBE/PowerAccent.gif"> HeroImage="ms-appx:///Assets/Modules/OOBE/PowerAccent.gif">
<controls:OOBEPageControl.PageContent> <controls:OOBEPageControl.PageContent>
@@ -16,14 +16,14 @@
<TextBlock x:Uid="Oobe_HowToUse" <TextBlock x:Uid="Oobe_HowToUse"
Style="{ThemeResource OobeSubtitleStyle}" /> Style="{ThemeResource OobeSubtitleStyle}" />
<toolkitcontrols:MarkdownTextBlock Background="Transparent" x:Uid="Oobe_PowerAccent_HowToUse" /> <toolkitcontrols:MarkdownTextBlock Background="Transparent" x:Uid="Oobe_QuickAccent_HowToUse" />
<StackPanel Orientation="Horizontal" Spacing="12" Margin="0,24,0,0"> <StackPanel Orientation="Horizontal" Spacing="12" Margin="0,24,0,0">
<Button x:Uid="OOBE_Settings" <Button x:Uid="OOBE_Settings"
Click="SettingsLaunchButton_Click"/> Click="SettingsLaunchButton_Click"/>
<HyperlinkButton NavigateUri="https://github.com/damienleroy/PowerAccent/" <HyperlinkButton NavigateUri="https://aka.ms/PowerToysOverview_QuickAccent"
Style="{StaticResource TextButtonStyle}"> Style="{StaticResource TextButtonStyle}">
<TextBlock x:Uid="LearnMore_PowerAccent" <TextBlock x:Uid="LearnMore_QuickAccent"
TextWrapping="Wrap" /> TextWrapping="Wrap" />
</HyperlinkButton> </HyperlinkButton>
</StackPanel> </StackPanel>

View File

@@ -17,7 +17,7 @@ namespace Microsoft.PowerToys.Settings.UI.OOBE.Views
public OobePowerAccent() public OobePowerAccent()
{ {
InitializeComponent(); InitializeComponent();
ViewModel = new OobePowerToysModule(OobeShellPage.OobeShellHandler.Modules[(int)PowerToysModules.PowerAccent]); ViewModel = new OobePowerToysModule(OobeShellPage.OobeShellHandler.Modules[(int)PowerToysModules.QuickAccent]);
DataContext = ViewModel; DataContext = ViewModel;
} }

View File

@@ -97,7 +97,7 @@
ShowAsMonochrome="False" /> ShowAsMonochrome="False" />
</muxc:NavigationViewItem.Icon> </muxc:NavigationViewItem.Icon>
</muxc:NavigationViewItem> </muxc:NavigationViewItem>
<muxc:NavigationViewItem x:Uid="Shell_PowerAccent" Tag="PowerAccent"> <muxc:NavigationViewItem x:Uid="Shell_QuickAccent" Tag="QuickAccent">
<muxc:NavigationViewItem.Icon> <muxc:NavigationViewItem.Icon>
<BitmapIcon <BitmapIcon
UriSource="ms-appx:///Assets/FluentIcons/FluentIconsPowerAccent.png" UriSource="ms-appx:///Assets/FluentIcons/FluentIconsPowerAccent.png"

View File

@@ -103,9 +103,9 @@ namespace Microsoft.PowerToys.Settings.UI.OOBE.Views
IsNew = true, IsNew = true,
}); });
Modules.Insert((int)PowerToysModules.PowerAccent, new OobePowerToysModule() Modules.Insert((int)PowerToysModules.QuickAccent, new OobePowerToysModule()
{ {
ModuleName = "PowerAccent", ModuleName = "QuickAccent",
IsNew = true, IsNew = true,
}); });
@@ -189,7 +189,7 @@ namespace Microsoft.PowerToys.Settings.UI.OOBE.Views
case "Run": NavigationFrame.Navigate(typeof(OobeRun)); break; case "Run": NavigationFrame.Navigate(typeof(OobeRun)); break;
case "ImageResizer": NavigationFrame.Navigate(typeof(OobeImageResizer)); break; case "ImageResizer": NavigationFrame.Navigate(typeof(OobeImageResizer)); break;
case "KBM": NavigationFrame.Navigate(typeof(OobeKBM)); break; case "KBM": NavigationFrame.Navigate(typeof(OobeKBM)); break;
case "PowerAccent": NavigationFrame.Navigate(typeof(OobePowerAccent)); break; case "QuickAccent": NavigationFrame.Navigate(typeof(OobePowerAccent)); break;
case "PowerRename": NavigationFrame.Navigate(typeof(OobePowerRename)); break; case "PowerRename": NavigationFrame.Navigate(typeof(OobePowerRename)); break;
case "TextExtractor": NavigationFrame.Navigate(typeof(OobePowerOCR)); break; case "TextExtractor": NavigationFrame.Navigate(typeof(OobePowerOCR)); break;
case "FileExplorer": NavigationFrame.Navigate(typeof(OobeFileExplorer)); break; case "FileExplorer": NavigationFrame.Navigate(typeof(OobeFileExplorer)); break;

View File

@@ -2243,89 +2243,89 @@ From there, simply click on one of the supported files in the File Explorer and
<data name="AlwaysOnTop_RoundCorners.Content" xml:space="preserve"> <data name="AlwaysOnTop_RoundCorners.Content" xml:space="preserve">
<value>Enable round corners</value> <value>Enable round corners</value>
</data> </data>
<data name="LearnMore_PowerAccent.Text" xml:space="preserve"> <data name="LearnMore_QuickAccent.Text" xml:space="preserve">
<value>Learn more about PowerAccent</value> <value>Learn more about Quick Accent</value>
<comment>PowerAccent is a product name, do not loc</comment> <comment>Quick Accent is a product name, do not loc</comment>
</data> </data>
<data name="PowerAccent_EnablePowerAccent.Header" xml:space="preserve"> <data name="QuickAccent_EnableQuickAccent.Header" xml:space="preserve">
<value>Enable PowerAccent</value> <value>Enable Quick Accent</value>
</data> </data>
<data name="Shell_PowerAccent.Content" xml:space="preserve"> <data name="Shell_QuickAccent.Content" xml:space="preserve">
<value>PowerAccent</value> <value>Quick Accent</value>
</data> </data>
<data name="PowerAccent.ModuleDescription" xml:space="preserve"> <data name="QuickAccent.ModuleDescription" xml:space="preserve">
<value>PowerAccent is an alternative way to type accented characters, useful for when a keyboard doesn't support that specific accent. <value>Quick Accent is an alternative way to type accented characters, useful for when a keyboard doesn't support that specific accent.
Activate by holding the key for the character you want to add an accent to, then press the Activation Key (space key or left and right arrow keys). If you continue to hold, an overlay to select the accented between multiple characters will appear!</value> Activate by holding the key for the character you want to add an accent to, then press the Activation Key (space key or left and right arrow keys). If you continue to hold, an overlay to select the accented between multiple characters will appear!</value>
<comment>key refers to a physical key on a keyboard</comment> <comment>key refers to a physical key on a keyboard</comment>
</data> </data>
<data name="PowerAccent.ModuleTitle" xml:space="preserve"> <data name="QuickAccent.ModuleTitle" xml:space="preserve">
<value>PowerAccent</value> <value>Quick Accent</value>
</data> </data>
<data name="PowerAccent.SecondaryLinksHeader" xml:space="preserve"> <data name="QuickAccent.SecondaryLinksHeader" xml:space="preserve">
<value>Attribution</value> <value>Attribution</value>
</data> </data>
<data name="Oobe_PowerAccent.Description" xml:space="preserve"> <data name="Oobe_QuickAccent.Description" xml:space="preserve">
<value>PowerAccent is an easy way to write letters with accents, like on the phone or Mac.</value> <value>Quick Accent is an easy way to write letters with accents, like on the phone or Mac.</value>
</data> </data>
<data name="Oobe_PowerAccent.Title" xml:space="preserve"> <data name="Oobe_QuickAccent.Title" xml:space="preserve">
<value>PowerAccent</value> <value>Quick Accent</value>
</data> </data>
<data name="Oobe_PowerAccent_HowToUse.Text" xml:space="preserve"> <data name="Oobe_QuickAccent_HowToUse.Text" xml:space="preserve">
<value>Open **PowerToys Settings** and enable PowerAccent. While holding the key for the character you want to add an accent to, press the Activation Key and an overlay to select the accented character will appear.</value> <value>Open **PowerToys Settings** and enable Quick Accent. While holding the key for the character you want to add an accent to, press the Activation Key and an overlay to select the accented character will appear.</value>
<comment>key refers to a physical key on a keyboard</comment> <comment>key refers to a physical key on a keyboard</comment>
</data> </data>
<data name="PowerAccent_Activation_GroupSettings.Header" xml:space="preserve"> <data name="QuickAccent_Activation_GroupSettings.Header" xml:space="preserve">
<value>Activation</value> <value>Activation</value>
</data> </data>
<data name="PowerAccent_Activation_Shortcut.Header" xml:space="preserve"> <data name="QuickAccent_Activation_Shortcut.Header" xml:space="preserve">
<value>Activation key</value> <value>Activation key</value>
</data> </data>
<data name="PowerAccent_Activation_Shortcut.Description" xml:space="preserve"> <data name="QuickAccent_Activation_Shortcut.Description" xml:space="preserve">
<value>This is the extra key needed to activate after you are holding your target letter.</value> <value>This is the extra key needed to activate after you are holding your target letter.</value>
</data> </data>
<data name="PowerAccent_Activation_Key_Arrows.Content" xml:space="preserve"> <data name="QuickAccent_Activation_Key_Arrows.Content" xml:space="preserve">
<value>Left/Right Arrow</value> <value>Left/Right Arrow</value>
<comment>Left/Right arrow keyboard keys.</comment> <comment>Left/Right arrow keyboard keys.</comment>
</data> </data>
<data name="PowerAccent_Activation_Key_Space.Content" xml:space="preserve"> <data name="QuickAccent_Activation_Key_Space.Content" xml:space="preserve">
<value>Space</value> <value>Space</value>
<comment>Space is the space keyboard key.</comment> <comment>Space is the space keyboard key.</comment>
</data> </data>
<data name="PowerAccent_Activation_Key_Both.Content" xml:space="preserve"> <data name="QuickAccent_Activation_Key_Both.Content" xml:space="preserve">
<value>Both</value> <value>Both</value>
</data> </data>
<data name="PowerAccent_Toolbar.Header" xml:space="preserve"> <data name="QuickAccent_Toolbar.Header" xml:space="preserve">
<value>Toolbar</value> <value>Toolbar</value>
</data> </data>
<data name="PowerAccent_ToolbarPosition.Header" xml:space="preserve"> <data name="QuickAccent_ToolbarPosition.Header" xml:space="preserve">
<value>Toolbar position</value> <value>Toolbar position</value>
</data> </data>
<data name="PowerAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve"> <data name="QuickAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve">
<value>Top center</value> <value>Top center</value>
</data> </data>
<data name="PowerAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve"> <data name="QuickAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve">
<value>Top left corner</value> <value>Top left corner</value>
</data> </data>
<data name="PowerAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve"> <data name="QuickAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve">
<value>Top right corner</value> <value>Top right corner</value>
</data> </data>
<data name="PowerAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve"> <data name="QuickAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve">
<value>Bottom left corner</value> <value>Bottom left corner</value>
</data> </data>
<data name="PowerAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve"> <data name="QuickAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve">
<value>Bottom center</value> <value>Bottom center</value>
</data> </data>
<data name="PowerAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve"> <data name="QuickAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve">
<value>Bottom right corner</value> <value>Bottom right corner</value>
</data> </data>
<data name="PowerAccent_ToolbarPosition_Center.Content" xml:space="preserve"> <data name="QuickAccent_ToolbarPosition_Center.Content" xml:space="preserve">
<value>Center</value> <value>Center</value>
</data> </data>
<data name="PowerAccent_ToolbarPosition_Left.Content" xml:space="preserve"> <data name="QuickAccent_ToolbarPosition_Left.Content" xml:space="preserve">
<value>Left</value> <value>Left</value>
</data> </data>
<data name="PowerAccent_ToolbarPosition_Right.Content" xml:space="preserve"> <data name="QuickAccent_ToolbarPosition_Right.Content" xml:space="preserve">
<value>Right</value> <value>Right</value>
</data> </data>
<data name="LearnMore_TextExtractor.Text" xml:space="preserve"> <data name="LearnMore_TextExtractor.Text" xml:space="preserve">

View File

@@ -10,12 +10,12 @@
mc:Ignorable="d" mc:Ignorable="d"
AutomationProperties.LandmarkType="Main"> AutomationProperties.LandmarkType="Main">
<controls:SettingsPageControl x:Uid="PowerAccent" IsTabStop="False" <controls:SettingsPageControl x:Uid="QuickAccent" IsTabStop="False"
ModuleImageSource="ms-appx:///Assets/Modules/PowerAccent.png"> ModuleImageSource="ms-appx:///Assets/Modules/PowerAccent.png">
<controls:SettingsPageControl.ModuleContent> <controls:SettingsPageControl.ModuleContent>
<StackPanel Orientation="Vertical"> <StackPanel Orientation="Vertical">
<controls:Setting x:Uid="PowerAccent_EnablePowerAccent"> <controls:Setting x:Uid="QuickAccent_EnableQuickAccent">
<controls:Setting.Icon> <controls:Setting.Icon>
<BitmapIcon UriSource="ms-appx:///Assets/FluentIcons/FluentIconsPowerAccent.png" ShowAsMonochrome="False" /> <BitmapIcon UriSource="ms-appx:///Assets/FluentIcons/FluentIconsPowerAccent.png" ShowAsMonochrome="False" />
</controls:Setting.Icon> </controls:Setting.Icon>
@@ -24,33 +24,33 @@
</controls:Setting.ActionContent> </controls:Setting.ActionContent>
</controls:Setting> </controls:Setting>
<controls:SettingsGroup x:Uid="PowerAccent_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"> <controls:SettingsGroup x:Uid="QuickAccent_Activation_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}">
<controls:Setting x:Uid="PowerAccent_Activation_Shortcut" Icon="&#xEDA7;"> <controls:Setting x:Uid="QuickAccent_Activation_Shortcut" Icon="&#xEDA7;">
<controls:Setting.ActionContent> <controls:Setting.ActionContent>
<ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}"
SelectedIndex="{x:Bind Path=ViewModel.ActivationKey, Mode=TwoWay}" > SelectedIndex="{x:Bind Path=ViewModel.ActivationKey, Mode=TwoWay}" >
<ComboBoxItem x:Uid="PowerAccent_Activation_Key_Arrows"/> <ComboBoxItem x:Uid="QuickAccent_Activation_Key_Arrows"/>
<ComboBoxItem x:Uid="PowerAccent_Activation_Key_Space"/> <ComboBoxItem x:Uid="QuickAccent_Activation_Key_Space"/>
<ComboBoxItem x:Uid="PowerAccent_Activation_Key_Both"/> <ComboBoxItem x:Uid="QuickAccent_Activation_Key_Both"/>
</ComboBox> </ComboBox>
</controls:Setting.ActionContent> </controls:Setting.ActionContent>
</controls:Setting> </controls:Setting>
</controls:SettingsGroup> </controls:SettingsGroup>
<controls:SettingsGroup x:Uid="PowerAccent_Toolbar" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}"> <controls:SettingsGroup x:Uid="QuickAccent_Toolbar" IsEnabled="{Binding Mode=OneWay, Path=IsEnabled}">
<controls:Setting x:Uid="PowerAccent_ToolbarPosition" Icon="&#xEC12;"> <controls:Setting x:Uid="QuickAccent_ToolbarPosition" Icon="&#xEC12;">
<controls:Setting.ActionContent> <controls:Setting.ActionContent>
<ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}"
SelectedIndex="{x:Bind Path=ViewModel.ToolbarPositionIndex, Mode=TwoWay}" > SelectedIndex="{x:Bind Path=ViewModel.ToolbarPositionIndex, Mode=TwoWay}" >
<ComboBoxItem x:Uid="PowerAccent_ToolbarPosition_TopCenter"/> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_TopCenter"/>
<ComboBoxItem x:Uid="PowerAccent_ToolbarPosition_BottomCenter"/> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_BottomCenter"/>
<ComboBoxItem x:Uid="PowerAccent_ToolbarPosition_Left"/> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_Left"/>
<ComboBoxItem x:Uid="PowerAccent_ToolbarPosition_Right"/> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_Right"/>
<ComboBoxItem x:Uid="PowerAccent_ToolbarPosition_TopRightCorner"/> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_TopRightCorner"/>
<ComboBoxItem x:Uid="PowerAccent_ToolbarPosition_TopLeftCorner"/> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_TopLeftCorner"/>
<ComboBoxItem x:Uid="PowerAccent_ToolbarPosition_BottomRightCorner"/> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_BottomRightCorner"/>
<ComboBoxItem x:Uid="PowerAccent_ToolbarPosition_BottomLeftCorner"/> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_BottomLeftCorner"/>
<ComboBoxItem x:Uid="PowerAccent_ToolbarPosition_Center"/> <ComboBoxItem x:Uid="QuickAccent_ToolbarPosition_Center"/>
</ComboBox> </ComboBox>
</controls:Setting.ActionContent> </controls:Setting.ActionContent>
</controls:Setting> </controls:Setting>
@@ -60,10 +60,10 @@
</controls:SettingsPageControl.ModuleContent> </controls:SettingsPageControl.ModuleContent>
<controls:SettingsPageControl.PrimaryLinks> <controls:SettingsPageControl.PrimaryLinks>
<controls:PageLink x:Uid="LearnMore_PowerAccent" Link="https://aka.ms/PowerToysOverview_PowerAccent"/> <controls:PageLink x:Uid="LearnMore_QuickAccent" Link="https://aka.ms/PowerToysOverview_QuickAccent"/>
</controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl.PrimaryLinks>
<controls:SettingsPageControl.SecondaryLinks> <controls:SettingsPageControl.SecondaryLinks>
<controls:PageLink Text="Damien Leroy's PowerAccent" Link="https://github.com/damienleroy"/> <controls:PageLink Text="Damien Leroy's PowerAccent" Link="https://github.com/damienleroy/PowerAccent"/>
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</Page> </Page>

View File

@@ -95,7 +95,7 @@
</muxc:NavigationViewItem.Icon> </muxc:NavigationViewItem.Icon>
</muxc:NavigationViewItem> </muxc:NavigationViewItem>
<muxc:NavigationViewItem x:Uid="Shell_PowerAccent" <muxc:NavigationViewItem x:Uid="Shell_QuickAccent"
helpers:NavHelper.NavigateTo="views:PowerAccentPage"> helpers:NavHelper.NavigateTo="views:PowerAccentPage">
<muxc:NavigationViewItem.Icon> <muxc:NavigationViewItem.Icon>
<BitmapIcon UriSource="ms-appx:///Assets/FluentIcons/FluentIconsPowerAccent.png" <BitmapIcon UriSource="ms-appx:///Assets/FluentIcons/FluentIconsPowerAccent.png"