From 6300a06a4473c8b9e88e4a9b3b00e36ee90337e2 Mon Sep 17 00:00:00 2001 From: CJKmkp <2564608840@qq.com> Date: Tue, 3 Mar 2026 15:18:31 +0800 Subject: [PATCH] add:i18n --- Ink Canvas/MainWindow.xaml | 83 ++++++++++++------------ Ink Canvas/Properties/Strings.en-US.resx | 23 +++++++ Ink Canvas/Properties/Strings.resx | 23 +++++++ 3 files changed, 87 insertions(+), 42 deletions(-) diff --git a/Ink Canvas/MainWindow.xaml b/Ink Canvas/MainWindow.xaml index 7c410712..1f23ea9e 100644 --- a/Ink Canvas/MainWindow.xaml +++ b/Ink Canvas/MainWindow.xaml @@ -5043,7 +5043,7 @@ StrokeLineJoin="Round" Data="M15 10 L19.553 7.724 C19.7054 7.64783 19.8748 7.61188 20.045 7.61954 C20.2152 7.62721 20.3806 7.67824 20.5256 7.7678 C20.6706 7.85736 20.7902 7.98247 20.8733 8.13127 C20.9563 8.28006 20.9999 8.44761 21 8.618 V15.382 C20.9999 15.5524 20.9563 15.7199 20.8733 15.8687 C20.7902 16.0175 20.6706 16.1426 20.5256 16.2322 C20.3806 16.3218 20.2152 16.3728 20.045 16.3805 C19.8748 16.3881 19.7054 16.3522 19.553 16.276 L15 14 Z M3 8 C3 7.46957 3.21071 6.96086 3.58579 6.58579 C3.96086 6.21071 4.46957 6 5 6 H13 C13.5304 6 14.0391 6.21071 14.4142 6.58579 C14.7893 6.96086 15 7.46957 15 8 V16 C15 16.5304 14.7893 17.0391 14.4142 17.4142 C14.0391 17.7893 13.5304 18 13 18 H5 C4.46957 18 3.96086 17.7893 3.58579 17.4142 C3.21071 17.0391 3 16.5304 3 16 Z" /> - - - + + @@ -5103,7 +5103,7 @@ CornerRadius="8,8,0,0" Background="#2563eb" Margin="-1,-1,-1,1"> - @@ -9190,7 +9190,7 @@ - - - - @@ -9280,7 +9280,7 @@ - - - - - - - @@ -9359,7 +9359,7 @@ Source="{DynamicResource GeoIconCircle}" RenderOptions.BitmapScalingMode="HighQuality" Margin="0,4,0,2" Height="19" Width="19" /> - - - @@ -9408,7 +9408,7 @@ - @@ -9715,9 +9715,8 @@ - 清空墨迹 - + Foreground="White" FontWeight="Bold" + Text="{i18n:I18n Key=Board_ClearInk}" /> @@ -9747,7 +9746,7 @@ - - @@ -9794,7 +9793,7 @@ - diff --git a/Ink Canvas/Properties/Strings.en-US.resx b/Ink Canvas/Properties/Strings.en-US.resx index 868576a7..da7cd97a 100644 --- a/Ink Canvas/Properties/Strings.en-US.resx +++ b/Ink Canvas/Properties/Strings.en-US.resx @@ -725,4 +725,27 @@ Chinese (Simplified) English You need to restart the app for language changes to fully take effect. + Area eraser + Stroke eraser + Lasso + Geometry + Clear & cursor + Board + Hide + Geometry drawing + Line + Dashed line + Dotted line + Arrow + 4 parallel lines + Centered square + Centered circle + Centered dashed circle + Centered ellipse + Cuboid + Square + Cylinder + Cone + Gesture + Gesture options diff --git a/Ink Canvas/Properties/Strings.resx b/Ink Canvas/Properties/Strings.resx index 90877f93..91c510c4 100644 --- a/Ink Canvas/Properties/Strings.resx +++ b/Ink Canvas/Properties/Strings.resx @@ -740,4 +740,27 @@ 简体中文 English 更改界面语言后需要重启应用程序才能完全生效。 + 面积擦 + 线擦 + 套索选 + 几何 + 清并鼠 + 白板 + 隐藏 + 几何绘图 + 画直线 + 画虚线 + 画点线 + 画箭头 + 4平行线 + 中心正方 + 中心圆 + 中心虚圆 + 中心椭圆 + 长方体 + 正方形 + 画圆柱 + 画圆锥 + 手势 + 手势选项 \ No newline at end of file