Skip to content

Commit

Permalink
Merge branch 'master' into feat/portuguese-locale
Browse files Browse the repository at this point in the history
  • Loading branch information
ueman committed Dec 24, 2023
2 parents a96cc17 + e759ee7 commit 27a57a5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions feedback/lib/src/l18n/translation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ class PlFeedbackLocalizations extends FeedbackLocalizations {
String get navigate => 'Nawiguj';
}


/// Default portuguese localization
class PtFeedbackLocalizations extends FeedbackLocalizations {
/// Creates a [PtFeedbackLocalizations].
Expand All @@ -246,6 +247,24 @@ class PtFeedbackLocalizations extends FeedbackLocalizations {
String get navigate => 'Navegar';
}

/// Default japanese localization
class JaFeedbackLocalizations extends FeedbackLocalizations {
/// Creates a [JaFeedbackLocalizations].
const JaFeedbackLocalizations();

@override
String get submitButtonText => '送信';

@override
String get feedbackDescriptionText => '何がありましたか?';

@override
String get draw => '描く';

@override
String get navigate => 'ナビゲート';
}

// coverage:ignore-end

/// This is a localization delegate, which includes all of the localizations
Expand All @@ -272,7 +291,9 @@ class GlobalFeedbackLocalizationsDelegate
const Locale('tr'): const TrFeedbackLocalizations(),
const Locale('zh'): const ZhFeedbackLocalizations(),
const Locale('pl'): const PlFeedbackLocalizations(),

const Locale('pt'): const PtFeedbackLocalizations(),
const Locale('ja'): const JaFeedbackLocalizations(),
};

/// The default locale to use. Note that this locale should ALWAYS be
Expand Down

0 comments on commit 27a57a5

Please sign in to comment.