@object-ui/i18n 4.0.11 → 4.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -966,5 +966,89 @@ const ru = {
966
966
  settings: 'Settings',
967
967
  logout: 'Log out',
968
968
  },
969
+ report: {
970
+ rowTotal: 'Row Total',
971
+ columnTotal: 'Column Total',
972
+ grandTotal: 'Grand Total',
973
+ totals: 'Totals',
974
+ rowsLabel: 'Row',
975
+ columnsLabel: 'Column',
976
+ allLabel: '(All)',
977
+ emptyLabel: '(Empty)',
978
+ loading: 'Loading…',
979
+ failedToLoad: 'Failed to load matrix: {{message}}',
980
+ needsAcross: 'Matrix report requires at least one `groupingsAcross` field.',
981
+ aggregate: {
982
+ count: 'Count',
983
+ countDistinct: 'Distinct Count',
984
+ sum: 'Sum',
985
+ avg: 'Average',
986
+ min: 'Min',
987
+ max: 'Max',
988
+ first: 'First',
989
+ },
990
+ editor: {
991
+ breadcrumb: 'Configuration',
992
+ basic: 'Basic',
993
+ title: 'Title',
994
+ titlePlaceholder: 'e.g. Pipeline by Quarter',
995
+ description: 'Description',
996
+ descriptionPlaceholder: 'What does this report show?',
997
+ type: 'Report type',
998
+ typeTabular: 'Tabular — flat list',
999
+ typeSummary: 'Summary — grouped with totals',
1000
+ typeMatrix: 'Matrix — pivot rows × columns',
1001
+ typeJoined: 'Joined — multiple blocks',
1002
+ typeHelp: 'Pick the layout that matches what you want to see.',
1003
+ data: 'Data',
1004
+ objectName: 'Data source',
1005
+ objectNamePlaceholder: 'e.g. opportunity',
1006
+ objectNameHelp: 'Which object should this report query?',
1007
+ limit: 'Row limit',
1008
+ limitPlaceholder: 'e.g. 100',
1009
+ columns: 'Columns',
1010
+ columnsHint: 'Pick which fields appear as columns. Add an aggregate (Sum, Count…) on Summary or Matrix reports.',
1011
+ filters: 'Filters',
1012
+ filtersHint: 'Limit the rows that go into this report.',
1013
+ filtersComplex: 'This report uses an advanced filter that cannot be edited here. Save will keep it unchanged.',
1014
+ groupBy: 'Group by',
1015
+ groupByHint: 'Group the data and compute subtotals.',
1016
+ rows: 'Rows',
1017
+ rowsHint: 'Group rows by these fields.',
1018
+ columnsAxis: 'Columns',
1019
+ columnsAxisHint: 'Pivot these fields across the top.',
1020
+ grouping: 'Grouping',
1021
+ addGrouping: 'Add grouping',
1022
+ dateGranularity: 'Date bucket',
1023
+ dateGranularityNone: '(use raw value)',
1024
+ day: 'Day',
1025
+ week: 'Week',
1026
+ month: 'Month',
1027
+ quarter: 'Quarter',
1028
+ year: 'Year',
1029
+ sortAsc: 'Ascending',
1030
+ sortDesc: 'Descending',
1031
+ chart: 'Chart',
1032
+ chartHint: 'Optional visualization rendered alongside the table.',
1033
+ chartType: 'Chart type',
1034
+ chartTitle: 'Chart title',
1035
+ chartTitlePlaceholder: 'Defaults to the report title',
1036
+ chartXAxis: 'X-axis (category)',
1037
+ chartYAxis: 'Y-axis (value)',
1038
+ chartShowLegend: 'Show legend',
1039
+ chartShowDataLabels: 'Show data labels',
1040
+ chartNone: '(no chart)',
1041
+ chartBar: 'Bar',
1042
+ chartLine: 'Line',
1043
+ chartArea: 'Area',
1044
+ chartPie: 'Pie',
1045
+ chartDonut: 'Donut',
1046
+ chartFunnel: 'Funnel',
1047
+ validationNeedsObject: 'Pick a data source before adding columns.',
1048
+ validationMatrixNeedsRowsCols: 'Matrix reports need at least one Row and one Column.',
1049
+ validationSummaryNeedsRows: 'Summary reports need at least one grouping field.',
1050
+ noneOption: '(none)',
1051
+ },
1052
+ },
969
1053
  };
970
1054
  export default ru;
@@ -374,6 +374,28 @@ declare const zh: {
374
374
  readonly noData: "暂无图表数据";
375
375
  readonly loading: "图表加载中...";
376
376
  };
377
+ readonly report: {
378
+ readonly rowTotal: "行合计";
379
+ readonly columnTotal: "列合计";
380
+ readonly grandTotal: "总计";
381
+ readonly totals: "汇总";
382
+ readonly rowsLabel: "行";
383
+ readonly columnsLabel: "列";
384
+ readonly allLabel: "(全部)";
385
+ readonly emptyLabel: "(空)";
386
+ readonly loading: "加载中…";
387
+ readonly failedToLoad: "矩阵报表加载失败:{{message}}";
388
+ readonly needsAcross: "矩阵报表至少需要一个 `groupingsAcross` 字段。";
389
+ readonly aggregate: {
390
+ readonly count: "计数";
391
+ readonly countDistinct: "去重计数";
392
+ readonly sum: "求和";
393
+ readonly avg: "平均";
394
+ readonly min: "最小值";
395
+ readonly max: "最大值";
396
+ readonly first: "首个";
397
+ };
398
+ };
377
399
  readonly map: {
378
400
  readonly searchLocations: "搜索位置…";
379
401
  readonly locationDetails: "位置详情";
@@ -384,6 +384,28 @@ const zh = {
384
384
  noData: '暂无图表数据',
385
385
  loading: '图表加载中...',
386
386
  },
387
+ report: {
388
+ rowTotal: '行合计',
389
+ columnTotal: '列合计',
390
+ grandTotal: '总计',
391
+ totals: '汇总',
392
+ rowsLabel: '行',
393
+ columnsLabel: '列',
394
+ allLabel: '(全部)',
395
+ emptyLabel: '(空)',
396
+ loading: '加载中…',
397
+ failedToLoad: '矩阵报表加载失败:{{message}}',
398
+ needsAcross: '矩阵报表至少需要一个 `groupingsAcross` 字段。',
399
+ aggregate: {
400
+ count: '计数',
401
+ countDistinct: '去重计数',
402
+ sum: '求和',
403
+ avg: '平均',
404
+ min: '最小值',
405
+ max: '最大值',
406
+ first: '首个',
407
+ },
408
+ },
387
409
  map: {
388
410
  searchLocations: '搜索位置…',
389
411
  locationDetails: '位置详情',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@object-ui/i18n",
3
- "version": "4.0.11",
3
+ "version": "4.2.1",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",
@@ -30,7 +30,7 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "i18next": "^26.1.0",
33
+ "i18next": "^26.2.0",
34
34
  "react-i18next": "^17.0.7"
35
35
  },
36
36
  "peerDependencies": {