Added SearchPivotName trnslation resource

This commit is contained in:
Aleh Khantsevich
2024-05-09 01:11:02 +02:00
parent 1f6e1db695
commit 1f59d3179c
3 changed files with 7 additions and 1 deletions

View File

@@ -323,6 +323,7 @@
"SynchronizationFolderReport_Failed": "synchronization is failed",
"SearchBarPlaceholder": "Search",
"SearchingIn": "Searching in",
"SearchPivotName": "Results",
"SettingsAboutGithub_Description": "Go to issue tracker GitHub repository.",
"SettingsAboutGithub_Title": "GitHub",
"SettingsAccountManagementAppendMessage_Title": "Append messages to Sent folder",

View File

@@ -1638,6 +1638,11 @@ namespace Wino.Core.Domain
/// </summary>
public static string SearchingIn => Resources.GetTranslatedString(@"SearchingIn");
/// <summary>
/// Results
/// </summary>
public static string SearchPivotName => Resources.GetTranslatedString(@"SearchPivotName");
/// <summary>
/// Go to issue tracker GitHub repository.
/// </summary>

View File

@@ -491,7 +491,7 @@ namespace Wino.Mail.ViewModels
if (ActiveFolder == null) return;
PivotFolders.Add(new FolderPivotViewModel("Results", isFocused));
PivotFolders.Add(new FolderPivotViewModel(Translator.SearchPivotName, isFocused));
// This will trigger refresh.
SelectedFolderPivot = PivotFolders.FirstOrDefault();