rename translation files to make editor happy

This commit is contained in:
Paddy Xu
2017-07-14 22:55:35 +03:00
parent 4ab7a49d72
commit 584d56731f
7 changed files with 5 additions and 5 deletions

View File

@@ -91,7 +91,7 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<None Include="Translations.lang">
<None Include="Translations.config">
<SubType>Designer</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>

View File

@@ -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);

View File

@@ -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;

View File

@@ -257,7 +257,7 @@
</COMReference>
</ItemGroup>
<ItemGroup>
<None Include="Translations.lang">
<None Include="Translations.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<SubType>Designer</SubType>
</None>

View File

@@ -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