Skip to content

Commit

Permalink
Internationalize straggling settings tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Oct 20, 2024
1 parent 59700fe commit 91d2d46
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
13 changes: 9 additions & 4 deletions GUI/Dialogs/SettingsDialog.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions GUI/Dialogs/SettingsDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ public SettingsDialog(IConfiguration coreConfig,
string? userAgent)
{
InitializeComponent();

ToolTip.SetToolTip(RefreshTextBox, Properties.Resources.SettingsToolTipRefreshTextBox);

this.coreConfig = coreConfig;
this.guiConfig = guiConfig;
this.regMgr = regMgr;
Expand Down
1 change: 1 addition & 0 deletions GUI/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ Find the folder where your game is installed and choose one of these files:
{1}</value></data>
<data name="NewRepoDialogFailed" xml:space="preserve"><value>Failed to fetch master list.</value></data>
<data name="PluginsDialogFilter" xml:space="preserve"><value>CKAN Plugins (*.dll)|*.dll</value></data>
<data name="SettingsToolTipRefreshTextBox" xml:space="preserve"><value>Setting to 0 will not refresh modlist</value></data>
<data name="SettingsDialogSummmary" xml:space="preserve"><value>{0} files, {1}, {2} free</value></data>
<data name="SettingsDialogSummaryInvalid" xml:space="preserve"><value>Invalid path: {0}</value></data>
<data name="SettingsDialogCacheDescrip" xml:space="preserve"><value>Choose a folder for storing CKAN's mod downloads:</value></data>
Expand Down

0 comments on commit 91d2d46

Please sign in to comment.