mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-01 10:09:34 +12:00
[Feature] Settings add button to open root folder #206, version 1.0.20.1
This commit is contained in:
parent
6d563f63ec
commit
450fbfddf3
9
Resources/lang.Designer.cs
generated
9
Resources/lang.Designer.cs
generated
|
@ -475,6 +475,15 @@ namespace SystemTrayMenu.Resources {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Open Folder.
|
||||
/// </summary>
|
||||
internal static string Open_Folder {
|
||||
get {
|
||||
return ResourceManager.GetString("Open Folder", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Open the assembly location.
|
||||
/// </summary>
|
||||
|
|
|
@ -345,4 +345,7 @@
|
|||
<data name="The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly." xml:space="preserve">
|
||||
<value>Položka, na kterou tato zkratka odkazuje, byla změněna nebo přesunuta, takže tato zkratka již nebude správně fungovat.</value>
|
||||
</data>
|
||||
<data name="Open Folder" xml:space="preserve">
|
||||
<value>Otevřete složku</value>
|
||||
</data>
|
||||
</root>
|
|
@ -345,4 +345,7 @@
|
|||
<data name="The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly." xml:space="preserve">
|
||||
<value>Das Element, auf das sich diese Verknüpfung bezieht, wurde geändert oder verschoben, sodass diese Verknüpfung nicht mehr ordnungsgemäß funktioniert.</value>
|
||||
</data>
|
||||
<data name="Open Folder" xml:space="preserve">
|
||||
<value>Ordner öffnen</value>
|
||||
</data>
|
||||
</root>
|
|
@ -345,4 +345,7 @@
|
|||
<data name="The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly." xml:space="preserve">
|
||||
<value>El elemento al que se refiere este acceso directo se ha cambiado o movido, por lo que este acceso directo ya no funcionará correctamente.</value>
|
||||
</data>
|
||||
<data name="Open Folder" xml:space="preserve">
|
||||
<value>Abra carpeta</value>
|
||||
</data>
|
||||
</root>
|
|
@ -345,4 +345,7 @@
|
|||
<data name="The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly." xml:space="preserve">
|
||||
<value>L'élément auquel ce raccourci fait référence a été modifié ou déplacé, ce raccourci ne fonctionnera donc plus correctement.</value>
|
||||
</data>
|
||||
<data name="Open Folder" xml:space="preserve">
|
||||
<value>Ouvrez de dossier</value>
|
||||
</data>
|
||||
</root>
|
|
@ -345,4 +345,7 @@
|
|||
<data name="The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly." xml:space="preserve">
|
||||
<value>L'elemento a cui si riferisce questa scorciatoia è stato modificato o spostato, quindi questa scorciatoia non funzionerà più correttamente.</value>
|
||||
</data>
|
||||
<data name="Open Folder" xml:space="preserve">
|
||||
<value>Aprire cartella</value>
|
||||
</data>
|
||||
</root>
|
|
@ -345,4 +345,7 @@
|
|||
<data name="The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly." xml:space="preserve">
|
||||
<value>このショートカットが参照するアイテムが変更または移動されたため、このショートカットは正しく機能しなくなります。</value>
|
||||
</data>
|
||||
<data name="Open Folder" xml:space="preserve">
|
||||
<value>開いたフォルダ</value>
|
||||
</data>
|
||||
</root>
|
|
@ -345,4 +345,7 @@
|
|||
<data name="The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly." xml:space="preserve">
|
||||
<value>이 바로 가기가 참조하는 항목이 변경되거나 이동되었으므로 이 바로 가기가 더 이상 제대로 작동하지 않습니다.</value>
|
||||
</data>
|
||||
<data name="Open Folder" xml:space="preserve">
|
||||
<value>폴더 열기</value>
|
||||
</data>
|
||||
</root>
|
|
@ -345,4 +345,7 @@
|
|||
<data name="The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly." xml:space="preserve">
|
||||
<value>Het item waarnaar deze snelkoppeling verwijst is gewijzigd of verplaatst, waardoor deze snelkoppeling niet meer goed werkt.</value>
|
||||
</data>
|
||||
<data name="Open Folder" xml:space="preserve">
|
||||
<value>Open Map</value>
|
||||
</data>
|
||||
</root>
|
|
@ -345,4 +345,7 @@
|
|||
<data name="The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly." xml:space="preserve">
|
||||
<value>O item ao qual este atalho se refere foi alterado ou movido, portanto, este atalho não funcionará mais corretamente.</value>
|
||||
</data>
|
||||
<data name="Open Folder" xml:space="preserve">
|
||||
<value>Abra Pasta</value>
|
||||
</data>
|
||||
</root>
|
|
@ -345,4 +345,7 @@
|
|||
<data name="The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly." xml:space="preserve">
|
||||
<value>The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly.</value>
|
||||
</data>
|
||||
<data name="Open Folder" xml:space="preserve">
|
||||
<value>Open Folder</value>
|
||||
</data>
|
||||
</root>
|
|
@ -345,4 +345,7 @@
|
|||
<data name="The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly." xml:space="preserve">
|
||||
<value>Элемент, на который ссылается этот ярлык, был изменен или перемещен, поэтому этот ярлык больше не будет работать должным образом.</value>
|
||||
</data>
|
||||
<data name="Open Folder" xml:space="preserve">
|
||||
<value>Открыть папку</value>
|
||||
</data>
|
||||
</root>
|
|
@ -345,4 +345,7 @@
|
|||
<data name="The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly." xml:space="preserve">
|
||||
<value>Mục mà lối tắt này đề cập đến đã được thay đổi hoặc di chuyển, vì vậy lối tắt này sẽ không còn hoạt động bình thường.</value>
|
||||
</data>
|
||||
<data name="Open Folder" xml:space="preserve">
|
||||
<value>Mở thư mục</value>
|
||||
</data>
|
||||
</root>
|
|
@ -345,4 +345,7 @@
|
|||
<data name="The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly." xml:space="preserve">
|
||||
<value>此快捷方式所指的项目已被更改或移动,因此此快捷方式将不再正常工作。</value>
|
||||
</data>
|
||||
<data name="Open Folder" xml:space="preserve">
|
||||
<value>打开文件夹</value>
|
||||
</data>
|
||||
</root>
|
1130
UserInterface/SettingsForm.Designer.cs
generated
1130
UserInterface/SettingsForm.Designer.cs
generated
File diff suppressed because it is too large
Load diff
|
@ -6,6 +6,7 @@ namespace SystemTrayMenu.UserInterface
|
|||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
|
@ -108,9 +109,9 @@ namespace SystemTrayMenu.UserInterface
|
|||
tabPageCustomize.Text = Translator.GetText("Customize");
|
||||
groupBoxFolder.Text = Translator.GetText("Folder");
|
||||
buttonChangeFolder.Text = Translator.GetText("Change folder");
|
||||
buttonOpenFolder.Text = Translator.GetText("Open Folder");
|
||||
checkBoxUseIconFromRootFolder.Text = Translator.GetText("Use icon from folder");
|
||||
checkBoxPossibilityToSelectFolderByWindowsContextMenu.Text =
|
||||
Translator.GetText("Set by context menu ");
|
||||
checkBoxPossibilityToSelectFolderByWindowsContextMenu.Text = Translator.GetText("Set by context menu ");
|
||||
groupBoxUSB.Text = Translator.GetText("USB");
|
||||
buttonChangeRelativeFolder.Text = Translator.GetText("Change to relative folder");
|
||||
checkBoxStoreConfigAtAssemblyLocation.Text = Translator.GetText("Store config at the assembly location");
|
||||
|
@ -672,6 +673,11 @@ namespace SystemTrayMenu.UserInterface
|
|||
textBoxFolder.Text = Config.Path;
|
||||
}
|
||||
|
||||
private void ButtonOpenFolder_Click(object sender, EventArgs e)
|
||||
{
|
||||
Process.Start("explorer.exe", Config.Path);
|
||||
}
|
||||
|
||||
private void ButtonChangeRelativeFolder_Click(object sender, EventArgs e)
|
||||
{
|
||||
Settings.Default.PathDirectory = Path.GetRelativePath(
|
||||
|
@ -857,5 +863,6 @@ namespace SystemTrayMenu.UserInterface
|
|||
e.Handled = e.SuppressKeyPress = true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -57,7 +57,10 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
|
||||
<value>45</value>
|
||||
<metadata name="colorDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>25</value>
|
||||
</metadata>
|
||||
</root>
|
Loading…
Reference in a new issue