[TextExtractor][Settings]Add info bar about supported languages (#20934)
* TextExtractor-20388: add infobar about supported languages
This commit is contained in:
Родитель
887da6dc1a
Коммит
5b13328bdd
|
@ -2460,6 +2460,12 @@ Activate by holding the key for the character you want to add an accent to, then
|
|||
<data name="TextExtractor_EnableToggleControl_HeaderText.Header" xml:space="preserve">
|
||||
<value>Enable Text Extractor</value>
|
||||
</data>
|
||||
<data name="TextExtractor_SupportedLanguages.Title" xml:space="preserve">
|
||||
<value>Text Extractor can only recognize languages that have the OCR pack installed.</value>
|
||||
</data>
|
||||
<data name="TextExtractor_SupportedLanguages_Link.Content" xml:space="preserve">
|
||||
<value>Learn more about supported languages</value>
|
||||
</data>
|
||||
<data name="Shell_TextExtractor.Content" xml:space="preserve">
|
||||
<value>Text Extractor</value>
|
||||
</data>
|
||||
|
|
|
@ -22,6 +22,16 @@
|
|||
</controls:Setting.ActionContent>
|
||||
</controls:Setting>
|
||||
|
||||
<InfoBar x:Uid="TextExtractor_SupportedLanguages"
|
||||
Severity="Informational"
|
||||
IsClosable="False"
|
||||
IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
||||
IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}" >
|
||||
<InfoBar.ActionButton>
|
||||
<HyperlinkButton NavigateUri="https://aka.ms/PowerToysOverview_TextExtractor#supported-languages" x:Uid="TextExtractor_SupportedLanguages_Link"/>
|
||||
</InfoBar.ActionButton>
|
||||
</InfoBar>
|
||||
|
||||
<controls:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}">
|
||||
<controls:Setting x:Uid="Activation_Shortcut" Icon="">
|
||||
<controls:Setting.ActionContent>
|
||||
|
|
Загрузка…
Ссылка в новой задаче