Skip to content

Commit

Permalink
change the text of locating game folder #501
Browse files Browse the repository at this point in the history
  • Loading branch information
Scighost committed Jan 14, 2024
1 parent 24b8265 commit 3e30633
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Starward.Language/Lang.Designer.cs

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

2 changes: 1 addition & 1 deletion src/Starward.Language/Lang.resx
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ closing the program during decompression will cause game file corruption.</value
<value>The following folder contains unfinished download tasks:</value>
</data>
<data name="LauncherPage_SelectInstallFolderDesc" xml:space="preserve">
<value>Please select an empty folder for installing the game, or locate the folder where the game is already installed.</value>
<value>Please select an empty folder for installing game, or locate the folder where executable file {0} is.</value>
</data>
<data name="LauncherPage_AlreadyTheLatestVersionDesc" xml:space="preserve">
<value>If it is not the latest version, please modify the config.ini file in the game installation directory.</value>
Expand Down
4 changes: 2 additions & 2 deletions src/Starward/Pages/LauncherPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -966,8 +966,8 @@ private async Task DownloadGameAsync()
var folderDialog = new ContentDialog
{
Title = Lang.LauncherPage_SelectInstallFolder,
// todo 请选择一个空文件夹用于安装游戏,或者定位已安装游戏的文件夹。
Content = Lang.LauncherPage_SelectInstallFolderDesc,
// 请选择一个空文件夹用于安装游戏,或者定位已安装游戏的文件夹。
Content = string.Format(Lang.LauncherPage_SelectInstallFolderDesc, GameService.GetGameExeName(CurrentGameBiz)),
PrimaryButtonText = Lang.Common_Select,
SecondaryButtonText = Lang.Common_Cancel,
DefaultButton = ContentDialogButton.Primary,
Expand Down

0 comments on commit 3e30633

Please sign in to comment.