Skip to content

Commit

Permalink
Rename 'restore' option
Browse files Browse the repository at this point in the history
This could be confusing for people using Syncthing as a backup
solution, apparently. Replace with 'Open SyncTrayzor', which is
more in line with what other applications do.

Fixes #320
  • Loading branch information
canton7 committed Nov 6, 2016
1 parent 7676ec2 commit 1558926
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/SyncTrayzor/NotifyIcon/TaskbarIconResources.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<s:BoolToVisibilityConverter x:Key="RestoreVisibility" TrueVisibility="Collapsed" FalseVisibility="Visible"/>
</ContextMenu.Resources>
<!-- TaskbarIcon starts by setting the DataContext to itself, so just ignore this... -->
<MenuItem Header="{l:Loc TrayIcon_Menu_Restore}" Command="{s:Action Restore, ActionNotFound=Disable}"
<MenuItem Header="{l:Loc TrayIcon_Menu_Restore}" FontWeight="Bold" Command="{s:Action Restore, ActionNotFound=Disable}"
Visibility="{Binding MainWindowVisible, Converter={StaticResource RestoreVisibility}}"/>
<MenuItem Header="{l:Loc TrayIcon_Menu_CloseToTray}" Command="{s:Action Minimize, ActionNotFound=Disable}"
Visibility="{Binding MainWindowVisible, Converter={x:Static s:BoolToVisibilityConverter.Instance}}"/>
Expand Down
6 changes: 3 additions & 3 deletions src/SyncTrayzor/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/SyncTrayzor/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ Details on each component, and its license text, are shown below.</value>
<comment>Menu option available when right-clicking the tray icon. Instructs SyncTrayzor to exit</comment>
</data>
<data name="TrayIcon_Menu_Restore" xml:space="preserve">
<value>_Restore</value>
<value>_Open SyncTrayzor</value>
<comment>Menu option available when right-clicking the tray icon. Instructs SyncTrayzor to restore itself from the tray, and be visible to the user</comment>
</data>
<data name="TrayIcon_Menu_Settings" xml:space="preserve">
Expand Down Expand Up @@ -470,7 +470,7 @@ SyncTrayzor is going to have to close. Sorry about that</value>
<value>R_estart</value>
</data>
<data name="TrayIcon_Menu_RestartSyncthing" xml:space="preserve">
<value>R_estart Syncthing</value>
<value>_Restart Syncthing</value>
<comment>Menu option available when right-clicking the tray icon. Instructs SyncTrayzor to restart</comment>
</data>
<data name="SettingsView_Tab_Syncthing" xml:space="preserve">
Expand All @@ -488,7 +488,7 @@ SyncTrayzor is going to have to close. Sorry about that</value>
<value>Stop Syncthing from auto-upgrading. This is useful if a new version of Syncthing breaks compatibility with SyncTrayzor. You will need to downgrade the syncthing.exe file in SyncTrayzor's config folder</value>
</data>
<data name="TrayIcon_Menu_OpenFolder" xml:space="preserve">
<value>_Open Folder</value>
<value>Open _Folder</value>
<comment>Menu option available when right-clicking the tray icon. Is a header for a list of folders, each of which can be clicked to open it in Explorer</comment>
</data>
<data name="ViewerView_OpenFolder" xml:space="preserve">
Expand Down

0 comments on commit 1558926

Please sign in to comment.