Multi-language support: Add zh-CN (#347)
* FluentTerminal.SystemTray TargetFrameworkVersion: v4.7.1 -> v4.7.2 * Revert "FluentTerminal.SystemTray" This reverts commit 5c3122ac394bea0a9e484e314983ad267683d714. * Multi-language support: Add zh-CN * Updated translations, added script
This commit is contained in:
1 parent
7cdda79d67
commit
565b3c3f69
34 files changed
+1957
-82
No files matched your search
@@ -10,7 +10,8 @@ using System.Collections.Specialized;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using FluentTerminal.App.Services.Implementation;
|
||||
|
||||
using FluentTerminal.App.Services.Utilities;
|
||||
|
||||
namespace FluentTerminal.App.ViewModels
|
||||
{
|
||||
public class MainViewModel : ViewModelBase
|
||||
@@ -245,7 +246,7 @@ namespace FluentTerminal.App.ViewModels
|
||||
var error = profile.ValidateAndGetErrors();
|
||||
if( ! String.IsNullOrEmpty(error) )
|
||||
{
|
||||
await _dialogService.ShowMessageDialogAsnyc("Error", "The operation cannot be completed due to the following error: " + error, DialogButton.OK).ConfigureAwait(false);
|
||||
await _dialogService.ShowMessageDialogAsnyc(StringsHelper.GetString("Error"), StringsHelper.GetString("ErrorString1") + error, DialogButton.OK).ConfigureAwait(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -358,7 +359,7 @@ namespace FluentTerminal.App.ViewModels
|
||||
{
|
||||
if (_applicationSettings.ConfirmClosingWindows)
|
||||
{
|
||||
var result = await _dialogService.ShowMessageDialogAsnyc("Please confirm", "Are you sure you want to close this window?", DialogButton.OK, DialogButton.Cancel).ConfigureAwait(false);
|
||||
var result = await _dialogService.ShowMessageDialogAsnyc(StringsHelper.GetString("PleaseConfirm"), StringsHelper.GetString("ConfirmCloseWindow"), DialogButton.OK, DialogButton.Cancel).ConfigureAwait(false);
|
||||
|
||||
if (result == DialogButton.OK)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user