@voyantjs/i18n 0.33.0 → 0.35.0

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.
@@ -13,12 +13,19 @@ export declare const operatorAdminDashboardMessages: {
13
13
  activeProductsTitle: string;
14
14
  activeProductsDescription: string;
15
15
  trendVsLastMonth: string;
16
+ metricUnavailable: string;
16
17
  revenueTrendTitle: string;
17
18
  revenueTrendDescription: string;
19
+ revenueTrendEmptyTitle: string;
20
+ revenueTrendEmptyDescription: string;
21
+ revenueTrendEmptyAction: string;
18
22
  chartRevenueLabel: string;
19
23
  chartBookingsLabel: string;
20
24
  bookingStatusTitle: string;
21
25
  bookingStatusDescription: string;
26
+ bookingStatusEmptyTitle: string;
27
+ bookingStatusEmptyDescription: string;
28
+ bookingStatusEmptyAction: string;
22
29
  statusConfirmedLabel: string;
23
30
  statusCompletedLabel: string;
24
31
  statusInProgressLabel: string;
@@ -26,17 +33,38 @@ export declare const operatorAdminDashboardMessages: {
26
33
  statusCancelledLabel: string;
27
34
  monthlyBookingsTitle: string;
28
35
  monthlyBookingsDescription: string;
36
+ monthlyBookingsEmptyTitle: string;
37
+ monthlyBookingsEmptyDescription: string;
38
+ monthlyBookingsEmptyAction: string;
29
39
  upcomingDeparturesTitle: string;
30
40
  upcomingDeparturesDescription: string;
31
41
  viewAll: string;
32
42
  noUpcomingDepartures: string;
43
+ noUpcomingDeparturesDescription: string;
33
44
  noDate: string;
34
45
  paxCount: string;
35
46
  outstandingInvoicesTitle: string;
36
47
  outstandingInvoicesDescription: string;
48
+ outstandingInvoicesEmptyTitle: string;
49
+ outstandingInvoicesEmptyDescription: string;
50
+ outstandingInvoicesEmptyAction: string;
37
51
  outstandingTotalTitle: string;
38
52
  outstandingInvoicesDue: string;
39
53
  noIssueDate: string;
54
+ onboardingTitle: string;
55
+ onboardingDescription: string;
56
+ onboardingProductsTitle: string;
57
+ onboardingProductsDescription: string;
58
+ onboardingProductsAction: string;
59
+ onboardingSuppliersTitle: string;
60
+ onboardingSuppliersDescription: string;
61
+ onboardingSuppliersAction: string;
62
+ onboardingCustomersTitle: string;
63
+ onboardingCustomersDescription: string;
64
+ onboardingCustomersAction: string;
65
+ onboardingBookingsTitle: string;
66
+ onboardingBookingsDescription: string;
67
+ onboardingBookingsAction: string;
40
68
  };
41
69
  };
42
70
  ro: {
@@ -52,12 +80,19 @@ export declare const operatorAdminDashboardMessages: {
52
80
  activeProductsTitle: string;
53
81
  activeProductsDescription: string;
54
82
  trendVsLastMonth: string;
83
+ metricUnavailable: string;
55
84
  revenueTrendTitle: string;
56
85
  revenueTrendDescription: string;
86
+ revenueTrendEmptyTitle: string;
87
+ revenueTrendEmptyDescription: string;
88
+ revenueTrendEmptyAction: string;
57
89
  chartRevenueLabel: string;
58
90
  chartBookingsLabel: string;
59
91
  bookingStatusTitle: string;
60
92
  bookingStatusDescription: string;
93
+ bookingStatusEmptyTitle: string;
94
+ bookingStatusEmptyDescription: string;
95
+ bookingStatusEmptyAction: string;
61
96
  statusConfirmedLabel: string;
62
97
  statusCompletedLabel: string;
63
98
  statusInProgressLabel: string;
@@ -65,17 +100,38 @@ export declare const operatorAdminDashboardMessages: {
65
100
  statusCancelledLabel: string;
66
101
  monthlyBookingsTitle: string;
67
102
  monthlyBookingsDescription: string;
103
+ monthlyBookingsEmptyTitle: string;
104
+ monthlyBookingsEmptyDescription: string;
105
+ monthlyBookingsEmptyAction: string;
68
106
  upcomingDeparturesTitle: string;
69
107
  upcomingDeparturesDescription: string;
70
108
  viewAll: string;
71
109
  noUpcomingDepartures: string;
110
+ noUpcomingDeparturesDescription: string;
72
111
  noDate: string;
73
112
  paxCount: string;
74
113
  outstandingInvoicesTitle: string;
75
114
  outstandingInvoicesDescription: string;
115
+ outstandingInvoicesEmptyTitle: string;
116
+ outstandingInvoicesEmptyDescription: string;
117
+ outstandingInvoicesEmptyAction: string;
76
118
  outstandingTotalTitle: string;
77
119
  outstandingInvoicesDue: string;
78
120
  noIssueDate: string;
121
+ onboardingTitle: string;
122
+ onboardingDescription: string;
123
+ onboardingProductsTitle: string;
124
+ onboardingProductsDescription: string;
125
+ onboardingProductsAction: string;
126
+ onboardingSuppliersTitle: string;
127
+ onboardingSuppliersDescription: string;
128
+ onboardingSuppliersAction: string;
129
+ onboardingCustomersTitle: string;
130
+ onboardingCustomersDescription: string;
131
+ onboardingCustomersAction: string;
132
+ onboardingBookingsTitle: string;
133
+ onboardingBookingsDescription: string;
134
+ onboardingBookingsAction: string;
79
135
  };
80
136
  };
81
137
  };
@@ -1 +1 @@
1
- {"version":3,"file":"dashboard-operator.d.ts","sourceRoot":"","sources":["../../src/admin/dashboard-operator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAExD,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+E1C,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,mBAAmB,CAC9D,CAAC,OAAO,8BAA8B,CAAC,CAAC,IAAI,CAAC,CAC9C,CAAA"}
1
+ {"version":3,"file":"dashboard-operator.d.ts","sourceRoot":"","sources":["../../src/admin/dashboard-operator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAExD,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkJ1C,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,mBAAmB,CAC9D,CAAC,OAAO,8BAA8B,CAAC,CAAC,IAAI,CAAC,CAC9C,CAAA"}
@@ -12,12 +12,19 @@ export const operatorAdminDashboardMessages = {
12
12
  activeProductsTitle: "Active Products",
13
13
  activeProductsDescription: "{products} total / {suppliers} suppliers",
14
14
  trendVsLastMonth: "vs last month",
15
+ metricUnavailable: "Not enough data yet",
15
16
  revenueTrendTitle: "Revenue Trend",
16
17
  revenueTrendDescription: "Monthly booking revenue (last 6 months)",
18
+ revenueTrendEmptyTitle: "No revenue in the selected window yet.",
19
+ revenueTrendEmptyDescription: "Revenue appears here after bookings with sell amounts are created.",
20
+ revenueTrendEmptyAction: "View bookings",
17
21
  chartRevenueLabel: "Revenue",
18
22
  chartBookingsLabel: "Bookings",
19
23
  bookingStatusTitle: "Booking Status",
20
24
  bookingStatusDescription: "Distribution by current status",
25
+ bookingStatusEmptyTitle: "No bookings to break down.",
26
+ bookingStatusEmptyDescription: "Create a booking to start tracking confirmed, draft, and completed work.",
27
+ bookingStatusEmptyAction: "Create your first booking",
21
28
  statusConfirmedLabel: "Confirmed",
22
29
  statusCompletedLabel: "Completed",
23
30
  statusInProgressLabel: "In Progress",
@@ -25,17 +32,38 @@ export const operatorAdminDashboardMessages = {
25
32
  statusCancelledLabel: "Cancelled",
26
33
  monthlyBookingsTitle: "Monthly Bookings",
27
34
  monthlyBookingsDescription: "New bookings per month",
35
+ monthlyBookingsEmptyTitle: "No bookings created in the last 6 months.",
36
+ monthlyBookingsEmptyDescription: "New bookings will build this monthly trend automatically.",
37
+ monthlyBookingsEmptyAction: "Create booking",
28
38
  upcomingDeparturesTitle: "Upcoming Departures",
29
39
  upcomingDeparturesDescription: "Next 30 days",
30
40
  viewAll: "View all",
31
41
  noUpcomingDepartures: "No upcoming departures in the next 30 days",
42
+ noUpcomingDeparturesDescription: "Bookings with upcoming start dates will appear here.",
32
43
  noDate: "No date",
33
44
  paxCount: "{count} pax",
34
45
  outstandingInvoicesTitle: "Outstanding Invoices",
35
46
  outstandingInvoicesDescription: "Invoices still awaiting payment",
47
+ outstandingInvoicesEmptyTitle: "All invoices settled — nothing outstanding.",
48
+ outstandingInvoicesEmptyDescription: "Open invoices with a balance due will appear here.",
49
+ outstandingInvoicesEmptyAction: "View invoices",
36
50
  outstandingTotalTitle: "Outstanding total",
37
51
  outstandingInvoicesDue: "{count} invoices currently due",
38
52
  noIssueDate: "No issue date",
53
+ onboardingTitle: "Welcome to Voyant.",
54
+ onboardingDescription: "Get started by setting up the operational records your team uses every day.",
55
+ onboardingProductsTitle: "Create your first product",
56
+ onboardingProductsDescription: "Add the hotels, cruises, activities, or tours you sell.",
57
+ onboardingProductsAction: "Add product",
58
+ onboardingSuppliersTitle: "Add a supplier",
59
+ onboardingSuppliersDescription: "Track the partners that operate your products and services.",
60
+ onboardingSuppliersAction: "Add supplier",
61
+ onboardingCustomersTitle: "Import customers",
62
+ onboardingCustomersDescription: "Create people and organizations before building bookings.",
63
+ onboardingCustomersAction: "Open CRM",
64
+ onboardingBookingsTitle: "Create a booking",
65
+ onboardingBookingsDescription: "Start the booking workflow once your catalog and customers are ready.",
66
+ onboardingBookingsAction: "Create booking",
39
67
  },
40
68
  },
41
69
  ro: {
@@ -51,12 +79,19 @@ export const operatorAdminDashboardMessages = {
51
79
  activeProductsTitle: "Produse active",
52
80
  activeProductsDescription: "{products} total / {suppliers} furnizori",
53
81
  trendVsLastMonth: "vs luna trecuta",
82
+ metricUnavailable: "Nu exista suficiente date inca",
54
83
  revenueTrendTitle: "Evolutia veniturilor",
55
84
  revenueTrendDescription: "Venit lunar din rezervari (ultimele 6 luni)",
85
+ revenueTrendEmptyTitle: "Nu exista venituri in intervalul selectat.",
86
+ revenueTrendEmptyDescription: "Veniturile apar aici dupa ce sunt create rezervari cu valori de vanzare.",
87
+ revenueTrendEmptyAction: "Vezi rezervarile",
56
88
  chartRevenueLabel: "Venit",
57
89
  chartBookingsLabel: "Rezervari",
58
90
  bookingStatusTitle: "Status rezervari",
59
91
  bookingStatusDescription: "Distributie dupa statusul curent",
92
+ bookingStatusEmptyTitle: "Nu exista rezervari de analizat.",
93
+ bookingStatusEmptyDescription: "Creeaza o rezervare pentru a urmari statusurile confirmate, ciornele si finalizate.",
94
+ bookingStatusEmptyAction: "Creeaza prima rezervare",
60
95
  statusConfirmedLabel: "Confirmata",
61
96
  statusCompletedLabel: "Finalizata",
62
97
  statusInProgressLabel: "In desfasurare",
@@ -64,17 +99,38 @@ export const operatorAdminDashboardMessages = {
64
99
  statusCancelledLabel: "Anulata",
65
100
  monthlyBookingsTitle: "Rezervari lunare",
66
101
  monthlyBookingsDescription: "Rezervari noi pe luna",
102
+ monthlyBookingsEmptyTitle: "Nu exista rezervari create in ultimele 6 luni.",
103
+ monthlyBookingsEmptyDescription: "Rezervarile noi vor construi automat aceasta evolutie lunara.",
104
+ monthlyBookingsEmptyAction: "Creeaza rezervare",
67
105
  upcomingDeparturesTitle: "Plecarile urmatoare",
68
106
  upcomingDeparturesDescription: "Urmatoarele 30 de zile",
69
107
  viewAll: "Vezi tot",
70
108
  noUpcomingDepartures: "Nu exista plecari in urmatoarele 30 de zile",
109
+ noUpcomingDeparturesDescription: "Rezervarile cu date de inceput apropiate vor aparea aici.",
71
110
  noDate: "Fara data",
72
111
  paxCount: "{count} pax",
73
112
  outstandingInvoicesTitle: "Facturi restante",
74
113
  outstandingInvoicesDescription: "Facturi care asteapta inca plata",
114
+ outstandingInvoicesEmptyTitle: "Toate facturile sunt achitate — nimic restant.",
115
+ outstandingInvoicesEmptyDescription: "Facturile deschise cu sold restant vor aparea aici.",
116
+ outstandingInvoicesEmptyAction: "Vezi facturile",
75
117
  outstandingTotalTitle: "Total restant",
76
118
  outstandingInvoicesDue: "{count} facturi scadente",
77
119
  noIssueDate: "Fara data emiterii",
120
+ onboardingTitle: "Bun venit in Voyant.",
121
+ onboardingDescription: "Incepe prin configurarea inregistrarilor operationale folosite zilnic de echipa.",
122
+ onboardingProductsTitle: "Creeaza primul produs",
123
+ onboardingProductsDescription: "Adauga hotelurile, croazierele, activitatile sau tururile pe care le vinzi.",
124
+ onboardingProductsAction: "Adauga produs",
125
+ onboardingSuppliersTitle: "Adauga un furnizor",
126
+ onboardingSuppliersDescription: "Urmareste partenerii care opereaza produsele si serviciile tale.",
127
+ onboardingSuppliersAction: "Adauga furnizor",
128
+ onboardingCustomersTitle: "Importa clienti",
129
+ onboardingCustomersDescription: "Creeaza persoane si organizatii inainte de rezervari.",
130
+ onboardingCustomersAction: "Deschide CRM",
131
+ onboardingBookingsTitle: "Creeaza o rezervare",
132
+ onboardingBookingsDescription: "Porneste fluxul de rezervare dupa ce catalogul si clientii sunt pregatiti.",
133
+ onboardingBookingsAction: "Creeaza rezervare",
78
134
  },
79
135
  },
80
136
  };
@@ -130,9 +130,9 @@ export declare const adminFinanceMessages: {
130
130
  readonly descriptionLabel: "Description";
131
131
  readonly descriptionPlaceholder: "Service description...";
132
132
  readonly quantityLabel: "Quantity";
133
- readonly unitPriceLabel: "Unit Price (cents)";
134
- readonly totalLabel: "Total (cents)";
135
- readonly taxRateLabel: "Tax Rate (cents, e.g. 2000 = 20%)";
133
+ readonly unitPriceLabel: "Unit price";
134
+ readonly totalLabel: "Total";
135
+ readonly taxRateLabel: "Tax rate";
136
136
  readonly taxRatePlaceholder: "0";
137
137
  readonly sortOrderLabel: "Sort Order";
138
138
  readonly cancel: "Cancel";
@@ -147,7 +147,7 @@ export declare const adminFinanceMessages: {
147
147
  readonly numberLabel: "Credit Note Number";
148
148
  readonly numberPlaceholder: "CN-2025-1234";
149
149
  readonly currencyLabel: "Currency";
150
- readonly amountLabel: "Amount (cents)";
150
+ readonly amountLabel: "Amount";
151
151
  readonly reasonLabel: "Reason";
152
152
  readonly reasonPlaceholder: "Reason for credit note...";
153
153
  readonly notesLabel: "Notes";
@@ -159,7 +159,7 @@ export declare const adminFinanceMessages: {
159
159
  readonly title: "Record Payment";
160
160
  readonly validationAmountMin: "Amount must be at least 1";
161
161
  readonly validationPaymentDateRequired: "Payment date is required";
162
- readonly amountLabel: "Amount (cents)";
162
+ readonly amountLabel: "Amount";
163
163
  readonly currencyLabel: "Currency";
164
164
  readonly paymentMethodLabel: "Payment Method";
165
165
  readonly statusLabel: "Status";
@@ -347,9 +347,9 @@ export declare const adminFinanceMessages: {
347
347
  readonly descriptionLabel: "Descriere";
348
348
  readonly descriptionPlaceholder: "Descriere serviciu...";
349
349
  readonly quantityLabel: "Cantitate";
350
- readonly unitPriceLabel: "Pret unitar (centi)";
351
- readonly totalLabel: "Total (centi)";
352
- readonly taxRateLabel: "Cota taxa (centi, ex. 2000 = 20%)";
350
+ readonly unitPriceLabel: "Pret unitar";
351
+ readonly totalLabel: "Total";
352
+ readonly taxRateLabel: "Cota taxa";
353
353
  readonly taxRatePlaceholder: "0";
354
354
  readonly sortOrderLabel: "Ordine de sortare";
355
355
  readonly cancel: "Anuleaza";
@@ -364,7 +364,7 @@ export declare const adminFinanceMessages: {
364
364
  readonly numberLabel: "Numar nota de credit";
365
365
  readonly numberPlaceholder: "CN-2025-1234";
366
366
  readonly currencyLabel: "Moneda";
367
- readonly amountLabel: "Suma (centi)";
367
+ readonly amountLabel: "Suma";
368
368
  readonly reasonLabel: "Motiv";
369
369
  readonly reasonPlaceholder: "Motivul notei de credit...";
370
370
  readonly notesLabel: "Note";
@@ -376,7 +376,7 @@ export declare const adminFinanceMessages: {
376
376
  readonly title: "Inregistreaza plata";
377
377
  readonly validationAmountMin: "Suma trebuie sa fie cel putin 1";
378
378
  readonly validationPaymentDateRequired: "Data platii este obligatorie";
379
- readonly amountLabel: "Suma (centi)";
379
+ readonly amountLabel: "Suma";
380
380
  readonly currencyLabel: "Moneda";
381
381
  readonly paymentMethodLabel: "Metoda de plata";
382
382
  readonly statusLabel: "Status";
@@ -129,9 +129,9 @@ export const adminFinanceMessages = {
129
129
  descriptionLabel: "Description",
130
130
  descriptionPlaceholder: "Service description...",
131
131
  quantityLabel: "Quantity",
132
- unitPriceLabel: "Unit Price (cents)",
133
- totalLabel: "Total (cents)",
134
- taxRateLabel: "Tax Rate (cents, e.g. 2000 = 20%)",
132
+ unitPriceLabel: "Unit price",
133
+ totalLabel: "Total",
134
+ taxRateLabel: "Tax rate",
135
135
  taxRatePlaceholder: "0",
136
136
  sortOrderLabel: "Sort Order",
137
137
  cancel: "Cancel",
@@ -146,7 +146,7 @@ export const adminFinanceMessages = {
146
146
  numberLabel: "Credit Note Number",
147
147
  numberPlaceholder: "CN-2025-1234",
148
148
  currencyLabel: "Currency",
149
- amountLabel: "Amount (cents)",
149
+ amountLabel: "Amount",
150
150
  reasonLabel: "Reason",
151
151
  reasonPlaceholder: "Reason for credit note...",
152
152
  notesLabel: "Notes",
@@ -160,7 +160,7 @@ export const adminFinanceMessages = {
160
160
  title: "Record Payment",
161
161
  validationAmountMin: "Amount must be at least 1",
162
162
  validationPaymentDateRequired: "Payment date is required",
163
- amountLabel: "Amount (cents)",
163
+ amountLabel: "Amount",
164
164
  currencyLabel: "Currency",
165
165
  paymentMethodLabel: "Payment Method",
166
166
  statusLabel: "Status",
@@ -350,9 +350,9 @@ export const adminFinanceMessages = {
350
350
  descriptionLabel: "Descriere",
351
351
  descriptionPlaceholder: "Descriere serviciu...",
352
352
  quantityLabel: "Cantitate",
353
- unitPriceLabel: "Pret unitar (centi)",
354
- totalLabel: "Total (centi)",
355
- taxRateLabel: "Cota taxa (centi, ex. 2000 = 20%)",
353
+ unitPriceLabel: "Pret unitar",
354
+ totalLabel: "Total",
355
+ taxRateLabel: "Cota taxa",
356
356
  taxRatePlaceholder: "0",
357
357
  sortOrderLabel: "Ordine de sortare",
358
358
  cancel: "Anuleaza",
@@ -367,7 +367,7 @@ export const adminFinanceMessages = {
367
367
  numberLabel: "Numar nota de credit",
368
368
  numberPlaceholder: "CN-2025-1234",
369
369
  currencyLabel: "Moneda",
370
- amountLabel: "Suma (centi)",
370
+ amountLabel: "Suma",
371
371
  reasonLabel: "Motiv",
372
372
  reasonPlaceholder: "Motivul notei de credit...",
373
373
  notesLabel: "Note",
@@ -379,7 +379,7 @@ export const adminFinanceMessages = {
379
379
  title: "Inregistreaza plata",
380
380
  validationAmountMin: "Suma trebuie sa fie cel putin 1",
381
381
  validationPaymentDateRequired: "Data platii este obligatorie",
382
- amountLabel: "Suma (centi)",
382
+ amountLabel: "Suma",
383
383
  currencyLabel: "Moneda",
384
384
  paymentMethodLabel: "Metoda de plata",
385
385
  statusLabel: "Status",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/i18n",
3
- "version": "0.33.0",
3
+ "version": "0.35.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {