Skip to content

Commit 0c04a1a

Browse files
authored
feat(localization): add Hebrew localization support (#368)
* add translation * fix
1 parent dc62fe8 commit 0c04a1a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

feedback/lib/src/l18n/translation.dart

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,24 @@ class BnFeedbackLocalizations extends FeedbackLocalizations {
354354
String get navigate => 'নেভিগেট';
355355
}
356356

357+
/// Default Henrew localization
358+
class HeFeedbackLocalizations extends FeedbackLocalizations {
359+
/// Creates a [HeFeedbackLocalizations].
360+
const HeFeedbackLocalizations();
361+
362+
@override
363+
String get submitButtonText => 'שליחה';
364+
365+
@override
366+
String get feedbackDescriptionText => 'מה הבעיה?';
367+
368+
@override
369+
String get draw => 'ציור';
370+
371+
@override
372+
String get navigate => 'ניווט';
373+
}
374+
357375
// coverage:ignore-end
358376

359377
/// This is a localization delegate, which includes all of the localizations
@@ -387,6 +405,7 @@ class GlobalFeedbackLocalizationsDelegate
387405
const Locale('es'): const EsFeedbackLocalizations(),
388406
const Locale('fa'): const FaFeedbackLocalizations(),
389407
const Locale('bn'): const BnFeedbackLocalizations(),
408+
const Locale('he'): const HeFeedbackLocalizations(),
390409
};
391410

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

0 commit comments

Comments
 (0)