Skip to content

Commit b0467ef

Browse files
MariosKoniMarios Konidaris
and
Marios Konidaris
authored
Feature/support for gr bg locals (#270)
* Added support for gr and bg localizations. * Added missing code. --------- Co-authored-by: Marios Konidaris <[email protected]>
1 parent 825b2a7 commit b0467ef

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

feedback/lib/src/l18n/translation.dart

+38
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,42 @@ class JaFeedbackLocalizations extends FeedbackLocalizations {
264264
String get navigate => 'ナビゲート';
265265
}
266266

267+
/// Default greek localization
268+
class ElFeedbackLocalizations extends FeedbackLocalizations {
269+
/// Creates a [ElFeedbackLocalizations]
270+
const ElFeedbackLocalizations();
271+
272+
@override
273+
String get submitButtonText => 'Υποβολή';
274+
275+
@override
276+
String get feedbackDescriptionText => 'Τι πρόβλημα υπάρχει;';
277+
278+
@override
279+
String get draw => 'Σχεδίαση';
280+
281+
@override
282+
String get navigate => 'Πλοήγηση';
283+
}
284+
285+
/// Default bulgarian localization
286+
class BgFeedbackLocalizations extends FeedbackLocalizations {
287+
/// Creates a [BgFeedbackLocalizations]
288+
const BgFeedbackLocalizations();
289+
290+
@override
291+
String get submitButtonText => 'Подчинение';
292+
293+
@override
294+
String get feedbackDescriptionText => 'текст на описанието';
295+
296+
@override
297+
String get draw => 'Нарисувай';
298+
299+
@override
300+
String get navigate => 'Навигиране';
301+
}
302+
267303
// coverage:ignore-end
268304

269305
/// This is a localization delegate, which includes all of the localizations
@@ -292,6 +328,8 @@ class GlobalFeedbackLocalizationsDelegate
292328
const Locale('pl'): const PlFeedbackLocalizations(),
293329
const Locale('pt'): const PtFeedbackLocalizations(),
294330
const Locale('ja'): const JaFeedbackLocalizations(),
331+
const Locale('el'): const ElFeedbackLocalizations(),
332+
const Locale('bg'): const BgFeedbackLocalizations(),
295333
};
296334

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

0 commit comments

Comments
 (0)