mirror of
https://github.com/lin-ycv/EverythingPowerToys.git
synced 2025-01-08 11:57:59 +08:00
Adjusted to be more translation friendly
moved version tag to be under debug option
This commit is contained in:
parent
a4a3c9c031
commit
41bcc13179
@ -147,8 +147,4 @@
|
||||
<Exec Command="del /Q "$(TargetDir)*.pdb"
del /Q "$(TargetDir)PowerToys*.dll"
del /Q "$(TargetDir)Wox*.dll"
del /Q "$(TargetDir)Ijwhost.dll"
del /Q "$(TargetDir)*.xml"
del/ Q "$(TargetDir)backup_restore_settings.json"" />
|
||||
</Target>
|
||||
|
||||
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
||||
<Exec Command="powershell -Command "(Get-Content $(MSBuildThisFileDirectory)plugin.json) -replace '_.+_', '_$(Version)_' | Out-File -encoding UTF8 $(MSBuildThisFileDirectory)plugin.json"" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
@ -58,7 +58,7 @@ namespace Community.PowerToys.Run.Plugin.Everything
|
||||
contextMenus.Add(new ContextMenuResult
|
||||
{
|
||||
PluginName = Assembly.GetExecutingAssembly().GetName().Name,
|
||||
Title = _swapCopy ? Properties.Resources.copy_file : Properties.Resources.copy_file.Replace("Ctrl", "Ctrl+Alt"),
|
||||
Title = Properties.Resources.copy_file + (_swapCopy ? Properties.Resources.copy_shortcut : Properties.Resources.copy_shortcutAlt),
|
||||
Glyph = "\xE8C8",
|
||||
FontFamily = "Segoe MDL2 Assets",
|
||||
AcceleratorKey = Key.C,
|
||||
@ -84,7 +84,7 @@ namespace Community.PowerToys.Run.Plugin.Everything
|
||||
contextMenus.Add(new ContextMenuResult
|
||||
{
|
||||
PluginName = Assembly.GetExecutingAssembly().GetName().Name,
|
||||
Title = _swapCopy ? Properties.Resources.copy_path.Replace("Ctrl", "Ctrl+Alt") : Properties.Resources.copy_path,
|
||||
Title = Properties.Resources.copy_path + (_swapCopy ? Properties.Resources.copy_shortcutAlt : Properties.Resources.copy_shortcut),
|
||||
Glyph = "\xE71B",
|
||||
FontFamily = "Segoe MDL2 Assets",
|
||||
AcceleratorKey = Key.C,
|
||||
|
2
Main.cs
2
Main.cs
@ -7,6 +7,7 @@ using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.IO.Abstractions;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading;
|
||||
@ -86,6 +87,7 @@ namespace Community.PowerToys.Run.Plugin.Everything
|
||||
{
|
||||
Key = Debug,
|
||||
DisplayLabel = "Log debug data",
|
||||
DisplayDescription = $"v{Assembly.GetExecutingAssembly().GetName().Version}",
|
||||
Value = false,
|
||||
},
|
||||
};
|
||||
|
22
Properties/Resources.Designer.cs
generated
22
Properties/Resources.Designer.cs
generated
@ -70,7 +70,7 @@ namespace Community.PowerToys.Run.Plugin.Everything.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Copy (Ctrl+C).
|
||||
/// Looks up a localized string similar to Copy .
|
||||
/// </summary>
|
||||
public static string copy_file {
|
||||
get {
|
||||
@ -79,7 +79,7 @@ namespace Community.PowerToys.Run.Plugin.Everything.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Copy path (Ctrl+C).
|
||||
/// Looks up a localized string similar to Copy path .
|
||||
/// </summary>
|
||||
public static string copy_path {
|
||||
get {
|
||||
@ -87,6 +87,24 @@ namespace Community.PowerToys.Run.Plugin.Everything.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to (Ctrl+C).
|
||||
/// </summary>
|
||||
public static string copy_shortcut {
|
||||
get {
|
||||
return ResourceManager.GetString("copy_shortcut", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to (Ctrl+Alt+C).
|
||||
/// </summary>
|
||||
public static string copy_shortcutAlt {
|
||||
get {
|
||||
return ResourceManager.GetString("copy_shortcutAlt", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Install Everything if not installed.
|
||||
/// </summary>
|
||||
|
@ -121,10 +121,16 @@
|
||||
<value>Fail to set text in clipboard</value>
|
||||
</data>
|
||||
<data name="copy_file" xml:space="preserve">
|
||||
<value>Copy (Ctrl+C)</value>
|
||||
<value>Copy </value>
|
||||
</data>
|
||||
<data name="copy_path" xml:space="preserve">
|
||||
<value>Copy path (Ctrl+C)</value>
|
||||
<value>Copy path </value>
|
||||
</data>
|
||||
<data name="copy_shortcut" xml:space="preserve">
|
||||
<value>(Ctrl+C)</value>
|
||||
</data>
|
||||
<data name="copy_shortcutAlt" xml:space="preserve">
|
||||
<value>(Ctrl+Alt+C)</value>
|
||||
</data>
|
||||
<data name="Everything_ini" xml:space="preserve">
|
||||
<value>Install Everything if not installed</value>
|
||||
|
@ -121,10 +121,10 @@
|
||||
<value>无法设置剪贴板中的文本</value>
|
||||
</data>
|
||||
<data name="copy_file" xml:space="preserve">
|
||||
<value>复制 (Ctrl+C)</value>
|
||||
<value>复制</value>
|
||||
</data>
|
||||
<data name="copy_path" xml:space="preserve">
|
||||
<value>复制路径 (Ctrl+C)</value>
|
||||
<value>复制路径</value>
|
||||
</data>
|
||||
<data name="Everything_ini" xml:space="preserve">
|
||||
<value>是否安装了 Everything?</value>
|
||||
|
@ -121,10 +121,10 @@
|
||||
<value>複製到剪貼簿失敗</value>
|
||||
</data>
|
||||
<data name="copy_file" xml:space="preserve">
|
||||
<value>複製 (Ctrl+C)</value>
|
||||
<value>複製</value>
|
||||
</data>
|
||||
<data name="copy_path" xml:space="preserve">
|
||||
<value>複製路徑 (Ctrl+C)</value>
|
||||
<value>複製路徑</value>
|
||||
</data>
|
||||
<data name="Everything_ini" xml:space="preserve">
|
||||
<value>是否有安裝 Everything?</value>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"ActionKeyword": "@",
|
||||
"IsGlobal": true,
|
||||
"Name": "Everything",
|
||||
"Author": "Yu Chieh (Victor) Lin _0.65.0_",
|
||||
"Author": "Yu Chieh (Victor) Lin",
|
||||
"Version": "0.65.0",
|
||||
"Language": "csharp",
|
||||
"Website": "https://github.com/Lin-ycv/EverythingPowerToys",
|
||||
|
Loading…
Reference in New Issue
Block a user