add hungarian translation

add hungarian translation
This commit is contained in:
Gergely Horváth 2020-05-09 05:19:29 +00:00 committed by Christian Pauly
commit add6ae725d
4 changed files with 1667 additions and 8 deletions

View file

@ -15,21 +15,17 @@ import 'package:intl/intl.dart';
import 'package:intl/message_lookup_by_library.dart';
import 'package:intl/src/intl_helpers.dart';
import 'messages_de.dart' as messages_de;
import 'messages_messages.dart' as messages_messages;
import 'messages_hu.dart' as messages_hu;
typedef Future<dynamic> LibraryLoader();
Map<String, LibraryLoader> _deferredLibraries = {
'de': () => new Future.value(null),
'messages': () => new Future.value(null),
'hu': () => new Future.value(null),
};
MessageLookupByLibrary _findExact(String localeName) {
switch (localeName) {
case 'de':
return messages_de.messages;
case 'messages':
return messages_messages.messages;
case 'hu':
return messages_hu.messages;
default:
return null;
}