Skip to content

Commit

Permalink
💚Add language Portuguese of Brazil /添加巴西语言版本
Browse files Browse the repository at this point in the history
💚Part of Plugins Translated /部分插件已翻译
💚v0.1 German Translation of the file Resources_String.resx /v0.1资源德语翻译
💚Optimize some Chinese Translation /优化部分中文翻译
💚Setting java development tool variables Plugin/优化设置Java开发工具变量插件
  • Loading branch information
indiff committed Nov 20, 2021
1 parent a4382e1 commit 43657bb
Show file tree
Hide file tree
Showing 22 changed files with 2,040 additions and 90 deletions.
4 changes: 2 additions & 2 deletions BandObjectLib/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
[assembly: AssemblyCopyright("Copyright (C) 2007-2021")]
[assembly: AssemblyTrademark("indiff")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyFileVersion("1.5.5.2")]
[assembly: AssemblyFileVersion("1.5.5.3")]
//
// Version information for an assembly consists of the following four values:
//
Expand All @@ -42,7 +42,7 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("1.5.5.2")]
[assembly: AssemblyVersion("1.5.5.3")]

//
// In order to sign your assembly you must specify a key to use. Refer to the
Expand Down
5 changes: 3 additions & 2 deletions Installer/Installer.wixproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<SuppressValidation>False</SuppressValidation>
<SuppressIces>ICE80</SuppressIces>
<SuppressSpecificWarnings>1076;1118</SuppressSpecificWarnings>
<Cultures>en-US;zh-CN;de-DE</Cultures>
<Cultures>en-US;zh-CN;de-DE;pt-BR</Cultures>
</PropertyGroup>
<ItemGroup>
<Compile Include="CustomWelcomeEulaDlg.wxs" />
Expand All @@ -43,6 +43,7 @@
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="lang.wxl" />
<EmbeddedResource Include="lang_pt_BR.wxl" />
<EmbeddedResource Include="lang_zh_CN.wxl" />
<EmbeddedResource Include="lang_de_DE.wxl" />
</ItemGroup>
Expand All @@ -59,4 +60,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
13 changes: 9 additions & 4 deletions Installer/Installer.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@

<?define SkuName = "QTTabBar"?>
<?define RTMProductVersion="1.5.0" ?>
<?define ProductVersion="1.5.5.2" ?> <!-- Change the last number to the svn revision before release -->
<?define VersionString="1.5.5.2 Beta(2021)" ?> <!-- Change to correct version before release, eg, 2019 1.5.0.0 Beta 1 -->
<?define ProductVersion="1.5.5.3" ?> <!-- Change the last number to the svn revision before release -->
<?define VersionString="1.5.5.3 Beta(2021)" ?> <!-- Change to correct version before release, eg, 2019 1.5.0.0 Beta 1 -->
<?define UpgradeCode="{ec9baff7-58fb-40cb-9f67-1c438a7524a5}"?> <!-- NEVER CHANGE THIS, EVER!! -->
<!-- Quizo and Paul Accisano -->
<?define Manufacturer="indiff"?>
<?define ProductCode="*"?>
<?define StrongName="QTTabBar, Version=1.5.5.2, Culture=neutral, PublicKeyToken=973461f1cd23d8eb"?>
<?define StrongName="QTTabBar, Version=1.5.5.3, Culture=neutral, PublicKeyToken=973461f1cd23d8eb"?>
<?define MyLanguage="1033"?>
<!-- Language code page 1252 1033
语言 语言-国家 Language Codepage
Expand Down Expand Up @@ -149,6 +149,10 @@ Language="1033"
<Component Id="ShowStatusBar" Win64="yes" Guid="27af1a85-9a08-4c18-bdeb-d73fd4bd9574" DisableRegistryReflection="yes">
<File Id="f18" Name="ShowStatusBar.dll" Source="..\Plugins\ShowStatusBar\bin\Release\ShowStatusBar.dll" KeyPath="yes" />
</Component>

<Component Id="SetHome" Win64="yes" Guid="27af1a85-9a08-4c18-bdeb-d73fd4bd9571" DisableRegistryReflection="yes">
<File Id="f19" Name="SetHome.exe" Source="..\SetHome\bin\Release\SetHome.exe" KeyPath="yes" />
</Component>
<!--
<Component Id="ActivateByMouseHover" Win64="yes" Guid="27af1a85-9a08-4c19-bdeb-d73fd4bd9574" DisableRegistryReflection="yes">
Expand Down Expand Up @@ -278,7 +282,8 @@ Language="1033"
<ComponentRef Id="QTViewModeButton" />
<!--<ComponentRef Id="SampleSplitButton" /> -->
<ComponentRef Id="ShowStatusBar" />
<ComponentRef Id="ActivateByMouseHover" />
<ComponentRef Id="ActivateByMouseHover" />
<ComponentRef Id="SetHome" />

<!-- add by qwop -->

Expand Down
267 changes: 250 additions & 17 deletions Plugins/QTQuick/QTQuick.cs

Large diffs are not rendered by default.

98 changes: 49 additions & 49 deletions QTPluginLib/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
// This file is part of QTTabBar, a shell extension for Microsoft
// Windows Explorer.
// Copyright (C) 2007-2010 Quizo, Paul Accisano
//
// QTTabBar is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// QTTabBar is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with QTTabBar. If not, see <http://www.gnu.org/licenses/>.

using System.Reflection;
using System.Runtime.InteropServices;

// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("QTPluginLib")]
[assembly: AssemblyDescription("Plugin library for QTTabBar")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("indiff")]
[assembly: AssemblyProduct("QTTabBar")]
[assembly: AssemblyCopyright("Copyright (C) 2007-2021")]
[assembly: AssemblyTrademark("indiff")]
// This file is part of QTTabBar, a shell extension for Microsoft
// Windows Explorer.
// Copyright (C) 2007-2010 Quizo, Paul Accisano
//
// QTTabBar is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// QTTabBar is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with QTTabBar. If not, see <http://www.gnu.org/licenses/>.

using System.Reflection;
using System.Runtime.InteropServices;

// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("QTPluginLib")]
[assembly: AssemblyDescription("Plugin library for QTTabBar")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("indiff")]
[assembly: AssemblyProduct("QTTabBar")]
[assembly: AssemblyCopyright("Copyright (C) 2007-2021")]
[assembly: AssemblyTrademark("indiff")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyFileVersion("1.5.5.2")]

// ComVisible を false に設定すると、このアセンブリ内の型は COM コンポーネントには
// 参照不可能になります。COM からこのアセンブリ内の型にアクセスする場合は、
// その型の ComVisible 属性を true に設定してください。
[assembly: ComVisible(false)]

// 次の GUID は、このプロジェクトが COM に公開される場合の、typelib の ID です
[assembly: Guid("70e873e1-b593-42d5-95aa-bd19fc2d59b6")]

// アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を
[assembly: AssemblyFileVersion("1.5.5.3")]

// ComVisible を false に設定すると、このアセンブリ内の型は COM コンポーネントには
// 参照不可能になります。COM からこのアセンブリ内の型にアクセスする場合は、
// その型の ComVisible 属性を true に設定してください。
[assembly: ComVisible(false)]

// 次の GUID は、このプロジェクトが COM に公開される場合の、typelib の ID です
[assembly: Guid("70e873e1-b593-42d5-95aa-bd19fc2d59b6")]

// アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を
// 既定値にすることができます:
[assembly: AssemblyVersion("1.5.5.2")]
[assembly: AssemblyVersion("1.5.5.3")]
38 changes: 38 additions & 0 deletions QTTabBar Rebirth.sln
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TurnOffRepeat", "Plugins\Tu
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ActivateByMouseHover", "Plugins\ActivateByMouseHover\ActivateByMouseHover.csproj", "{D0CF04D8-FA8A-45F1-8402-43C17A8D22F2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SetHome", "SetHome\SetHome.csproj", "{02E9733C-7267-47B3-A524-4736AC6A648B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug (No Plugins)|Any CPU = Debug (No Plugins)|Any CPU
Expand Down Expand Up @@ -857,6 +859,42 @@ Global
{D0CF04D8-FA8A-45F1-8402-43C17A8D22F2}.x86 QT Only|Mixed Platforms.Build.0 = Release|Any CPU
{D0CF04D8-FA8A-45F1-8402-43C17A8D22F2}.x86 QT Only|x64.ActiveCfg = Release|Any CPU
{D0CF04D8-FA8A-45F1-8402-43C17A8D22F2}.x86 QT Only|x86.ActiveCfg = Release|Any CPU
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug (No Plugins)|Any CPU.ActiveCfg = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug (No Plugins)|Mixed Platforms.ActiveCfg = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug (No Plugins)|Mixed Platforms.Build.0 = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug (No Plugins)|x64.ActiveCfg = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug (No Plugins)|x86.ActiveCfg = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug (No Plugins)|x86.Build.0 = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug (No Reg)|Any CPU.ActiveCfg = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug (No Reg)|Mixed Platforms.ActiveCfg = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug (No Reg)|Mixed Platforms.Build.0 = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug (No Reg)|x64.ActiveCfg = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug (No Reg)|x86.ActiveCfg = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug (No Reg)|x86.Build.0 = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug|Any CPU.ActiveCfg = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug|Mixed Platforms.Build.0 = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug|x64.ActiveCfg = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug|x86.ActiveCfg = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Debug|x86.Build.0 = Debug|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Installer|Any CPU.ActiveCfg = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Installer|Mixed Platforms.ActiveCfg = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Installer|Mixed Platforms.Build.0 = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Installer|x64.ActiveCfg = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Installer|x86.ActiveCfg = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Installer|x86.Build.0 = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Release|Any CPU.ActiveCfg = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Release|Mixed Platforms.ActiveCfg = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Release|Mixed Platforms.Build.0 = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Release|x64.ActiveCfg = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Release|x86.ActiveCfg = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.Release|x86.Build.0 = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.x86 QT Only|Any CPU.ActiveCfg = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.x86 QT Only|Mixed Platforms.ActiveCfg = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.x86 QT Only|Mixed Platforms.Build.0 = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.x86 QT Only|x64.ActiveCfg = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.x86 QT Only|x86.ActiveCfg = Release|x86
{02E9733C-7267-47B3-A524-4736AC6A648B}.x86 QT Only|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
52 changes: 39 additions & 13 deletions QTTabBar/Config.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
// This file is part of QTTabBar, a shell extension for Microsoft
/* File Info
* Author: your name
* CreateTime: 2021/1/5下午1:58:08
* LastEditor: your name
* ModifyTime: 2021/8/28下午7:47:22
* Description:
*/
// This file is part of QTTabBar, a shell extension for Microsoft
// Windows Explorer.
// Copyright (C) 2007-2010 Quizo, Paul Accisano
//
Expand Down Expand Up @@ -54,6 +61,9 @@ public static Font ToFont(XmlSerializableFont xmlSerializableFont) {
}
}

/*
* @描述: 标签位置
*/
public enum TabPos {
Rightmost,
Right,
Expand All @@ -62,12 +72,18 @@ public enum TabPos {
LastActive,
}

/*
* @描述: 拉伸模式
*/
public enum StretchMode {
Full,
Real,
Tile,
}

/*
* @描述: 鼠标的目标
*/
public enum MouseTarget {
Anywhere,
Tab,
Expand All @@ -77,6 +93,9 @@ public enum MouseTarget {
ExplorerBackground
}

/*
* @描述: 鼠标弦
*/
[Flags]
public enum MouseChord {
None = 0,
Expand All @@ -91,6 +110,9 @@ public enum MouseChord {
X2 = 256,
}

/*
* @描述: 绑定动作
*/
// WARNING
// reordering these will break existing settings.
public enum BindAction
Expand Down Expand Up @@ -198,9 +220,6 @@ public enum BindAction

[Serializable]
public class Config {
/*插件管理*/
/*语言配置*/
/*关于信息*/
// Shortcuts to the loaded config, for convenience.
public static _Window Window { get { return ConfigManager.LoadedConfig.window; } } /*窗口行为*/
public static _Tabs Tabs { get { return ConfigManager.LoadedConfig.tabs; } } /*标签行为*/
Expand Down Expand Up @@ -646,35 +665,42 @@ public _Mouse() {

/* qwop's default value. */
MouseScrollsHotWnd = false;
GlobalMouseActions = new Dictionary<MouseChord, BindAction> {
// 全局鼠标动作
GlobalMouseActions = new Dictionary<MouseChord, BindAction> {
{MouseChord.X1, BindAction.GoBack},
{MouseChord.X2, BindAction.GoForward},
{MouseChord.X1 | MouseChord.Ctrl, BindAction.GoFirst},
{MouseChord.X2 | MouseChord.Ctrl, BindAction.GoLast}
};
// 标签动作
TabActions = new Dictionary<MouseChord, BindAction> {
{MouseChord.Middle, BindAction.CloseTab},
{MouseChord.Ctrl | MouseChord.Left, BindAction.LockTab},
{MouseChord.Double, BindAction.UpOneLevelTab},
};
BarActions = new Dictionary<MouseChord, BindAction> {
// 标签Bar处动作
BarActions = new Dictionary<MouseChord, BindAction> {
{MouseChord.Double, BindAction.NewTab},
{MouseChord.Middle, BindAction.RestoreLastClosed},
{MouseChord.Ctrl | MouseChord.Middle, BindAction.TearOffCurrent}
};
// 文件夹链接动作
LinkActions = new Dictionary<MouseChord, BindAction> {
{MouseChord.None, BindAction.ItemsOpenInNewTabNoSel},
{MouseChord.None, BindAction.ItemsOpenInNewTabNoSel},
{MouseChord.Middle, BindAction.ItemOpenInNewTab},
{MouseChord.Ctrl | MouseChord.Middle, BindAction.ItemOpenInNewWindow}
};
ItemActions = new Dictionary<MouseChord, BindAction> {
// 资源管理器空白处
ItemActions = new Dictionary<MouseChord, BindAction> {
{MouseChord.Middle, BindAction.ItemOpenInNewTab},
{MouseChord.Ctrl | MouseChord.Middle, BindAction.ItemOpenInNewTabNoSel}
};
MarginActions = new Dictionary<MouseChord, BindAction> {
// 资源管理器空白处
MarginActions = new Dictionary<MouseChord, BindAction> {
{ MouseChord.Double, BindAction.UpOneLevel}
// add by qwop //
,{ MouseChord.Middle, BindAction.BrowseFolder}
// ctrl + 双击 打开命令提示符
,{ ( MouseChord) 66, BindAction.OpenCmd } // === {MouseChord.Ctrl | MouseChord.Double, BindAction.OpenCmd}
,{ MouseChord.Ctrl | MouseChord.Middle, BindAction.ItemsOpenInNewTabNoSel}
// add by qwop //
Expand Down Expand Up @@ -751,11 +777,11 @@ public _Lang() {
// modify by qwop at http://q.cnblogs.com/q/14857/ // en-US
if (System.Globalization.CultureInfo.InstalledUICulture.Name.Equals("zh-CN"))
{
// BuiltInLangSelectedIndex = 1;
// BuiltInLang = "简体中文";
BuiltInLangSelectedIndex = 1;
BuiltInLang = "简体中文";

BuiltInLangSelectedIndex = 2;
BuiltInLang = "German";
// BuiltInLangSelectedIndex = 2;
// BuiltInLang = "German";
} else if (System.Globalization.CultureInfo.InstalledUICulture.Name.Equals("de-DE"))
{
BuiltInLangSelectedIndex = 2;
Expand Down
2 changes: 1 addition & 1 deletion QTTabBar/CreateNewGroupForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ internal sealed class CreateNewGroupForm : Form {
private string newPath;
private QTabControl.QTabCollection Tabs;
private TextBox textBox1;

public CreateNewGroupForm(string currentPath, QTabControl.QTabCollection tabs) {
newPath = currentPath;
Tabs = tabs;
Expand Down
4 changes: 2 additions & 2 deletions QTTabBar/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("1.5.5.2")]
[assembly: AssemblyFileVersion("1.5.5.2")] // edit this
[assembly: AssemblyVersion("1.5.5.3")]
[assembly: AssemblyFileVersion("1.5.5.3")] // edit this
//
// In order to sign your assembly you must specify a key to use. Refer to the
// Microsoft .NET Framework documentation for more information on assembly signing.
Expand Down
1 change: 1 addition & 0 deletions QTTabBar/QTTabBarClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3794,6 +3794,7 @@ private void InitializeTabMenu(bool fText) {
}
}

// 安装钩子
private void InstallHooks() {
hookProc_Key = new HookProc(CallbackKeyboardProc);
hookProc_Mouse = new HookProc(CallbackMouseProc);
Expand Down
Loading

0 comments on commit 43657bb

Please sign in to comment.