Skip to content

Commit

Permalink
Merge pull request #60 from undecagon/main
Browse files Browse the repository at this point in the history
Add Hungarian language
  • Loading branch information
bazookon authored Jan 8, 2024
2 parents 1b31277 + de17adc commit 064064d
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/l10n/default_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import 'lang/fr.dart';
import 'lang/lt.dart';
import 'lang/lv.dart';
import 'lang/tr.dart';
import 'lang/hu.dart';

const localizations = <String, GiphyGetUILocalizationLabels>{
'en': EnLocalizations(),
Expand All @@ -15,7 +16,8 @@ const localizations = <String, GiphyGetUILocalizationLabels>{
'lt': LtLocalizations(),
'lv': LvLocalizations(),
'et': EtLocalizations(),
'fr': FrLocalizations()
'fr': FrLocalizations(),
'hu': HuLocalizations()
};

class DefaultLocalizations extends EnLocalizations {
Expand Down
34 changes: 34 additions & 0 deletions lib/src/l10n/lang/hu.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import '../default_localizations.dart';

class HuLocalizations extends GiphyGetUILocalizationLabels {
@override
final String searchInputLabel;

@override
final String emojisLabel;

@override
final String gifsLabel;

@override
final String stickersLabel;

@override
final String moreBy;

@override
final String viewOnGiphy;

@override
final String poweredByGiphy;

const HuLocalizations({
this.searchInputLabel = 'GIPHY keresés',
this.emojisLabel = 'Emojik',
this.gifsLabel = 'GIFek',
this.stickersLabel = 'Matricák',
this.moreBy = 'Több általa:',
this.viewOnGiphy = 'Megtekintés GIPHY-n',
this.poweredByGiphy = 'Powered by GIPHY',
});
}

0 comments on commit 064064d

Please sign in to comment.