Skip to content

Commit

Permalink
chore: remove unnecessary localizations
Browse files Browse the repository at this point in the history
  • Loading branch information
guoyingtao committed Sep 26, 2024
1 parent 9ea353d commit 227ea0d
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 75 deletions.
40 changes: 14 additions & 26 deletions Sources/SwiftUIFontSettingsView/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
"fontSettings.fontSize" = "Font Size";
"fontSettings.fontWeight" = "Font Weight";
"fontSettings.fontDesign" = "Font Design";
"fontSettings.previewText" = "Hi";
"fontSettings.previewSectionTitle" = "Font Preview";
"fontSettings.colorSectionTitle" = "Font Colors";
"fontSettings.fontsSectionTitle" = "Font Settings";
"fontSettings.navigationTitle" = "Font Settings";
"fontSettings.foregroundColorPicker" = "Set the text foreground color";
"fontSettings.backgroundColorPicker" = "Set the text background color";
"fontSettings.useCustomFont" = "Use Custom Font";
"fontSettings.fontName" = "Font Name";
"fontSettings.textStyle" = "Text Style";
"fontSettings.fontWidth" = "Font Width";
"fontSettings.fontSize" = "Font Size: %d";

// Font Weight Options
"fontWeight.ultra light" = "Ultra Light";
Expand All @@ -21,31 +33,7 @@
"fontDesign.rounded" = "Rounded";
"fontDesign.serif" = "Serif";

// Buttons
"button.apply" = "Apply";
"button.reset" = "Reset";

// Alerts
"alert.changes.title" = "Changes Applied";
"alert.changes.message" = "Font settings have been updated.";
"alert.reset.title" = "Settings Reset";
"alert.reset.message" = "Font settings have been reset to default values.";

// New strings
"fontSettings.previewText" = "Hi";
"fontSettings.previewSectionTitle" = "Font Preview";
"fontSettings.colorSectionTitle" = "Font Colors";
"fontSettings.fontsSectionTitle" = "Font Settings";
"fontSettings.navigationTitle" = "Font Settings";
"fontSettings.foregroundColorPicker" = "Set the text foreground color";
"fontSettings.backgroundColorPicker" = "Set the text background color";
"fontSettings.useCustomFont" = "Use Custom Font";
"fontSettings.fontName" = "Font Name";
"fontSettings.textStyle" = "Text Style";
"fontSettings.fontWidth" = "Font Width";
"fontSettings.fontSize" = "Font Size: %d";

// New Text Style localizations
// Text Style localizations
"textStyle.large title" = "Large Title";
"textStyle.title" = "Title";
"textStyle.title2" = "Title 2";
Expand All @@ -58,7 +46,7 @@
"textStyle.caption" = "Caption";
"textStyle.caption2" = "Caption 2";

// New Font Width localizations
// Font Width localizations
"fontWidth.compressed" = "Compressed";
"fontWidth.condensed" = "Condensed";
"fontWidth.standard" = "Standard";
Expand Down
40 changes: 14 additions & 26 deletions Sources/SwiftUIFontSettingsView/ja.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
"fontSettings.fontSize" = "フォントサイズ";
"fontSettings.fontWeight" = "フォントの太さ";
"fontSettings.fontDesign" = "フォントデザイン";
"fontSettings.previewText" = "こんにちは";
"fontSettings.previewSectionTitle" = "フォントプレビュー";
"fontSettings.colorSectionTitle" = "フォントカラー";
"fontSettings.fontsSectionTitle" = "フォント設定";
"fontSettings.navigationTitle" = "フォント設定";
"fontSettings.foregroundColorPicker" = "テキストの前景色を設定";
"fontSettings.backgroundColorPicker" = "テキストの背景色を設定";
"fontSettings.useCustomFont" = "カスタムフォントを使用";
"fontSettings.fontName" = "フォント名";
"fontSettings.textStyle" = "テキストスタイル";
"fontSettings.fontWidth" = "フォントの幅";
"fontSettings.fontSize" = "フォントサイズ:%d";

// Font Weight Options
"fontWeight.ultra light" = "極細";
Expand All @@ -21,31 +33,7 @@
"fontDesign.rounded" = "丸文字";
"fontDesign.serif" = "セリフ";

// Buttons
"button.apply" = "適用";
"button.reset" = "リセット";

// Alerts
"alert.changes.title" = "変更が適用されました";
"alert.changes.message" = "フォント設定が更新されました。";
"alert.reset.title" = "設定がリセットされました";
"alert.reset.message" = "フォント設定がデフォルト値にリセットされました。";

// New strings
"fontSettings.previewText" = "こんにちは";
"fontSettings.previewSectionTitle" = "フォントプレビュー";
"fontSettings.colorSectionTitle" = "フォントカラー";
"fontSettings.fontsSectionTitle" = "フォント設定";
"fontSettings.navigationTitle" = "フォント設定";
"fontSettings.foregroundColorPicker" = "テキストの前景色を設定";
"fontSettings.backgroundColorPicker" = "テキストの背景色を設定";
"fontSettings.useCustomFont" = "カスタムフォントを使用";
"fontSettings.fontName" = "フォント名";
"fontSettings.textStyle" = "テキストスタイル";
"fontSettings.fontWidth" = "フォントの幅";
"fontSettings.fontSize" = "フォントサイズ:%d";

// New Text Style localizations
// Text Style localizations
"textStyle.large title" = "ラージタイトル";
"textStyle.title" = "タイトル";
"textStyle.title2" = "タイトル2";
Expand All @@ -58,7 +46,7 @@
"textStyle.caption" = "キャプション";
"textStyle.caption2" = "キャプション2";

// New Font Width localizations
// Font Width localizations
"fontWidth.compressed" = "圧縮";
"fontWidth.condensed" = "凝縮";
"fontWidth.standard" = "標準";
Expand Down
35 changes: 12 additions & 23 deletions Sources/SwiftUIFontSettingsView/zh-Hans.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
"fontSettings.fontSize" = "字体大小";
"fontSettings.fontWeight" = "字体粗细";
"fontSettings.fontDesign" = "字体设计";
"fontSettings.previewText" = "你好";
"fontSettings.previewSectionTitle" = "字体预览";
"fontSettings.colorSectionTitle" = "字体颜色";
"fontSettings.fontsSectionTitle" = "字体设置";
"fontSettings.navigationTitle" = "字体设置";
"fontSettings.foregroundColorPicker" = "设置文本前景色";
"fontSettings.backgroundColorPicker" = "设置文本背景色";
"fontSettings.useCustomFont" = "使用自定义字体";
"fontSettings.fontName" = "字体名称";
"fontSettings.textStyle" = "文本样式";
"fontSettings.fontWidth" = "字体宽度";
"fontSettings.fontSize" = "字体大小:%d";

// Font Weight Options
"fontWeight.ultra light" = "极细";
Expand All @@ -21,29 +33,6 @@
"fontDesign.rounded" = "圆体";
"fontDesign.serif" = "衬线";

// Buttons
"button.apply" = "应用";
"button.reset" = "重置";

// Alerts
"alert.changes.title" = "已应用更改";
"alert.changes.message" = "字体设置已更新。";
"alert.reset.title" = "设置已重置";
"alert.reset.message" = "字体设置已重置为默认值。";

// New strings
"fontSettings.previewText" = "你好";
"fontSettings.previewSectionTitle" = "字体预览";
"fontSettings.colorSectionTitle" = "字体颜色";
"fontSettings.fontsSectionTitle" = "字体设置";
"fontSettings.navigationTitle" = "字体设置";
"fontSettings.foregroundColorPicker" = "设置文本前景色";
"fontSettings.backgroundColorPicker" = "设置文本背景色";
"fontSettings.useCustomFont" = "使用自定义字体";
"fontSettings.fontName" = "字体名称";
"fontSettings.textStyle" = "文本样式";
"fontSettings.fontWidth" = "字体宽度";
"fontSettings.fontSize" = "字体大小:%d";

// New Text Style localizations
"textStyle.large title" = "大标题";
Expand Down

0 comments on commit 227ea0d

Please sign in to comment.