Skip to content

Commit

Permalink
Feature/support for gr bg locals (#270)
Browse files Browse the repository at this point in the history
* Added support for gr and bg localizations.

* Added missing code.

---------

Co-authored-by: Marios Konidaris <[email protected]>
  • Loading branch information
MariosKoni and Marios Konidaris committed Feb 17, 2024
1 parent 825b2a7 commit b0467ef
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions feedback/lib/src/l18n/translation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,42 @@ class JaFeedbackLocalizations extends FeedbackLocalizations {
String get navigate => 'ナビゲート';
}

/// Default greek localization
class ElFeedbackLocalizations extends FeedbackLocalizations {
/// Creates a [ElFeedbackLocalizations]
const ElFeedbackLocalizations();

@override
String get submitButtonText => 'Υποβολή';

@override
String get feedbackDescriptionText => 'Τι πρόβλημα υπάρχει;';

@override
String get draw => 'Σχεδίαση';

@override
String get navigate => 'Πλοήγηση';
}

/// Default bulgarian localization
class BgFeedbackLocalizations extends FeedbackLocalizations {
/// Creates a [BgFeedbackLocalizations]
const BgFeedbackLocalizations();

@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 Down Expand Up @@ -292,6 +328,8 @@ class GlobalFeedbackLocalizationsDelegate
const Locale('pl'): const PlFeedbackLocalizations(),
const Locale('pt'): const PtFeedbackLocalizations(),
const Locale('ja'): const JaFeedbackLocalizations(),
const Locale('el'): const ElFeedbackLocalizations(),
const Locale('bg'): const BgFeedbackLocalizations(),
};

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

0 comments on commit b0467ef

Please sign in to comment.