mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 10:19:07 +00:00
rename translation files to make editor happy
This commit is contained in:
@@ -91,7 +91,7 @@
|
|||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Translations.lang">
|
<None Include="Translations.config">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
|
@@ -36,7 +36,7 @@ namespace QuickLook.Plugin.TextViewer
|
|||||||
|
|
||||||
viewer.FontFamily =
|
viewer.FontFamily =
|
||||||
new FontFamily(context.GetString(
|
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"));
|
"Editor_FontFamily", failsafe: "Consolas"));
|
||||||
|
|
||||||
LoadFile(path);
|
LoadFile(path);
|
||||||
|
@@ -36,7 +36,7 @@ namespace QuickLook
|
|||||||
public static readonly string AppFullPath = Assembly.GetExecutingAssembly().Location;
|
public static readonly string AppFullPath = Assembly.GetExecutingAssembly().Location;
|
||||||
public static readonly string AppPath = Path.GetDirectoryName(AppFullPath);
|
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 bool _isFirstInstance;
|
||||||
private Mutex _isRunning;
|
private Mutex _isRunning;
|
||||||
|
@@ -257,7 +257,7 @@
|
|||||||
</COMReference>
|
</COMReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Translations.lang">
|
<None Include="Translations.config">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</None>
|
</None>
|
||||||
|
@@ -54,7 +54,7 @@ See the [Wiki page](https://github.com/xupefei/QuickLook/wiki).
|
|||||||
|
|
||||||
## Translations
|
## 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
|
## Licenses
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user