mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 09:46:54 +02:00
[QuickAccent]Add support for Serbian Cyrillic (#35500)
* **Languages.cs** - Add `GetDefaultLetterKeySRCyrillic` method for Serbian Cyrillic letters. - Add `SR_CYRL` entry to `Language` enum. - Update `GetDefaultLetterKey` method to include `Language.SR_CYRL`. * **PowerAccentPage.xaml** - Add `ComboBoxItem` for Serbian Cyrillic in `SelectedLanguage` `ComboBox`. * **Resources.resw** - Add entry for Serbian Cyrillic. * **PowerAccentViewModel.cs** - Add `SR_CYRL` to the list of supported languages.
This commit is contained in:
committed by
Clint Rutkas
parent
dc7c7ef2b7
commit
e88b22937e
@@ -1,4 +1,4 @@
|
||||
<Page
|
||||
<Page
|
||||
x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerAccentPage"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
@@ -88,6 +88,7 @@
|
||||
<ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Slovenian" />
|
||||
<ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Spanish" />
|
||||
<ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Serbian" />
|
||||
<ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Serbian_Cyrillic" />
|
||||
<ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Swedish" />
|
||||
<ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Turkish" />
|
||||
<ComboBoxItem x:Uid="QuickAccent_SelectedLanguage_Welsh" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
@@ -3648,6 +3648,9 @@ Activate by holding the key for the character you want to add an accent to, then
|
||||
<data name="QuickAccent_SelectedLanguage_Serbian.Content" xml:space="preserve">
|
||||
<value>Serbian</value>
|
||||
</data>
|
||||
<data name="QuickAccent_SelectedLanguage_Serbian_Cyrillic.Content" xml:space="preserve">
|
||||
<value>Serbian Cyrillic</value>
|
||||
</data>
|
||||
<data name="QuickAccent_SelectedLanguage_Hungarian.Content" xml:space="preserve">
|
||||
<value>Hungarian</value>
|
||||
</data>
|
||||
|
||||
@@ -60,6 +60,7 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
||||
"SL",
|
||||
"SP",
|
||||
"SR",
|
||||
"SR_CYRL",
|
||||
"SV",
|
||||
"TK",
|
||||
"CY",
|
||||
|
||||
Reference in New Issue
Block a user