pcm-shared-components 2.1.500 → 2.1.502

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.
@@ -32,8 +32,20 @@ export const DateRangeCalendar = props => {
32
32
  variant,
33
33
  vertical,
34
34
  zIndex,
35
- i18next
35
+ i18next,
36
+ startDateLabel,
37
+ endDateLabel
36
38
  } = props;
39
+
40
+ // Optional overrides for the label/placeholder/aria text shown above and
41
+ // inside each input - e.g. "Valid from"/"Valid until" for a redemption
42
+ // window vs "Earliest check-in"/"Latest check-out" for a stay window,
43
+ // instead of the default Arrival/Departure Date wording below. Falls back
44
+ // to the original i18next-translated defaults when not provided, so every
45
+ // existing consumer (reservation booking flows, Private Booking Links,
46
+ // etc.) keeps its current text unchanged.
47
+ const resolvedStartLabel = startDateLabel || i18next.t('common.app.arrival_date');
48
+ const resolvedEndLabel = endDateLabel || i18next.t('common.app.departure_date');
37
49
  const handleOnDayRender = date => {
38
50
  return /*#__PURE__*/React.createElement(React.Fragment, null, onDayRender ? /*#__PURE__*/React.createElement(React.Fragment, null, onDayRender(date)) : /*#__PURE__*/React.createElement("span", {
39
51
  className: ""
@@ -78,16 +90,16 @@ export const DateRangeCalendar = props => {
78
90
  })
79
91
  }, /*#__PURE__*/React.createElement(DateRangeInput, {
80
92
  phrases: {
81
- datepickerStartDateLabel: i18next.t('common.app.arrival_date'),
82
- datepickerEndDateLabel: i18next.t('common.app.departure_date'),
93
+ datepickerStartDateLabel: resolvedStartLabel,
94
+ datepickerEndDateLabel: resolvedEndLabel,
83
95
  resetDates: i18next.t('common.app.reset'),
84
96
  close: i18next.t('common.app.close'),
85
- datepickerStartDatePlaceholder: i18next.t('common.app.arrival_date'),
86
- datepickerEndDatePlaceholder: i18next.t('common.app.departure_date'),
87
- startDateAriaLabel: i18next.t('common.app.arrival_date'),
88
- endDateAriaLabel: i18next.t('common.app.departure_date'),
89
- startDatePlaceholder: i18next.t('common.app.arrival_date'),
90
- endDatePlaceholder: i18next.t('common.app.departure_date')
97
+ datepickerStartDatePlaceholder: resolvedStartLabel,
98
+ datepickerEndDatePlaceholder: resolvedEndLabel,
99
+ startDateAriaLabel: resolvedStartLabel,
100
+ endDateAriaLabel: resolvedEndLabel,
101
+ startDatePlaceholder: resolvedStartLabel,
102
+ endDatePlaceholder: resolvedEndLabel
91
103
  },
92
104
  showSelectedDates: false,
93
105
  showClose: false,
@@ -124,7 +136,9 @@ DateRangeCalendar.defaultProps = {
124
136
  variant: 'standard',
125
137
  vertical: false,
126
138
  zIndex: 1000,
127
- i18next: undefined
139
+ i18next: undefined,
140
+ startDateLabel: undefined,
141
+ endDateLabel: undefined
128
142
  };
129
143
  DateRangeCalendar.propTypes = {
130
144
  /** Used to provide the minimum booking date. To allow date selection past todays date simply pas it an old past date example 'new Date('1999-10-02')' */
@@ -156,5 +170,9 @@ DateRangeCalendar.propTypes = {
156
170
  /** Controls the z-index of the calendar dropdown date selection */
157
171
  zIndex: PropTypes.number,
158
172
  /** i18next localization to use for the component. Don't use the library localization or else it won't load properly on the consuming application */
159
- i18next: PropTypes.any
173
+ i18next: PropTypes.any,
174
+ /** Optional override for the start date's label/placeholder/aria text. Defaults to the "Arrival Date" translation when not provided. */
175
+ startDateLabel: PropTypes.string,
176
+ /** Optional override for the end date's label/placeholder/aria text. Defaults to the "Departure Date" translation when not provided. */
177
+ endDateLabel: PropTypes.string
160
178
  };
@@ -1740,6 +1740,11 @@
1740
1740
  "search_documentation_open": "Open",
1741
1741
  "search_documentation_esc_key": "Esc",
1742
1742
  "search_documentation_browse_all": "Browse all documentation",
1743
+ "search_documentation_results_count_one": "{{count}} result for \"{{query}}\"",
1744
+ "search_documentation_results_count_other": "{{count}} results for \"{{query}}\"",
1745
+ "search_documentation_sort_label": "Sort by",
1746
+ "search_documentation_sort_relevance": "Most relevant",
1747
+ "search_documentation_sort_alphabetical": "Alphabetical",
1743
1748
  "search_category_reservations": "Reservations",
1744
1749
  "search_category_clients": "Clients",
1745
1750
  "search_category_pos": "POS",
@@ -1939,7 +1944,8 @@
1939
1944
  },
1940
1945
  "coupon": {
1941
1946
  "admin": {
1942
- "activate_hint": "Activate — makes this coupon available to assign and apply",
1947
+ "dialog_subtitle": "Set the discount and when customers can use it.",
1948
+ "activate_hint": "Activate: makes this coupon available to assign and apply",
1943
1949
  "active": "Active",
1944
1950
  "col": {
1945
1951
  "code": "Code",
@@ -1947,10 +1953,11 @@
1947
1953
  "lots": "Assigned lots",
1948
1954
  "min": "Min value",
1949
1955
  "status": "Status",
1956
+ "stay_dates": "Stay dates",
1950
1957
  "usage": "Usage",
1951
1958
  "window": "Window"
1952
1959
  },
1953
- "deactivate_hint": "Deactivate — hides this coupon from all pickers",
1960
+ "deactivate_hint": "Deactivate: hides this coupon from all pickers",
1954
1961
  "delete_confirm": "Delete coupon \"{{code}}\"? Reservations that already used it are unaffected.",
1955
1962
  "delete_title": "Delete coupon",
1956
1963
  "edit_title": "Edit coupon",
@@ -1962,7 +1969,8 @@
1962
1969
  "end_before_start": "End date must be on or after start date.",
1963
1970
  "percent_over_100": "Percentage cannot exceed 100%.",
1964
1971
  "save_failed": "Save failed.",
1965
- "usage_negative": "Usage limit cannot be negative."
1972
+ "usage_negative": "Usage limit cannot be negative.",
1973
+ "invalid_color": "Enter a valid hex color (e.g. #4caf50)."
1966
1974
  },
1967
1975
  "field": {
1968
1976
  "active": "Active",
@@ -1970,22 +1978,38 @@
1970
1978
  "assigned_lots_help": "Only these lots can accept this coupon",
1971
1979
  "code": "Code",
1972
1980
  "code_help": "Customers will enter this code to get the discount.",
1981
+ "code_hint": "Customers enter this code at checkout.",
1973
1982
  "code_placeholder": "e.g. SUMMER25",
1983
+ "color": "Coupon color",
1984
+ "color_hint": "Tints this coupon in the grid and for guests.",
1985
+ "color_pick_hint": "Click to choose a color",
1986
+ "discount_type": "Discount type",
1974
1987
  "end_date": "End date",
1988
+ "limit_stay_dates": "Limit to specific stay dates",
1975
1989
  "min_value": "Minimum reservation value",
1990
+ "min_value_hint": "0 means no minimum.",
1991
+ "redeem_from": "Valid from",
1992
+ "redeem_until": "Valid until",
1993
+ "redemption_timezone_hint": "Uses the campground time zone.",
1994
+ "season": "Season",
1995
+ "season_placeholder": "Select a season",
1976
1996
  "start_date": "Start date",
1997
+ "stay_check_in": "Earliest check-in",
1998
+ "stay_check_out": "Latest check-out",
1977
1999
  "stay_from": "Usable for reservations from",
1978
2000
  "stay_until": "Usable for reservations until",
2001
+ "total_redemption_limit": "Total redemption limit",
1979
2002
  "type": "Type",
1980
2003
  "type_dollar": "Fixed ($)",
1981
2004
  "type_percent": "Percent (%)",
1982
2005
  "unlimited": "Unlimited",
1983
2006
  "usage_limit": "Usage limit (blank = ∞)",
2007
+ "usage_limit_hint": "Leave blank for unlimited uses.",
1984
2008
  "usage_limit_total": "Usage limit (total uses)",
1985
2009
  "valid_from": "Valid from (application)",
1986
2010
  "valid_until": "Valid until (application)",
1987
2011
  "value": "Value",
1988
- "window_hint": "Window when customers can APPLY this code — not the reservation dates. Leave blank for no window."
2012
+ "window_hint": "Window when customers can APPLY this code: not the reservation dates. Leave blank for no window."
1989
2013
  },
1990
2014
  "inactive": "Inactive",
1991
2015
  "new": "New coupon",
@@ -1993,16 +2017,45 @@
1993
2017
  "save": "Save coupon",
1994
2018
  "section": {
1995
2019
  "details": "Coupon details",
2020
+ "details_hint": "Set the code, discount and color for this coupon.",
2021
+ "optional_chip": "Optional",
2022
+ "redemption_dates": "Redemption dates",
2023
+ "redemption_dates_hint": "When customers can apply this coupon.",
1996
2024
  "restrictions": "Additional restrictions",
1997
2025
  "stay": "Reservation stay dates",
2026
+ "stay_dates": "Stay dates",
2027
+ "stay_dates_hint": "Check-in and check-out must both fall within this window.",
1998
2028
  "stay_optional": "(optional)",
2029
+ "usage_restrictions": "Usage restrictions",
2030
+ "usage_restrictions_hint": "Set optional limits on how this coupon can be used.",
1999
2031
  "validity": "Validity period",
2000
2032
  "validity_hint": "(when customers can apply this coupon)"
2001
2033
  },
2034
+ "stay_dates_any": "Any stay dates",
2002
2035
  "stay_help": "Limit this coupon to specific reservation stay dates. Leave empty to allow any reservation date. Both check-in and check-out must fall inside this window.",
2003
2036
  "title": "Coupons",
2004
2037
  "validity_callout": "These dates control when the coupon can be used, not the reservation dates.",
2005
- "window_any": "No window"
2038
+ "window_any": "No window",
2039
+ "subtitle": "Create discount codes guests can apply at checkout.",
2040
+ "empty_body": "Get started by creating your first coupon code.",
2041
+ "kpi": {
2042
+ "total": "Total coupons",
2043
+ "total_description": "Coupons created",
2044
+ "active": "Active",
2045
+ "active_description": "Available to apply",
2046
+ "redemptions": "Redemptions",
2047
+ "redemptions_description": "Times used",
2048
+ "expiring_soon": "Expiring soon",
2049
+ "expiring_soon_description": "Active coupons ending within {{count}} days"
2050
+ },
2051
+ "summary": {
2052
+ "headline": "{{discount}} off reservations",
2053
+ "redeem_range": "Redeem {{start}}–{{end}}",
2054
+ "stay_range": "Stays {{start}}–{{end}}",
2055
+ "uses_unlimited": "Unlimited uses",
2056
+ "uses_limited": "{{count}} uses"
2057
+ },
2058
+ "search_placeholder": "Search by code, discount, or lot"
2006
2059
  }
2007
2060
  },
2008
2061
  "credits": {
@@ -2967,6 +3020,8 @@
2967
3020
  "pricing": {
2968
3021
  "coupons_add": "Add these coupons",
2969
3022
  "coupons_apply_bulk": "Apply to {{count}} lot(s)",
3023
+ "coupons_bulk_set": "Set these coupons",
3024
+ "coupons_bulk_set_helper": "Replaces the coupons currently assigned to each selected lot with this list.",
2970
3025
  "coupons_bulk_title": "Coupons (bulk)",
2971
3026
  "coupons_edit": "Edit coupons",
2972
3027
  "coupons_edit_hint": "Create or edit coupons in a new tab",
@@ -5850,4 +5905,4 @@
5850
5905
  "version_heading": "Version {{version}}",
5851
5906
  "view_full_release_notes": "View full release notes"
5852
5907
  }
5853
- }
5908
+ }
@@ -1740,6 +1740,11 @@
1740
1740
  "search_documentation_open": "Abrir",
1741
1741
  "search_documentation_esc_key": "Esc",
1742
1742
  "search_documentation_browse_all": "Ver toda la documentación",
1743
+ "search_documentation_results_count_one": "{{count}} resultado para \"{{query}}\"",
1744
+ "search_documentation_results_count_other": "{{count}} resultados para \"{{query}}\"",
1745
+ "search_documentation_sort_label": "Ordenar por",
1746
+ "search_documentation_sort_relevance": "Más relevante",
1747
+ "search_documentation_sort_alphabetical": "Alfabético",
1743
1748
  "search_category_reservations": "Reservaciones",
1744
1749
  "search_category_clients": "Clientes",
1745
1750
  "search_category_pos": "POS",
@@ -1939,6 +1944,7 @@
1939
1944
  },
1940
1945
  "coupon": {
1941
1946
  "admin": {
1947
+ "dialog_subtitle": "Establezca el descuento y cuándo los clientes pueden usarlo.",
1942
1948
  "activate_hint": "Activar: hace este cupón disponible para asignar y aplicar",
1943
1949
  "active": "Active",
1944
1950
  "col": {
@@ -1947,6 +1953,7 @@
1947
1953
  "lots": "Assigned lots",
1948
1954
  "min": "Min value",
1949
1955
  "status": "Status",
1956
+ "stay_dates": "Stay dates",
1950
1957
  "usage": "Usage",
1951
1958
  "window": "Window"
1952
1959
  },
@@ -1962,7 +1969,8 @@
1962
1969
  "end_before_start": "End date must be on or after start date.",
1963
1970
  "percent_over_100": "Percentage cannot exceed 100%.",
1964
1971
  "save_failed": "Save failed.",
1965
- "usage_negative": "Usage limit cannot be negative."
1972
+ "usage_negative": "Usage limit cannot be negative.",
1973
+ "invalid_color": "Ingrese un color hexadecimal válido (p. ej. #4caf50)."
1966
1974
  },
1967
1975
  "field": {
1968
1976
  "active": "Active",
@@ -1970,22 +1978,38 @@
1970
1978
  "assigned_lots_help": "Only these lots can accept this coupon",
1971
1979
  "code": "Code",
1972
1980
  "code_help": "Customers will enter this code to get the discount.",
1981
+ "code_hint": "Los clientes ingresan este código en el pago.",
1973
1982
  "code_placeholder": "e.g. SUMMER25",
1983
+ "color": "Color del cupón",
1984
+ "color_hint": "Tiña este cupón en la cuadrícula y para los huéspedes.",
1985
+ "color_pick_hint": "Haz clic para elegir un color",
1986
+ "discount_type": "Tipo de descuento",
1974
1987
  "end_date": "End date",
1988
+ "limit_stay_dates": "Limitar a fechas de estadía específicas",
1975
1989
  "min_value": "Minimum reservation value",
1990
+ "min_value_hint": "0 significa sin mínimo.",
1991
+ "redeem_from": "Válido desde",
1992
+ "redeem_until": "Válido hasta",
1993
+ "redemption_timezone_hint": "Utiliza la zona horaria del camping.",
1994
+ "season": "Temporada",
1995
+ "season_placeholder": "Seleccionar una temporada",
1976
1996
  "start_date": "Start date",
1997
+ "stay_check_in": "Check-in más temprano",
1998
+ "stay_check_out": "Check-out más tarde",
1977
1999
  "stay_from": "Usable for reservations from",
1978
2000
  "stay_until": "Usable for reservations until",
2001
+ "total_redemption_limit": "Límite total de canjes",
1979
2002
  "type": "Type",
1980
2003
  "type_dollar": "Fixed ($)",
1981
2004
  "type_percent": "Percent (%)",
1982
2005
  "unlimited": "Unlimited",
1983
2006
  "usage_limit": "Usage limit (blank = ∞)",
2007
+ "usage_limit_hint": "Dejar en blanco para uso ilimitado.",
1984
2008
  "usage_limit_total": "Usage limit (total uses)",
1985
2009
  "valid_from": "Valid from (application)",
1986
2010
  "valid_until": "Valid until (application)",
1987
2011
  "value": "Value",
1988
- "window_hint": "Window when customers can APPLY this code — not the reservation dates. Leave blank for no window."
2012
+ "window_hint": "Window when customers can APPLY this code: not the reservation dates. Leave blank for no window."
1989
2013
  },
1990
2014
  "inactive": "Inactive",
1991
2015
  "new": "New coupon",
@@ -1993,16 +2017,45 @@
1993
2017
  "save": "Save coupon",
1994
2018
  "section": {
1995
2019
  "details": "Coupon details",
2020
+ "details_hint": "Configure el código, el descuento y el color de este cupón.",
2021
+ "optional_chip": "Opcional",
2022
+ "redemption_dates": "Fechas de canje",
2023
+ "redemption_dates_hint": "Cuándo los clientes pueden usar este cupón.",
1996
2024
  "restrictions": "Additional restrictions",
1997
2025
  "stay": "Reservation stay dates",
2026
+ "stay_dates": "Fechas de estadía",
2027
+ "stay_dates_hint": "El check-in y check-out deben estar dentro de este rango.",
1998
2028
  "stay_optional": "(optional)",
2029
+ "usage_restrictions": "Restricciones de uso",
2030
+ "usage_restrictions_hint": "Configure límites opcionales sobre cómo se puede usar este cupón.",
1999
2031
  "validity": "Validity period",
2000
2032
  "validity_hint": "(when customers can apply this coupon)"
2001
2033
  },
2034
+ "stay_dates_any": "Any stay dates",
2002
2035
  "stay_help": "Limit this coupon to specific reservation stay dates. Leave empty to allow any reservation date. Both check-in and check-out must fall inside this window.",
2003
2036
  "title": "Coupons",
2004
2037
  "validity_callout": "These dates control when the coupon can be used, not the reservation dates.",
2005
- "window_any": "No window"
2038
+ "window_any": "No window",
2039
+ "subtitle": "Crear códigos de descuento que los huéspedes pueden aplicar en el pago.",
2040
+ "empty_body": "Comience creando su primer código de cupón.",
2041
+ "kpi": {
2042
+ "total": "Total de cupones",
2043
+ "total_description": "Cupones creados",
2044
+ "active": "Activo",
2045
+ "active_description": "Disponible para aplicar",
2046
+ "redemptions": "Canjes",
2047
+ "redemptions_description": "Veces utilizado",
2048
+ "expiring_soon": "Por expirar pronto",
2049
+ "expiring_soon_description": "Cupones activos que terminan dentro de {{count}} días"
2050
+ },
2051
+ "summary": {
2052
+ "headline": "{{discount}} de descuento en reservas",
2053
+ "redeem_range": "Canjeable {{start}}–{{end}}",
2054
+ "stay_range": "Estadías {{start}}–{{end}}",
2055
+ "uses_unlimited": "Usos ilimitados",
2056
+ "uses_limited": "{{count}} usos"
2057
+ },
2058
+ "search_placeholder": "Buscar por código, descuento o lote"
2006
2059
  }
2007
2060
  },
2008
2061
  "credits": {
@@ -2967,6 +3020,8 @@
2967
3020
  "pricing": {
2968
3021
  "coupons_add": "Add these coupons",
2969
3022
  "coupons_apply_bulk": "Apply to {{count}} lot(s)",
3023
+ "coupons_bulk_set": "Set these coupons",
3024
+ "coupons_bulk_set_helper": "Replaces the coupons currently assigned to each selected lot with this list.",
2970
3025
  "coupons_bulk_title": "Coupons (bulk)",
2971
3026
  "coupons_edit": "Edit coupons",
2972
3027
  "coupons_edit_hint": "Create or edit coupons in a new tab",
@@ -5850,4 +5905,4 @@
5850
5905
  "version_heading": "Versión {{version}}",
5851
5906
  "view_full_release_notes": "Ver notas completas"
5852
5907
  }
5853
- }
5908
+ }
@@ -1740,6 +1740,11 @@
1740
1740
  "search_documentation_open": "Ouvrir",
1741
1741
  "search_documentation_esc_key": "Esc",
1742
1742
  "search_documentation_browse_all": "Consulter toute la documentation",
1743
+ "search_documentation_results_count_one": "{{count}} résultat pour \"{{query}}\"",
1744
+ "search_documentation_results_count_other": "{{count}} résultats pour \"{{query}}\"",
1745
+ "search_documentation_sort_label": "Trier par",
1746
+ "search_documentation_sort_relevance": "Plus pertinent",
1747
+ "search_documentation_sort_alphabetical": "Alphabétique",
1743
1748
  "search_category_reservations": "Réservations",
1744
1749
  "search_category_clients": "Clients",
1745
1750
  "search_category_pos": "POS",
@@ -1939,6 +1944,7 @@
1939
1944
  },
1940
1945
  "coupon": {
1941
1946
  "admin": {
1947
+ "dialog_subtitle": "Définissez la remise et quand les clients peuvent l'utiliser.",
1942
1948
  "activate_hint": "Activer: rend ce coupon disponible pour l'assignation et l'application",
1943
1949
  "active": "Active",
1944
1950
  "col": {
@@ -1947,6 +1953,7 @@
1947
1953
  "lots": "Assigned lots",
1948
1954
  "min": "Min value",
1949
1955
  "status": "Status",
1956
+ "stay_dates": "Stay dates",
1950
1957
  "usage": "Usage",
1951
1958
  "window": "Window"
1952
1959
  },
@@ -1962,7 +1969,8 @@
1962
1969
  "end_before_start": "End date must be on or after start date.",
1963
1970
  "percent_over_100": "Percentage cannot exceed 100%.",
1964
1971
  "save_failed": "Save failed.",
1965
- "usage_negative": "Usage limit cannot be negative."
1972
+ "usage_negative": "Usage limit cannot be negative.",
1973
+ "invalid_color": "Entrez une couleur hexadécimale valide (p. ex. #4caf50)."
1966
1974
  },
1967
1975
  "field": {
1968
1976
  "active": "Active",
@@ -1970,22 +1978,38 @@
1970
1978
  "assigned_lots_help": "Only these lots can accept this coupon",
1971
1979
  "code": "Code",
1972
1980
  "code_help": "Customers will enter this code to get the discount.",
1981
+ "code_hint": "Les clients entrent ce code à la caisse.",
1973
1982
  "code_placeholder": "e.g. SUMMER25",
1983
+ "color": "Couleur du coupon",
1984
+ "color_hint": "Teinte ce coupon dans la grille et pour les invités.",
1985
+ "color_pick_hint": "Cliquez pour choisir une couleur",
1986
+ "discount_type": "Type de remise",
1974
1987
  "end_date": "End date",
1988
+ "limit_stay_dates": "Limiter à des dates de séjour spécifiques",
1975
1989
  "min_value": "Minimum reservation value",
1990
+ "min_value_hint": "0 signifie pas de minimum.",
1991
+ "redeem_from": "Valable à partir du",
1992
+ "redeem_until": "Valable jusqu'au",
1993
+ "redemption_timezone_hint": "Utilise le fuseau horaire du camping.",
1994
+ "season": "Saison",
1995
+ "season_placeholder": "Sélectionner une saison",
1976
1996
  "start_date": "Start date",
1997
+ "stay_check_in": "Arrivée la plus tôt",
1998
+ "stay_check_out": "Départ le plus tard",
1977
1999
  "stay_from": "Usable for reservations from",
1978
2000
  "stay_until": "Usable for reservations until",
2001
+ "total_redemption_limit": "Limite totale de rachat",
1979
2002
  "type": "Type",
1980
2003
  "type_dollar": "Fixed ($)",
1981
2004
  "type_percent": "Percent (%)",
1982
2005
  "unlimited": "Unlimited",
1983
2006
  "usage_limit": "Usage limit (blank = ∞)",
2007
+ "usage_limit_hint": "Laissez vide pour un usage illimité.",
1984
2008
  "usage_limit_total": "Usage limit (total uses)",
1985
2009
  "valid_from": "Valid from (application)",
1986
2010
  "valid_until": "Valid until (application)",
1987
2011
  "value": "Value",
1988
- "window_hint": "Window when customers can APPLY this code — not the reservation dates. Leave blank for no window."
2012
+ "window_hint": "Window when customers can APPLY this code: not the reservation dates. Leave blank for no window."
1989
2013
  },
1990
2014
  "inactive": "Inactive",
1991
2015
  "new": "New coupon",
@@ -1993,16 +2017,45 @@
1993
2017
  "save": "Save coupon",
1994
2018
  "section": {
1995
2019
  "details": "Coupon details",
2020
+ "details_hint": "Définissez le code, la remise et la couleur de ce coupon.",
2021
+ "optional_chip": "Optionnel",
2022
+ "redemption_dates": "Dates de rachat",
2023
+ "redemption_dates_hint": "Quand les clients peuvent utiliser ce coupon.",
1996
2024
  "restrictions": "Additional restrictions",
1997
2025
  "stay": "Reservation stay dates",
2026
+ "stay_dates": "Dates de séjour",
2027
+ "stay_dates_hint": "L'arrivée et le départ doivent tous deux se situer dans cette plage.",
1998
2028
  "stay_optional": "(optional)",
2029
+ "usage_restrictions": "Restrictions d'utilisation",
2030
+ "usage_restrictions_hint": "Définissez des limites facultatives sur l'utilisation de ce coupon.",
1999
2031
  "validity": "Validity period",
2000
2032
  "validity_hint": "(when customers can apply this coupon)"
2001
2033
  },
2034
+ "stay_dates_any": "Any stay dates",
2002
2035
  "stay_help": "Limit this coupon to specific reservation stay dates. Leave empty to allow any reservation date. Both check-in and check-out must fall inside this window.",
2003
2036
  "title": "Coupons",
2004
2037
  "validity_callout": "These dates control when the coupon can be used, not the reservation dates.",
2005
- "window_any": "No window"
2038
+ "window_any": "No window",
2039
+ "subtitle": "Créer des codes de réduction que les clients peuvent utiliser à la caisse.",
2040
+ "empty_body": "Commencez par créer votre premier code de réduction.",
2041
+ "kpi": {
2042
+ "total": "Total de coupons",
2043
+ "total_description": "Coupons créés",
2044
+ "active": "Actif",
2045
+ "active_description": "Disponible à utiliser",
2046
+ "redemptions": "Utilisations",
2047
+ "redemptions_description": "Fois utilisé",
2048
+ "expiring_soon": "Expire bientôt",
2049
+ "expiring_soon_description": "Les coupons actifs se terminent dans {{count}} jours"
2050
+ },
2051
+ "summary": {
2052
+ "headline": "{{discount}} de réduction sur les réservations",
2053
+ "redeem_range": "Rachat {{start}}–{{end}}",
2054
+ "stay_range": "Séjours {{start}}–{{end}}",
2055
+ "uses_unlimited": "Utilisations illimitées",
2056
+ "uses_limited": "{{count}} utilisations"
2057
+ },
2058
+ "search_placeholder": "Rechercher par code, remise ou lot"
2006
2059
  }
2007
2060
  },
2008
2061
  "credits": {
@@ -2967,6 +3020,8 @@
2967
3020
  "pricing": {
2968
3021
  "coupons_add": "Add these coupons",
2969
3022
  "coupons_apply_bulk": "Apply to {{count}} lot(s)",
3023
+ "coupons_bulk_set": "Set these coupons",
3024
+ "coupons_bulk_set_helper": "Replaces the coupons currently assigned to each selected lot with this list.",
2970
3025
  "coupons_bulk_title": "Coupons (bulk)",
2971
3026
  "coupons_edit": "Edit coupons",
2972
3027
  "coupons_edit_hint": "Create or edit coupons in a new tab",
@@ -5850,4 +5905,4 @@
5850
5905
  "version_heading": "Version {{version}}",
5851
5906
  "view_full_release_notes": "Voir les notes complètes"
5852
5907
  }
5853
- }
5908
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pcm-shared-components",
3
- "version": "2.1.500",
3
+ "version": "2.1.502",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "babel": {