dingtalk-design-miniapp
Version:
DingTalk Design Miniapp 提供统一钉钉风格小程序组件
119 lines (118 loc) • 6.2 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var resources = {
"en_US": {
"dingui_mini_network_connection_error": "Network connection error",
"dingui_mini_permission_error": "No permission",
"dingui_mini_page_error": "Page exception",
"dingui_mini_refresh": "Refresh",
"dingui_mini_page_refresh": "Please refresh the page and try again later\n\n",
"dingui_mini_network_connection_error_refresh": "Please check your network settings or refresh the page",
"dingui_mini_no_content": "No content",
"dingui_mini_recycle_bin_cleared": "The recycle bin is empty"
},
"zh_CN": {
"dingui_mini_network_connection_error": "网络连接发生问题",
"dingui_mini_permission_error": "暂无权限",
"dingui_mini_page_error": "页面异常",
"dingui_mini_refresh": "刷新",
"dingui_mini_page_refresh": "刷新页面重试",
"dingui_mini_network_connection_error_refresh": "请检查网络设置或刷新页面重试",
"dingui_mini_no_content": "暂无内容",
"dingui_mini_recycle_bin_cleared": "回收站已清空"
},
"zh_TW": {
"dingui_mini_network_connection_error": "網路連接發生問題,請檢查你的網路設置",
"dingui_mini_permission_error": "暫無權限",
"dingui_mini_page_error": "頁面異常",
"dingui_mini_refresh": "刷新",
"dingui_mini_page_refresh": "請刷新頁面重試",
"dingui_mini_network_connection_error_refresh": "請檢查你的網路設置或刷新頁面重試",
"dingui_mini_no_content": "暫無內容",
"dingui_mini_recycle_bin_cleared": "回收站已清空"
},
"zh_HK": {
"dingui_mini_network_connection_error": "網路連接發生問題",
"dingui_mini_permission_error": "暫無權限",
"dingui_mini_page_error": "頁面異常",
"dingui_mini_refresh": "刷新",
"dingui_mini_page_refresh": "請刷新頁面重試",
"dingui_mini_network_connection_error_refresh": "請檢查你的網路設置或刷新頁面重試",
"dingui_mini_no_content": "暫無內容",
"dingui_mini_recycle_bin_cleared": "回收站已清空"
},
"ja_JP": {
"dingui_mini_network_connection_error": "ネットワーク接続に問題がある場合は",
"dingui_mini_permission_error": "権限がない場合は",
"dingui_mini_page_error": "ページの例外",
"dingui_mini_refresh": "更新",
"dingui_mini_page_refresh": "ページの更新を再試行してください",
"dingui_mini_network_connection_error_refresh": "ネットワーク設定を確認してください。",
"dingui_mini_no_content": "内容なし",
"dingui_mini_recycle_bin_cleared": "ごみ箱が空です"
},
"vi_VN": {
"dingui_mini_network_connection_error": "Có vấn đề với kết nối mạng",
"dingui_mini_permission_error": "Không có quyền truy cập đang chờ xử lý",
"dingui_mini_page_error": "Ngoại lệ trang",
"dingui_mini_refresh": "Refresh",
"dingui_mini_page_refresh": "Xin vui lòng làm mới trang và cố gắng một lần nữa sau đó\n\n",
"dingui_mini_network_connection_error_refresh": "Xin vui lòng kiểm tra mạng của bạn cài đặt hoặc Làm mới trang",
"dingui_mini_no_content": "Không có nội dung",
"dingui_mini_recycle_bin_cleared": "Việc tái chế bin là trống rỗng"
},
"id_ID": {
"dingui_mini_network_connection_error": "Ada masalah dengan koneksi jaringan",
"dingui_mini_permission_error": "Tidak ada hak akses tertunda",
"dingui_mini_page_error": "Pengecualian halaman",
"dingui_mini_refresh": "Refresh",
"dingui_mini_page_refresh": "Refresh halaman dan coba lagi nanti\n\n",
"dingui_mini_network_connection_error_refresh": "Periksa pengaturan jaringan Anda atau Segarkan halaman",
"dingui_mini_no_content": "Tidak ada konten",
"dingui_mini_recycle_bin_cleared": "Tempat sampah kosong"
},
"ne_NP": {
"dingui_mini_network_connection_error": "Ada masalah dengan koneksi jaringan",
"dingui_mini_permission_error": "Tidak ada hak akses tertunda",
"dingui_mini_page_error": "Pengecualian halaman",
"dingui_mini_refresh": "Refresh",
"dingui_mini_page_refresh": "Refresh halaman dan coba lagi nanti\n\n",
"dingui_mini_network_connection_error_refresh": "Periksa pengaturan jaringan Anda atau Segarkan halaman",
"dingui_mini_no_content": "Tidak ada konten",
"dingui_mini_recycle_bin_cleared": "Tempat sampah kosong"
},
"th_TH": {
"dingui_mini_network_connection_error": "มีปัญหากับการเชื่อมต่อเครือข่ายโปรดตรวจสอบการตั้งค่าเครือข่ายของคุณ",
"dingui_mini_permission_error": "ไม่มีสิทธิ์การเข้าถึงที่ค้างอยู่",
"dingui_mini_page_error": "ข้อยกเว้นของเพจให้คลิกปุ่มรีเฟรชเพื่อลองอีกครั้ง",
"dingui_mini_refresh": "รี เฟรช",
"dingui_mini_page_refresh": "โปรดรีเฟรชหน้าเว็บและลองอีกครั้งในภายหลัง\n\n",
"dingui_mini_network_connection_error_refresh": "โปรดตรวจสอบการตั้งค่าเครือข่ายของคุณหรือรีเฟรชเพจ",
"dingui_mini_no_content": "ไม่มีเนื้อหา",
"dingui_mini_recycle_bin_cleared": "ถังรีไซเคิลว่างเปล่า"
}
};
var compI18n = {
locale: 'zh_CN',
resources: resources || {},
setLng: function setLng(locale) {
if (locale) {
compI18n.locale = locale;
}
return compI18n;
},
t: function t(key) {
if (!compI18n.resources[compI18n.locale]) {
return compI18n.resources['zh_CN'][key];
}
return compI18n.resources[compI18n.locale][key];
},
supportLng: function supportLng() {
return Object.keys(compI18n.resources);
}
};
var _default = compI18n;
exports["default"] = _default;