[Advanced Paste] Localization (#43536)

More strings to loc, and re-ordering a few settings.
This commit is contained in:
Niels Laute
2025-11-13 15:36:35 +01:00
committed by GitHub
parent 29534601be
commit dd4c7ba57e
2 changed files with 17 additions and 9 deletions

View File

@@ -168,6 +168,9 @@
</InfoBar> </InfoBar>
</tkcontrols:SettingsExpander.ItemsHeader> </tkcontrols:SettingsExpander.ItemsHeader>
<tkcontrols:SettingsExpander.Items> <tkcontrols:SettingsExpander.Items>
<tkcontrols:SettingsCard Name="AdvancedPasteEnableClipboardPreview" ContentAlignment="Left">
<controls:CheckBoxWithDescriptionControl x:Uid="AdvancedPaste_EnableClipboardPreview" IsChecked="{x:Bind ViewModel.EnableClipboardPreview, Mode=TwoWay}" />
</tkcontrols:SettingsCard>
<tkcontrols:SettingsCard <tkcontrols:SettingsCard
Name="AdvancedPasteClipboardHistoryEnabledSettingsCard" Name="AdvancedPasteClipboardHistoryEnabledSettingsCard"
ContentAlignment="Left" ContentAlignment="Left"
@@ -177,9 +180,6 @@
<tkcontrols:SettingsCard Name="AdvancedPasteCloseAfterLosingFocus" ContentAlignment="Left"> <tkcontrols:SettingsCard Name="AdvancedPasteCloseAfterLosingFocus" ContentAlignment="Left">
<CheckBox x:Uid="AdvancedPaste_CloseAfterLosingFocus" IsChecked="{x:Bind ViewModel.CloseAfterLosingFocus, Mode=TwoWay}" /> <CheckBox x:Uid="AdvancedPaste_CloseAfterLosingFocus" IsChecked="{x:Bind ViewModel.CloseAfterLosingFocus, Mode=TwoWay}" />
</tkcontrols:SettingsCard> </tkcontrols:SettingsCard>
<tkcontrols:SettingsCard Name="AdvancedPasteEnableClipboardPreview" ContentAlignment="Left">
<CheckBox x:Uid="AdvancedPaste_EnableClipboardPreview" IsChecked="{x:Bind ViewModel.EnableClipboardPreview, Mode=TwoWay}" />
</tkcontrols:SettingsCard>
<tkcontrols:SettingsCard Name="AdvancedPasteShowCustomPreviewSettingsCard" ContentAlignment="Left"> <tkcontrols:SettingsCard Name="AdvancedPasteShowCustomPreviewSettingsCard" ContentAlignment="Left">
<controls:CheckBoxWithDescriptionControl x:Uid="AdvancedPaste_ShowCustomPreviewSettingsCard" IsChecked="{x:Bind ViewModel.ShowCustomPreview, Mode=TwoWay}" /> <controls:CheckBoxWithDescriptionControl x:Uid="AdvancedPaste_ShowCustomPreviewSettingsCard" IsChecked="{x:Bind ViewModel.ShowCustomPreview, Mode=TwoWay}" />
</tkcontrols:SettingsCard> </tkcontrols:SettingsCard>
@@ -429,12 +429,11 @@
<!-- Paste AI provider dialog --> <!-- Paste AI provider dialog -->
<ContentDialog <ContentDialog
x:Name="PasteAIProviderConfigurationDialog" x:Name="PasteAIProviderConfigurationDialog"
x:Uid="AdvancedPaste_EndpointDialog"
Title="Paste with AI provider configuration" Title="Paste with AI provider configuration"
Closed="PasteAIProviderConfigurationDialog_Closed" Closed="PasteAIProviderConfigurationDialog_Closed"
PrimaryButtonClick="PasteAIProviderConfigurationDialog_PrimaryButtonClick" PrimaryButtonClick="PasteAIProviderConfigurationDialog_PrimaryButtonClick"
PrimaryButtonStyle="{ThemeResource AccentButtonStyle}" PrimaryButtonStyle="{ThemeResource AccentButtonStyle}">
PrimaryButtonText="Save"
SecondaryButtonText="Cancel">
<ContentDialog.Resources> <ContentDialog.Resources>
<x:Double x:Key="ContentDialogMaxWidth">900</x:Double> <x:Double x:Key="ContentDialogMaxWidth">900</x:Double>
<x:Double x:Key="ContentDialogMaxHeight">700</x:Double> <x:Double x:Key="ContentDialogMaxHeight">700</x:Double>

View File

@@ -648,10 +648,10 @@ Please review the placeholder content that represents the final terms and usage
<value>Use built-in functions to handle complex tasks. Token consumption may increase.</value> <value>Use built-in functions to handle complex tasks. Token consumption may increase.</value>
</data> </data>
<data name="AdvancedPaste_Clipboard_History_Enabled_SettingsCard.Header" xml:space="preserve"> <data name="AdvancedPaste_Clipboard_History_Enabled_SettingsCard.Header" xml:space="preserve">
<value>Show what's currently on your Clipboard and access your Clipboard history</value> <value>Access Clipboard History</value>
</data> </data>
<data name="AdvancedPaste_Clipboard_History_Enabled_SettingsCard.Description" xml:space="preserve"> <data name="AdvancedPaste_Clipboard_History_Enabled_SettingsCard.Description" xml:space="preserve">
<value>Clipboard History shows a list of previously copied items.</value> <value>View and select previously copied items</value>
</data> </data>
<data name="AdvancedPaste_Direct_Access_Hotkeys_GroupSettings.Header" xml:space="preserve"> <data name="AdvancedPaste_Direct_Access_Hotkeys_GroupSettings.Header" xml:space="preserve">
<value>Actions</value> <value>Actions</value>
@@ -4601,7 +4601,7 @@ Activate by holding the key for the character you want to add an accent to, then
<value>Automatically close the window after it loses focus</value> <value>Automatically close the window after it loses focus</value>
<comment>Advanced Paste is a product name, do not loc</comment> <comment>Advanced Paste is a product name, do not loc</comment>
</data> </data>
<data name="AdvancedPaste_EnableClipboardPreview.Content" xml:space="preserve"> <data name="AdvancedPaste_EnableClipboardPreview.Header" xml:space="preserve">
<value>Show clipboard preview</value> <value>Show clipboard preview</value>
<comment>Enables display of clipboard contents preview in the Advanced Paste window</comment> <comment>Enables display of clipboard contents preview in the Advanced Paste window</comment>
</data> </data>
@@ -5747,4 +5747,13 @@ To record a specific window, enter the hotkey with the Alt key in the opposite m
<data name="AdvancedPaste_SystemPrompt.Header" xml:space="preserve"> <data name="AdvancedPaste_SystemPrompt.Header" xml:space="preserve">
<value>System prompt</value> <value>System prompt</value>
</data> </data>
<data name="AdvancedPaste_EndpointDialog.PrimaryButtonText" xml:space="preserve">
<value>Save</value>
</data>
<data name="AdvancedPaste_EndpointDialog.SecondaryButtonText" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="AdvancedPaste_EnableClipboardPreview.Description" xml:space="preserve">
<value>Display a preview of the current clipboard content</value>
</data>
</root> </root>