From e6b5394fd0290a30f51b7c8c77d615542d1f1363 Mon Sep 17 00:00:00 2001 From: poppingmoon <63451158+poppingmoon@users.noreply.github.com> Date: Tue, 29 Oct 2024 07:33:48 +0900 Subject: [PATCH] chore: change localization key for post form --- lib/i18n/aria/aria.i18n.yaml | 1 - lib/i18n/strings.g.dart | 2 +- lib/i18n/strings_en_US.g.dart | 1 - lib/view/page/settings/appearance_page.dart | 2 +- lib/view/page/timelines_page.dart | 2 +- 5 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/i18n/aria/aria.i18n.yaml b/lib/i18n/aria/aria.i18n.yaml index 9941d1f4..08334743 100644 --- a/lib/i18n/aria/aria.i18n.yaml +++ b/lib/i18n/aria/aria.i18n.yaml @@ -101,7 +101,6 @@ playAudio: "Play audio" playVideo: "Play video" pleaseCopyResponse: "Please copy this response" postConfirm: "Are you sure you want to post this note?" -postForm: "Posting form" reactionConfirm: "Are you sure you want to add a reaction?" recentlyUsedEmojis: "Recently used emojis" renoteConfirm: "Are you sure you want to renote this note?" diff --git a/lib/i18n/strings.g.dart b/lib/i18n/strings.g.dart index 8f0e90a1..967a1fef 100644 --- a/lib/i18n/strings.g.dart +++ b/lib/i18n/strings.g.dart @@ -4,7 +4,7 @@ /// To regenerate, run: `dart run slang` /// /// Locales: 31 -/// Strings: 54622 (1762 per locale) +/// Strings: 54621 (1761 per locale) // coverage:ignore-file // ignore_for_file: type=lint, unused_import diff --git a/lib/i18n/strings_en_US.g.dart b/lib/i18n/strings_en_US.g.dart index dc0b10ba..6922ff95 100644 --- a/lib/i18n/strings_en_US.g.dart +++ b/lib/i18n/strings_en_US.g.dart @@ -181,7 +181,6 @@ class TranslationsAriaEnUs { String get playVideo => 'Play video'; String get pleaseCopyResponse => 'Please copy this response'; String get postConfirm => 'Are you sure you want to post this note?'; - String get postForm => 'Posting form'; String get reactionConfirm => 'Are you sure you want to add a reaction?'; String get recentlyUsedEmojis => 'Recently used emojis'; String get renoteConfirm => 'Are you sure you want to renote this note?'; diff --git a/lib/view/page/settings/appearance_page.dart b/lib/view/page/settings/appearance_page.dart index 10b36af5..d0197eef 100644 --- a/lib/view/page/settings/appearance_page.dart +++ b/lib/view/page/settings/appearance_page.dart @@ -334,7 +334,7 @@ class _TimelinesPageButtonTypeNameWidget extends StatelessWidget { TimelinesPageButtonType.notifications => t.misskey.notifications, TimelinesPageButtonType.pages => t.misskey.pages, TimelinesPageButtonType.play => 'Play', - TimelinesPageButtonType.postForm => t.aria.postForm, + TimelinesPageButtonType.postForm => t.misskey.widgets_.postForm, TimelinesPageButtonType.profile => t.misskey.profile, TimelinesPageButtonType.reload => t.misskey.reload, TimelinesPageButtonType.search => t.misskey.search, diff --git a/lib/view/page/timelines_page.dart b/lib/view/page/timelines_page.dart index 5453250e..236443dd 100644 --- a/lib/view/page/timelines_page.dart +++ b/lib/view/page/timelines_page.dart @@ -402,7 +402,7 @@ class _TimelinesPageButton extends ConsumerWidget { TimelinesPageButtonType.notifications => t.misskey.notifications, TimelinesPageButtonType.pages => t.misskey.pages, TimelinesPageButtonType.play => 'Play', - TimelinesPageButtonType.postForm => t.aria.postForm, + TimelinesPageButtonType.postForm => t.misskey.widgets_.postForm, TimelinesPageButtonType.profile => t.misskey.profile, TimelinesPageButtonType.reload => t.misskey.reload, TimelinesPageButtonType.search => t.misskey.search,