diff --git a/Localization.cs b/Localization.cs index bd6918f..00a290a 100644 --- a/Localization.cs +++ b/Localization.cs @@ -25,6 +25,8 @@ public sealed class Localization : INotifyPropertyChanged ["QuickDisk"] = "Disk / SSD / NVMe", ["QuickNtfs"] = "NTFS / file system", ["QuickUsb"] = "USB / USB-C / UCSI", ["QuickDevice"] = "Device / Kernel-PnP", ["QuickDriver"] = "Drivers", ["QuickWhea"] = "Hardware / WHEA", ["QuickNetwork"] = "Network", ["QuickUpdate"] = "Windows Update", ["QuickPower"] = "Power / unexpected shutdown", + ["ActiveFilters"] = "Active filters: {0}", ["FilterKeyword"] = "Keyword: {0}", ["FilterProvider"] = "Provider: {0}", + ["FilterChannels"] = "Channels: {0}", ["FilterSort"] = "Sort: {0}", ["SearchPossibleCauses"] = "Search possible causes", ["EventId"] = "Event ID", ["ColumnSeverity"] = "Severity", ["ColumnProblem"] = "Problem", ["ColumnCount"] = "Count", ["ColumnSource"] = "Source", ["ColumnLastSeen"] = "Last seen", ["ProblemDetails"] = "Problem details", ["GroupedEvents"] = "Group Events", ["ColumnTime"] = "Time", @@ -93,6 +95,8 @@ public sealed class Localization : INotifyPropertyChanged ["QuickDisk"] = "磁碟 / SSD / NVMe", ["QuickNtfs"] = "NTFS / 檔案系統", ["QuickUsb"] = "USB / USB-C / UCSI", ["QuickDevice"] = "裝置 / Kernel-PnP", ["QuickDriver"] = "驅動程式", ["QuickWhea"] = "硬體 / WHEA", ["QuickNetwork"] = "網路", ["QuickUpdate"] = "Windows Update", ["QuickPower"] = "電源 / 異常關機", + ["ActiveFilters"] = "啟用篩選:{0}", ["FilterKeyword"] = "關鍵字:{0}", ["FilterProvider"] = "Provider:{0}", + ["FilterChannels"] = "Channel:{0}", ["FilterSort"] = "排序:{0}", ["SearchPossibleCauses"] = "使用搜尋引擎查詢可能原因", ["EventId"] = "Event ID", ["ColumnSeverity"] = "等級", ["ColumnProblem"] = "問題", ["ColumnCount"] = "次數", ["ColumnSource"] = "來源", ["ColumnLastSeen"] = "最後發生", ["ProblemDetails"] = "問題詳細資料", ["GroupedEvents"] = "群組事件", ["ColumnTime"] = "時間", diff --git a/MainWindow.xaml b/MainWindow.xaml index 0e825a5..f8326de 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -4,6 +4,22 @@ xmlns:local="clr-namespace:EventFast" Title="EventFast" Icon="Assets/EventFast.ico" Height="760" Width="1180" MinHeight="560" MinWidth="820" Background="#F4F6F8" PreviewKeyDown="Window_PreviewKeyDown" AllowDrop="True" Drop="Window_Drop"> + + + + @@ -25,9 +41,10 @@ - + + ToolTip="{local:Loc SearchTip}" TextChanged="ManualFilter_Changed" /> @@ -46,19 +63,21 @@ - + - + - + - - + +