[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
24 changed files with 97 additions and 97 deletions

View File

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

View File

@ -37,7 +37,7 @@ body:
- PDF Thumbnail
- G-code Preview
- G-code Thumbnail
- PowerAccent
- Quick Accent
- PowerRename
- PowerToys Run
- 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.
### [@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/)
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::wstring launcherLogPath = L"LogsModuleInterface\\launcher-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::wstring fancyZonesLogPath = L"fancyzones-log.txt";
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
{
private const string PowerAccentModuleName = "PowerAccent";
private const string PowerAccentModuleName = "QuickAccent";
private readonly ISettingsUtils _settingsUtils;
private readonly IFileSystemWatcher _watcher;
private readonly object _loadingSettingsLock = new object();
@ -34,7 +34,7 @@ public class SettingsService
{
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 options = new JsonSerializerOptions
{

View File

@ -14,7 +14,7 @@ namespace PowerAccent.Core.Tools
public static class Logger
{
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()
{

View File

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

View File

@ -17,7 +17,7 @@ namespace PowerAccent;
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 static App _application;
private static int _powerToysRunnerPid;
@ -40,7 +40,7 @@ internal static class Program
}
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);
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, () =>
{
Logger.LogInfo("PowerToys Runner exited. Exiting PowerAccent");
Logger.LogInfo("PowerToys Runner exited. Exiting QuickAccent");
Terminate();
});
}
@ -80,7 +80,7 @@ internal static class Program
}
else
{
Logger.LogInfo($"PowerAccent started detached from PowerToys Runner.");
Logger.LogInfo($"QuickAccent started detached from PowerToys Runner.");
_powerToysRunnerPid = -1;
}
}

View File

@ -3,5 +3,5 @@
namespace PowerAccentConstants
{
// 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
BEGIN
IDS_POWERACCENT_NAME "PowerAccent"
IDS_POWERACCENT_NAME "QuickAccent"
END
#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;
}
const static wchar_t* MODULE_NAME = L"PowerAccent";
const static wchar_t* MODULE_DESC = L"A module that keeps your computer PowerAccent on-demand.";
const static wchar_t* MODULE_NAME = L"QuickAccent";
const static wchar_t* MODULE_DESC = L"A module that keeps your computer QuickAccent on-demand.";
class PowerAccent : public PowertoyModuleIface
{
@ -55,20 +55,20 @@ private:
void launch_process()
{
Logger::trace(L"Launching PowerToys PowerAccent process");
Logger::trace(L"Launching PowerToys QuickAccent process");
unsigned long powertoys_pid = GetCurrentProcessId();
std::wstring executable_args = L"" + std::to_wstring(powertoys_pid);
std::wstring application_path = L"modules\\PowerAccent\\PowerToys.PowerAccent.exe";
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) };
if (!CreateProcess(application_path.c_str(), full_command_path.data(), NULL, NULL, true, NULL, NULL, NULL, &info, &p_info))
{
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);
Logger::error(message);
}
@ -79,7 +79,7 @@ public:
{
app_name = MODULE_NAME;
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");
};
@ -138,20 +138,20 @@ public:
{
if (m_enabled)
{
Logger::trace(L"Disabling PowerAccent... {}", m_enabled);
Logger::trace(L"Disabling QuickAccent... {}", m_enabled);
ResetEvent(m_hInvokeEvent);
auto exitEvent = CreateEvent(nullptr, false, false, CommonSharedConstants::POWERACCENT_EXIT_EVENT);
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
{
Logger::trace(L"Signaled exit event for PowerToys PowerAccent.");
Logger::trace(L"Signaled exit event for PowerToys QuickAccent.");
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
// need to terminate the PowerAccent process.

View File

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

View File

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

View File

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

View File

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

View File

@ -122,7 +122,7 @@ namespace Microsoft.PowerToys.Settings.UI
case "ImageResizer": StartupPage = typeof(Views.ImageResizerPage); break;
case "KBM": StartupPage = typeof(Views.KeyboardManagerPage); 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 "PowerRename": StartupPage = typeof(Views.PowerRenamePage); break;
case "FileExplorer": StartupPage = typeof(Views.PowerPreviewPage); break;

View File

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

View File

@ -8,7 +8,7 @@
xmlns:controls="using:Microsoft.PowerToys.Settings.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">
<controls:OOBEPageControl.PageContent>
@ -16,14 +16,14 @@
<TextBlock x:Uid="Oobe_HowToUse"
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">
<Button x:Uid="OOBE_Settings"
Click="SettingsLaunchButton_Click"/>
<HyperlinkButton NavigateUri="https://github.com/damienleroy/PowerAccent/"
<HyperlinkButton NavigateUri="https://aka.ms/PowerToysOverview_QuickAccent"
Style="{StaticResource TextButtonStyle}">
<TextBlock x:Uid="LearnMore_PowerAccent"
<TextBlock x:Uid="LearnMore_QuickAccent"
TextWrapping="Wrap" />
</HyperlinkButton>
</StackPanel>

View File

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

View File

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

View File

@ -103,9 +103,9 @@ namespace Microsoft.PowerToys.Settings.UI.OOBE.Views
IsNew = true,
});
Modules.Insert((int)PowerToysModules.PowerAccent, new OobePowerToysModule()
Modules.Insert((int)PowerToysModules.QuickAccent, new OobePowerToysModule()
{
ModuleName = "PowerAccent",
ModuleName = "QuickAccent",
IsNew = true,
});
@ -189,7 +189,7 @@ namespace Microsoft.PowerToys.Settings.UI.OOBE.Views
case "Run": NavigationFrame.Navigate(typeof(OobeRun)); break;
case "ImageResizer": NavigationFrame.Navigate(typeof(OobeImageResizer)); 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 "TextExtractor": NavigationFrame.Navigate(typeof(OobePowerOCR)); 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">
<value>Enable round corners</value>
</data>
<data name="LearnMore_PowerAccent.Text" xml:space="preserve">
<value>Learn more about PowerAccent</value>
<comment>PowerAccent is a product name, do not loc</comment>
<data name="LearnMore_QuickAccent.Text" xml:space="preserve">
<value>Learn more about Quick Accent</value>
<comment>Quick Accent is a product name, do not loc</comment>
</data>
<data name="PowerAccent_EnablePowerAccent.Header" xml:space="preserve">
<value>Enable PowerAccent</value>
<data name="QuickAccent_EnableQuickAccent.Header" xml:space="preserve">
<value>Enable Quick Accent</value>
</data>
<data name="Shell_PowerAccent.Content" xml:space="preserve">
<value>PowerAccent</value>
<data name="Shell_QuickAccent.Content" xml:space="preserve">
<value>Quick Accent</value>
</data>
<data name="PowerAccent.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.
<data name="QuickAccent.ModuleDescription" xml:space="preserve">
<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>
<comment>key refers to a physical key on a keyboard</comment>
</data>
<data name="PowerAccent.ModuleTitle" xml:space="preserve">
<value>PowerAccent</value>
<data name="QuickAccent.ModuleTitle" xml:space="preserve">
<value>Quick Accent</value>
</data>
<data name="PowerAccent.SecondaryLinksHeader" xml:space="preserve">
<data name="QuickAccent.SecondaryLinksHeader" xml:space="preserve">
<value>Attribution</value>
</data>
<data name="Oobe_PowerAccent.Description" xml:space="preserve">
<value>PowerAccent is an easy way to write letters with accents, like on the phone or Mac.</value>
<data name="Oobe_QuickAccent.Description" xml:space="preserve">
<value>Quick Accent is an easy way to write letters with accents, like on the phone or Mac.</value>
</data>
<data name="Oobe_PowerAccent.Title" xml:space="preserve">
<value>PowerAccent</value>
<data name="Oobe_QuickAccent.Title" xml:space="preserve">
<value>Quick Accent</value>
</data>
<data name="Oobe_PowerAccent_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>
<data name="Oobe_QuickAccent_HowToUse.Text" xml:space="preserve">
<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>
</data>
<data name="PowerAccent_Activation_GroupSettings.Header" xml:space="preserve">
<data name="QuickAccent_Activation_GroupSettings.Header" xml:space="preserve">
<value>Activation</value>
</data>
<data name="PowerAccent_Activation_Shortcut.Header" xml:space="preserve">
<data name="QuickAccent_Activation_Shortcut.Header" xml:space="preserve">
<value>Activation key</value>
</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>
</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>
<comment>Left/Right arrow keyboard keys.</comment>
</data>
<data name="PowerAccent_Activation_Key_Space.Content" xml:space="preserve">
<data name="QuickAccent_Activation_Key_Space.Content" xml:space="preserve">
<value>Space</value>
<comment>Space is the space keyboard key.</comment>
</data>
<data name="PowerAccent_Activation_Key_Both.Content" xml:space="preserve">
<data name="QuickAccent_Activation_Key_Both.Content" xml:space="preserve">
<value>Both</value>
</data>
<data name="PowerAccent_Toolbar.Header" xml:space="preserve">
<data name="QuickAccent_Toolbar.Header" xml:space="preserve">
<value>Toolbar</value>
</data>
<data name="PowerAccent_ToolbarPosition.Header" xml:space="preserve">
<data name="QuickAccent_ToolbarPosition.Header" xml:space="preserve">
<value>Toolbar position</value>
</data>
<data name="PowerAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve">
<data name="QuickAccent_ToolbarPosition_TopCenter.Content" xml:space="preserve">
<value>Top center</value>
</data>
<data name="PowerAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve">
<data name="QuickAccent_ToolbarPosition_TopLeftCorner.Content" xml:space="preserve">
<value>Top left corner</value>
</data>
<data name="PowerAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve">
<data name="QuickAccent_ToolbarPosition_TopRightCorner.Content" xml:space="preserve">
<value>Top right corner</value>
</data>
<data name="PowerAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve">
<data name="QuickAccent_ToolbarPosition_BottomLeftCorner.Content" xml:space="preserve">
<value>Bottom left corner</value>
</data>
<data name="PowerAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve">
<data name="QuickAccent_ToolbarPosition_BottomCenter.Content" xml:space="preserve">
<value>Bottom center</value>
</data>
<data name="PowerAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve">
<data name="QuickAccent_ToolbarPosition_BottomRightCorner.Content" xml:space="preserve">
<value>Bottom right corner</value>
</data>
<data name="PowerAccent_ToolbarPosition_Center.Content" xml:space="preserve">
<data name="QuickAccent_ToolbarPosition_Center.Content" xml:space="preserve">
<value>Center</value>
</data>
<data name="PowerAccent_ToolbarPosition_Left.Content" xml:space="preserve">
<data name="QuickAccent_ToolbarPosition_Left.Content" xml:space="preserve">
<value>Left</value>
</data>
<data name="PowerAccent_ToolbarPosition_Right.Content" xml:space="preserve">
<data name="QuickAccent_ToolbarPosition_Right.Content" xml:space="preserve">
<value>Right</value>
</data>
<data name="LearnMore_TextExtractor.Text" xml:space="preserve">

View File

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

View File

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