@dev.smartpricing/message-composer-layer 4.3.2-fix.1 → 4.5.1-automation.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.
- package/README.md +357 -46
- package/app/api/automations.ts +74 -0
- package/app/api/brands.ts +20 -13
- package/app/api/client.ts +15 -6
- package/app/api/compilation.ts +13 -3
- package/app/api/dynamicValues.ts +6 -2
- package/app/api/index.ts +1 -0
- package/app/api/media.ts +6 -3
- package/app/api/messageGroups.ts +34 -15
- package/app/api/meta.ts +62 -4
- package/app/api/organization.ts +10 -1
- package/app/api/tracking.ts +2 -2
- package/app/app.config.ts +10 -0
- package/app/components/Automations/ActionCard.vue +174 -0
- package/app/components/Automations/ActionEditor.vue +398 -0
- package/app/components/Automations/Actions.vue +158 -0
- package/app/components/Automations/CloneModal.vue +78 -0
- package/app/components/Automations/Conditions.vue +155 -0
- package/app/components/Automations/Create.vue +114 -0
- package/app/components/Automations/Data.vue +46 -0
- package/app/components/Automations/DeleteModal.vue +80 -0
- package/app/components/Automations/Edit.vue +145 -0
- package/app/components/Automations/Form.vue +282 -0
- package/app/components/Automations/List.vue +370 -0
- package/app/components/Automations/PageGate.vue +50 -0
- package/app/components/Automations/SaveProblems.vue +54 -0
- package/app/components/Automations/Unavailable.vue +71 -0
- package/app/components/Automations/UnavailableBadge.vue +35 -0
- package/app/components/Common/AppContextErrors.vue +30 -0
- package/app/components/Common/HtmlPreviewIframe.vue +17 -3
- package/app/components/Common/MessageGroupSelect.vue +193 -26
- package/app/components/Common/MessagePreviewSlideover.vue +3 -0
- package/app/components/Common/OrganizationGate.vue +51 -0
- package/app/components/Common/OrganizationSelect.vue +27 -0
- package/app/components/Common/WhatsappNotConfigured.vue +20 -0
- package/app/components/Composer/EmailComposer.vue +9 -1
- package/app/components/Composer/MessageLibrary.vue +25 -7
- package/app/components/Composer/WabaSelectModal.vue +73 -0
- package/app/components/Composer/WhatsappComposer.vue +83 -4
- package/app/components/Editor/RichTextEditor.vue +14 -2
- package/app/components/Filters/DateInput.vue +57 -0
- package/app/components/Filters/Editor.vue +163 -0
- package/app/components/Filters/Row.vue +119 -0
- package/app/components/Filters/Summary.vue +215 -0
- package/app/components/Filters/UnavailableRow.vue +74 -0
- package/app/components/Filters/ValueInput.vue +215 -0
- package/app/components/Layout/BasePage.vue +2 -0
- package/app/components/MessageSendFlow/EmailPreview.vue +81 -0
- package/app/components/MessageSendFlow/LanguageSelect.vue +39 -0
- package/app/components/MessageSendFlow/MessageSendFlow.vue +265 -0
- package/app/components/MessageSendFlow/ParametersForm.vue +51 -0
- package/app/components/MetaImport/Button.vue +50 -0
- package/app/components/MetaImport/Dialog.vue +261 -0
- package/app/components/MetaImport/Outcome.vue +136 -0
- package/app/components/MetaImport/ProposalList.vue +192 -0
- package/app/components/TemplateList/BaseTable.vue +177 -108
- package/app/components/Whatsapp/Preview.vue +17 -16
- package/app/components/Whatsapp/PreviewPanel.vue +7 -1
- package/app/components/Whatsapp/Translator/Header.vue +4 -19
- package/app/composables/apiErrorMessages.ts +1 -0
- package/app/composables/automationsContext.ts +42 -0
- package/app/composables/composerContext.ts +9 -7
- package/app/composables/useAutomationClone.ts +33 -0
- package/app/composables/useAutomationEditorTrip.ts +77 -0
- package/app/composables/useAutomationSaveProblems.ts +82 -0
- package/app/composables/useAutomationUnavailable.ts +98 -0
- package/app/composables/useAutomationsGate.ts +68 -0
- package/app/composables/useBuiltInOptionLists.ts +44 -0
- package/app/composables/useEditorTripBack.ts +15 -0
- package/app/composables/useEffectiveOrganization.ts +34 -0
- package/app/composables/useMessageGroupList.ts +186 -0
- package/app/composables/useMessageGroupWaba.ts +76 -0
- package/app/composables/useMessageSendFlow.ts +284 -0
- package/app/composables/usePagedMessageGroups.ts +78 -0
- package/app/composables/useTemplateOperations.ts +31 -7
- package/app/composables/useTracking.ts +14 -5
- package/app/composables/useWhatsappConfiguration.ts +32 -0
- package/app/layouts/default.vue +5 -1
- package/app/middleware/automations-enabled.ts +12 -0
- package/app/pages/automations/[id].vue +87 -0
- package/app/pages/automations/index.vue +28 -0
- package/app/pages/automations/new.vue +53 -0
- package/app/pages/brands.vue +1 -0
- package/app/pages/images.vue +4 -0
- package/app/pages/index.vue +6 -1
- package/app/pages/preview/[id].vue +2 -0
- package/app/pages/template/email/[id].vue +5 -0
- package/app/pages/template/email/create.vue +5 -0
- package/app/pages/template/whatsapp/[id].vue +6 -0
- package/app/pages/template/whatsapp/create.vue +5 -0
- package/app/queries/automations.ts +206 -0
- package/app/queries/brands.ts +27 -7
- package/app/queries/compilation.ts +16 -3
- package/app/queries/dynamicValues.ts +19 -2
- package/app/queries/index.ts +1 -0
- package/app/queries/media.ts +8 -3
- package/app/queries/messageGroups.ts +84 -36
- package/app/queries/meta.ts +100 -5
- package/app/stores/appContext.ts +18 -48
- package/app/stores/editorTrip.ts +67 -0
- package/app/stores/effectiveOrganization.ts +128 -0
- package/app/stores/emailEditor.ts +5 -1
- package/app/stores/metaSubmission.ts +7 -17
- package/app/types/app-config.d.ts +3 -0
- package/app/types/tracking.ts +50 -0
- package/app/utils/automations/form.ts +389 -0
- package/app/utils/automations/metadata.ts +71 -0
- package/app/utils/automations/unavailable.ts +90 -0
- package/app/utils/filters/data/countries.json +998 -0
- package/app/utils/filters/data/languages.json +754 -0
- package/app/utils/filters/rows.ts +367 -0
- package/app/utils/testIds.const.ts +137 -0
- package/i18n/locales/de.ts +419 -2
- package/i18n/locales/en.ts +398 -2
- package/i18n/locales/es.ts +403 -2
- package/i18n/locales/fr.ts +410 -2
- package/i18n/locales/it.ts +409 -2
- package/package.json +4 -4
- package/app.config.ts +0 -5
package/i18n/locales/en.ts
CHANGED
|
@@ -1,4 +1,214 @@
|
|
|
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
|
+
},
|
|
2
212
|
categories: {
|
|
3
213
|
marketing: 'Marketing',
|
|
4
214
|
utility: 'Utility',
|
|
@@ -18,6 +228,7 @@ export default {
|
|
|
18
228
|
all: 'All',
|
|
19
229
|
copy: 'Copy',
|
|
20
230
|
copy_of: 'Copy of {name}',
|
|
231
|
+
context_error_title: 'Composer configuration error',
|
|
21
232
|
desktop: 'Desktop',
|
|
22
233
|
error: 'Error',
|
|
23
234
|
errore: 'Error',
|
|
@@ -49,16 +260,38 @@ export default {
|
|
|
49
260
|
},
|
|
50
261
|
internal: 'Internal',
|
|
51
262
|
mobile: 'Mobile',
|
|
263
|
+
organization: {
|
|
264
|
+
label: 'Organization',
|
|
265
|
+
lookup_failed_description:
|
|
266
|
+
'Something went wrong while loading the organizations you can access. Try again.',
|
|
267
|
+
lookup_failed_title: 'Your organizations could not be loaded',
|
|
268
|
+
none_description: 'Your user has no access to any organization.',
|
|
269
|
+
none_title: 'No organization available',
|
|
270
|
+
resolving: 'Loading your organizations...',
|
|
271
|
+
retry: 'Try again',
|
|
272
|
+
search_placeholder: 'Search organizations...',
|
|
273
|
+
},
|
|
52
274
|
preview: 'Preview',
|
|
53
275
|
search: 'Search...',
|
|
54
276
|
success: 'Success',
|
|
55
277
|
translation_failed: 'Translation failed',
|
|
56
278
|
messageGroupSelect: {
|
|
57
279
|
inactive_tooltip: 'This message group has unapproved or missing messages',
|
|
280
|
+
not_sendable_tooltip: 'This message group has no approved messages',
|
|
58
281
|
hide_inactive: 'Hide inactive',
|
|
282
|
+
hide_not_sendable: 'Hide not sendable',
|
|
283
|
+
load_more: 'Load more',
|
|
59
284
|
},
|
|
60
285
|
view_less: 'View less',
|
|
61
286
|
view_more: 'View more',
|
|
287
|
+
whatsapp_not_configured_description:
|
|
288
|
+
'This organization has no WhatsApp Business Account. WhatsApp messages can be saved as drafts, but not submitted for approval.',
|
|
289
|
+
whatsapp_not_configured_title: 'WhatsApp is not configured',
|
|
290
|
+
whatsapp_waba_detached_description:
|
|
291
|
+
'It can no longer be submitted for approval. Duplicate it to submit the copy to another WhatsApp Business Account.',
|
|
292
|
+
whatsapp_waba_detached_title:
|
|
293
|
+
'This message is on a WhatsApp Business Account that is no longer connected',
|
|
294
|
+
whatsapp_waba_label: 'WhatsApp Business Account:',
|
|
62
295
|
},
|
|
63
296
|
dialogs: {
|
|
64
297
|
delete_message: {
|
|
@@ -92,6 +325,65 @@ export default {
|
|
|
92
325
|
title: 'Missing translations',
|
|
93
326
|
translate_and_save: 'Translate automatically and save',
|
|
94
327
|
},
|
|
328
|
+
meta_import: {
|
|
329
|
+
choose_waba: 'Choose the WhatsApp Business Account to import from.',
|
|
330
|
+
close: 'Close',
|
|
331
|
+
confirm: 'Import',
|
|
332
|
+
continue: 'Continue',
|
|
333
|
+
description:
|
|
334
|
+
'Bring the WhatsApp templates your WhatsApp Business Account already has at Meta into your messages.',
|
|
335
|
+
empty: 'There is nothing new to import from this WhatsApp Business Account.',
|
|
336
|
+
failed_title: 'Not imported',
|
|
337
|
+
fallback_description:
|
|
338
|
+
'Templates with different names were put together by their names alone, not by their text. Check each message before you import.',
|
|
339
|
+
fallback_title: 'The translations could not be checked',
|
|
340
|
+
group_failures: {
|
|
341
|
+
duplicate_language: 'Two of its templates are in the same language.',
|
|
342
|
+
nothing_to_import: 'None of its templates could be imported.',
|
|
343
|
+
write_failed: 'It could not be saved. Try again.',
|
|
344
|
+
},
|
|
345
|
+
held_count: 'Left out because they are already among your messages: {count}',
|
|
346
|
+
imported_count: 'Messages imported: {count}',
|
|
347
|
+
intro:
|
|
348
|
+
'Each box becomes one message, with one translation per language. Untick what you do not want to import. Nothing is imported until you confirm.',
|
|
349
|
+
load_failed_description: 'Try again in a few minutes.',
|
|
350
|
+
load_failed_title: 'The templates could not be read from Meta',
|
|
351
|
+
loading: 'Reading the templates from Meta...',
|
|
352
|
+
merged_hint: 'Put together as translations of one message',
|
|
353
|
+
not_importable: 'Cannot be imported',
|
|
354
|
+
partial_title: 'Imported without some languages',
|
|
355
|
+
reasons: {
|
|
356
|
+
media_download_failed: 'Its header image could not be copied from Meta.',
|
|
357
|
+
not_found: 'It no longer exists at Meta.',
|
|
358
|
+
not_offered: 'It is rejected at Meta or already among your messages.',
|
|
359
|
+
positional_variables: 'It uses numbered variables, which are not supported.',
|
|
360
|
+
unknown_button: 'It has a button type that is not supported.',
|
|
361
|
+
unknown_component: 'It has a component that is not supported.',
|
|
362
|
+
unknown_header: 'It has a header type that is not supported.',
|
|
363
|
+
unknown_language: 'Its language is not available here.',
|
|
364
|
+
unsupported_category: 'Its category is neither marketing nor utility.',
|
|
365
|
+
},
|
|
366
|
+
refresh_failed_title: 'Earlier imports not brought up to date',
|
|
367
|
+
refresh_failures: {
|
|
368
|
+
media_download_failed: 'Its header image could not be copied from Meta.',
|
|
369
|
+
write_failed: 'It could not be saved. Try again.',
|
|
370
|
+
},
|
|
371
|
+
refreshed_count: 'Earlier imports brought up to date with Meta: {count}',
|
|
372
|
+
result_title: 'Import completed',
|
|
373
|
+
retry: 'Try again',
|
|
374
|
+
selection: 'Selected messages: {groups} · templates: {templates}',
|
|
375
|
+
split: 'Split',
|
|
376
|
+
title: 'Import from Meta',
|
|
377
|
+
waba_count: 'New templates: {count}',
|
|
378
|
+
warnings: {
|
|
379
|
+
buttons_over_limit: 'It has more buttons than you can add to a message here.',
|
|
380
|
+
call_permission_request: 'It has a call permission request, which is not shown here.',
|
|
381
|
+
dynamic_url_button: 'It has a link button with a variable.',
|
|
382
|
+
label_over_limit: 'It has a button label longer than the limit used here.',
|
|
383
|
+
same_language_split:
|
|
384
|
+
'Another template with this name already covers this language, so this one becomes a message of its own.',
|
|
385
|
+
},
|
|
386
|
+
},
|
|
95
387
|
publish_message_group: {
|
|
96
388
|
message: 'Publish "{name}" to make it visible to clients?',
|
|
97
389
|
success: '"{name}" has been published.',
|
|
@@ -103,6 +395,13 @@ export default {
|
|
|
103
395
|
"Submit the {language} translation for review? You won't be able to edit it while it's pending approval.",
|
|
104
396
|
title: 'Request review',
|
|
105
397
|
},
|
|
398
|
+
select_waba: {
|
|
399
|
+
confirm: 'Request approval',
|
|
400
|
+
description:
|
|
401
|
+
'This organization has more than one WhatsApp Business Account. Choose the one this message is submitted to: it cannot be changed afterwards.',
|
|
402
|
+
no_numbers: 'No connected number',
|
|
403
|
+
title: 'Choose the WhatsApp Business Account',
|
|
404
|
+
},
|
|
106
405
|
unpublish_message_group: {
|
|
107
406
|
message: 'Unpublish "{name}"? It will no longer be visible to clients.',
|
|
108
407
|
success: '"{name}" has been unpublished.',
|
|
@@ -476,6 +775,8 @@ export default {
|
|
|
476
775
|
},
|
|
477
776
|
validation: {
|
|
478
777
|
character_limit: 'This field has a character limit.',
|
|
778
|
+
header_line_breaks:
|
|
779
|
+
"Line breaks aren't supported in the header: the lines will be joined into one.",
|
|
479
780
|
error: {
|
|
480
781
|
atLeastOneBlockRequired: 'At least one content block is required',
|
|
481
782
|
bodyEmpty: 'Message body cannot be empty',
|
|
@@ -600,6 +901,51 @@ export default {
|
|
|
600
901
|
no_preview: 'No preview available',
|
|
601
902
|
subject: 'Subject',
|
|
602
903
|
},
|
|
904
|
+
filters: {
|
|
905
|
+
actions: {
|
|
906
|
+
add_filter: 'Add filter',
|
|
907
|
+
open_calendar: 'Open the calendar',
|
|
908
|
+
remove_filter: 'Remove filter',
|
|
909
|
+
remove_option: 'Remove option',
|
|
910
|
+
},
|
|
911
|
+
and: 'and',
|
|
912
|
+
applied: '{count} filters applied',
|
|
913
|
+
field_placeholder: 'Choose a field',
|
|
914
|
+
operators: {
|
|
915
|
+
contains: 'Contains',
|
|
916
|
+
does_not_contain: 'Does not contain',
|
|
917
|
+
in: 'In',
|
|
918
|
+
is: 'Is',
|
|
919
|
+
is_at_least: 'Is at least',
|
|
920
|
+
is_at_most: 'Is at most',
|
|
921
|
+
is_between: 'Is between',
|
|
922
|
+
is_empty: 'Is empty',
|
|
923
|
+
is_less: 'Is less',
|
|
924
|
+
is_more: 'Is more',
|
|
925
|
+
is_not: 'Is not',
|
|
926
|
+
is_not_between: 'Is not between',
|
|
927
|
+
is_not_empty: 'Is not empty',
|
|
928
|
+
is_set: 'Is set',
|
|
929
|
+
not_in: 'Not in',
|
|
930
|
+
},
|
|
931
|
+
selected: '{count} selected',
|
|
932
|
+
types: {
|
|
933
|
+
date: 'Date',
|
|
934
|
+
multiselect: 'Multiple choice',
|
|
935
|
+
number: 'Number',
|
|
936
|
+
price: 'Price',
|
|
937
|
+
select: 'Single choice',
|
|
938
|
+
text: 'Text',
|
|
939
|
+
},
|
|
940
|
+
unavailable: {
|
|
941
|
+
badge: 'Unavailable',
|
|
942
|
+
not_editable: 'This filter cannot be edited here. It still applies: keep it or remove it.',
|
|
943
|
+
option: 'Unavailable option',
|
|
944
|
+
option_description:
|
|
945
|
+
'One selected option is no longer available. It still applies and is kept until you remove it.',
|
|
946
|
+
unknown_field: 'This filter is no longer available.',
|
|
947
|
+
},
|
|
948
|
+
},
|
|
603
949
|
language: {
|
|
604
950
|
de: 'German',
|
|
605
951
|
en: 'English',
|
|
@@ -772,20 +1118,30 @@ export default {
|
|
|
772
1118
|
},
|
|
773
1119
|
message_library: {
|
|
774
1120
|
add_message_group: 'New message',
|
|
1121
|
+
all_products: 'All products',
|
|
775
1122
|
category_placeholder: 'Select category',
|
|
776
1123
|
headers: {
|
|
777
1124
|
category: 'Category',
|
|
778
1125
|
name: 'Name',
|
|
779
1126
|
preview: 'Preview',
|
|
1127
|
+
product: 'Product',
|
|
780
1128
|
status: 'Status',
|
|
781
|
-
tags: 'Tags',
|
|
782
1129
|
updated_at: 'Updated at',
|
|
783
1130
|
},
|
|
1131
|
+
import_from_meta: 'Import from Meta ({count})',
|
|
1132
|
+
loading: 'Loading messages...',
|
|
1133
|
+
pagination_summary: '{from}–{to} of {total}',
|
|
1134
|
+
product_placeholder: 'Select product',
|
|
784
1135
|
render_type_placeholder: 'Select render type',
|
|
785
1136
|
search_placeholder: 'Search',
|
|
786
1137
|
status_placeholder: 'Select status',
|
|
787
|
-
tags_placeholder: 'Filter by tags',
|
|
788
1138
|
title: 'Messages',
|
|
1139
|
+
visibility: {
|
|
1140
|
+
all: 'All',
|
|
1141
|
+
internal: 'Internal',
|
|
1142
|
+
public: 'Public',
|
|
1143
|
+
},
|
|
1144
|
+
visibility_placeholder: 'Select visibility',
|
|
789
1145
|
},
|
|
790
1146
|
whatsapp: {
|
|
791
1147
|
create_message_group: {
|
|
@@ -818,6 +1174,12 @@ export default {
|
|
|
818
1174
|
},
|
|
819
1175
|
},
|
|
820
1176
|
},
|
|
1177
|
+
products: {
|
|
1178
|
+
chat: 'Smartchat',
|
|
1179
|
+
connect: 'Smartconnect',
|
|
1180
|
+
pms: 'Smartpms',
|
|
1181
|
+
pricing: 'Smartpricing',
|
|
1182
|
+
},
|
|
821
1183
|
public: {
|
|
822
1184
|
select_message: {
|
|
823
1185
|
choose_language: 'Choose a language...',
|
|
@@ -827,6 +1189,40 @@ export default {
|
|
|
827
1189
|
send_message: 'Send message',
|
|
828
1190
|
},
|
|
829
1191
|
},
|
|
1192
|
+
send_flow: {
|
|
1193
|
+
actions: {
|
|
1194
|
+
back: 'Back',
|
|
1195
|
+
cancel: 'Cancel',
|
|
1196
|
+
confirm: 'Confirm',
|
|
1197
|
+
next: 'Next',
|
|
1198
|
+
},
|
|
1199
|
+
errors: {
|
|
1200
|
+
COMPILE_FAILED: 'The message could not be prepared. Please try again.',
|
|
1201
|
+
MISSING_PARAMETERS: 'Fill in every parameter before confirming.',
|
|
1202
|
+
NOT_OFFERED: '"{name}" cannot be sent from here. Pick another message group.',
|
|
1203
|
+
NOT_SENDABLE:
|
|
1204
|
+
'"{name}" has no approved message and cannot be sent. Pick another message group.',
|
|
1205
|
+
TEMPLATE_NOT_APPROVED: 'This message has not been approved by Meta and cannot be sent.',
|
|
1206
|
+
TEMPLATE_NOT_SUBMITTED: 'This message has not been submitted to Meta and cannot be sent.',
|
|
1207
|
+
},
|
|
1208
|
+
language: {
|
|
1209
|
+
approved: 'Approved',
|
|
1210
|
+
approved_count: 'Approved languages for {name}: {count}',
|
|
1211
|
+
not_sendable: 'Not sendable ({status})',
|
|
1212
|
+
},
|
|
1213
|
+
no_parameters: 'This message has no parameters to fill in.',
|
|
1214
|
+
not_sendable_hint: 'Greyed-out message groups have no approved message.',
|
|
1215
|
+
questions: {
|
|
1216
|
+
language: 'In which language?',
|
|
1217
|
+
message: 'Which message do you want to send?',
|
|
1218
|
+
parameters: 'Fill in the parameters',
|
|
1219
|
+
preview: 'This is what the guest will receive',
|
|
1220
|
+
},
|
|
1221
|
+
steps: {
|
|
1222
|
+
message: { description: 'Pick a sendable message group', title: 'Message' },
|
|
1223
|
+
parameters: { description: 'Fill in the blanks', title: 'Parameters' },
|
|
1224
|
+
},
|
|
1225
|
+
},
|
|
830
1226
|
status: {
|
|
831
1227
|
approved: 'Approved',
|
|
832
1228
|
draft: 'Draft',
|