This commit is contained in:
2020-12-23 00:43:59 -05:00
parent 0fd880f57b
commit 86c845b49b
54 changed files with 3638 additions and 107 deletions

View File

@@ -16,16 +16,20 @@ import 'package:intl/message_lookup_by_library.dart';
import 'package:intl/src/intl_helpers.dart';
import 'messages_en.dart' as messages_en;
import 'messages_zh_CN.dart' as messages_zh_cn;
typedef Future<dynamic> LibraryLoader();
Map<String, LibraryLoader> _deferredLibraries = {
'en': () => new Future.value(null),
'zh_CN': () => new Future.value(null),
};
MessageLookupByLibrary _findExact(String localeName) {
switch (localeName) {
case 'en':
return messages_en.messages;
case 'zh_CN':
return messages_zh_cn.messages;
default:
return null;
}

View File

@@ -21,6 +21,35 @@ class MessageLookup extends MessageLookupByLibrary {
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
"about" : MessageLookupByLibrary.simpleMessage("About"),
"about_us" : MessageLookupByLibrary.simpleMessage("About us"),
"blog" : MessageLookupByLibrary.simpleMessage("Blog"),
"contact_us" : MessageLookupByLibrary.simpleMessage("Contact us"),
"developer_of" : MessageLookupByLibrary.simpleMessage("Developers of"),
"download" : MessageLookupByLibrary.simpleMessage("Download"),
"home" : MessageLookupByLibrary.simpleMessage("Home"),
"information" : MessageLookupByLibrary.simpleMessage("Information"),
"learn_more" : MessageLookupByLibrary.simpleMessage("Learn more..."),
"license_agreement" : MessageLookupByLibrary.simpleMessage("License agreement"),
"loading_please_wait" : MessageLookupByLibrary.simpleMessage("Loading, please wait..."),
"login" : MessageLookupByLibrary.simpleMessage("Login"),
"logout" : MessageLookupByLibrary.simpleMessage("Logout"),
"main_content_1" : MessageLookupByLibrary.simpleMessage("Since 1999, we have been committed to developing a complete and powerful sales system, helping thousands of small businesses handle sales smoothly. Currently we have two main products."),
"minipos" : MessageLookupByLibrary.simpleMessage("MiniPOS"),
"navigation" : MessageLookupByLibrary.simpleMessage("Navigation"),
"point_of_sale_system_solution" : MessageLookupByLibrary.simpleMessage("Point of sale system solution"),
"privacy_policy" : MessageLookupByLibrary.simpleMessage("Privacy policy"),
"recalculating" : MessageLookupByLibrary.simpleMessage("Recalculating..."),
"renew_license" : MessageLookupByLibrary.simpleMessage("Renew license"),
"return_policy" : MessageLookupByLibrary.simpleMessage("Return policy"),
"service_policy" : MessageLookupByLibrary.simpleMessage("Service policy"),
"shop" : MessageLookupByLibrary.simpleMessage("Shop"),
"submitting" : MessageLookupByLibrary.simpleMessage("Submitting..."),
"submitting_please_wait" : MessageLookupByLibrary.simpleMessage("Submitting, please wait..."),
"support" : MessageLookupByLibrary.simpleMessage("Support"),
"support_ticket" : MessageLookupByLibrary.simpleMessage("Support ticket"),
"tap_back_again_to_exit" : MessageLookupByLibrary.simpleMessage("Tap back again to exit"),
"tutorials" : MessageLookupByLibrary.simpleMessage("Tutorials"),
"wiki" : MessageLookupByLibrary.simpleMessage("Wiki")
};
}

View File

@@ -0,0 +1,55 @@
// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
// This is a library that provides messages for a zh_CN locale. All the
// messages from the main program should be duplicated here with the same
// function name.
// Ignore issues from commonly used lints in this file.
// ignore_for_file:unnecessary_brace_in_string_interps, unnecessary_new
// ignore_for_file:prefer_single_quotes,comment_references, directives_ordering
// ignore_for_file:annotate_overrides,prefer_generic_function_type_aliases
// ignore_for_file:unused_import, file_names
import 'package:intl/intl.dart';
import 'package:intl/message_lookup_by_library.dart';
final messages = new MessageLookup();
typedef String MessageIfAbsent(String messageStr, List<dynamic> args);
class MessageLookup extends MessageLookupByLibrary {
String get localeName => 'zh_CN';
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
"about" : MessageLookupByLibrary.simpleMessage("关于"),
"about_us" : MessageLookupByLibrary.simpleMessage("关于我们"),
"blog" : MessageLookupByLibrary.simpleMessage("博客"),
"contact_us" : MessageLookupByLibrary.simpleMessage("联系我们"),
"developer_of" : MessageLookupByLibrary.simpleMessage("开发者"),
"download" : MessageLookupByLibrary.simpleMessage("下载"),
"home" : MessageLookupByLibrary.simpleMessage("首页"),
"information" : MessageLookupByLibrary.simpleMessage("信息"),
"learn_more" : MessageLookupByLibrary.simpleMessage("了解更多..."),
"license_agreement" : MessageLookupByLibrary.simpleMessage("许可协议"),
"loading_please_wait" : MessageLookupByLibrary.simpleMessage("装载中,清稍候..."),
"login" : MessageLookupByLibrary.simpleMessage("登入"),
"logout" : MessageLookupByLibrary.simpleMessage("登出"),
"main_content_1" : MessageLookupByLibrary.simpleMessage("自从1999年来我们一直致力于开发完整的强大的销售系统帮助了上千小企业平滑的处理销售业务。当前我们有两个主要的产品。"),
"minipos" : MessageLookupByLibrary.simpleMessage("MiniPOS"),
"navigation" : MessageLookupByLibrary.simpleMessage("导航"),
"point_of_sale_system_solution" : MessageLookupByLibrary.simpleMessage("收款系统方案"),
"privacy_policy" : MessageLookupByLibrary.simpleMessage("私隐条款"),
"recalculating" : MessageLookupByLibrary.simpleMessage("运算中..."),
"renew_license" : MessageLookupByLibrary.simpleMessage("证书续期"),
"return_policy" : MessageLookupByLibrary.simpleMessage("退货条款"),
"service_policy" : MessageLookupByLibrary.simpleMessage("服务条款"),
"shop" : MessageLookupByLibrary.simpleMessage("线上购买"),
"submitting" : MessageLookupByLibrary.simpleMessage("提交中..."),
"submitting_please_wait" : MessageLookupByLibrary.simpleMessage("提交中,清稍候..."),
"support" : MessageLookupByLibrary.simpleMessage("技术支持"),
"support_ticket" : MessageLookupByLibrary.simpleMessage("客户提问"),
"tap_back_again_to_exit" : MessageLookupByLibrary.simpleMessage("再次点击返回退出"),
"tutorials" : MessageLookupByLibrary.simpleMessage("教程"),
"wiki" : MessageLookupByLibrary.simpleMessage("维基")
};
}