Fix conflicts and issues.
This commit is contained in:
66
lib/generated/intl/messages_all.dart
Normal file
66
lib/generated/intl/messages_all.dart
Normal file
@@ -0,0 +1,66 @@
|
||||
// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
|
||||
// This is a library that looks up messages for specific locales by
|
||||
// delegating to the appropriate library.
|
||||
|
||||
// Ignore issues from commonly used lints in this file.
|
||||
// ignore_for_file:implementation_imports, file_names, unnecessary_new
|
||||
// ignore_for_file:unnecessary_brace_in_string_interps, directives_ordering
|
||||
// ignore_for_file:argument_type_not_assignable, invalid_assignment
|
||||
// ignore_for_file:prefer_single_quotes, prefer_generic_function_type_aliases
|
||||
// ignore_for_file:comment_references
|
||||
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:intl/intl.dart';
|
||||
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.dart' as messages_zh;
|
||||
|
||||
typedef Future<dynamic> LibraryLoader();
|
||||
Map<String, LibraryLoader> _deferredLibraries = {
|
||||
'en': () => new Future.value(null),
|
||||
'zh': () => new Future.value(null),
|
||||
};
|
||||
|
||||
MessageLookupByLibrary? _findExact(String localeName) {
|
||||
switch (localeName) {
|
||||
case 'en':
|
||||
return messages_en.messages;
|
||||
case 'zh':
|
||||
return messages_zh.messages;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// User programs should call this before using [localeName] for messages.
|
||||
Future<bool> initializeMessages(String localeName) async {
|
||||
var availableLocale = Intl.verifiedLocale(
|
||||
localeName, (locale) => _deferredLibraries[locale] != null,
|
||||
onFailure: (_) => null);
|
||||
if (availableLocale == null) {
|
||||
return new Future.value(false);
|
||||
}
|
||||
var lib = _deferredLibraries[availableLocale];
|
||||
await (lib == null ? new Future.value(false) : lib());
|
||||
initializeInternalMessageLookup(() => new CompositeMessageLookup());
|
||||
messageLookup.addLocale(availableLocale, _findGeneratedMessagesFor);
|
||||
return new Future.value(true);
|
||||
}
|
||||
|
||||
bool _messagesExistFor(String locale) {
|
||||
try {
|
||||
return _findExact(locale) != null;
|
||||
} catch (e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
MessageLookupByLibrary? _findGeneratedMessagesFor(String locale) {
|
||||
var actualLocale =
|
||||
Intl.verifiedLocale(locale, _messagesExistFor, onFailure: (_) => null);
|
||||
if (actualLocale == null) return null;
|
||||
return _findExact(actualLocale);
|
||||
}
|
||||
131
lib/generated/intl/messages_en.dart
Normal file
131
lib/generated/intl/messages_en.dart
Normal file
@@ -0,0 +1,131 @@
|
||||
// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
|
||||
// This is a library that provides messages for a en 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, avoid_escaping_inner_quotes
|
||||
// ignore_for_file:unnecessary_string_interpolations, unnecessary_string_escapes
|
||||
|
||||
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 => 'en';
|
||||
|
||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
||||
"No": MessageLookupByLibrary.simpleMessage("No"),
|
||||
"OR": MessageLookupByLibrary.simpleMessage("OR"),
|
||||
"Yes": MessageLookupByLibrary.simpleMessage("Yes"),
|
||||
"actionData": MessageLookupByLibrary.simpleMessage("Action data"),
|
||||
"active": MessageLookupByLibrary.simpleMessage("Active"),
|
||||
"address": MessageLookupByLibrary.simpleMessage("Address"),
|
||||
"address2": MessageLookupByLibrary.simpleMessage("Address 2"),
|
||||
"alarmAcknowledgeText": MessageLookupByLibrary.simpleMessage(
|
||||
"Are you sure you want to acknowledge Alarm?"),
|
||||
"alarmAcknowledgeTitle":
|
||||
MessageLookupByLibrary.simpleMessage("Acknowledge Alarm"),
|
||||
"alarmClearText": MessageLookupByLibrary.simpleMessage(
|
||||
"Are you sure you want to clear Alarm?"),
|
||||
"alarmClearTitle": MessageLookupByLibrary.simpleMessage("Clear Alarm"),
|
||||
"alarms": MessageLookupByLibrary.simpleMessage("Alarms"),
|
||||
"allDevices": MessageLookupByLibrary.simpleMessage("All devices"),
|
||||
"appTitle": MessageLookupByLibrary.simpleMessage("Thingsboard"),
|
||||
"assetName": MessageLookupByLibrary.simpleMessage("Asset name"),
|
||||
"assets": MessageLookupByLibrary.simpleMessage("Assets"),
|
||||
"assignedToCustomer":
|
||||
MessageLookupByLibrary.simpleMessage("Assigned to customer"),
|
||||
"auditLogDetails":
|
||||
MessageLookupByLibrary.simpleMessage("Audit log details"),
|
||||
"auditLogs": MessageLookupByLibrary.simpleMessage("Audit Logs"),
|
||||
"changePassword":
|
||||
MessageLookupByLibrary.simpleMessage("Change Password"),
|
||||
"city": MessageLookupByLibrary.simpleMessage("City"),
|
||||
"country": MessageLookupByLibrary.simpleMessage("Country"),
|
||||
"currentPassword":
|
||||
MessageLookupByLibrary.simpleMessage("currentPassword"),
|
||||
"currentPasswordRequireText": MessageLookupByLibrary.simpleMessage(
|
||||
"Current password is required."),
|
||||
"currentPasswordStar":
|
||||
MessageLookupByLibrary.simpleMessage("Current password *"),
|
||||
"customer": MessageLookupByLibrary.simpleMessage("Customer"),
|
||||
"customers": MessageLookupByLibrary.simpleMessage("Customers"),
|
||||
"devices": MessageLookupByLibrary.simpleMessage("Devices"),
|
||||
"email": MessageLookupByLibrary.simpleMessage("Email"),
|
||||
"emailInvalidText":
|
||||
MessageLookupByLibrary.simpleMessage("Invalid email format."),
|
||||
"emailRequireText":
|
||||
MessageLookupByLibrary.simpleMessage("Email is required."),
|
||||
"emailStar": MessageLookupByLibrary.simpleMessage("Email *"),
|
||||
"entityType": MessageLookupByLibrary.simpleMessage("Entity Type"),
|
||||
"failureDetails":
|
||||
MessageLookupByLibrary.simpleMessage("Failure details"),
|
||||
"firstName": MessageLookupByLibrary.simpleMessage("firstName"),
|
||||
"firstNameUpper": MessageLookupByLibrary.simpleMessage("First Name"),
|
||||
"home": MessageLookupByLibrary.simpleMessage("Home"),
|
||||
"inactive": MessageLookupByLibrary.simpleMessage("Inactive"),
|
||||
"label": MessageLookupByLibrary.simpleMessage("Label"),
|
||||
"lastName": MessageLookupByLibrary.simpleMessage("lastName"),
|
||||
"lastNameUpper": MessageLookupByLibrary.simpleMessage("Last Name"),
|
||||
"listIsEmptyText": MessageLookupByLibrary.simpleMessage(
|
||||
"The list is currently empty."),
|
||||
"login": MessageLookupByLibrary.simpleMessage("Log In"),
|
||||
"loginNotification":
|
||||
MessageLookupByLibrary.simpleMessage("Login to your account"),
|
||||
"logoDefaultValue":
|
||||
MessageLookupByLibrary.simpleMessage("Thingsboard Logo"),
|
||||
"logout": MessageLookupByLibrary.simpleMessage("Log Out"),
|
||||
"more": MessageLookupByLibrary.simpleMessage("More"),
|
||||
"newPassword": MessageLookupByLibrary.simpleMessage("newPassword"),
|
||||
"newPassword2": MessageLookupByLibrary.simpleMessage("newPassword2"),
|
||||
"newPassword2RequireText": MessageLookupByLibrary.simpleMessage(
|
||||
"New password again is required."),
|
||||
"newPassword2Star":
|
||||
MessageLookupByLibrary.simpleMessage("New password again *"),
|
||||
"newPasswordRequireText":
|
||||
MessageLookupByLibrary.simpleMessage("New password is required."),
|
||||
"newPasswordStar":
|
||||
MessageLookupByLibrary.simpleMessage("New password *"),
|
||||
"notImplemented":
|
||||
MessageLookupByLibrary.simpleMessage("Not implemented!"),
|
||||
"password": MessageLookupByLibrary.simpleMessage("Password"),
|
||||
"passwordErrorNotification": MessageLookupByLibrary.simpleMessage(
|
||||
"Entered passwords must be same!"),
|
||||
"passwordForgotText":
|
||||
MessageLookupByLibrary.simpleMessage("Forgot Password?"),
|
||||
"passwordRequireText":
|
||||
MessageLookupByLibrary.simpleMessage("Password is required."),
|
||||
"passwordReset": MessageLookupByLibrary.simpleMessage("Reset password"),
|
||||
"passwordResetLinkSuccessfullySentNotification":
|
||||
MessageLookupByLibrary.simpleMessage(
|
||||
"Password reset link was successfully sent!"),
|
||||
"passwordResetText": MessageLookupByLibrary.simpleMessage(
|
||||
"Enter the email associated with your account and we\'ll send an email with password reset link"),
|
||||
"passwordSuccessNotification": MessageLookupByLibrary.simpleMessage(
|
||||
"Password successfully changed"),
|
||||
"phone": MessageLookupByLibrary.simpleMessage("Phone"),
|
||||
"postalCode": MessageLookupByLibrary.simpleMessage("Zip / Postal Code"),
|
||||
"profileSuccessNotification": MessageLookupByLibrary.simpleMessage(
|
||||
"Profile successfully updated"),
|
||||
"requestPasswordReset":
|
||||
MessageLookupByLibrary.simpleMessage("Request password reset"),
|
||||
"stateOrProvince":
|
||||
MessageLookupByLibrary.simpleMessage("State / Province"),
|
||||
"systemAdministrator":
|
||||
MessageLookupByLibrary.simpleMessage("System Administrator"),
|
||||
"tenantAdministrator":
|
||||
MessageLookupByLibrary.simpleMessage("Tenant Administrator"),
|
||||
"title": MessageLookupByLibrary.simpleMessage("Title"),
|
||||
"tryAgain": MessageLookupByLibrary.simpleMessage("Try Again"),
|
||||
"type": MessageLookupByLibrary.simpleMessage("Type"),
|
||||
"username": MessageLookupByLibrary.simpleMessage("username")
|
||||
};
|
||||
}
|
||||
107
lib/generated/intl/messages_zh.dart
Normal file
107
lib/generated/intl/messages_zh.dart
Normal file
@@ -0,0 +1,107 @@
|
||||
// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
|
||||
// This is a library that provides messages for a zh 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, avoid_escaping_inner_quotes
|
||||
// ignore_for_file:unnecessary_string_interpolations, unnecessary_string_escapes
|
||||
|
||||
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';
|
||||
|
||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
||||
"No": MessageLookupByLibrary.simpleMessage("否"),
|
||||
"OR": MessageLookupByLibrary.simpleMessage("或"),
|
||||
"Yes": MessageLookupByLibrary.simpleMessage("是"),
|
||||
"actionData": MessageLookupByLibrary.simpleMessage("动作数据"),
|
||||
"active": MessageLookupByLibrary.simpleMessage("激活"),
|
||||
"address": MessageLookupByLibrary.simpleMessage("地址"),
|
||||
"address2": MessageLookupByLibrary.simpleMessage("地址 2"),
|
||||
"alarmAcknowledgeText":
|
||||
MessageLookupByLibrary.simpleMessage("你确定要确认告警吗?"),
|
||||
"alarmAcknowledgeTitle": MessageLookupByLibrary.simpleMessage("确认告警"),
|
||||
"alarmClearText": MessageLookupByLibrary.simpleMessage("你确定要清除告警吗?"),
|
||||
"alarmClearTitle": MessageLookupByLibrary.simpleMessage("清除告警"),
|
||||
"alarms": MessageLookupByLibrary.simpleMessage("告警"),
|
||||
"allDevices": MessageLookupByLibrary.simpleMessage("所有设备"),
|
||||
"appTitle": MessageLookupByLibrary.simpleMessage("Thingsboard"),
|
||||
"assetName": MessageLookupByLibrary.simpleMessage("资产名"),
|
||||
"assignedToCustomer": MessageLookupByLibrary.simpleMessage("分配给客户"),
|
||||
"auditLogDetails": MessageLookupByLibrary.simpleMessage("审计日志详情"),
|
||||
"auditLogs": MessageLookupByLibrary.simpleMessage("审计报告"),
|
||||
"changePassword": MessageLookupByLibrary.simpleMessage("修改密码"),
|
||||
"city": MessageLookupByLibrary.simpleMessage("城市"),
|
||||
"country": MessageLookupByLibrary.simpleMessage("国家"),
|
||||
"currentPassword": MessageLookupByLibrary.simpleMessage("当前密码"),
|
||||
"currentPasswordRequireText":
|
||||
MessageLookupByLibrary.simpleMessage("输入当前密码"),
|
||||
"currentPasswordStar": MessageLookupByLibrary.simpleMessage("当前密码 *"),
|
||||
"customer": MessageLookupByLibrary.simpleMessage("客户"),
|
||||
"customers": MessageLookupByLibrary.simpleMessage("客户"),
|
||||
"devices": MessageLookupByLibrary.simpleMessage("设备"),
|
||||
"email": MessageLookupByLibrary.simpleMessage("Email"),
|
||||
"emailInvalidText": MessageLookupByLibrary.simpleMessage("Email格式错误"),
|
||||
"emailRequireText": MessageLookupByLibrary.simpleMessage("输入Email"),
|
||||
"emailStar": MessageLookupByLibrary.simpleMessage("Email *"),
|
||||
"entityType": MessageLookupByLibrary.simpleMessage("实体类型"),
|
||||
"failureDetails": MessageLookupByLibrary.simpleMessage("失败详情"),
|
||||
"firstName": MessageLookupByLibrary.simpleMessage("名"),
|
||||
"firstNameUpper": MessageLookupByLibrary.simpleMessage("名"),
|
||||
"home": MessageLookupByLibrary.simpleMessage("主页"),
|
||||
"inactive": MessageLookupByLibrary.simpleMessage("失活"),
|
||||
"label": MessageLookupByLibrary.simpleMessage("标签"),
|
||||
"lastName": MessageLookupByLibrary.simpleMessage("姓"),
|
||||
"lastNameUpper": MessageLookupByLibrary.simpleMessage("姓"),
|
||||
"listIsEmptyText": MessageLookupByLibrary.simpleMessage("列表当前为空"),
|
||||
"login": MessageLookupByLibrary.simpleMessage("登录"),
|
||||
"loginNotification": MessageLookupByLibrary.simpleMessage("登录你的账号"),
|
||||
"logoDefaultValue":
|
||||
MessageLookupByLibrary.simpleMessage("Thingsboard Logo"),
|
||||
"logout": MessageLookupByLibrary.simpleMessage("登出"),
|
||||
"more": MessageLookupByLibrary.simpleMessage("更多"),
|
||||
"newPassword": MessageLookupByLibrary.simpleMessage("新密码"),
|
||||
"newPassword2": MessageLookupByLibrary.simpleMessage("新密码2"),
|
||||
"newPassword2RequireText":
|
||||
MessageLookupByLibrary.simpleMessage("再次输入新密码"),
|
||||
"newPassword2Star": MessageLookupByLibrary.simpleMessage("再次输入新密码 *"),
|
||||
"newPasswordRequireText": MessageLookupByLibrary.simpleMessage("输入新密码"),
|
||||
"newPasswordStar": MessageLookupByLibrary.simpleMessage("新密码 *"),
|
||||
"notImplemented": MessageLookupByLibrary.simpleMessage("未实现!"),
|
||||
"password": MessageLookupByLibrary.simpleMessage("密码"),
|
||||
"passwordErrorNotification":
|
||||
MessageLookupByLibrary.simpleMessage("输入的密码必须相同"),
|
||||
"passwordForgotText": MessageLookupByLibrary.simpleMessage("忘记密码?"),
|
||||
"passwordRequireText": MessageLookupByLibrary.simpleMessage("输入密码"),
|
||||
"passwordReset": MessageLookupByLibrary.simpleMessage("重置密码"),
|
||||
"passwordResetLinkSuccessfullySentNotification":
|
||||
MessageLookupByLibrary.simpleMessage("密码重置链接已发送"),
|
||||
"passwordResetText": MessageLookupByLibrary.simpleMessage(
|
||||
"输入和账号关联的Email,我们将发送一个密码重置链接到的Email"),
|
||||
"passwordSuccessNotification":
|
||||
MessageLookupByLibrary.simpleMessage("密码修改成功"),
|
||||
"phone": MessageLookupByLibrary.simpleMessage("电话"),
|
||||
"postalCode": MessageLookupByLibrary.simpleMessage("邮编"),
|
||||
"profileSuccessNotification":
|
||||
MessageLookupByLibrary.simpleMessage("配置更新成功"),
|
||||
"requestPasswordReset": MessageLookupByLibrary.simpleMessage("要求重置密码"),
|
||||
"stateOrProvince": MessageLookupByLibrary.simpleMessage("州 / 省"),
|
||||
"systemAdministrator": MessageLookupByLibrary.simpleMessage("系统管理员"),
|
||||
"tenantAdministrator": MessageLookupByLibrary.simpleMessage("租户管理员"),
|
||||
"title": MessageLookupByLibrary.simpleMessage("标题"),
|
||||
"tryAgain": MessageLookupByLibrary.simpleMessage("再试一次"),
|
||||
"type": MessageLookupByLibrary.simpleMessage("类型"),
|
||||
"username": MessageLookupByLibrary.simpleMessage("用户名")
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user