From 1f0af9ca07611fda65e0ac3b114b7f506e32f2d7 Mon Sep 17 00:00:00 2001 From: Gleidson Daniel Silva Date: Tue, 18 Apr 2023 13:54:01 -0300 Subject: [PATCH] chore: Create and_N_more translation (#5023) * add and_N_more translations * fix translation --- app/containers/ReactionsList/AllTab.tsx | 2 +- app/i18n/locales/ar.json | 3 ++- app/i18n/locales/de.json | 3 ++- app/i18n/locales/en.json | 3 ++- app/i18n/locales/es-ES.json | 3 ++- app/i18n/locales/fi.json | 3 ++- app/i18n/locales/fr.json | 3 ++- app/i18n/locales/it.json | 3 ++- app/i18n/locales/ja.json | 3 ++- app/i18n/locales/nl.json | 3 ++- app/i18n/locales/pt-BR.json | 3 ++- app/i18n/locales/pt-PT.json | 3 ++- app/i18n/locales/ru.json | 3 ++- app/i18n/locales/sl-SI.json | 3 ++- app/i18n/locales/sv.json | 3 ++- app/i18n/locales/tr.json | 3 ++- app/i18n/locales/zh-CN.json | 3 ++- app/i18n/locales/zh-TW.json | 3 ++- 18 files changed, 35 insertions(+), 18 deletions(-) diff --git a/app/containers/ReactionsList/AllTab.tsx b/app/containers/ReactionsList/AllTab.tsx index 1696bc30b..4bfa6be9b 100644 --- a/app/containers/ReactionsList/AllTab.tsx +++ b/app/containers/ReactionsList/AllTab.tsx @@ -39,7 +39,7 @@ const AllReactionsListItem = ({ item, getCustomEmoji }: IAllReactionsListItemPro .join(', '); } if (count > 3) { - displayNames = `${displayNames} ${I18n.t('and_more')} ${count - 3}`; + displayNames = `${displayNames} ${I18n.t('and_N_more', { count: count - 3 })}`; } else { displayNames = displayNames.replace(/,(?=[^,]*$)/, ` ${I18n.t('and')}`); } diff --git a/app/i18n/locales/ar.json b/app/i18n/locales/ar.json index eed97c85d..5667b6511 100644 --- a/app/i18n/locales/ar.json +++ b/app/i18n/locales/ar.json @@ -634,5 +634,6 @@ "Logout_failed": "فشل تسجيل الخروج!", "Log_analytics_events": "تحليلات سجل الأحداث", "invalid-room": "غرفة غير صالحة", - "Broadcast_hint": "يمكن فقط للمستخدمين المصرح لهم كتابة رسائل جديدة، ولكن سيتمكن المستخدمون الآخرون من الرد" + "Broadcast_hint": "يمكن فقط للمستخدمين المصرح لهم كتابة رسائل جديدة، ولكن سيتمكن المستخدمون الآخرون من الرد", + "and_N_more": "و{{count}} آخرين" } \ No newline at end of file diff --git a/app/i18n/locales/de.json b/app/i18n/locales/de.json index 3d24589ad..05ea1de2c 100644 --- a/app/i18n/locales/de.json +++ b/app/i18n/locales/de.json @@ -858,5 +858,6 @@ "Channel_hint_not_read_only": "Alle Nutzer im Kanal können neue Nachrichten schreiben", "Channel_hint_encrypted_not_available": "Nicht verfügbar in öffentlichen Kanälen", "Read_only_hint": "Nur autorisierte Benutzer können neue Nachrichten schreiben", - "Discussion": "Diskussion" + "Discussion": "Diskussion", + "and_N_more": "und {{count}} weitere" } \ No newline at end of file diff --git a/app/i18n/locales/en.json b/app/i18n/locales/en.json index 7aad5b43c..b9509eee9 100644 --- a/app/i18n/locales/en.json +++ b/app/i18n/locales/en.json @@ -899,5 +899,6 @@ "admin-video-conf-provider-not-configured-body": "Configure conference calls in order to make it available on this workspace.", "Presence_Cap_Warning_Title": "User status temporarily disabled", "Presence_Cap_Warning_Description": "Active connections have reached the limit for the workspace, thus the service that handles user status is disabled. It can be re-enabled manually in workspace settings.", - "Learn_more": "Learn more" + "Learn_more": "Learn more", + "and_N_more": "and {{count}} more" } \ No newline at end of file diff --git a/app/i18n/locales/es-ES.json b/app/i18n/locales/es-ES.json index 5f5507e32..0c246fdfe 100644 --- a/app/i18n/locales/es-ES.json +++ b/app/i18n/locales/es-ES.json @@ -425,5 +425,6 @@ "Server_selection_numbers": "Seleccionar servidor 1...9", "Add_server": "Añadir servidor", "New_line": "Nueva línea", - "Broadcast_hint": "Sólo los usuarios autorizados pueden escribir nuevos mensajes, el resto podrán responder sobre los mismos." + "Broadcast_hint": "Sólo los usuarios autorizados pueden escribir nuevos mensajes, el resto podrán responder sobre los mismos.", + "and_N_more": "y {{count}} más" } \ No newline at end of file diff --git a/app/i18n/locales/fi.json b/app/i18n/locales/fi.json index f5cc00392..705705d4a 100644 --- a/app/i18n/locales/fi.json +++ b/app/i18n/locales/fi.json @@ -876,5 +876,6 @@ "Call": "Soita", "Reply_in_direct_message": "Vastaa suoralla viestillä", "room_archived": "arkistoi huoneen", - "room_unarchived": "palautti huoneen arkistosta" + "room_unarchived": "palautti huoneen arkistosta", + "and_N_more": "ja {{count}} lisää" } \ No newline at end of file diff --git a/app/i18n/locales/fr.json b/app/i18n/locales/fr.json index b9660b9d7..b2397601a 100644 --- a/app/i18n/locales/fr.json +++ b/app/i18n/locales/fr.json @@ -791,5 +791,6 @@ "Omnichannel_on_hold_chat_resumed": "Le chat en attente a repris : {{comment}}", "Omnichannel_queue": "File d'attente omnicanale", "Empty": "Vide", - "Broadcast_hint": "Seuls les utilisateurs autorisés peuvent écrire de nouveaux messages, mais les autres utilisateurs pourront répondre." + "Broadcast_hint": "Seuls les utilisateurs autorisés peuvent écrire de nouveaux messages, mais les autres utilisateurs pourront répondre.", + "and_N_more": "et {{count}} de plus" } \ No newline at end of file diff --git a/app/i18n/locales/it.json b/app/i18n/locales/it.json index 23758d12e..cc80667c0 100644 --- a/app/i18n/locales/it.json +++ b/app/i18n/locales/it.json @@ -690,5 +690,6 @@ "Workspace_URL_Example": "Es. tua-azienda.rocket.chat", "invalid-room": "Canale non valido", "Open_Livechats": "Chat in corso", - "Broadcast_hint": "Solo gli utenti autorizzati possono scrivere messaggi, ma gli altri utenti saranno in grado di rispondere" + "Broadcast_hint": "Solo gli utenti autorizzati possono scrivere messaggi, ma gli altri utenti saranno in grado di rispondere", + "and_N_more": "e altri {{count}}" } \ No newline at end of file diff --git a/app/i18n/locales/ja.json b/app/i18n/locales/ja.json index 2e08ab32f..529feb0a8 100644 --- a/app/i18n/locales/ja.json +++ b/app/i18n/locales/ja.json @@ -547,5 +547,6 @@ "Clear": "クリア", "This_will_clear_all_your_offline_data": "オフラインデータをすべて削除します。", "invalid-room": "無効なルーム", - "Broadcast_hint": "許可されたユーザーのみが新しいメッセージを書き込めます。他のユーザーは返信することができます" + "Broadcast_hint": "許可されたユーザーのみが新しいメッセージを書き込めます。他のユーザーは返信することができます", + "and_N_more": "さらに{{count}}つ" } \ No newline at end of file diff --git a/app/i18n/locales/nl.json b/app/i18n/locales/nl.json index 7d4b0d081..b32771c1e 100644 --- a/app/i18n/locales/nl.json +++ b/app/i18n/locales/nl.json @@ -791,5 +791,6 @@ "Omnichannel_on_hold_chat_resumed": "Chat in de wacht hervat: {{comment}}", "Omnichannel_queue": "Omnichannel-wachtrij", "Empty": "Leeg", - "Broadcast_hint": "Alleen geautoriseerde gebruikers kunnen nieuwe berichten schrijven, maar de andere gebruikers zullen kunnen antwoorden" + "Broadcast_hint": "Alleen geautoriseerde gebruikers kunnen nieuwe berichten schrijven, maar de andere gebruikers zullen kunnen antwoorden", + "and_N_more": "en nog {{count}}" } \ No newline at end of file diff --git a/app/i18n/locales/pt-BR.json b/app/i18n/locales/pt-BR.json index 998ad9d61..3dc8b90cb 100644 --- a/app/i18n/locales/pt-BR.json +++ b/app/i18n/locales/pt-BR.json @@ -885,5 +885,6 @@ "Discard":"Descartar", "Discard_changes_description":"Todas as alterações serão perdidas, se você sair sem salvar.", "Presence_Cap_Warning_Title": "Status do usuário desabilitado temporariamente", - "Presence_Cap_Warning_Description": "O limite de conexões ativas para a workspace foi atingido, por isso o serviço responsável pela presença dos usuários está temporariamente desabilitado. Ele pode ser reabilitado manualmente nas configurações da workspace." + "Presence_Cap_Warning_Description": "O limite de conexões ativas para a workspace foi atingido, por isso o serviço responsável pela presença dos usuários está temporariamente desabilitado. Ele pode ser reabilitado manualmente nas configurações da workspace.", + "and_N_more": "e mais {{count}}" } \ No newline at end of file diff --git a/app/i18n/locales/pt-PT.json b/app/i18n/locales/pt-PT.json index a4466d49f..7f1ac0e59 100644 --- a/app/i18n/locales/pt-PT.json +++ b/app/i18n/locales/pt-PT.json @@ -494,5 +494,6 @@ "You": "Você", "You_will_not_be_able_to_recover_this_message": "Você será incapaz de recuperar esta mensagem!", "Open_Livechats": "Chats em andamento", - "Broadcast_hint": "Apenas utilizadores autorizados podem escrever novas mensagens, mas os outros utilizadores poderão responder" + "Broadcast_hint": "Apenas utilizadores autorizados podem escrever novas mensagens, mas os outros utilizadores poderão responder", + "and_N_more": "e mais {{count}}" } \ No newline at end of file diff --git a/app/i18n/locales/ru.json b/app/i18n/locales/ru.json index cd0c9e1dd..31f825380 100644 --- a/app/i18n/locales/ru.json +++ b/app/i18n/locales/ru.json @@ -844,5 +844,6 @@ "Calling": "Идет вызов", "Start_a_call": "Начать звонок", "Call": "Звонок", - "Reply_in_direct_message": "Ответить в личном сообщении" + "Reply_in_direct_message": "Ответить в личном сообщении", + "and_N_more": "и еще {{count}}" } \ No newline at end of file diff --git a/app/i18n/locales/sl-SI.json b/app/i18n/locales/sl-SI.json index 97c950e33..85c078c31 100644 --- a/app/i18n/locales/sl-SI.json +++ b/app/i18n/locales/sl-SI.json @@ -809,5 +809,6 @@ "error-init-video-conf": "Napaka Zagon video klica", "totp-invalid": "Koda ali geslo neveljavno", "Close_Chat": "Zaprite klepet", - "Select_tags": "Izberite oznake" + "Select_tags": "Izberite oznake", + "and_N_more": "in še {{count}}" } \ No newline at end of file diff --git a/app/i18n/locales/sv.json b/app/i18n/locales/sv.json index 090ab78df..7f889cc85 100644 --- a/app/i18n/locales/sv.json +++ b/app/i18n/locales/sv.json @@ -874,5 +874,6 @@ "Call": "Ring", "Reply_in_direct_message": "Svara med direktmeddelande", "room_archived": "arkiverade rum", - "room_unarchived": "avarkiverade rum" + "room_unarchived": "avarkiverade rum", + "and_N_more": "och ytterligare {{count}}" } \ No newline at end of file diff --git a/app/i18n/locales/tr.json b/app/i18n/locales/tr.json index 2cca72e0c..d4a89af5f 100644 --- a/app/i18n/locales/tr.json +++ b/app/i18n/locales/tr.json @@ -670,5 +670,6 @@ "Workspace_URL_Example": "Örn. sirketiniz.rocket.chat", "invalid-room": "Geçersiz oda", "Open_Livechats": "Devam Eden Sohbetler", - "Broadcast_hint": "Yalnızca yetkili kullanıcılar yeni ileti yazabilir, ancak diğer kullanıcılar yanıt verebilir" + "Broadcast_hint": "Yalnızca yetkili kullanıcılar yeni ileti yazabilir, ancak diğer kullanıcılar yanıt verebilir", + "and_N_more": "ve {{count}} daha" } \ No newline at end of file diff --git a/app/i18n/locales/zh-CN.json b/app/i18n/locales/zh-CN.json index d92e61be3..1106f10d4 100644 --- a/app/i18n/locales/zh-CN.json +++ b/app/i18n/locales/zh-CN.json @@ -645,5 +645,6 @@ "No_threads_following": "当前没有正在追踪的讨论", "No_threads_unread": "当前没有未读的讨论", "Messagebox_Send_to_channel": "发送至频道", - "Broadcast_hint": "只有经过授权的用户才能写新信息,但其他用户可以回复" + "Broadcast_hint": "只有经过授权的用户才能写新信息,但其他用户可以回复", + "and_N_more": "另外{{count}}个" } \ No newline at end of file diff --git a/app/i18n/locales/zh-TW.json b/app/i18n/locales/zh-TW.json index ba850b671..ca45f9942 100644 --- a/app/i18n/locales/zh-TW.json +++ b/app/i18n/locales/zh-TW.json @@ -655,5 +655,6 @@ "Confirmation": "確認", "invalid-room": "無效的房間", "Open_Livechats": "打開即時聊天", - "Broadcast_hint": "只有經過授權的使用者才能發送新訊息,但其他使用者可以回覆" + "Broadcast_hint": "只有經過授權的使用者才能發送新訊息,但其他使用者可以回覆", + "and_N_more": "另外{{count}}個" } \ No newline at end of file