@dev.smartpricing/message-composer-layer 4.5.1-next.4 → 4.5.1-next.5

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.
Files changed (81) hide show
  1. package/README.md +4 -133
  2. package/app/api/index.ts +0 -1
  3. package/app/api/messageGroups.ts +1 -5
  4. package/app/api/meta.ts +36 -0
  5. package/app/components/Common/MessageGroupSelect.vue +1 -30
  6. package/app/components/Composer/EmailComposer.vue +1 -5
  7. package/app/components/Composer/MessageLibrary.vue +8 -0
  8. package/app/components/Composer/WabaSelectModal.vue +1 -3
  9. package/app/components/Composer/WhatsappComposer.vue +1 -5
  10. package/app/components/Layout/BasePage.vue +0 -2
  11. package/app/components/MetaImport/Button.vue +50 -0
  12. package/app/components/MetaImport/Dialog.vue +261 -0
  13. package/app/components/MetaImport/Outcome.vue +136 -0
  14. package/app/components/MetaImport/ProposalList.vue +192 -0
  15. package/app/components/TemplateList/BaseTable.vue +22 -1
  16. package/app/composables/apiErrorMessages.ts +0 -1
  17. package/app/composables/composerContext.ts +3 -3
  18. package/app/composables/useMessageGroupWaba.ts +10 -7
  19. package/app/composables/useTemplateOperations.ts +3 -8
  20. package/app/pages/index.vue +5 -1
  21. package/app/pages/template/email/[id].vue +0 -5
  22. package/app/pages/template/email/create.vue +0 -5
  23. package/app/pages/template/whatsapp/[id].vue +0 -5
  24. package/app/pages/template/whatsapp/create.vue +0 -5
  25. package/app/queries/index.ts +0 -1
  26. package/app/queries/messageGroups.ts +29 -20
  27. package/app/queries/meta.ts +91 -1
  28. package/app/stores/appContext.ts +1 -1
  29. package/app/types/app-config.d.ts +0 -3
  30. package/app/types/tracking.ts +0 -33
  31. package/app/utils/testIds.const.ts +1 -107
  32. package/app.config.ts +5 -0
  33. package/i18n/locales/de.ts +64 -269
  34. package/i18n/locales/en.ts +61 -255
  35. package/i18n/locales/es.ts +62 -258
  36. package/i18n/locales/fr.ts +63 -264
  37. package/i18n/locales/it.ts +65 -260
  38. package/package.json +4 -4
  39. package/app/api/automations.ts +0 -74
  40. package/app/app.config.ts +0 -10
  41. package/app/components/Automations/ActionCard.vue +0 -174
  42. package/app/components/Automations/ActionEditor.vue +0 -398
  43. package/app/components/Automations/Actions.vue +0 -148
  44. package/app/components/Automations/CloneModal.vue +0 -78
  45. package/app/components/Automations/Conditions.vue +0 -155
  46. package/app/components/Automations/Create.vue +0 -114
  47. package/app/components/Automations/Data.vue +0 -46
  48. package/app/components/Automations/DeleteModal.vue +0 -80
  49. package/app/components/Automations/Edit.vue +0 -145
  50. package/app/components/Automations/Form.vue +0 -282
  51. package/app/components/Automations/List.vue +0 -370
  52. package/app/components/Automations/PageGate.vue +0 -50
  53. package/app/components/Automations/SaveProblems.vue +0 -54
  54. package/app/components/Automations/Unavailable.vue +0 -71
  55. package/app/components/Automations/UnavailableBadge.vue +0 -35
  56. package/app/components/Filters/DateInput.vue +0 -57
  57. package/app/components/Filters/Editor.vue +0 -163
  58. package/app/components/Filters/Row.vue +0 -119
  59. package/app/components/Filters/Summary.vue +0 -215
  60. package/app/components/Filters/UnavailableRow.vue +0 -74
  61. package/app/components/Filters/ValueInput.vue +0 -215
  62. package/app/composables/automationsContext.ts +0 -42
  63. package/app/composables/useAutomationClone.ts +0 -33
  64. package/app/composables/useAutomationEditorTrip.ts +0 -77
  65. package/app/composables/useAutomationSaveProblems.ts +0 -82
  66. package/app/composables/useAutomationUnavailable.ts +0 -98
  67. package/app/composables/useAutomationsGate.ts +0 -68
  68. package/app/composables/useBuiltInOptionLists.ts +0 -44
  69. package/app/composables/useEditorTripBack.ts +0 -15
  70. package/app/middleware/automations-enabled.ts +0 -12
  71. package/app/pages/automations/[id].vue +0 -87
  72. package/app/pages/automations/index.vue +0 -28
  73. package/app/pages/automations/new.vue +0 -53
  74. package/app/queries/automations.ts +0 -206
  75. package/app/stores/editorTrip.ts +0 -67
  76. package/app/utils/automations/form.ts +0 -389
  77. package/app/utils/automations/metadata.ts +0 -71
  78. package/app/utils/automations/unavailable.ts +0 -90
  79. package/app/utils/filters/data/countries.json +0 -998
  80. package/app/utils/filters/data/languages.json +0 -754
  81. package/app/utils/filters/rows.ts +0 -367
@@ -1,214 +1,4 @@
1
1
  export default {
2
- automations: {
3
- action: {
4
- at: 'At',
5
- itIsSent: 'It is sent',
6
- },
7
- actions: {
8
- addChannel: 'Add message',
9
- },
10
- advanced: 'Advanced',
11
- audienceAll: 'All guests',
12
- audienceSpecific: 'Specific',
13
- channel: {
14
- addTitle: 'New message',
15
- cannotFindMessage: 'Need another message?',
16
- category: 'Messages',
17
- channelType: 'Message type',
18
- chooseDays: 'days',
19
- createNew: 'Create new',
20
- editTitle: 'Edit message',
21
- no_message: {
22
- description: 'Select a message or create a new one to see its preview here',
23
- title: 'No preview',
24
- },
25
- preview: 'Preview',
26
- searchMessagePlaceholder: 'Search for a message',
27
- selectMessage: 'Message',
28
- selectMessageHint:
29
- 'Messages in “Draft” status are not visible in the list and cannot be selected.',
30
- selectMessagePlaceholder: 'Select a message',
31
- sendingTime: 'Sending time',
32
- when: 'Scheduled send',
33
- whenHint:
34
- 'This schedule is not tied to the check-out action in your Property Management System (PMS).',
35
- },
36
- channels: {
37
- email: 'Email',
38
- whatsapp: 'WhatsApp',
39
- },
40
- clone: {
41
- namePlaceholder: 'Automation name',
42
- title: 'Duplicate automation',
43
- },
44
- delete: {
45
- confirm: 'Do you want to delete this automation? Once deleted, it cannot be recovered.',
46
- messages: 'Also delete its messages',
47
- title: 'Delete automation',
48
- warning: 'A message may be used by other automations: deleting it removes it from them too.',
49
- },
50
- editTitle: 'Edit automation',
51
- form: {
52
- actions: {
53
- deleteConfirm: 'Delete message',
54
- deleteConfirmDescription:
55
- 'Are you sure you want to delete the message? You will be able to add it back at any time.',
56
- empty: 'No message has been added yet. Click the button to create one.',
57
- emptyHint: 'Choose how to communicate with your audience by adding the right messages.',
58
- },
59
- addFilters: 'Add filters',
60
- changeTrigger: {
61
- confirm: 'Change',
62
- message: 'Changing the trigger will reset your messages and audience.',
63
- title: 'Change trigger?',
64
- },
65
- create: 'Create',
66
- create_specific_audience: 'Create a specific audience',
67
- create_specific_audience_hint: 'Use filters to send the message to a targeted audience.',
68
- data: {
69
- requiredBadge: 'Required data',
70
- title: 'Data',
71
- },
72
- error_banner: 'Complete all the required fields',
73
- includeIf: 'Include contacts if...',
74
- messages: 'Messages',
75
- name: 'Name',
76
- namePlaceholder: 'Promote Marketplace',
77
- required: 'Required',
78
- sendToHint: 'Use filters to send the message to a targeted audience.',
79
- sendTo_all: 'All guests',
80
- sendTotitle: 'Audience',
81
- title: 'Details',
82
- trigger: 'Trigger',
83
- },
84
- gate: {
85
- catalog_failed_description:
86
- 'Something went wrong while loading what this page needs. Try again.',
87
- catalog_failed_title: 'Automations could not be loaded',
88
- load_failed_description: 'Something went wrong while loading this automation. Try again.',
89
- load_failed_title: 'The automation could not be loaded',
90
- no_catalog_description:
91
- 'There is nothing to build an automation from in this product yet. Contact support if you expected to find them.',
92
- no_catalog_title: 'Automations are not available here',
93
- no_context_description:
94
- 'This page did not receive what it needs to work. Reload the page; if it happens again, contact support.',
95
- no_context_title: 'Automations cannot be shown',
96
- no_organization_description: 'Automations belong to an organization, and none is selected.',
97
- no_organization_title: 'No organization to work on',
98
- not_found_description:
99
- 'It may have been deleted, or it belongs to another organization or product.',
100
- not_found_title: 'Automation not found',
101
- },
102
- immediately: 'Immediately {moment}',
103
- list: {
104
- active: 'Active',
105
- allChannels: 'All messages',
106
- allStatuses: 'All statuses',
107
- allTriggers: 'All triggers',
108
- empty: 'No automations found',
109
- headers: {
110
- audience: 'Audience',
111
- channels: 'Messages',
112
- createdAt: 'Created on',
113
- name: 'Name',
114
- status: 'Status',
115
- trigger: 'Trigger',
116
- },
117
- inactive: 'Inactive',
118
- search: 'Search by name',
119
- },
120
- nDays: '{count} days {moment}',
121
- new: 'New automation',
122
- newTitle: 'Create automation',
123
- oneDay: '1 day {moment}',
124
- preventDuplicates: {
125
- hint: 'Skip sending if this message was already sent or scheduled for the same recipient at the same time',
126
- label: 'Prevent duplicate messages',
127
- },
128
- problems: {
129
- action_channel_not_in_catalog:
130
- '"{name}": this message type cannot be used with this trigger.',
131
- action_date_reference_not_in_catalog:
132
- '"{name}": the moment this message is scheduled on is no longer available. Choose another one.',
133
- action_invalid:
134
- '"{name}": this message is active but not approved in every language. Turn it off, or pick an approved message, to save.',
135
- action_not_found: '"{name}": this message no longer exists. Pick another one.',
136
- action_other_organization:
137
- '"{name}": this message belongs to another organization. Pick another one.',
138
- condition_field_not_in_catalog:
139
- 'A filter is on "{field}", which is no longer available. Remove it to save.',
140
- condition_operator_not_allowed:
141
- 'The filter on "{field}" uses a comparison that cannot be used on it. Change it or remove it to save.',
142
- show: 'Show',
143
- title: 'This automation cannot be saved yet',
144
- trigger_not_in_catalog: 'The trigger is no longer available. Choose another one.',
145
- unknown: 'Something in this automation cannot be saved. Check it and try again.',
146
- },
147
- recurrence: {
148
- daily: 'Daily',
149
- label: 'Recurrence',
150
- monthly: 'Monthly',
151
- none: 'None',
152
- yearly: 'Yearly',
153
- },
154
- strictDelay: {
155
- hint: 'Skip messages if the scheduled time has already passed',
156
- label: 'Strict delay',
157
- },
158
- system: {
159
- alert:
160
- 'This is a system automation. You can only turn its messages on or off and fill in the data it asks for. Duplicate it to create a fully editable copy.',
161
- badge: 'System automation',
162
- tooltip: 'Only message activation and the requested data can be changed',
163
- },
164
- title: 'Automations',
165
- toast: {
166
- cloned: 'Automation duplicated successfully',
167
- created: 'Automation created successfully',
168
- deleted: 'Automation deleted successfully',
169
- deleted_messages: 'Messages deleted with it: {names}',
170
- engine_rejected: 'The Automation Engine refused the request',
171
- kept_messages: 'Messages that could not be deleted and were kept: {names}',
172
- partly_saved: 'The automation was saved only in part',
173
- partly_saved_description: 'Your changes are still here. Save again to complete it.',
174
- updated: 'Automation updated successfully',
175
- },
176
- trip: {
177
- back: 'Back to automation',
178
- kept: 'Your unsaved changes were kept',
179
- },
180
- unavailable: {
181
- badges: {
182
- not_approved: 'Not approved',
183
- not_set_up: 'Not set up',
184
- unavailable: 'Unavailable',
185
- },
186
- channel:
187
- '{channel} is not set up for this organization. This message is kept, but it is not sent.',
188
- channel_option: '{channel} (not set up)',
189
- condition_not_editable:
190
- 'This filter cannot be edited here. It still applies: keep it or remove it.',
191
- condition_unknown_field: 'This filter is no longer available. Remove it to save.',
192
- date_reference:
193
- 'The date this message is scheduled on is no longer available. Choose another one to save.',
194
- kept: 'Kept as they are',
195
- message_group_active:
196
- 'This message is active but not approved in every language. Turn it off, or pick an approved message, to save.',
197
- message_group_inactive:
198
- 'This message is not approved in every language yet. It can be activated once it is.',
199
- option:
200
- 'One selected option is no longer available. It still applies and is kept until you remove it.',
201
- title_blocked: 'This automation cannot be saved yet',
202
- title_kept: 'Some parts of this automation are unavailable',
203
- to_fix: 'To fix before saving',
204
- trigger:
205
- 'This trigger is no longer available. Choose another one to save; your messages and audience will be reset.',
206
- where: {
207
- filter: 'Filter "{field}"',
208
- message: 'Message "{name}"',
209
- },
210
- },
211
- },
212
2
  categories: {
213
3
  marketing: 'Marketing',
214
4
  utility: 'Utility',
@@ -325,6 +115,65 @@ export default {
325
115
  title: 'Missing translations',
326
116
  translate_and_save: 'Translate automatically and save',
327
117
  },
118
+ meta_import: {
119
+ choose_waba: 'Choose the WhatsApp Business Account to import from.',
120
+ close: 'Close',
121
+ confirm: 'Import',
122
+ continue: 'Continue',
123
+ description:
124
+ 'Bring the WhatsApp templates your WhatsApp Business Account already has at Meta into your messages.',
125
+ empty: 'There is nothing new to import from this WhatsApp Business Account.',
126
+ failed_title: 'Not imported',
127
+ fallback_description:
128
+ 'Templates with different names were put together by their names alone, not by their text. Check each message before you import.',
129
+ fallback_title: 'The translations could not be checked',
130
+ group_failures: {
131
+ duplicate_language: 'Two of its templates are in the same language.',
132
+ nothing_to_import: 'None of its templates could be imported.',
133
+ write_failed: 'It could not be saved. Try again.',
134
+ },
135
+ held_count: 'Left out because they are already among your messages: {count}',
136
+ imported_count: 'Messages imported: {count}',
137
+ intro:
138
+ 'Each box becomes one message, with one translation per language. Untick what you do not want to import. Nothing is imported until you confirm.',
139
+ load_failed_description: 'Try again in a few minutes.',
140
+ load_failed_title: 'The templates could not be read from Meta',
141
+ loading: 'Reading the templates from Meta...',
142
+ merged_hint: 'Put together as translations of one message',
143
+ not_importable: 'Cannot be imported',
144
+ partial_title: 'Imported without some languages',
145
+ reasons: {
146
+ media_download_failed: 'Its header image could not be copied from Meta.',
147
+ not_found: 'It no longer exists at Meta.',
148
+ not_offered: 'It is rejected at Meta or already among your messages.',
149
+ positional_variables: 'It uses numbered variables, which are not supported.',
150
+ unknown_button: 'It has a button type that is not supported.',
151
+ unknown_component: 'It has a component that is not supported.',
152
+ unknown_header: 'It has a header type that is not supported.',
153
+ unknown_language: 'Its language is not available here.',
154
+ unsupported_category: 'Its category is neither marketing nor utility.',
155
+ },
156
+ refresh_failed_title: 'Earlier imports not brought up to date',
157
+ refresh_failures: {
158
+ media_download_failed: 'Its header image could not be copied from Meta.',
159
+ write_failed: 'It could not be saved. Try again.',
160
+ },
161
+ refreshed_count: 'Earlier imports brought up to date with Meta: {count}',
162
+ result_title: 'Import completed',
163
+ retry: 'Try again',
164
+ selection: 'Selected messages: {groups} · templates: {templates}',
165
+ split: 'Split',
166
+ title: 'Import from Meta',
167
+ waba_count: 'New templates: {count}',
168
+ warnings: {
169
+ buttons_over_limit: 'It has more buttons than you can add to a message here.',
170
+ call_permission_request: 'It has a call permission request, which is not shown here.',
171
+ dynamic_url_button: 'It has a link button with a variable.',
172
+ label_over_limit: 'It has a button label longer than the limit used here.',
173
+ same_language_split:
174
+ 'Another template with this name already covers this language, so this one becomes a message of its own.',
175
+ },
176
+ },
328
177
  publish_message_group: {
329
178
  message: 'Publish "{name}" to make it visible to clients?',
330
179
  success: '"{name}" has been published.',
@@ -842,51 +691,6 @@ export default {
842
691
  no_preview: 'No preview available',
843
692
  subject: 'Subject',
844
693
  },
845
- filters: {
846
- actions: {
847
- add_filter: 'Add filter',
848
- open_calendar: 'Open the calendar',
849
- remove_filter: 'Remove filter',
850
- remove_option: 'Remove option',
851
- },
852
- and: 'and',
853
- applied: '{count} filters applied',
854
- field_placeholder: 'Choose a field',
855
- operators: {
856
- contains: 'Contains',
857
- does_not_contain: 'Does not contain',
858
- in: 'In',
859
- is: 'Is',
860
- is_at_least: 'Is at least',
861
- is_at_most: 'Is at most',
862
- is_between: 'Is between',
863
- is_empty: 'Is empty',
864
- is_less: 'Is less',
865
- is_more: 'Is more',
866
- is_not: 'Is not',
867
- is_not_between: 'Is not between',
868
- is_not_empty: 'Is not empty',
869
- is_set: 'Is set',
870
- not_in: 'Not in',
871
- },
872
- selected: '{count} selected',
873
- types: {
874
- date: 'Date',
875
- multiselect: 'Multiple choice',
876
- number: 'Number',
877
- price: 'Price',
878
- select: 'Single choice',
879
- text: 'Text',
880
- },
881
- unavailable: {
882
- badge: 'Unavailable',
883
- not_editable: 'This filter cannot be edited here. It still applies: keep it or remove it.',
884
- option: 'Unavailable option',
885
- option_description:
886
- 'One selected option is no longer available. It still applies and is kept until you remove it.',
887
- unknown_field: 'This filter is no longer available.',
888
- },
889
- },
890
694
  language: {
891
695
  de: 'German',
892
696
  en: 'English',
@@ -1069,6 +873,8 @@ export default {
1069
873
  status: 'Status',
1070
874
  updated_at: 'Updated at',
1071
875
  },
876
+ import_from_meta: 'Import from Meta ({count})',
877
+ loading: 'Loading messages...',
1072
878
  pagination_summary: '{from}–{to} of {total}',
1073
879
  product_placeholder: 'Select product',
1074
880
  render_type_placeholder: 'Select render type',
@@ -1,217 +1,4 @@
1
1
  export default {
2
- automations: {
3
- action: {
4
- at: 'A las',
5
- itIsSent: 'Se envía',
6
- },
7
- actions: {
8
- addChannel: 'Añadir mensaje',
9
- },
10
- advanced: 'Avanzado',
11
- audienceAll: 'Todos los huéspedes',
12
- audienceSpecific: 'Específico',
13
- channel: {
14
- addTitle: 'Nuevo mensaje',
15
- cannotFindMessage: '¿Necesitas otro mensaje?',
16
- category: 'Mensajes',
17
- channelType: 'Tipo de mensaje',
18
- chooseDays: 'días',
19
- createNew: 'Crear nueva',
20
- editTitle: 'Editar mensaje',
21
- no_message: {
22
- description: 'Selecciona un mensaje o crea uno nuevo para ver su vista previa aquí',
23
- title: 'Sin vista previa',
24
- },
25
- preview: 'Vista previa',
26
- searchMessagePlaceholder: 'Buscar un mensaje',
27
- selectMessage: 'Mensaje',
28
- selectMessageHint:
29
- 'Los mensajes con estado «Borrador» no aparecen en la lista y no se pueden seleccionar.',
30
- selectMessagePlaceholder: 'Selecciona un mensaje',
31
- sendingTime: 'Hora de envío',
32
- when: 'Programar envío',
33
- whenHint:
34
- 'Esta programación no está vinculada a la acción de check-out en tu Sistema de Gestión de Propiedades (PMS).',
35
- },
36
- channels: {
37
- email: 'Correo electrónico',
38
- whatsapp: 'WhatsApp',
39
- },
40
- clone: {
41
- namePlaceholder: 'Nombre de la automatización',
42
- title: 'Duplicar automatización',
43
- },
44
- delete: {
45
- confirm: '¿Quieres eliminar esta automatización? Una vez eliminada, no se puede recuperar.',
46
- messages: 'Eliminar también sus mensajes',
47
- title: 'Eliminar automatización',
48
- warning:
49
- 'Un mensaje puede estar en uso en otras automatizaciones: al eliminarlo también se quita de ellas.',
50
- },
51
- editTitle: 'Editar automatización',
52
- form: {
53
- actions: {
54
- deleteConfirm: 'Eliminar mensaje',
55
- deleteConfirmDescription:
56
- '¿Seguro que quieres eliminar el mensaje? Podrás volver a añadirlo en cualquier momento.',
57
- empty: 'Aún no se ha añadido ningún mensaje. Haz clic en el botón para crear uno.',
58
- emptyHint: 'Elige cómo comunicarte con tu audiencia añadiendo los mensajes adecuados.',
59
- },
60
- addFilters: 'Añadir filtros',
61
- changeTrigger: {
62
- confirm: 'Cambiar',
63
- message: 'Cambiar el disparador restablecerá tus mensajes y audiencia.',
64
- title: '¿Cambiar el disparador?',
65
- },
66
- create: 'Crear',
67
- create_specific_audience: 'Crear una audiencia específica',
68
- create_specific_audience_hint: 'Usa filtros para enviar el mensaje a una audiencia objetivo.',
69
- data: {
70
- requiredBadge: 'Datos obligatorios',
71
- title: 'Datos',
72
- },
73
- error_banner: 'Completa todos los campos obligatorios',
74
- includeIf: 'Incluir huéspedes si...',
75
- messages: 'Mensajes',
76
- name: 'Nombre',
77
- namePlaceholder: 'Promocionar Marketplace',
78
- required: 'Obligatorio',
79
- sendToHint: 'Usa filtros para enviar el mensaje a una audiencia objetivo.',
80
- sendTo_all: 'Todos los huéspedes',
81
- sendTotitle: 'Audiencia',
82
- title: 'Detalles',
83
- trigger: 'Disparador',
84
- },
85
- gate: {
86
- catalog_failed_description:
87
- 'Se ha producido un error al cargar lo que esta página necesita. Inténtalo de nuevo.',
88
- catalog_failed_title: 'No se han podido cargar las automatizaciones',
89
- load_failed_description:
90
- 'Se ha producido un error al cargar esta automatización. Inténtalo de nuevo.',
91
- load_failed_title: 'No se ha podido cargar la automatización',
92
- no_catalog_description:
93
- 'En este producto todavía no hay nada con lo que crear una automatización. Contacta con soporte si esperabas encontrarlas.',
94
- no_catalog_title: 'Las automatizaciones no están disponibles aquí',
95
- no_context_description:
96
- 'Esta página no ha recibido lo que necesita para funcionar. Recarga la página; si vuelve a ocurrir, contacta con soporte.',
97
- no_context_title: 'No se pueden mostrar las automatizaciones',
98
- no_organization_description:
99
- 'Las automatizaciones pertenecen a una organización y no hay ninguna seleccionada.',
100
- no_organization_title: 'Ninguna organización con la que trabajar',
101
- not_found_description:
102
- 'Puede que se haya eliminado, o que pertenezca a otra organización o a otro producto.',
103
- not_found_title: 'Automatización no encontrada',
104
- },
105
- immediately: 'Inmediatamente {moment}',
106
- list: {
107
- active: 'Activo',
108
- allChannels: 'Todos los mensajes',
109
- allStatuses: 'Todos los estados',
110
- allTriggers: 'Todos los disparadores',
111
- empty: 'No se encontraron automatizaciones',
112
- headers: {
113
- audience: 'Audiencia',
114
- channels: 'Mensajes',
115
- createdAt: 'Creado el',
116
- name: 'Nombre',
117
- status: 'Estado',
118
- trigger: 'Disparador',
119
- },
120
- inactive: 'Inactivo',
121
- search: 'Buscar por nombre',
122
- },
123
- nDays: '{count} días {moment}',
124
- new: 'Nueva automatización',
125
- newTitle: 'Crear automatización',
126
- oneDay: '1 día {moment}',
127
- preventDuplicates: {
128
- hint: 'No enviar si este mensaje ya fue enviado o programado para el mismo destinatario a la misma hora',
129
- label: 'Evitar mensajes duplicados',
130
- },
131
- problems: {
132
- action_channel_not_in_catalog:
133
- '"{name}": este tipo de mensaje no se puede usar con este disparador.',
134
- action_date_reference_not_in_catalog:
135
- '"{name}": el momento en que está programado este mensaje ya no está disponible. Elige otro.',
136
- action_invalid:
137
- '"{name}": este mensaje está activo pero no está aprobado en todos los idiomas. Desactívalo, o elige un mensaje aprobado, para guardar.',
138
- action_not_found: '"{name}": este mensaje ya no existe. Elige otro.',
139
- action_other_organization:
140
- '"{name}": este mensaje pertenece a otra organización. Elige otro.',
141
- condition_field_not_in_catalog:
142
- 'Un filtro está en "{field}", que ya no está disponible. Elimínalo para guardar.',
143
- condition_operator_not_allowed:
144
- 'El filtro en "{field}" usa una comparación que no se puede usar. Cámbialo o elimínalo para guardar.',
145
- show: 'Mostrar',
146
- title: 'Esta automatización aún no se puede guardar',
147
- trigger_not_in_catalog: 'El disparador ya no está disponible. Elige otro.',
148
- unknown: 'Algo en esta automatización no se puede guardar. Revísala e inténtalo de nuevo.',
149
- },
150
- recurrence: {
151
- daily: 'Diaria',
152
- label: 'Recurrencia',
153
- monthly: 'Mensual',
154
- none: 'Ninguna',
155
- yearly: 'Anual',
156
- },
157
- strictDelay: {
158
- hint: 'Omitir mensajes si la hora programada ya ha pasado',
159
- label: 'Retraso estricto',
160
- },
161
- system: {
162
- alert:
163
- 'Esta es una automatización del sistema. Solo puede activar o desactivar sus mensajes y completar los datos solicitados. Duplíquela para crear una copia completamente editable.',
164
- badge: 'Automatización del sistema',
165
- tooltip: 'Solo se pueden modificar la activación de los mensajes y los datos solicitados',
166
- },
167
- title: 'Automatizaciones',
168
- toast: {
169
- cloned: 'Automatización duplicada correctamente',
170
- created: 'Automatización creada con éxito',
171
- deleted: 'Automatización eliminada con éxito',
172
- deleted_messages: 'Mensajes eliminados con ella: {names}',
173
- engine_rejected: 'El Automation Engine ha rechazado la solicitud',
174
- kept_messages: 'Mensajes que no se han podido eliminar y se han conservado: {names}',
175
- partly_saved: 'La automatización se ha guardado solo en parte',
176
- partly_saved_description: 'Tus cambios siguen aquí. Guarda de nuevo para completarla.',
177
- updated: 'Automatización actualizada con éxito',
178
- },
179
- trip: {
180
- back: 'Volver a la automatización',
181
- kept: 'Tus cambios sin guardar se han conservado',
182
- },
183
- unavailable: {
184
- badges: {
185
- not_approved: 'No aprobado',
186
- not_set_up: 'No configurado',
187
- unavailable: 'No disponible',
188
- },
189
- channel:
190
- '{channel} no está configurado para esta organización. Este mensaje se conserva, pero no se envía.',
191
- channel_option: '{channel} (no configurado)',
192
- condition_not_editable:
193
- 'Este filtro no se puede editar aquí. Sigue aplicándose: consérvalo o quítalo.',
194
- condition_unknown_field: 'Este filtro ya no está disponible. Quítalo para guardar.',
195
- date_reference:
196
- 'La fecha en la que está programado este mensaje ya no está disponible. Elige otra para guardar.',
197
- kept: 'Se conservan tal como están',
198
- message_group_active:
199
- 'Este mensaje está activo pero no está aprobado en todos los idiomas. Desactívalo, o elige un mensaje aprobado, para guardar.',
200
- message_group_inactive:
201
- 'Este mensaje aún no está aprobado en todos los idiomas. Se podrá activar cuando lo esté.',
202
- option:
203
- 'Una opción seleccionada ya no está disponible. Sigue aplicándose y se conserva hasta que la quites.',
204
- title_blocked: 'Esta automatización aún no se puede guardar',
205
- title_kept: 'Algunas partes de esta automatización no están disponibles',
206
- to_fix: 'Para corregir antes de guardar',
207
- trigger:
208
- 'Este disparador ya no está disponible. Elige otro para guardar; tus mensajes y tu audiencia se restablecerán.',
209
- where: {
210
- filter: 'Filtro "{field}"',
211
- message: 'Mensaje "{name}"',
212
- },
213
- },
214
- },
215
2
  categories: {
216
3
  marketing: 'Marketing',
217
4
  utility: 'Utilidad',
@@ -329,6 +116,66 @@ export default {
329
116
  title: 'Faltan traducciones',
330
117
  translate_and_save: 'Traducir automáticamente y guardar',
331
118
  },
119
+ meta_import: {
120
+ choose_waba: 'Elige la cuenta de WhatsApp Business desde la que importar.',
121
+ close: 'Cerrar',
122
+ confirm: 'Importar',
123
+ continue: 'Continuar',
124
+ description:
125
+ 'Trae a tus mensajes las plantillas de WhatsApp que tu cuenta de WhatsApp Business ya tiene en Meta.',
126
+ empty: 'No hay nada nuevo que importar desde esta cuenta de WhatsApp Business.',
127
+ failed_title: 'No importados',
128
+ fallback_description:
129
+ 'Las plantillas con nombres distintos se han agrupado solo por su nombre, no por su texto. Revisa cada mensaje antes de importar.',
130
+ fallback_title: 'No se han podido comprobar las traducciones',
131
+ group_failures: {
132
+ duplicate_language: 'Dos de sus plantillas están en el mismo idioma.',
133
+ nothing_to_import: 'Ninguna de sus plantillas se ha podido importar.',
134
+ write_failed: 'No se ha podido guardar. Inténtalo de nuevo.',
135
+ },
136
+ held_count: 'Excluidas porque ya están entre tus mensajes: {count}',
137
+ imported_count: 'Mensajes importados: {count}',
138
+ intro:
139
+ 'Cada recuadro se convierte en un mensaje, con una traducción por idioma. Desmarca lo que no quieras importar. No se importa nada hasta que confirmes.',
140
+ load_failed_description: 'Inténtalo de nuevo en unos minutos.',
141
+ load_failed_title: 'No se han podido leer las plantillas desde Meta',
142
+ loading: 'Leyendo las plantillas desde Meta...',
143
+ merged_hint: 'Agrupadas como traducciones de un mismo mensaje',
144
+ not_importable: 'No se puede importar',
145
+ partial_title: 'Importados sin algunos idiomas',
146
+ reasons: {
147
+ media_download_failed: 'No se ha podido copiar desde Meta la imagen de su encabezado.',
148
+ not_found: 'Ya no existe en Meta.',
149
+ not_offered: 'Está rechazada en Meta o ya está entre tus mensajes.',
150
+ positional_variables: 'Usa variables numeradas, que no son compatibles.',
151
+ unknown_button: 'Tiene un tipo de botón que no es compatible.',
152
+ unknown_component: 'Tiene un componente que no es compatible.',
153
+ unknown_header: 'Tiene un tipo de encabezado que no es compatible.',
154
+ unknown_language: 'Su idioma no está disponible aquí.',
155
+ unsupported_category: 'Su categoría no es ni marketing ni utility.',
156
+ },
157
+ refresh_failed_title: 'Importaciones anteriores no actualizadas',
158
+ refresh_failures: {
159
+ media_download_failed: 'No se ha podido copiar desde Meta la imagen de su encabezado.',
160
+ write_failed: 'No se ha podido guardar. Inténtalo de nuevo.',
161
+ },
162
+ refreshed_count: 'Importaciones anteriores actualizadas con Meta: {count}',
163
+ result_title: 'Importación completada',
164
+ retry: 'Reintentar',
165
+ selection: 'Mensajes seleccionados: {groups} · plantillas: {templates}',
166
+ split: 'Separar',
167
+ title: 'Importar desde Meta',
168
+ waba_count: 'Plantillas nuevas: {count}',
169
+ warnings: {
170
+ buttons_over_limit: 'Tiene más botones de los que se pueden añadir aquí a un mensaje.',
171
+ call_permission_request:
172
+ 'Tiene una solicitud de permiso de llamada, que aquí no se muestra.',
173
+ dynamic_url_button: 'Tiene un botón de enlace con una variable.',
174
+ label_over_limit: 'Tiene una etiqueta de botón más larga que el límite usado aquí.',
175
+ same_language_split:
176
+ 'Otra plantilla con este nombre ya cubre este idioma, así que esta se convierte en un mensaje aparte.',
177
+ },
178
+ },
332
179
  publish_message_group: {
333
180
  message: '¿Publicar "{name}" para que sea visible para los clientes?',
334
181
  success: '"{name}" se ha publicado.',
@@ -853,51 +700,6 @@ export default {
853
700
  no_preview: 'No hay vista previa disponible',
854
701
  subject: 'Asunto',
855
702
  },
856
- filters: {
857
- actions: {
858
- add_filter: 'Añadir filtro',
859
- open_calendar: 'Abrir el calendario',
860
- remove_filter: 'Quitar filtro',
861
- remove_option: 'Quitar opción',
862
- },
863
- and: 'y',
864
- applied: '{count} filtros aplicados',
865
- field_placeholder: 'Elige un campo',
866
- operators: {
867
- contains: 'Contiene',
868
- does_not_contain: 'No contiene',
869
- in: 'En',
870
- is: 'Es',
871
- is_at_least: 'Es como mínimo',
872
- is_at_most: 'Es como máximo',
873
- is_between: 'Está entre',
874
- is_empty: 'Está vacío',
875
- is_less: 'Es menor que',
876
- is_more: 'Es mayor que',
877
- is_not: 'No es',
878
- is_not_between: 'No está entre',
879
- is_not_empty: 'No está vacío',
880
- is_set: 'Está definido',
881
- not_in: 'No en',
882
- },
883
- selected: '{count} seleccionados',
884
- types: {
885
- date: 'Fecha',
886
- multiselect: 'Selección múltiple',
887
- number: 'Número',
888
- price: 'Precio',
889
- select: 'Selección única',
890
- text: 'Texto',
891
- },
892
- unavailable: {
893
- badge: 'No disponible',
894
- not_editable: 'Este filtro no se puede editar aquí. Sigue aplicándose: consérvalo o quítalo.',
895
- option: 'Opción no disponible',
896
- option_description:
897
- 'Una opción seleccionada ya no está disponible. Sigue aplicándose y se conserva hasta que la quites.',
898
- unknown_field: 'Este filtro ya no está disponible.',
899
- },
900
- },
901
703
  language: {
902
704
  de: 'Alemán',
903
705
  en: 'Inglés',
@@ -1081,6 +883,8 @@ export default {
1081
883
  status: 'Estado',
1082
884
  updated_at: 'Actualizado el',
1083
885
  },
886
+ import_from_meta: 'Importar desde Meta ({count})',
887
+ loading: 'Cargando mensajes...',
1084
888
  pagination_summary: '{from}–{to} de {total}',
1085
889
  product_placeholder: 'Seleccionar producto',
1086
890
  render_type_placeholder: 'Seleccionar tipo de renderizado',