import 'package:i18n_extension/i18n_extension.dart'; extension Localization on String { static final _t = Translations.byLocale("hu_hu") + { "en_en": { // base page "goal_planner_title": "Goal Planning", "almost_there": "Almost there! Keep going!", "started_with": "Started with:", "current": "Current:", "your_goal": "Your goal:", "change_it": "Change it", "look_at_graph": "Look at this graph!", "thats_progress": "Now that's what I call progress! Push a little more, you're almost there..", "you_need": "You need:", // done modal "congrats_title": "🎉 Congratulations!", "goal_reached": "You reached your goal after %s days!", "started_at": "You started at", "improved_by": "and improved your grade by %s", "detailed_stats": "See my detailed stats", "later": "Yay! I'll see my stats later.", // sure delete modal "delete": "Delete", "attention": "Attention!", "attention_body": "Your goal and progress will be lost forever and cannot be restored.", }, "hu_hu": { // base page "goal_planner_title": "CĂ©l követĂ©s", "almost_there": "Majdnem megvan! Így tovĂĄbb!", "started_with": "Így kezdƑdött:", "current": "Jelenlegi:", "your_goal": "CĂ©lod:", "change_it": "MegvĂĄltoztatĂĄs", "look_at_graph": "NĂ©zd meg ezt a grafikont!", "thats_progress": "Ezt nevezem haladĂĄsnak! Hajts mĂ©g egy kicsit, mĂĄr majdnem kĂ©sz..", "you_need": "SzĂŒksĂ©ges:", // done modal "congrats_title": "🎉 GratulĂĄlunk!", "goal_reached": "%s nap utĂĄn Ă©rted el a cĂ©lod!", "started_at": "Átlagod kezdĂ©skor:", "improved_by": "%s-os javulĂĄst Ă©rtĂ©l el!", "detailed_stats": "RĂ©szletes statisztikĂĄm", "later": "HurrĂĄ! MegnĂ©zem mĂĄskor.", // sure delete modal "delete": "TörlĂ©s", "attention": "Figyelem!", "attention_body": "A kitƱzött cĂ©lod Ă©s haladĂĄsod örökre elveszik Ă©s nem lesz visszaĂĄllĂ­thatĂł.", }, "de_de": { // base page "goal_planner_title": "Zielplanung", "almost_there": "Fast dort! Weitermachen!", "started_with": "Begann mit:", "current": "Aktuell:", "your_goal": "Dein Ziel:", "change_it": "Ändern Sie es", "look_at_graph": "Schauen Sie sich diese Grafik an!", "thats_progress": "Das nenne ich Fortschritt! DrĂŒcken Sie noch ein wenig, Sie haben es fast geschafft..", "you_need": "Du brauchst:", // done modal "congrats_title": "🎉 GlĂŒckwunsch!", "goal_reached": "Du hast dein Ziel nach %s Tagen erreicht!", "started_at": "Gesamtbewertung:", "improved_by": "Sie haben %s Verbesserung erreicht!", "detailed_stats": "Detaillierte Statistiken", "later": "Hurra! Ich schaue spĂ€ter nach.", // sure delete modal "delete": "Löschen", "attention": "Achtung!", "attention_body": "Ihr Ziel und Ihr Fortschritt gehen fĂŒr immer verloren und können nicht wiederhergestellt werden.", }, }; 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); }