mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 18:39:45 +00:00
rename translation files to make editor happy
This commit is contained in:
@@ -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>
|
||||
|
@@ -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);
|
||||
|
@@ -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;
|
||||
|
@@ -257,7 +257,7 @@
|
||||
</COMReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Translations.lang">
|
||||
<None Include="Translations.config">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user