@cloudtower/parrot
Version:
i18n modules for cloudtower sparrow and eagle
764 lines (749 loc) • 28.7 kB
JavaScript
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('i18next'), require('lodash.merge')) :
typeof define === 'function' && define.amd ? define(['exports', 'i18next', 'lodash.merge'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.index = {}, global.i18next, global.merge));
})(this, (function (exports, i18next, merge) { 'use strict';
var _action_$1 = "Action";
var action$1 = "Action";
var all$1 = "All";
var cancel$1 = "Cancel";
var clear_query$1 = "Clear the filter criteria";
var close$1 = "Close";
var contains$3 = "Contains";
var confirm$3 = "Confirm";
var empty$5 = "No ";
var enable$1 = "Enable";
var enabled$1 = "Enabled";
var disabled$1 = "Disabled";
var disable$1 = "Disable";
var error$1 = "Error";
var next_step$1 = "Next";
var not_contains$3 = "Not Contains";
var not_enable$1 = "Not enabled";
var prev_step$1 = "Previous";
var io$1 = "Total I/O";
var load_failed$1 = "Failed to load";
var param$1 = "Parameter";
var no$1 = "No";
var message$1 = "Message";
var architecture$1 = "CPU Architecture";
var calculation$1 = "Computing";
var on$1 = "On";
var error_message$1 = "Error Message";
var retry$1 = "Retry";
var week_abbreviation$3 = "week";
var day_abbreviation$3 = "day";
var hour_abbreviation$3 = "h";
var minute_abbreviation$3 = "min";
var second_abbreviation$3 = "sec";
var week$3 = "Week";
var day$3 = "Day";
var hour$3 = "Hour";
var minute$3 = "Minute";
var second$3 = "Second";
var monday$1 = "Monday";
var tuesday$1 = "Tuesday";
var wednesday$1 = "Wednesday";
var thursday$1 = "Thursday";
var friday$1 = "Friday";
var saturday$1 = "Saturday";
var sunday$1 = "Sunday";
var month$1 = "Month";
var year$1 = "Year";
var day_count$1 = "{count} day";
var day_count_plural = "{count} days";
var hour_count$1 = "{count} hour";
var hour_count_plural = "{count} hours";
var minute_count$1 = "{count} minute";
var minute_count_plural = "{count} minutes";
var month_measure_count$1 = "{count} month";
var month_measure_count_plural = "{count} months";
var show_unpassed$1 = "Show Failed only";
var copy$1 = "Copy";
var download$1 = "Download";
var copy_kubeconfig_success$1 = "Kubeconfig copied.";
var download_kubeconfig$1 = "Download Kubeconfig";
var download_kubeconfig_tip$1 = "You may use the following Kubeconfig file to access this cluster.";
var obtain_data_error$1 = "Data retrieval error";
var common$1 = {
_action_: _action_$1,
action: action$1,
all: all$1,
cancel: cancel$1,
clear_query: clear_query$1,
close: close$1,
"delete": "Delete",
contains: contains$3,
confirm: confirm$3,
empty: empty$5,
enable: enable$1,
enabled: enabled$1,
disabled: disabled$1,
disable: disable$1,
error: error$1,
next_step: next_step$1,
not_contains: not_contains$3,
not_enable: not_enable$1,
prev_step: prev_step$1,
io: io$1,
load_failed: load_failed$1,
param: param$1,
no: no$1,
message: message$1,
architecture: architecture$1,
calculation: calculation$1,
on: on$1,
error_message: error_message$1,
retry: retry$1,
week_abbreviation: week_abbreviation$3,
day_abbreviation: day_abbreviation$3,
hour_abbreviation: hour_abbreviation$3,
minute_abbreviation: minute_abbreviation$3,
second_abbreviation: second_abbreviation$3,
week: week$3,
day: day$3,
hour: hour$3,
minute: minute$3,
second: second$3,
monday: monday$1,
tuesday: tuesday$1,
wednesday: wednesday$1,
thursday: thursday$1,
friday: friday$1,
saturday: saturday$1,
sunday: sunday$1,
month: month$1,
year: year$1,
day_count: day_count$1,
day_count_plural: day_count_plural,
hour_count: hour_count$1,
hour_count_plural: hour_count_plural,
minute_count: minute_count$1,
minute_count_plural: minute_count_plural,
month_measure_count: month_measure_count$1,
month_measure_count_plural: month_measure_count_plural,
show_unpassed: show_unpassed$1,
copy: copy$1,
download: download$1,
copy_kubeconfig_success: copy_kubeconfig_success$1,
download_kubeconfig: download_kubeconfig$1,
download_kubeconfig_tip: download_kubeconfig_tip$1,
obtain_data_error: obtain_data_error$1
};
var contains$2 = "Contains";
var custom_column$1 = "Customize Columns & Order";
var not$1 = "Not";
var not_contains$2 = "Not Contains";
var or$1 = "or";
var previous_items$1 = "Previous";
var next_items$1 = "Next";
var push_to$1 = "Jump to";
var pagination_range$1 = "Item {range1} – {range2}";
var pagination_total$1 = "Item {range1} – {range2}, {total} in total";
var pagination_lots_total$1 = "{count} item in total";
var pagination_lots_total_plural = "{count} items in total";
var unknow_error$1 = "Unknown error";
var to$1 = "to";
var time_zone_select_placeholder$1 = "Enter city or time zone";
var browser_time_zone$1 = "Browser Time Zone";
var coordinated_universal_time$1 = "Coordinated Universal Time";
var Architecture_AARCH64$1 = "AArch64";
var Architecture_X86_64$1 = "x86_64";
var maximum_row_count_desc$1 = "At most {count} items.";
var remove$1 = "Remove";
var add$1 = "Add";
var prefix$1 = "Prefix";
var suffix$1 = "Suffix";
var as_day$1 = "By Day";
var count$1 = "";
var day_execute_task$1 = "Generate the report at <1></1> every <0></0> day.";
var day_execute_task_plural = "Generate the report at <1></1> every <0></0> days.";
var execution_time$1 = "Generation time ";
var as_week$1 = "By Week";
var as_month$1 = "By Month";
var day_date$1 = "day";
var day_date_plural = "days";
var week_with_below_date$1 = "Generate every <0></0> week on the following {day}:";
var week_with_below_date_plural = "Generate every <0></0> weeks on the following {day}:";
var month_with_below_date$1 = "Generate every <0></0> month on the following {day}:";
var month_with_below_date_plural = "Generate every <0></0> months on the following {day}:";
var will_excute_at_last_day_with_date$1 = "For the months that do not have {date} days, the plan will be executed on the last day of the month.";
var date_mark$1 = " or ";
var retain_with_count$1 = "Retain {count} reports";
var start_date$1 = "Start Date";
var retain_date$1 = "Number";
var next_generate_with_date$1 = "The next report will be generated at {date}.";
var will_save_one_to_thirty_report$1 = "You can retain 1 to 30 most recently generated reports.";
var every_day_with_time$1 = "Every day at {time}";
var every_day_with_count_and_time$1 = "Every {count} days at {time}";
var every_week_with_time$1 = "Every week at {time}";
var every_week_with_day_and_time$1 = "Every week on {day} at {time}";
var every_weeks_with_count_and_time$1 = "Every {count} weeks at {time}";
var every_weeks_with_count_and_day_and_time$1 = "Every {count} weeks on {day} at {time}";
var every_month_with_time$1 = "Every month at {time}";
var every_month_with_day_and_time$1 = "Every month on the day of {day} at {time}";
var every_months_with_count_and_time$1 = "Every {count} months at {time}";
var every_months_with_count_and_day_and_time$1 = "Every {count} months on the day of {day} at {time}";
var generate_date_preview$1 = "Date Preview";
var date_with_year_and_month$1 = "{month} {year}";
var will_generate_one_reporte_with_date_and_time$1 = "One report will be generated at {date} {time}";
var will_generate_report_will_date_and_count$1 = "{count} reports will be generated at {date}";
var selected_item_with_count$1 = "{count} items selected";
var set_start_time_failed$1 = "Start time should be later than { time }";
var set_end_time_failed$1 = "End time should be earlier than { time }";
var end_time_cannot_be_less_than_start_time$1 = "End time should be later than start time";
var end_date$1 = "End Date";
var confirm$2 = "Confirm";
var past$1 = "Past";
var relative_time$1 = "Relative Time";
var absolute_time$1 = "Absolute Time";
var empty_search_history$1 = "No search history ";
var date_range_picker_history_title$1 = "Recent Search";
var search_relative_time_placeholder$1 = "Search relative time";
var select_all$1 = "Select All";
var unselect_all$1 = "Clear";
var other$1 = "Other";
var prev$1 = "Previous";
var next$1 = "Next";
var clear$1 = "Clear";
var loading$1 = "Loading...";
var upgrade_to_version$1 = "<0>{{text}}</0> upgraded to <1>{{version}}</1>";
var update_to_version$1 = "<0>{{text}}</0> updated to <1>{{version}}</1>";
var failed_upgrade_to_version$1 = "<0>{{text}}</0> failed to upgrade to <1>{{version}}</1>";
var config_updated$1 = "<0>{{text}}</0> updated <1>{{version}}</1>";
var db_migrated$1 = "<0>{{text}}</0> migrated to <1>{{version}}</1>";
var empty$4 = "No history records";
var view_detail$1 = "View Details";
var components$1 = {
contains: contains$2,
custom_column: custom_column$1,
"in": "belongs to",
not: not$1,
not_contains: not_contains$2,
or: or$1,
previous_items: previous_items$1,
next_items: next_items$1,
push_to: push_to$1,
pagination_range: pagination_range$1,
pagination_total: pagination_total$1,
pagination_lots_total: pagination_lots_total$1,
pagination_lots_total_plural: pagination_lots_total_plural,
unknow_error: unknow_error$1,
to: to$1,
time_zone_select_placeholder: time_zone_select_placeholder$1,
browser_time_zone: browser_time_zone$1,
coordinated_universal_time: coordinated_universal_time$1,
Architecture_AARCH64: Architecture_AARCH64$1,
Architecture_X86_64: Architecture_X86_64$1,
maximum_row_count_desc: maximum_row_count_desc$1,
remove: remove$1,
add: add$1,
prefix: prefix$1,
suffix: suffix$1,
as_day: as_day$1,
count: count$1,
day_execute_task: day_execute_task$1,
day_execute_task_plural: day_execute_task_plural,
execution_time: execution_time$1,
as_week: as_week$1,
as_month: as_month$1,
day_date: day_date$1,
day_date_plural: day_date_plural,
week_with_below_date: week_with_below_date$1,
week_with_below_date_plural: week_with_below_date_plural,
month_with_below_date: month_with_below_date$1,
month_with_below_date_plural: month_with_below_date_plural,
will_excute_at_last_day_with_date: will_excute_at_last_day_with_date$1,
date_mark: date_mark$1,
retain_with_count: retain_with_count$1,
start_date: start_date$1,
retain_date: retain_date$1,
next_generate_with_date: next_generate_with_date$1,
will_save_one_to_thirty_report: will_save_one_to_thirty_report$1,
every_day_with_time: every_day_with_time$1,
every_day_with_count_and_time: every_day_with_count_and_time$1,
every_week_with_time: every_week_with_time$1,
every_week_with_day_and_time: every_week_with_day_and_time$1,
every_weeks_with_count_and_time: every_weeks_with_count_and_time$1,
every_weeks_with_count_and_day_and_time: every_weeks_with_count_and_day_and_time$1,
every_month_with_time: every_month_with_time$1,
every_month_with_day_and_time: every_month_with_day_and_time$1,
every_months_with_count_and_time: every_months_with_count_and_time$1,
every_months_with_count_and_day_and_time: every_months_with_count_and_day_and_time$1,
generate_date_preview: generate_date_preview$1,
date_with_year_and_month: date_with_year_and_month$1,
will_generate_one_reporte_with_date_and_time: will_generate_one_reporte_with_date_and_time$1,
will_generate_report_will_date_and_count: will_generate_report_will_date_and_count$1,
selected_item_with_count: selected_item_with_count$1,
set_start_time_failed: set_start_time_failed$1,
set_end_time_failed: set_end_time_failed$1,
end_time_cannot_be_less_than_start_time: end_time_cannot_be_less_than_start_time$1,
end_date: end_date$1,
confirm: confirm$2,
"monday-simple": "Mon",
"tuesday-simple": "Tue",
"wednesday-simple": "Wed",
"thursday-simple": "Thu",
"friday-simple": "Fri",
"saturday-simple": "Sat",
"sunday-simple": "Sun",
past: past$1,
relative_time: relative_time$1,
absolute_time: absolute_time$1,
empty_search_history: empty_search_history$1,
date_range_picker_history_title: date_range_picker_history_title$1,
search_relative_time_placeholder: search_relative_time_placeholder$1,
select_all: select_all$1,
unselect_all: unselect_all$1,
other: other$1,
prev: prev$1,
next: next$1,
clear: clear$1,
loading: loading$1,
upgrade_to_version: upgrade_to_version$1,
update_to_version: update_to_version$1,
failed_upgrade_to_version: failed_upgrade_to_version$1,
config_updated: config_updated$1,
db_migrated: db_migrated$1,
empty: empty$4,
view_detail: view_detail$1
};
var current$1 = "Current value";
var empty$3 = "No data in this time range";
var max$1 = "Max";
var metric$1 = {
current: current$1,
empty: empty$3,
max: max$1
};
var week_abbreviation$2 = "<0>{count}</0> <1>week</1>";
var day_abbreviation$2 = "<0>{count}</0> <1>day</1>";
var week_abbreviation_plural = "<0>{count}</0> <1>weeks</1>";
var day_abbreviation_plural = "<0>{count}</0> <1>days</1>";
var hour_abbreviation$2 = "<0>{count}</0> <1>h</1>";
var minute_abbreviation$2 = "<0>{count}</0> <1>min</1>";
var second_abbreviation$2 = "<0>{count}</0> <1>sec</1>";
var week_plural = "<0>{count}</0> <1>Weeks</1>";
var day_plural = "<0>{count}</0> <1>Days</1>";
var hour_plural = "<0>{count}</0> <1>Hours</1>";
var minute_plural = "<0>{count}</0> <1>Minutes</1>";
var second_plural = "<0>{count}</0> <1>Seconds</1>";
var week$2 = "<0>{count}</0> <1>Week</1>";
var day$2 = "<0>{count}</0> <1>Day</1>";
var hour$2 = "<0>{count}</0> <1>Hour</1>";
var minute$2 = "<0>{count}</0> <1>Minute</1>";
var second$2 = "<0>{count}</0> <1>Second</1>";
var unit$1 = {
week_abbreviation: week_abbreviation$2,
day_abbreviation: day_abbreviation$2,
week_abbreviation_plural: week_abbreviation_plural,
day_abbreviation_plural: day_abbreviation_plural,
hour_abbreviation: hour_abbreviation$2,
minute_abbreviation: minute_abbreviation$2,
second_abbreviation: second_abbreviation$2,
week_plural: week_plural,
day_plural: day_plural,
hour_plural: hour_plural,
minute_plural: minute_plural,
second_plural: second_plural,
week: week$2,
day: day$2,
hour: hour$2,
minute: minute$2,
second: second$2
};
const locale$1 = {
common: common$1,
components: components$1,
metric: metric$1,
unit: unit$1
};
var _action_ = "操作";
var action = "操作";
var all = "全部";
var cancel = "取消";
var clear_query = "清空筛选条件";
var close = "关闭";
var contains$1 = "包含";
var confirm$1 = "确定";
var empty$2 = "无";
var enable = "启用";
var enabled = "启用";
var disable = "禁用";
var disabled = "禁用";
var error = "错误";
var next_step = "下一步";
var not_contains$1 = "不包含";
var not_enable = "不启用";
var prev_step = "上一步";
var io = "I/O 总数";
var load_failed = "加载失败";
var param = "参数";
var no = "否";
var message = "信息";
var architecture = "CPU 架构";
var calculation = "计算中";
var on = "开启";
var error_message = "错误信息";
var retry = "重试";
var week_abbreviation$1 = "周";
var day_abbreviation$1 = "天";
var hour_abbreviation$1 = "小时";
var minute_abbreviation$1 = "分钟";
var second_abbreviation$1 = "秒";
var week$1 = "周";
var day$1 = "天";
var hour$1 = "小时";
var minute$1 = "分钟";
var second$1 = "秒";
var monday = "周一";
var tuesday = "周二";
var wednesday = "周三";
var thursday = "周四";
var friday = "周五";
var saturday = "周六";
var sunday = "周日";
var month = "月";
var year = "年";
var day_count = "{count} 天";
var hour_count = "{count} 小时";
var minute_count = "{count} 分钟";
var month_measure_count = "{count} 个月";
var show_unpassed = "只看未满足";
var copy = "复制";
var download = "下载";
var copy_kubeconfig_success = "Kubeconfig 复制成功。";
var download_kubeconfig = "下载 Kubeconfig";
var download_kubeconfig_tip = "通过使用 Kubeconfig 文件配置当前集群的访问信息。";
var obtain_data_error = "获取数据时遇到问题";
var common = {
_action_: _action_,
action: action,
all: all,
cancel: cancel,
clear_query: clear_query,
close: close,
"delete": "删除",
contains: contains$1,
confirm: confirm$1,
empty: empty$2,
enable: enable,
enabled: enabled,
disable: disable,
disabled: disabled,
error: error,
next_step: next_step,
not_contains: not_contains$1,
not_enable: not_enable,
prev_step: prev_step,
io: io,
load_failed: load_failed,
param: param,
no: no,
message: message,
architecture: architecture,
calculation: calculation,
on: on,
error_message: error_message,
retry: retry,
week_abbreviation: week_abbreviation$1,
day_abbreviation: day_abbreviation$1,
hour_abbreviation: hour_abbreviation$1,
minute_abbreviation: minute_abbreviation$1,
second_abbreviation: second_abbreviation$1,
week: week$1,
day: day$1,
hour: hour$1,
minute: minute$1,
second: second$1,
monday: monday,
tuesday: tuesday,
wednesday: wednesday,
thursday: thursday,
friday: friday,
saturday: saturday,
sunday: sunday,
month: month,
year: year,
day_count: day_count,
hour_count: hour_count,
minute_count: minute_count,
month_measure_count: month_measure_count,
show_unpassed: show_unpassed,
copy: copy,
download: download,
copy_kubeconfig_success: copy_kubeconfig_success,
download_kubeconfig: download_kubeconfig,
download_kubeconfig_tip: download_kubeconfig_tip,
obtain_data_error: obtain_data_error
};
var contains = "包含";
var custom_column = "自定义列的展示和顺序";
var not = "不为";
var not_contains = "不包含";
var or = "或";
var previous_items = "前 {size} 项";
var next_items = "后 {size} 项";
var push_to = "跳转至";
var pagination_range = "第 {range1} – {range2} 项";
var pagination_total = "第 {range1} – {range2} 项,共 {total} 项";
var pagination_lots_total = "共 {count} 项";
var unknow_error = "未知错误";
var to = "至";
var time_zone_select_placeholder = "输入城市、时区";
var browser_time_zone = "浏览器时区";
var coordinated_universal_time = "协调世界时";
var Architecture_AARCH64 = "AArch64";
var Architecture_X86_64 = "x86_64";
var maximum_row_count_desc = "最多添加 {count} 项。";
var remove = "移除";
var add = "添加";
var prefix = "前缀";
var suffix = "后缀";
var as_day = "按天";
var count = "份";
var day_execute_task = "每 <0></0> 天, <1></1> 生成。";
var execution_time = "生成时间:";
var as_week = "按周";
var as_month = "按月";
var day_date = "日期";
var week_with_below_date = "每 <0></0> 周的如下{day}:";
var month_with_below_date = "每 <0></0> 个月的如下{day}:";
var will_excute_at_last_day_with_date = "如果当月没有 {date} 号,则会提前至该月最后一天执行。";
var date_mark = "、";
var retain_with_count = "保留 {count} 份";
var start_date = "开始日期";
var retain_date = "保留份数";
var next_generate_with_date = "下次生成时间:{date}. ";
var will_save_one_to_thirty_report = "可以保留 1~30 份最近自动生成的报表。";
var every_day_with_time = "每天的 {time}";
var every_day_with_count_and_time = "每 {count} 天的 {time}";
var every_week_with_time = "每周的 {time}";
var every_week_with_day_and_time = "每周的周{day} {time}";
var every_weeks_with_count_and_time = "每 {count} 周的 {time}";
var every_weeks_with_count_and_day_and_time = "每 {count} 周的周{day} {time}";
var every_month_with_time = "每月的 {time}";
var every_month_with_day_and_time = "每月的 {day} 号 {time}";
var every_months_with_count_and_time = "每 {count} 月的 {time}";
var every_months_with_count_and_day_and_time = "每 {count} 月的 {day} 号 {time}";
var generate_date_preview = "生成日期预览";
var date_with_year_and_month = "{year} 年 {month}";
var will_generate_one_reporte_with_date_and_time = "{ date } 将在 {time } 生成 1 份报表";
var will_generate_report_will_date_and_count = "{date} 将在如下时间生成 {count} 份报表:";
var selected_item_with_count = "已选中 {count} 项目";
var set_start_time_failed = "开始时间不能早于 { time }";
var set_end_time_failed = "结束时间不能晚于 { time }";
var end_time_cannot_be_less_than_start_time = "结束时间不能小于开始时间";
var end_date = "结束日期";
var confirm = "确定";
var past = "过去";
var relative_time = "相对时间";
var absolute_time = "绝对时间";
var empty_search_history = "无历史查询";
var date_range_picker_history_title = "最近查询";
var search_relative_time_placeholder = "搜索相对时间";
var select_all = "全选";
var unselect_all = "取消全选";
var other = "其他";
var prev = "上一个";
var next = "下一个";
var clear = "清空";
var loading = "正在加载...";
var upgrade_to_version = "<0>{{text}}</0>升级到<1>{{version}}</1>";
var update_to_version = "<0>{{text}}</0>更新到<1>{{version}}</1>";
var failed_upgrade_to_version = "<0>{{text}}</0>升级<1>{{version}}</1>失败";
var config_updated = "<0>{{text}}</0>更新<1>{{version}}</1>";
var db_migrated = "<0>{{text}}</0>迁移到<1>{{version}}</1>";
var empty$1 = "暂无历史记录";
var view_detail = "查看详情";
var components = {
contains: contains,
custom_column: custom_column,
"in": "属于",
not: not,
not_contains: not_contains,
or: or,
previous_items: previous_items,
next_items: next_items,
push_to: push_to,
pagination_range: pagination_range,
pagination_total: pagination_total,
pagination_lots_total: pagination_lots_total,
unknow_error: unknow_error,
to: to,
time_zone_select_placeholder: time_zone_select_placeholder,
browser_time_zone: browser_time_zone,
coordinated_universal_time: coordinated_universal_time,
Architecture_AARCH64: Architecture_AARCH64,
Architecture_X86_64: Architecture_X86_64,
maximum_row_count_desc: maximum_row_count_desc,
remove: remove,
add: add,
prefix: prefix,
suffix: suffix,
as_day: as_day,
count: count,
day_execute_task: day_execute_task,
execution_time: execution_time,
as_week: as_week,
as_month: as_month,
day_date: day_date,
week_with_below_date: week_with_below_date,
month_with_below_date: month_with_below_date,
will_excute_at_last_day_with_date: will_excute_at_last_day_with_date,
date_mark: date_mark,
retain_with_count: retain_with_count,
start_date: start_date,
retain_date: retain_date,
next_generate_with_date: next_generate_with_date,
will_save_one_to_thirty_report: will_save_one_to_thirty_report,
every_day_with_time: every_day_with_time,
every_day_with_count_and_time: every_day_with_count_and_time,
every_week_with_time: every_week_with_time,
every_week_with_day_and_time: every_week_with_day_and_time,
every_weeks_with_count_and_time: every_weeks_with_count_and_time,
every_weeks_with_count_and_day_and_time: every_weeks_with_count_and_day_and_time,
every_month_with_time: every_month_with_time,
every_month_with_day_and_time: every_month_with_day_and_time,
every_months_with_count_and_time: every_months_with_count_and_time,
every_months_with_count_and_day_and_time: every_months_with_count_and_day_and_time,
generate_date_preview: generate_date_preview,
date_with_year_and_month: date_with_year_and_month,
will_generate_one_reporte_with_date_and_time: will_generate_one_reporte_with_date_and_time,
will_generate_report_will_date_and_count: will_generate_report_will_date_and_count,
selected_item_with_count: selected_item_with_count,
set_start_time_failed: set_start_time_failed,
set_end_time_failed: set_end_time_failed,
end_time_cannot_be_less_than_start_time: end_time_cannot_be_less_than_start_time,
end_date: end_date,
confirm: confirm,
"monday-simple": "一",
"tuesday-simple": "二",
"wednesday-simple": "三",
"thursday-simple": "四",
"friday-simple": "五",
"saturday-simple": "六",
"sunday-simple": "日",
past: past,
relative_time: relative_time,
absolute_time: absolute_time,
empty_search_history: empty_search_history,
date_range_picker_history_title: date_range_picker_history_title,
search_relative_time_placeholder: search_relative_time_placeholder,
select_all: select_all,
unselect_all: unselect_all,
other: other,
prev: prev,
next: next,
clear: clear,
loading: loading,
upgrade_to_version: upgrade_to_version,
update_to_version: update_to_version,
failed_upgrade_to_version: failed_upgrade_to_version,
config_updated: config_updated,
db_migrated: db_migrated,
empty: empty$1,
view_detail: view_detail
};
var current = "当前值";
var empty = "该时间范围内没有数据";
var max = "最大值";
var metric = {
current: current,
empty: empty,
max: max
};
var week_abbreviation = "<0>{count}</0> <1>周</1>";
var day_abbreviation = "<0>{count}</0> <1>天</1>";
var hour_abbreviation = "<0>{count}</0> <1>小时</1>";
var minute_abbreviation = "<0>{count}</0> <1>分钟</1>";
var second_abbreviation = "<0>{count}</0> <1>秒</1>";
var week = "<0>{count}</0> <1>周</1>";
var day = "<0>{count}</0> <1>天</1>";
var hour = "<0>{count}</0> <1>小时</1>";
var minute = "<0>{count}</0> <1>分钟</1>";
var second = "<0>{count}</0> <1>秒</1>";
var unit = {
week_abbreviation: week_abbreviation,
day_abbreviation: day_abbreviation,
hour_abbreviation: hour_abbreviation,
minute_abbreviation: minute_abbreviation,
second_abbreviation: second_abbreviation,
week: week,
day: day,
hour: hour,
minute: minute,
second: second
};
const locale = {
common,
components,
metric,
unit
};
const locales = {
"en-US": locale$1,
"zh-CN": locale
};
var __defProp = Object.defineProperty;
var __defProps = Object.defineProperties;
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __spreadValues = (a, b) => {
for (var prop in b || (b = {}))
if (__hasOwnProp.call(b, prop))
__defNormalProp(a, prop, b[prop]);
if (__getOwnPropSymbols)
for (var prop of __getOwnPropSymbols(b)) {
if (__propIsEnum.call(b, prop))
__defNormalProp(a, prop, b[prop]);
}
return a;
};
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
var ParrotLngs = /* @__PURE__ */ ((ParrotLngs2) => {
ParrotLngs2["zh"] = "zh-CN";
ParrotLngs2["en"] = "en-US";
return ParrotLngs2;
})(ParrotLngs || {});
const defaultOptions = {
lng: "zh-CN" /* zh */,
compatibilityJSON: "v3",
fallbackLng: ["zh-CN" /* zh */, "en-US" /* en */],
interpolation: {
prefix: "{",
suffix: "}",
escapeValue: false
},
resources: {
["en-US" /* en */]: locales["en-US"],
["zh-CN" /* zh */]: locales["zh-CN"]
},
nsSeparator: ".",
ns: Object.keys(locales["zh-CN"]),
react: {
useSuspense: false
}
};
const parrotI18n = i18next.createInstance(defaultOptions);
const initParrotI18n = (options, callback) => {
const finalResources = merge(defaultOptions.resources, options == null ? void 0 : options.resources) || {};
const finalNameSpaces = Object.keys(finalResources["zh-CN" /* zh */]);
if (!parrotI18n.isInitialized) {
parrotI18n.init(
__spreadProps(__spreadValues({}, merge(defaultOptions, options)), {
resources: finalResources,
ns: finalNameSpaces
}),
callback
);
}
};
exports.ParrotLngs = ParrotLngs;
exports.initParrotI18n = initParrotI18n;
exports.locales = locales;
exports.parrotI18n = parrotI18n;
}));