Skip to content

Commit

Permalink
Merge pull request #250 from huynhsontung/fix-missing-resource
Browse files Browse the repository at this point in the history
l10n: localize "Set arguments" text
  • Loading branch information
huynhsontung authored Dec 15, 2023
2 parents 31f2384 + 08b804f commit d44df94
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Screenbox/Pages/SettingsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
<Run Text="{x:Bind VlcCommandLineHelpTextParts[1]}" />
</TextBlock>
</ctc:SettingsCard.Description>
<Button CommandParameter="{x:Bind ViewModel}" Content="Set arguments">
<Button CommandParameter="{x:Bind ViewModel}" Content="{strings:Resources Key=SetArguments}">
<Button.Command>
<commands:SetPlaybackOptionsCommand />
</Button.Command>
Expand Down
14 changes: 14 additions & 0 deletions Screenbox/Strings/en-US/Resources.generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2507,6 +2507,19 @@ public static string ManageSystemIndexingLink
}
}
#endregion

#region SetArguments
/// <summary>
/// Looks up a localized string similar to: Set arguments
/// </summary>
public static string SetArguments
{
get
{
return _resourceLoader.GetString("SetArguments");
}
}
#endregion
}

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("DotNetPlus.ReswPlus", "2.1.3")]
Expand Down Expand Up @@ -2709,6 +2722,7 @@ public enum KeyEnum
SettingsUseIndexerHeader,
SettingsUseIndexerDescription,
ManageSystemIndexingLink,
SetArguments,
}

private static ResourceLoader _resourceLoader;
Expand Down
3 changes: 3 additions & 0 deletions Screenbox/Strings/en-US/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -758,4 +758,7 @@
<data name="ManageSystemIndexingLink" xml:space="preserve">
<value>Manage system indexing settings</value>
</data>
<data name="SetArguments" xml:space="preserve">
<value>Set arguments</value>
</data>
</root>

0 comments on commit d44df94

Please sign in to comment.