-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStrings.cs
More file actions
70 lines (40 loc) · 2.31 KB
/
Strings.cs
File metadata and controls
70 lines (40 loc) · 2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// Copyright (c) 2012-2026 The Hello World Writer (https://www.thehelloworldwriter.com).
// Licensed under the MIT License. See the LICENSE file in the project root for more information.
namespace GridlyDots;
/// <summary>UI strings for the application. Centralized for consistency and future localization.</summary>
internal static class Strings
{
public const string AppName = "GridlyDots";
public const string Ok = "OK";
#region Grid Form and system tray icon
public const string SettingsMenuItem = "&Settings";
public const string StealthModeMenuItem = "Stealth Mode";
public const string StealthModeTooltip = "Removes the notification icon and this menu!";
public const string StealthModeConfirmMessage =
"The notification icon and this menu will be removed. The grid overlay will stay on screen until you close the application from Task Manager. Do you want to continue?";
public const string StealthModeConfirmCaption = "Enter Stealth Mode?";
public const string AboutMenuItem = "&About...";
public const string QuitMenuItem = "&Quit";
#endregion
#region Settings Box
public const string SettingsBoxTitle = $"{AppName} Settings";
/// <summary>Formats the dot size label with current value.</summary>
public static string DotSize(int value) => $"Dot size: {value} px";
/// <summary>Formats the dot spacing label with current value.</summary>
public static string DotSpacing(int value) => $"Dot spacing: {value} px";
/// <summary>Formats the grid opacity label with current value.</summary>
public static string GridOpacity(int value) => $"Grid opacity: {value}%";
public const string DotColor = "Dot color:";
public const string CloseButton = "Close";
#endregion
#region About Box
public const string AboutBoxTitle = $"About {AppName}";
/// <summary>Formats the version display string.</summary>
public static string Version(string version) => $"Version {version}";
#endregion
#region Debug Messages
public static string FailedToLoadSettings(Exception ex) => $"Failed to load settings: {ex}";
public static string FailedToSaveSettings(Exception ex) => $"Failed to save settings: {ex}";
public static string FailedToOpenHomepage(Exception ex) => $"Failed to open homepage: {ex}";
#endregion
}