From 3b026b1a8df08f52bc8b6cebd2e43a3342b7deaf Mon Sep 17 00:00:00 2001 From: poppingmoon <63451158+poppingmoon@users.noreply.github.com> Date: Tue, 29 Oct 2024 07:58:53 +0900 Subject: [PATCH] chore: change localization key for post form (#456) --- 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 9941d1f49..083347437 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 8f0e90a13..967a1fef5 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 dc0b10ba4..6922ff95f 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 10b36af52..d0197eef9 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 5453250e5..236443dda 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,