[Settings][AdvPaste]Add localization support for 'Configure OpenAI Key' (#33140)

* [Settings][AdvPaste]Add localization support

* XAML format
This commit is contained in:
zetaloop
2024-06-04 18:28:40 +08:00
committed by GitHub
parent 114e53ecd6
commit eaf38ddcf6
2 changed files with 4 additions and 1 deletions

View File

@@ -167,7 +167,7 @@
</TextBlock> </TextBlock>
<StackPanel Grid.Row="2" Orientation="Vertical"> <StackPanel Grid.Row="2" Orientation="Vertical">
<TextBlock FontWeight="SemiBold" Text="Configure OpenAI key" /> <TextBlock x:Uid="AdvancedPaste_EnableAIDialog_ConfigureOpenAIKey" FontWeight="SemiBold" />
<TextBlock Grid.Row="2" TextWrapping="Wrap"> <TextBlock Grid.Row="2" TextWrapping="Wrap">
<Run x:Uid="AdvancedPaste_EnableAIDialog_LoginIntoText" /> <Run x:Uid="AdvancedPaste_EnableAIDialog_LoginIntoText" />
<Hyperlink NavigateUri="https://platform.openai.com/api-keys"> <Hyperlink NavigateUri="https://platform.openai.com/api-keys">

View File

@@ -4159,6 +4159,9 @@ Activate by holding the key for the character you want to add an accent to, then
<data name="AdvancedPaste_EnableAIDialog_LoginIntoText.Text" xml:space="preserve"> <data name="AdvancedPaste_EnableAIDialog_LoginIntoText.Text" xml:space="preserve">
<value>• Login into your</value> <value>• Login into your</value>
</data> </data>
<data name="AdvancedPaste_EnableAIDialog_ConfigureOpenAIKey.Text" xml:space="preserve">
<value>Configure OpenAI key</value>
</data>
<data name="AdvancedPaste_EnableAIDialog_OpenAIApiKeysOverviewText.Text" xml:space="preserve"> <data name="AdvancedPaste_EnableAIDialog_OpenAIApiKeysOverviewText.Text" xml:space="preserve">
<value>OpenAI API keys overview</value> <value>OpenAI API keys overview</value>
</data> </data>