diff --git a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/QuickLook.Plugin.TextViewer.csproj b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/QuickLook.Plugin.TextViewer.csproj index 1dd3c04..996cb1d 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/QuickLook.Plugin.TextViewer.csproj +++ b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/QuickLook.Plugin.TextViewer.csproj @@ -91,7 +91,7 @@ - + Designer PreserveNewest diff --git a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/TextViewerPanel.xaml.cs b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/TextViewerPanel.xaml.cs index 5a24b55..d01f399 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/TextViewerPanel.xaml.cs +++ b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/TextViewerPanel.xaml.cs @@ -36,7 +36,7 @@ namespace QuickLook.Plugin.TextViewer viewer.FontFamily = new FontFamily(context.GetString( - Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), @"Translations.lang"), + Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), @"Translations.config"), "Editor_FontFamily", failsafe: "Consolas")); LoadFile(path); diff --git a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Translations.lang b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Translations.config similarity index 100% rename from QuickLook.Plugin/QuickLook.Plugin.TextViewer/Translations.lang rename to QuickLook.Plugin/QuickLook.Plugin.TextViewer/Translations.config diff --git a/QuickLook/App.xaml.cs b/QuickLook/App.xaml.cs index 44591af..433aeeb 100644 --- a/QuickLook/App.xaml.cs +++ b/QuickLook/App.xaml.cs @@ -36,7 +36,7 @@ namespace QuickLook public static readonly string AppFullPath = Assembly.GetExecutingAssembly().Location; public static readonly string AppPath = Path.GetDirectoryName(AppFullPath); - internal static readonly string Translations = Path.Combine(AppPath, @"Translations.lang"); + internal static readonly string Translations = Path.Combine(AppPath, @"Translations.config"); private bool _isFirstInstance; private Mutex _isRunning; diff --git a/QuickLook/QuickLook.csproj b/QuickLook/QuickLook.csproj index e5a7682..9b7f2b3 100644 --- a/QuickLook/QuickLook.csproj +++ b/QuickLook/QuickLook.csproj @@ -257,7 +257,7 @@ - + PreserveNewest Designer diff --git a/QuickLook/Translations.lang b/QuickLook/Translations.config similarity index 100% rename from QuickLook/Translations.lang rename to QuickLook/Translations.config diff --git a/README.md b/README.md index 61d7f55..a21d8dc 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ See the [Wiki page](https://github.com/xupefei/QuickLook/wiki). ## Translations -If you would like to translate QuickLook to your language, feel free to modify [these files](https://github.com/xupefei/QuickLook/search?utf8=%E2%9C%93&q=filename%3ATranslations.lang) and then send me a pull request. Thank you for the effort. +If you would like to translate QuickLook to your language, feel free to modify [these files](https://github.com/xupefei/QuickLook/search?utf8=%E2%9C%93&q=filename%3ATranslations.config) and then send me a pull request. Thank you for the effort. ## Licenses