mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-14 20:29:07 +00:00
fix translations and settings
This commit is contained in:
@@ -22,6 +22,7 @@ using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using ICSharpCode.AvalonEdit.Highlighting;
|
||||
using QuickLook.Common;
|
||||
using QuickLook.Common.Helpers;
|
||||
using UtfUnknown;
|
||||
|
||||
namespace QuickLook.Plugin.TextViewer
|
||||
@@ -41,8 +42,7 @@ namespace QuickLook.Plugin.TextViewer
|
||||
|
||||
viewer.PreviewMouseWheel += Viewer_MouseWheel;
|
||||
|
||||
viewer.FontFamily =
|
||||
new FontFamily(context.GetString("Editor_FontFamily"));
|
||||
viewer.FontFamily = new FontFamily(TranslationHelper.Get("Editor_FontFamily"));
|
||||
|
||||
LoadFile(path);
|
||||
}
|
||||
|
Reference in New Issue
Block a user