[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

@@ -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"