@sendbird/ai-agent-messenger-react 1.21.3 → 1.23.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.
@@ -1,6 +1,6 @@
1
- import { ja as a } from "date-fns/locale/ja";
2
- import { m as t } from "../index.js";
3
- const E = {
1
+ import { ja as s } from "date-fns/locale/ja";
2
+ import { m as i } from "../index.js";
3
+ const l = {
4
4
  conversation: {
5
5
  input_placeholder: "質問する",
6
6
  input_placeholder_disabled: "このチャンネルではチャットを利用できません",
@@ -16,17 +16,66 @@ const E = {
16
16
  failed_message_resend: "再試行",
17
17
  failed_message_remove: "削除",
18
18
  file_upload_no_supported_files: "サポートされているファイルタイプがありません。",
19
+ file_upload_replace_alert_title: "添付ファイルを置き換えますか?",
20
+ file_upload_replace_alert_description: "異なるファイル形式をアップロードすると、現在の添付ファイルが置き換えられます。",
19
21
  // Accessibility
20
22
  a11y_message_list: "チャットメッセージ",
21
23
  a11y_scroll_to_bottom: "一番下にスクロール",
22
24
  a11y_scroll_to_new_messages: "新しいメッセージにスクロール",
23
- a11y_open_conversation_list: "会話リストを開く"
25
+ a11y_open_conversation_list: "会話リストを開く",
26
+ a11y_open_conversation: "会話を開く",
27
+ a11y_open_conversations: "会話一覧を開く",
28
+ a11y_close_conversation: "会話を閉じる",
29
+ a11y_close_conversations: "会話一覧を閉じる",
30
+ a11y_menu: "メニュー",
31
+ a11y_message_input: "メッセージ",
32
+ a11y_send_message: "メッセージを送信",
33
+ a11y_attach_file: "ファイルを添付",
34
+ a11y_close_messenger: "メッセンジャーを閉じる",
35
+ a11y_expand_messenger: "メッセンジャーを展開",
36
+ a11y_collapse_messenger: "メッセンジャーを折りたたむ",
37
+ a11y_connect_agent: "エージェントに接続",
38
+ a11y_message_sender_you: "自分",
39
+ a11y_suggested_reply: "おすすめの返信",
40
+ a11y_typing_indicator: "入力中",
41
+ a11y_code_block_placeholder: "コードブロック",
42
+ a11y_typing_format: (_) => `${_}が入力中です`,
43
+ a11y_message_failed: "メッセージの送信に失敗しました",
44
+ a11y_new_messages_received: (_) => `新着メッセージ${_}件`,
45
+ a11y_new_messages_received_from_sender: (_, e) => `${_}から新着メッセージ${e}件`,
46
+ a11y_agent_connected: (_) => "人間のエージェントに接続しました",
47
+ a11y_conversation_closed: "会話が終了しました",
48
+ a11y_file_image: (_) => `画像ファイル: ${_}`,
49
+ a11y_file_video: (_) => `動画ファイル: ${_}`,
50
+ a11y_file_document: (_) => `文書ファイル: ${_}`,
51
+ a11y_screen_conversation: "会話",
52
+ a11y_screen_conversation_with_agent: (_) => `${_}との会話`,
53
+ a11y_screen_conversation_list_no_count: "会話リスト",
54
+ a11y_screen_conversation_list_with_count: (_) => `会話、全${_}件`,
55
+ a11y_csat_displayed: "満足度アンケートが表示されました",
56
+ a11y_empty_conversation: "この会話にはメッセージがありません",
57
+ a11y_input_disabled: "メッセージ入力が無効です",
58
+ a11y_file_size_exceeded: (_) => `ファイルサイズが${_}MBの上限を超えています`,
59
+ a11y_csat_form_error: "必須項目を入力してください",
60
+ a11y_hint_send_message: "メッセージを送信します",
61
+ a11y_hint_open_conversation: "会話を開きます",
62
+ a11y_hint_open_conversations: "会話一覧を開きます",
63
+ a11y_hint_close_conversation: "会話を閉じます",
64
+ a11y_hint_open_menu: "メニューを開きます",
65
+ a11y_hint_connect_to_agent: "人間のエージェントに接続します",
66
+ a11y_hint_attach_file: "ファイル添付オプションを開きます",
67
+ a11y_hint_view_new_messages: "新しいメッセージまでスクロールします",
68
+ a11y_hint_open_file: "ファイルを開きます",
69
+ a11y_hint_open_image: "画像を開きます",
70
+ a11y_hint_send_reply: "この返信を送信します"
24
71
  },
25
72
  conversation_list: {
26
73
  header_title: "会話",
27
74
  ended: "終了",
75
+ system_message: "システムメッセージ",
28
76
  footer_title: "会話を始める",
29
- multiple_files_count: (_) => `${_}個のファイル`
77
+ multiple_files_count: (_) => `${_}個のファイル`,
78
+ a11y_conversation_item: (_, e, o, t) => `${_}, ${e}, ${o}, 未読メッセージ${t}件`
30
79
  },
31
80
  date_format: {
32
81
  just_now: "たった今",
@@ -45,7 +94,9 @@ const E = {
45
94
  reason_placeholder: "フィードバックを共有する",
46
95
  question: "あなたの経験をどう評価しますか?",
47
96
  submit_label: "送信",
48
- submission_expired: "申し訳ありません、アンケートの受付期間は終了しました。"
97
+ submission_expired: "申し訳ありません、アンケートの受付期間は終了しました。",
98
+ a11y_rating_label: (_, e) => `5点中${_}点 — ${e}`,
99
+ a11y_hint_select_rating: "この評価を選択します"
49
100
  },
50
101
  form: {
51
102
  optional_label: "任意",
@@ -55,7 +106,9 @@ const E = {
55
106
  placeholder_something_went_wrong: "問題が発生しました",
56
107
  placeholder_no_messages: "メッセージがありません",
57
108
  placeholder_no_conversations: "まだ会話がありません",
58
- placeholder_something_went_wrong_retry_label: "再試行"
109
+ placeholder_something_went_wrong_retry_label: "再試行",
110
+ button_ok: "OK",
111
+ button_cancel: "キャンセル"
59
112
  },
60
113
  feedback: {
61
114
  title: "フィードバックを送信",
@@ -75,18 +128,17 @@ const E = {
75
128
  confirm_cancel: "キャンセル",
76
129
  confirm_handoff: "引き継ぎ"
77
130
  }
78
- }, e = {
131
+ }, a = {
79
132
  language: "ja",
80
- strings: E,
81
- dateLocale: a
82
- }, o = t(e.strings), T = {
83
- ...o,
133
+ strings: l,
134
+ dateLocale: s
135
+ }, n = i(a.strings), r = {
136
+ ...n,
84
137
  // Channel Header
85
138
  HEADER_BUTTON__AGENT_HANDOFF: "エージェントに接続",
86
139
  // Message Input
87
140
  MESSAGE_INPUT__PLACE_HOLDER__SUGGESTED_REPLIES: "続行するにはオプションを選択してください",
88
141
  // Common UI
89
- BUTTON__CANCEL: "キャンセル",
90
142
  BUTTON__SUBMIT: "送信",
91
143
  SUBMITTED: "送信済み",
92
144
  TRY_AGAIN: "もう一度お試しください。",
@@ -106,6 +158,13 @@ const E = {
106
158
  A11Y_IMAGE_VIEWER_NEXT: "次の画像",
107
159
  A11Y_IMAGE_VIEWER_DOWNLOAD: "画像をダウンロード",
108
160
  A11Y_ATTACH_FILE: "ファイルを添付",
161
+ A11Y_FILE_SELECTED: (_) => `${_}、選択済み`,
162
+ A11Y_FILE_REMOVE_BUTTON: (_) => `ファイルを削除: ${_}`,
163
+ A11Y_CSAT_RATING_LABEL: (_, e) => `${_} — ${e}`,
164
+ A11Y_FILE_UPLOAD_OPTIONS: "ファイルアップロードオプション",
165
+ A11Y_FAILED_MESSAGE_OPTIONS: "送信失敗メッセージのオプション",
166
+ A11Y_FEEDBACK_OPTIONS: "フィードバックオプション",
167
+ A11Y_CSAT_TEXT_INPUT_LABEL: "回答を入力",
109
168
  // Form
110
169
  FORM_UNAVAILABLE: "このフォームはもう利用できません。",
111
170
  FORM_NOT_SUPPORTED: "このフォームは現在のバージョンではサポートされていません。",
@@ -117,7 +176,7 @@ const E = {
117
176
  FORM_VALIDATION_MAX_SELECT: (_) => `最大${_}個のオプションを選択してください`,
118
177
  FORM_VALIDATION_REGEX_FAILED: "無効な形式",
119
178
  /** @deprecated Please use DATE_FORMAT__DATE_SHORT instead. **/
120
- DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: o.DATE_FORMAT__DATE_SHORT,
179
+ DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: n.DATE_FORMAT__DATE_SHORT,
121
180
  /** @deprecated Unused string **/
122
181
  DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE_CAPTION: "HH:mm",
123
182
  /** @deprecated Unused string **/
@@ -131,16 +190,14 @@ const E = {
131
190
  /** @deprecated Unused string **/
132
191
  BUTTON__SAVE: "保存",
133
192
  /** @deprecated Unused string **/
134
- BUTTON__OK: "OK",
135
- /** @deprecated Unused string **/
136
193
  NO_NAME: "(名前なし)",
137
194
  /** @deprecated Unused string **/
138
195
  CHANNEL_FROZEN: "チャンネルが凍結されました"
139
- }, l = {
140
- language: e.language,
141
- dateLocale: e.dateLocale,
142
- stringSet: T
196
+ }, A = {
197
+ language: a.language,
198
+ dateLocale: a.dateLocale,
199
+ stringSet: r
143
200
  };
144
201
  export {
145
- l as default
202
+ A as default
146
203
  };
@@ -1,6 +1,6 @@
1
1
  import { fr as r } from "date-fns/locale/fr";
2
- import { m as _ } from "../index.js";
3
- const o = {
2
+ import { m as o } from "../index.js";
3
+ const t = {
4
4
  conversation: {
5
5
  input_placeholder: "Poser une question",
6
6
  input_placeholder_disabled: "Le chat n'est pas disponible dans ce canal",
@@ -16,17 +16,66 @@ const o = {
16
16
  failed_message_resend: "Réessayer",
17
17
  failed_message_remove: "Supprimer",
18
18
  file_upload_no_supported_files: "Aucun type de fichier pris en charge disponible.",
19
+ file_upload_replace_alert_title: "Remplacer la pièce jointe ?",
20
+ file_upload_replace_alert_description: "Le téléversement d’un autre type de fichier remplacera la pièce jointe actuelle.",
19
21
  // Accessibility
20
22
  a11y_message_list: "Messages du chat",
21
23
  a11y_scroll_to_bottom: "Faire défiler vers le bas",
22
24
  a11y_scroll_to_new_messages: "Aller aux nouveaux messages",
23
- a11y_open_conversation_list: "Ouvrir la liste des conversations"
25
+ a11y_open_conversation_list: "Ouvrir la liste des conversations",
26
+ a11y_open_conversation: "Ouvrir la conversation",
27
+ a11y_open_conversations: "Ouvrir la liste des conversations",
28
+ a11y_close_conversation: "Fermer la conversation",
29
+ a11y_close_conversations: "Fermer la liste des conversations",
30
+ a11y_menu: "Menu",
31
+ a11y_message_input: "Message",
32
+ a11y_send_message: "Envoyer le message",
33
+ a11y_attach_file: "Joindre un fichier",
34
+ a11y_close_messenger: "Fermer la messagerie",
35
+ a11y_expand_messenger: "Agrandir la messagerie",
36
+ a11y_collapse_messenger: "Réduire la messagerie",
37
+ a11y_connect_agent: "Se connecter avec un agent",
38
+ a11y_message_sender_you: "Vous",
39
+ a11y_suggested_reply: "Réponse suggérée",
40
+ a11y_typing_indicator: "En train d'écrire",
41
+ a11y_code_block_placeholder: "Bloc de code",
42
+ a11y_typing_format: (e) => `${e} est en train d'écrire`,
43
+ a11y_message_failed: "Échec de l'envoi du message",
44
+ a11y_new_messages_received: (e) => `${e} ${e === 1 ? "nouveau message reçu" : "nouveaux messages reçus"}`,
45
+ a11y_new_messages_received_from_sender: (e, a) => `${e} : ${a} ${a === 1 ? "nouveau message reçu" : "nouveaux messages reçus"}`,
46
+ a11y_agent_connected: (e) => "Connecté à un agent humain",
47
+ a11y_conversation_closed: "La conversation est terminée",
48
+ a11y_file_image: (e) => `Fichier image : ${e}`,
49
+ a11y_file_video: (e) => `Fichier vidéo : ${e}`,
50
+ a11y_file_document: (e) => `Fichier document : ${e}`,
51
+ a11y_screen_conversation: "Conversation",
52
+ a11y_screen_conversation_with_agent: (e) => `Conversation avec ${e}`,
53
+ a11y_screen_conversation_list_no_count: "Liste des conversations",
54
+ a11y_screen_conversation_list_with_count: (e) => `Conversations, ${e} au total`,
55
+ a11y_csat_displayed: "Enquête de satisfaction affichée",
56
+ a11y_empty_conversation: "Aucun message dans cette conversation",
57
+ a11y_input_disabled: "La saisie de message est désactivée",
58
+ a11y_file_size_exceeded: (e) => `Le fichier dépasse la limite de ${e}Mo`,
59
+ a11y_csat_form_error: "Veuillez remplir les champs obligatoires",
60
+ a11y_hint_send_message: "Envoie le message",
61
+ a11y_hint_open_conversation: "Ouvre la conversation",
62
+ a11y_hint_open_conversations: "Ouvre la liste des conversations",
63
+ a11y_hint_close_conversation: "Ferme la conversation",
64
+ a11y_hint_open_menu: "Ouvre le menu",
65
+ a11y_hint_connect_to_agent: "Connecte à un agent humain",
66
+ a11y_hint_attach_file: "Ouvre les options de pièce jointe",
67
+ a11y_hint_view_new_messages: "Fait défiler vers les nouveaux messages",
68
+ a11y_hint_open_file: "Ouvre le fichier",
69
+ a11y_hint_open_image: "Ouvre l'image",
70
+ a11y_hint_send_reply: "Envoie cette réponse"
24
71
  },
25
72
  conversation_list: {
26
73
  header_title: "Conversations",
27
74
  ended: "Terminée",
75
+ system_message: "Message système",
28
76
  footer_title: "Démarrer une conversation",
29
- multiple_files_count: (e) => `${e} fichier${e === 1 ? "" : "s"}`
77
+ multiple_files_count: (e) => `${e} fichier${e === 1 ? "" : "s"}`,
78
+ a11y_conversation_item: (e, a, i, n) => `${e}, ${a}, ${i}, ${n} message${n === 1 ? "" : "s"} non lu${n === 1 ? "" : "s"}`
30
79
  },
31
80
  date_format: {
32
81
  just_now: "À l'instant",
@@ -45,7 +94,9 @@ const o = {
45
94
  reason_placeholder: "Partagez votre avis",
46
95
  question: "Comment évalueriez-vous votre expérience ?",
47
96
  submit_label: "Envoyer",
48
- submission_expired: "Désolé, la période de l'enquête est terminée."
97
+ submission_expired: "Désolé, la période de l'enquête est terminée.",
98
+ a11y_rating_label: (e, a) => `${e} sur 5 — ${a}`,
99
+ a11y_hint_select_rating: "Sélectionne cette note"
49
100
  },
50
101
  form: {
51
102
  optional_label: "optionnel",
@@ -55,7 +106,9 @@ const o = {
55
106
  placeholder_something_went_wrong: "Une erreur est survenue",
56
107
  placeholder_no_messages: "Aucun message",
57
108
  placeholder_no_conversations: "Aucune conversation pour le moment",
58
- placeholder_something_went_wrong_retry_label: "Réessayer"
109
+ placeholder_something_went_wrong_retry_label: "Réessayer",
110
+ button_ok: "OK",
111
+ button_cancel: "Annuler"
59
112
  },
60
113
  feedback: {
61
114
  title: "Envoyer des commentaires",
@@ -75,18 +128,17 @@ const o = {
75
128
  confirm_cancel: "Annuler",
76
129
  confirm_handoff: "Transférer"
77
130
  }
78
- }, n = {
131
+ }, s = {
79
132
  language: "fr",
80
- strings: o,
133
+ strings: t,
81
134
  dateLocale: r
82
- }, a = _(n.strings), s = {
83
- ...a,
135
+ }, _ = o(s.strings), l = {
136
+ ..._,
84
137
  // Channel Header
85
138
  HEADER_BUTTON__AGENT_HANDOFF: "Se connecter avec un agent",
86
139
  // Message Input
87
140
  MESSAGE_INPUT__PLACE_HOLDER__SUGGESTED_REPLIES: "Sélectionnez une option pour continuer",
88
141
  // Common UI
89
- BUTTON__CANCEL: "Annuler",
90
142
  BUTTON__SUBMIT: "Soumettre",
91
143
  SUBMITTED: "Soumis",
92
144
  TRY_AGAIN: "Veuillez réessayer.",
@@ -106,6 +158,13 @@ const o = {
106
158
  A11Y_IMAGE_VIEWER_NEXT: "Image suivante",
107
159
  A11Y_IMAGE_VIEWER_DOWNLOAD: "Télécharger l'image",
108
160
  A11Y_ATTACH_FILE: "Joindre un fichier",
161
+ A11Y_FILE_SELECTED: (e) => `${e}, sélectionné`,
162
+ A11Y_FILE_REMOVE_BUTTON: (e) => `Supprimer le fichier : ${e}`,
163
+ A11Y_CSAT_RATING_LABEL: (e, a) => `${e} — ${a}`,
164
+ A11Y_FILE_UPLOAD_OPTIONS: "Options de téléchargement de fichiers",
165
+ A11Y_FAILED_MESSAGE_OPTIONS: "Options du message échoué",
166
+ A11Y_FEEDBACK_OPTIONS: "Options de commentaires",
167
+ A11Y_CSAT_TEXT_INPUT_LABEL: "Saisissez votre réponse",
109
168
  // Form
110
169
  FORM_UNAVAILABLE: "Le formulaire n'est plus disponible.",
111
170
  FORM_NOT_SUPPORTED: "Ce formulaire n'est pas pris en charge dans la version actuelle.",
@@ -117,7 +176,7 @@ const o = {
117
176
  FORM_VALIDATION_MAX_SELECT: (e) => `Sélectionnez au maximum ${e} options`,
118
177
  FORM_VALIDATION_REGEX_FAILED: "Format invalide",
119
178
  /** @deprecated Please use DATE_FORMAT__DATE_SHORT instead. **/
120
- DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: a.DATE_FORMAT__DATE_SHORT,
179
+ DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: _.DATE_FORMAT__DATE_SHORT,
121
180
  /** @deprecated Unused string **/
122
181
  DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE_CAPTION: "HH:mm",
123
182
  /** @deprecated Unused string **/
@@ -131,16 +190,14 @@ const o = {
131
190
  /** @deprecated Unused string **/
132
191
  BUTTON__SAVE: "Enregistrer",
133
192
  /** @deprecated Unused string **/
134
- BUTTON__OK: "OK",
135
- /** @deprecated Unused string **/
136
193
  NO_NAME: "(Sans nom)",
137
194
  /** @deprecated Unused string **/
138
195
  CHANNEL_FROZEN: "Canal gelé"
139
- }, l = {
140
- language: n.language,
141
- dateLocale: n.dateLocale,
142
- stringSet: s
196
+ }, u = {
197
+ language: s.language,
198
+ dateLocale: s.dateLocale,
199
+ stringSet: l
143
200
  };
144
201
  export {
145
- l as default
202
+ u as default
146
203
  };
@@ -1,6 +1,6 @@
1
- import { pt as _ } from "date-fns/locale/pt";
2
- import { m as r } from "../index.js";
3
- const n = {
1
+ import { pt as r } from "date-fns/locale/pt";
2
+ import { m as i } from "../index.js";
3
+ const t = {
4
4
  conversation: {
5
5
  input_placeholder: "Fazer uma pergunta",
6
6
  input_placeholder_disabled: "O chat não está disponível neste canal",
@@ -16,17 +16,66 @@ const n = {
16
16
  failed_message_resend: "Tentar novamente",
17
17
  failed_message_remove: "Remover",
18
18
  file_upload_no_supported_files: "Nenhum tipo de arquivo suportado disponível.",
19
+ file_upload_replace_alert_title: "Substituir anexo?",
20
+ file_upload_replace_alert_description: "Enviar um tipo de arquivo diferente substituirá o anexo atual.",
19
21
  // Accessibility
20
22
  a11y_message_list: "Mensagens do chat",
21
23
  a11y_scroll_to_bottom: "Rolar para baixo",
22
24
  a11y_scroll_to_new_messages: "Rolar para novas mensagens",
23
- a11y_open_conversation_list: "Abrir lista de conversas"
25
+ a11y_open_conversation_list: "Abrir lista de conversas",
26
+ a11y_open_conversation: "Abrir conversa",
27
+ a11y_open_conversations: "Abrir lista de conversas",
28
+ a11y_close_conversation: "Fechar conversa",
29
+ a11y_close_conversations: "Fechar lista de conversas",
30
+ a11y_menu: "Menu",
31
+ a11y_message_input: "Mensagem",
32
+ a11y_send_message: "Enviar mensagem",
33
+ a11y_attach_file: "Anexar arquivo",
34
+ a11y_close_messenger: "Fechar messenger",
35
+ a11y_expand_messenger: "Expandir messenger",
36
+ a11y_collapse_messenger: "Recolher messenger",
37
+ a11y_connect_agent: "Conectar-se com um agente",
38
+ a11y_message_sender_you: "Você",
39
+ a11y_suggested_reply: "Resposta sugerida",
40
+ a11y_typing_indicator: "Digitando",
41
+ a11y_code_block_placeholder: "Bloco de código",
42
+ a11y_typing_format: (e) => `${e} está digitando`,
43
+ a11y_message_failed: "Falha ao enviar mensagem",
44
+ a11y_new_messages_received: (e) => `${e} ${e === 1 ? "nova mensagem recebida" : "novas mensagens recebidas"}`,
45
+ a11y_new_messages_received_from_sender: (e, a) => `${e}: ${a} ${a === 1 ? "nova mensagem recebida" : "novas mensagens recebidas"}`,
46
+ a11y_agent_connected: (e) => "Conectado ao agente humano",
47
+ a11y_conversation_closed: "A conversa foi encerrada",
48
+ a11y_file_image: (e) => `Arquivo de imagem: ${e}`,
49
+ a11y_file_video: (e) => `Arquivo de vídeo: ${e}`,
50
+ a11y_file_document: (e) => `Arquivo de documento: ${e}`,
51
+ a11y_screen_conversation: "Conversa",
52
+ a11y_screen_conversation_with_agent: (e) => `Conversa com ${e}`,
53
+ a11y_screen_conversation_list_no_count: "Lista de conversas",
54
+ a11y_screen_conversation_list_with_count: (e) => `Conversas, ${e} no total`,
55
+ a11y_csat_displayed: "Pesquisa de satisfação exibida",
56
+ a11y_empty_conversation: "Nenhuma mensagem nesta conversa",
57
+ a11y_input_disabled: "Entrada de mensagem desativada",
58
+ a11y_file_size_exceeded: (e) => `Arquivo excede o limite de ${e}MB`,
59
+ a11y_csat_form_error: "Preencha os campos obrigatórios",
60
+ a11y_hint_send_message: "Envia a mensagem",
61
+ a11y_hint_open_conversation: "Abre a conversa",
62
+ a11y_hint_open_conversations: "Abre a lista de conversas",
63
+ a11y_hint_close_conversation: "Fecha a conversa",
64
+ a11y_hint_open_menu: "Abre o menu",
65
+ a11y_hint_connect_to_agent: "Conecta a um agente humano",
66
+ a11y_hint_attach_file: "Abre as opções de anexo de arquivo",
67
+ a11y_hint_view_new_messages: "Rola até as novas mensagens",
68
+ a11y_hint_open_file: "Abre o arquivo",
69
+ a11y_hint_open_image: "Abre a imagem",
70
+ a11y_hint_send_reply: "Envia esta resposta"
24
71
  },
25
72
  conversation_list: {
26
73
  header_title: "Conversas",
27
74
  ended: "Encerrada",
75
+ system_message: "Mensagem do sistema",
28
76
  footer_title: "Iniciar uma conversa",
29
- multiple_files_count: (e) => `${e} ${e === 1 ? "arquivo" : "arquivos"}`
77
+ multiple_files_count: (e) => `${e} ${e === 1 ? "arquivo" : "arquivos"}`,
78
+ a11y_conversation_item: (e, a, s, _) => `${e}, ${a}, ${s}, ${_} ${_ === 1 ? "mensagem não lida" : "mensagens não lidas"}`
30
79
  },
31
80
  date_format: {
32
81
  just_now: "Agora mesmo",
@@ -45,7 +94,9 @@ const n = {
45
94
  reason_placeholder: "Compartilhe seu feedback",
46
95
  question: "Como você avaliaria sua experiência?",
47
96
  submit_label: "Enviar",
48
- submission_expired: "Desculpe, o período da pesquisa foi encerrado."
97
+ submission_expired: "Desculpe, o período da pesquisa foi encerrado.",
98
+ a11y_rating_label: (e, a) => `${e} de 5 — ${a}`,
99
+ a11y_hint_select_rating: "Seleciona esta avaliação"
49
100
  },
50
101
  form: {
51
102
  optional_label: "opcional",
@@ -55,7 +106,9 @@ const n = {
55
106
  placeholder_something_went_wrong: "Algo deu errado",
56
107
  placeholder_no_messages: "Nenhuma mensagem",
57
108
  placeholder_no_conversations: "Nenhuma conversa ainda",
58
- placeholder_something_went_wrong_retry_label: "Tentar novamente"
109
+ placeholder_something_went_wrong_retry_label: "Tentar novamente",
110
+ button_ok: "OK",
111
+ button_cancel: "Cancelar"
59
112
  },
60
113
  feedback: {
61
114
  title: "Enviar feedback",
@@ -75,18 +128,17 @@ const n = {
75
128
  confirm_cancel: "Cancelar",
76
129
  confirm_handoff: "Transferir"
77
130
  }
78
- }, a = {
131
+ }, o = {
79
132
  language: "pt",
80
- strings: n,
81
- dateLocale: _
82
- }, o = r(a.strings), i = {
83
- ...o,
133
+ strings: t,
134
+ dateLocale: r
135
+ }, n = i(o.strings), c = {
136
+ ...n,
84
137
  // Channel Header
85
138
  HEADER_BUTTON__AGENT_HANDOFF: "Conectar-se com um agente",
86
139
  // Message Input
87
140
  MESSAGE_INPUT__PLACE_HOLDER__SUGGESTED_REPLIES: "Selecione uma opção para continuar",
88
141
  // Common UI
89
- BUTTON__CANCEL: "Cancelar",
90
142
  BUTTON__SUBMIT: "Enviar",
91
143
  SUBMITTED: "Enviado",
92
144
  TRY_AGAIN: "Tente novamente.",
@@ -106,6 +158,13 @@ const n = {
106
158
  A11Y_IMAGE_VIEWER_NEXT: "Próxima imagem",
107
159
  A11Y_IMAGE_VIEWER_DOWNLOAD: "Baixar imagem",
108
160
  A11Y_ATTACH_FILE: "Anexar arquivo",
161
+ A11Y_FILE_SELECTED: (e) => `${e}, selecionado`,
162
+ A11Y_FILE_REMOVE_BUTTON: (e) => `Remover arquivo: ${e}`,
163
+ A11Y_CSAT_RATING_LABEL: (e, a) => `${e} — ${a}`,
164
+ A11Y_FILE_UPLOAD_OPTIONS: "Opções de upload de arquivo",
165
+ A11Y_FAILED_MESSAGE_OPTIONS: "Opções de mensagem com falha",
166
+ A11Y_FEEDBACK_OPTIONS: "Opções de feedback",
167
+ A11Y_CSAT_TEXT_INPUT_LABEL: "Digite sua resposta",
109
168
  // Form
110
169
  FORM_UNAVAILABLE: "O formulário não está mais disponível.",
111
170
  FORM_NOT_SUPPORTED: "Este formulário não é suportado na versão atual.",
@@ -117,7 +176,7 @@ const n = {
117
176
  FORM_VALIDATION_MAX_SELECT: (e) => `Selecione no máximo ${e} opções`,
118
177
  FORM_VALIDATION_REGEX_FAILED: "Formato inválido",
119
178
  /** @deprecated Please use DATE_FORMAT__DATE_SHORT instead. **/
120
- DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: o.DATE_FORMAT__DATE_SHORT,
179
+ DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: n.DATE_FORMAT__DATE_SHORT,
121
180
  /** @deprecated Unused string **/
122
181
  DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE_CAPTION: "HH:mm",
123
182
  /** @deprecated Unused string **/
@@ -131,16 +190,14 @@ const n = {
131
190
  /** @deprecated Unused string **/
132
191
  BUTTON__SAVE: "Salvar",
133
192
  /** @deprecated Unused string **/
134
- BUTTON__OK: "OK",
135
- /** @deprecated Unused string **/
136
193
  NO_NAME: "(Sem nome)",
137
194
  /** @deprecated Unused string **/
138
195
  CHANNEL_FROZEN: "Canal congelado"
139
- }, m = {
140
- language: a.language,
141
- dateLocale: a.dateLocale,
142
- stringSet: i
196
+ }, l = {
197
+ language: o.language,
198
+ dateLocale: o.dateLocale,
199
+ stringSet: c
143
200
  };
144
201
  export {
145
- m as default
202
+ l as default
146
203
  };
@@ -1,6 +1,6 @@
1
- import { es as n } from "date-fns/locale/es";
2
- import { m as _ } from "../index.js";
3
- const i = {
1
+ import { es as i } from "date-fns/locale/es";
2
+ import { m as r } from "../index.js";
3
+ const t = {
4
4
  conversation: {
5
5
  input_placeholder: "Hacer una pregunta",
6
6
  input_placeholder_disabled: "El chat no está disponible en este canal",
@@ -16,17 +16,66 @@ const i = {
16
16
  failed_message_resend: "Reintentar",
17
17
  failed_message_remove: "Eliminar",
18
18
  file_upload_no_supported_files: "No hay tipos de archivo compatibles disponibles.",
19
+ file_upload_replace_alert_title: "¿Reemplazar archivo adjunto?",
20
+ file_upload_replace_alert_description: "Subir un tipo de archivo diferente reemplazará el archivo adjunto actual.",
19
21
  // Accessibility
20
22
  a11y_message_list: "Mensajes del chat",
21
23
  a11y_scroll_to_bottom: "Desplazarse hacia abajo",
22
24
  a11y_scroll_to_new_messages: "Desplazarse a nuevos mensajes",
23
- a11y_open_conversation_list: "Abrir lista de conversaciones"
25
+ a11y_open_conversation_list: "Abrir lista de conversaciones",
26
+ a11y_open_conversation: "Abrir conversación",
27
+ a11y_open_conversations: "Abrir lista de conversaciones",
28
+ a11y_close_conversation: "Cerrar conversación",
29
+ a11y_close_conversations: "Cerrar lista de conversaciones",
30
+ a11y_menu: "Menú",
31
+ a11y_message_input: "Mensaje",
32
+ a11y_send_message: "Enviar mensaje",
33
+ a11y_attach_file: "Adjuntar archivo",
34
+ a11y_close_messenger: "Cerrar mensajero",
35
+ a11y_expand_messenger: "Expandir mensajero",
36
+ a11y_collapse_messenger: "Contraer mensajero",
37
+ a11y_connect_agent: "Conectarse con un agente",
38
+ a11y_message_sender_you: "Tú",
39
+ a11y_suggested_reply: "Respuesta sugerida",
40
+ a11y_typing_indicator: "Escribiendo",
41
+ a11y_code_block_placeholder: "Bloque de código",
42
+ a11y_typing_format: (e) => `${e} está escribiendo`,
43
+ a11y_message_failed: "Error al enviar el mensaje",
44
+ a11y_new_messages_received: (e) => `${e} ${e === 1 ? "mensaje nuevo recibido" : "mensajes nuevos recibidos"}`,
45
+ a11y_new_messages_received_from_sender: (e, a) => `${e}: ${a} ${a === 1 ? "mensaje nuevo recibido" : "mensajes nuevos recibidos"}`,
46
+ a11y_agent_connected: (e) => "Conectado con agente humano",
47
+ a11y_conversation_closed: "La conversación ha finalizado",
48
+ a11y_file_image: (e) => `Archivo de imagen: ${e}`,
49
+ a11y_file_video: (e) => `Archivo de video: ${e}`,
50
+ a11y_file_document: (e) => `Archivo de documento: ${e}`,
51
+ a11y_screen_conversation: "Conversación",
52
+ a11y_screen_conversation_with_agent: (e) => `Conversación con ${e}`,
53
+ a11y_screen_conversation_list_no_count: "Lista de conversaciones",
54
+ a11y_screen_conversation_list_with_count: (e) => `Conversaciones, ${e} en total`,
55
+ a11y_csat_displayed: "Encuesta de satisfacción mostrada",
56
+ a11y_empty_conversation: "No hay mensajes en esta conversación",
57
+ a11y_input_disabled: "La entrada de mensajes está deshabilitada",
58
+ a11y_file_size_exceeded: (e) => `El archivo excede el límite de ${e}MB`,
59
+ a11y_csat_form_error: "Por favor complete los campos obligatorios",
60
+ a11y_hint_send_message: "Envía el mensaje",
61
+ a11y_hint_open_conversation: "Abre la conversación",
62
+ a11y_hint_open_conversations: "Abre la lista de conversaciones",
63
+ a11y_hint_close_conversation: "Cierra la conversación",
64
+ a11y_hint_open_menu: "Abre el menú",
65
+ a11y_hint_connect_to_agent: "Conecta con un agente humano",
66
+ a11y_hint_attach_file: "Abre las opciones para adjuntar archivos",
67
+ a11y_hint_view_new_messages: "Se desplaza a los mensajes nuevos",
68
+ a11y_hint_open_file: "Abre el archivo",
69
+ a11y_hint_open_image: "Abre la imagen",
70
+ a11y_hint_send_reply: "Envía esta respuesta"
24
71
  },
25
72
  conversation_list: {
26
73
  header_title: "Conversaciones",
27
74
  ended: "Finalizado",
75
+ system_message: "Mensaje del sistema",
28
76
  footer_title: "Iniciar una conversación",
29
- multiple_files_count: (e) => `${e} ${e === 1 ? "archivo" : "archivos"}`
77
+ multiple_files_count: (e) => `${e} ${e === 1 ? "archivo" : "archivos"}`,
78
+ a11y_conversation_item: (e, a, s, n) => `${e}, ${a}, ${s}, ${n} mensaje${n === 1 ? "" : "s"} sin leer`
30
79
  },
31
80
  date_format: {
32
81
  just_now: "Ahora mismo",
@@ -45,7 +94,9 @@ const i = {
45
94
  reason_placeholder: "Comparte tu opinión",
46
95
  question: "¿Cómo calificarías tu experiencia?",
47
96
  submit_label: "Enviar",
48
- submission_expired: "Lo sentimos, el período de la encuesta ha terminado."
97
+ submission_expired: "Lo sentimos, el período de la encuesta ha terminado.",
98
+ a11y_rating_label: (e, a) => `${e} de 5 — ${a}`,
99
+ a11y_hint_select_rating: "Selecciona esta calificación"
49
100
  },
50
101
  form: {
51
102
  optional_label: "opcional",
@@ -55,7 +106,9 @@ const i = {
55
106
  placeholder_something_went_wrong: "Algo salió mal",
56
107
  placeholder_no_messages: "No hay mensajes",
57
108
  placeholder_no_conversations: "Aún no hay conversaciones",
58
- placeholder_something_went_wrong_retry_label: "Reintentar"
109
+ placeholder_something_went_wrong_retry_label: "Reintentar",
110
+ button_ok: "Aceptar",
111
+ button_cancel: "Cancelar"
59
112
  },
60
113
  feedback: {
61
114
  title: "Enviar comentarios",
@@ -75,18 +128,17 @@ const i = {
75
128
  confirm_cancel: "Cancelar",
76
129
  confirm_handoff: "Transferir"
77
130
  }
78
- }, a = {
131
+ }, o = {
79
132
  language: "es",
80
- strings: i,
81
- dateLocale: n
82
- }, o = _(a.strings), r = {
83
- ...o,
133
+ strings: t,
134
+ dateLocale: i
135
+ }, _ = r(o.strings), c = {
136
+ ..._,
84
137
  // Channel Header
85
138
  HEADER_BUTTON__AGENT_HANDOFF: "Conectarse con un agente",
86
139
  // Message Input
87
140
  MESSAGE_INPUT__PLACE_HOLDER__SUGGESTED_REPLIES: "Selecciona una opción para continuar",
88
141
  // Common UI
89
- BUTTON__CANCEL: "Cancelar",
90
142
  BUTTON__SUBMIT: "Enviar",
91
143
  SUBMITTED: "Enviado",
92
144
  TRY_AGAIN: "Por favor, inténtalo de nuevo.",
@@ -106,6 +158,13 @@ const i = {
106
158
  A11Y_IMAGE_VIEWER_NEXT: "Imagen siguiente",
107
159
  A11Y_IMAGE_VIEWER_DOWNLOAD: "Descargar imagen",
108
160
  A11Y_ATTACH_FILE: "Adjuntar archivo",
161
+ A11Y_FILE_SELECTED: (e) => `${e}, seleccionado`,
162
+ A11Y_FILE_REMOVE_BUTTON: (e) => `Eliminar archivo: ${e}`,
163
+ A11Y_CSAT_RATING_LABEL: (e, a) => `${e} — ${a}`,
164
+ A11Y_FILE_UPLOAD_OPTIONS: "Opciones de carga de archivos",
165
+ A11Y_FAILED_MESSAGE_OPTIONS: "Opciones de mensaje fallido",
166
+ A11Y_FEEDBACK_OPTIONS: "Opciones de comentarios",
167
+ A11Y_CSAT_TEXT_INPUT_LABEL: "Introduzca su respuesta",
109
168
  // Form
110
169
  FORM_UNAVAILABLE: "El formulario ya no está disponible.",
111
170
  FORM_NOT_SUPPORTED: "Este formulario no es compatible con la versión actual.",
@@ -117,7 +176,7 @@ const i = {
117
176
  FORM_VALIDATION_MAX_SELECT: (e) => `Selecciona como máximo ${e} opciones`,
118
177
  FORM_VALIDATION_REGEX_FAILED: "Formato inválido",
119
178
  /** @deprecated Please use DATE_FORMAT__DATE_SHORT instead. **/
120
- DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: o.DATE_FORMAT__DATE_SHORT,
179
+ DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: _.DATE_FORMAT__DATE_SHORT,
121
180
  /** @deprecated Unused string **/
122
181
  DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE_CAPTION: "HH:mm",
123
182
  /** @deprecated Unused string **/
@@ -131,16 +190,14 @@ const i = {
131
190
  /** @deprecated Unused string **/
132
191
  BUTTON__SAVE: "Guardar",
133
192
  /** @deprecated Unused string **/
134
- BUTTON__OK: "Aceptar",
135
- /** @deprecated Unused string **/
136
193
  NO_NAME: "(Sin nombre)",
137
194
  /** @deprecated Unused string **/
138
195
  CHANNEL_FROZEN: "Canal congelado"
139
- }, l = {
140
- language: a.language,
141
- dateLocale: a.dateLocale,
142
- stringSet: r
196
+ }, m = {
197
+ language: o.language,
198
+ dateLocale: o.dateLocale,
199
+ stringSet: c
143
200
  };
144
201
  export {
145
- l as default
202
+ m as default
146
203
  };