import 'package:i18n_extension/i18n_extension.dart'; extension SettingsLocalization on String { static final _t = Translations.byLocale("hu_hu") + { "en_en": { "notes": "Notes", "empty": "You don't have any notes", "todo": "Tasks", "homework": "Homework", "new_note": "New Note", "edit_note": "Edit Note", "hint": "Note content...", "hint_t": "Note title...", "your_notes": "Your Notes", "next": "Next", "cancel": "Cancel", "click_here": "Click here", "select_image": "to select an image", "new_image": "New Image", }, "hu_hu": { "notes": "Füzet", "empty": "Nincsenek jegyzeteid", "todo": "Feladatok", "homework": "Házi feladat", "new_note": "Új jegyzet", "edit_note": "Jegyzet szerkesztése", "hint": "Jegyzet tartalma...", "hint_t": "Jegyzet címe...", "your_notes": "Jegyzeteid", "next": "Tovább", "cancel": "Mégse", "click_here": "Kattints ide", "select_image": "kép kiválasztásához", "new_image": "Új kép", }, "de_de": { "notes": "Broschüre", "empty": "Sie haben keine Notizen", "todo": "Aufgaben", "homework": "Hausaufgaben", "new_note": "Neue Notiz", "edit_note": "Notiz bearbeiten", "hint": "Inhalt beachten...", "hint_t": "Titel notieren...", "your_notes": "Deine Noten", "next": "Weiter", "cancel": "Abbrechen", "click_here": "Klicken Sie hier", "select_image": "um ein Bild auszuwählen", "new_image": "Neues Bild", }, }; String get i18n => localize(this, _t); String fill(List params) => localizeFill(this, params); String plural(int value) => localizePlural(value, this, _t); String version(Object modifier) => localizeVersion(modifier, this, _t); }