代码优化

This commit is contained in:
2026-04-05 18:52:19 +08:00
parent bad05f77b5
commit ebbe018bae
11 changed files with 147 additions and 92 deletions
+2
View File
@@ -119,5 +119,7 @@ namespace Ink_Canvas.Properties
public static string Nav_About => GetString(nameof(Nav_About)) ?? "关于";
public static string App_Title => GetString(nameof(App_Title)) ?? "InkCanvasforClass";
public static string Booth_Resolution_Tooltip => GetString(nameof(Booth_Resolution_Tooltip)) ?? "展台/截图分辨率";
public static string Tray_TempShowMainWindow => GetString(nameof(Tray_TempShowMainWindow)) ?? "显示主窗口(2分钟)";
public static string Tray_OpenSettings => GetString(nameof(Tray_OpenSettings)) ?? "打开设置";
}
}
+2
View File
@@ -763,4 +763,6 @@
<data name="FloatingBar_Gesture_TwoFingerRotate" xml:space="preserve"><value>Two-finger rotate</value></data>
<data name="Board_Gesture" xml:space="preserve"><value>Gesture</value></data>
<data name="Board_GestureOptions" xml:space="preserve"><value>Gesture options</value></data>
<data name="Tray_TempShowMainWindow" xml:space="preserve"><value>Show main window (2 minutes)</value></data>
<data name="Tray_OpenSettings" xml:space="preserve"><value>Open settings</value></data>
</root>
+8
View File
@@ -782,4 +782,12 @@
<data name="FloatingBar_Gesture_TwoFingerRotate" xml:space="preserve"><value>双指旋转</value></data>
<data name="Board_Gesture" xml:space="preserve"><value>手势</value></data>
<data name="Board_GestureOptions" xml:space="preserve"><value>手势选项</value></data>
<data name="Tray_TempShowMainWindow" xml:space="preserve">
<value>显示主窗口(2分钟)</value>
<comment>系统托盘 - 临时显示主窗口</comment>
</data>
<data name="Tray_OpenSettings" xml:space="preserve">
<value>打开设置</value>
<comment>系统托盘 - 打开设置</comment>
</data>
</root>