Skip to content

Commit 444e11a

Browse files
committed
Add fallback for ReportFooter read permission and update localization strings
1 parent 3ef40f2 commit 444e11a

11 files changed

Lines changed: 32 additions & 0 deletions

File tree

src/languages/de.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,7 @@ const translations: TranslationDeepObject<typeof en> = {
877877
},
878878
},
879879
adminOnlyCanPost: 'Nur Admins können Nachrichten in diesem Raum senden.',
880+
readOnlyConversation: 'Diese Konversation ist schreibgeschützt.',
880881
reportAction: {
881882
asCopilot: 'als Copilot für',
882883
assistedBy: (agentName: string) => `unterstützt von ${agentName}`,

src/languages/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,7 @@ const translations = {
906906
},
907907
},
908908
adminOnlyCanPost: 'Only admins can send messages in this room.',
909+
readOnlyConversation: 'This conversation is read-only.',
909910
reportAction: {
910911
asCopilot: 'as copilot for',
911912
assistedBy: (agentName: string) => `assisted by ${agentName}`,

src/languages/es.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,7 @@ const translations: TranslationDeepObject<typeof en> = {
794794
},
795795
},
796796
adminOnlyCanPost: 'Solo los administradores pueden enviar mensajes en esta sala.',
797+
readOnlyConversation: 'Esta conversación es de solo lectura.',
797798
reportAction: {
798799
asCopilot: 'como copiloto de',
799800
assistedBy: (agentName: string) => `asistido por ${agentName}`,

src/languages/fr.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,7 @@ const translations: TranslationDeepObject<typeof en> = {
880880
},
881881
},
882882
adminOnlyCanPost: 'Seuls les administrateurs peuvent envoyer des messages dans ce salon.',
883+
readOnlyConversation: 'Cette conversation est en lecture seule.',
883884
reportAction: {
884885
asCopilot: 'en tant que copilote pour',
885886
assistedBy: (agentName: string) => `assisté par ${agentName}`,

src/languages/it.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,7 @@ const translations: TranslationDeepObject<typeof en> = {
878878
},
879879
},
880880
adminOnlyCanPost: 'Solo gli amministratori possono inviare messaggi in questa stanza.',
881+
readOnlyConversation: 'Questa conversazione è di sola lettura.',
881882
reportAction: {
882883
asCopilot: 'come copilota per',
883884
assistedBy: (agentName: string) => `assistito da ${agentName}`,

src/languages/ja.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,7 @@ const translations: TranslationDeepObject<typeof en> = {
864864
},
865865
},
866866
adminOnlyCanPost: 'このルームでメッセージを送信できるのは管理者のみです。',
867+
readOnlyConversation: 'この会話は読み取り専用です。',
867868
reportAction: {
868869
asCopilot: '共同操縦者として',
869870
assistedBy: (agentName: string) => `${agentName}がアシスト`,

src/languages/nl.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,7 @@ const translations: TranslationDeepObject<typeof en> = {
876876
},
877877
},
878878
adminOnlyCanPost: 'Alleen beheerders kunnen berichten sturen in deze ruimte.',
879+
readOnlyConversation: 'Deze conversatie is alleen-lezen.',
879880
reportAction: {
880881
asCopilot: 'als copiloot voor',
881882
assistedBy: (agentName: string) => `bijgestaan door ${agentName}`,

src/languages/pl.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,7 @@ const translations: TranslationDeepObject<typeof en> = {
877877
},
878878
},
879879
adminOnlyCanPost: 'Tylko administratorzy mogą wysyłać wiadomości w tym pokoju.',
880+
readOnlyConversation: 'Ta rozmowa jest tylko do odczytu.',
880881
reportAction: {
881882
asCopilot: 'jako drugi pilot dla',
882883
assistedBy: (agentName: string) => `wspierany przez ${agentName}`,

src/languages/pt-BR.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,7 @@ const translations: TranslationDeepObject<typeof en> = {
876876
},
877877
},
878878
adminOnlyCanPost: 'Apenas administradores podem enviar mensagens nesta sala.',
879+
readOnlyConversation: 'Esta conversa é somente leitura.',
879880
reportAction: {
880881
asCopilot: 'como copiloto de',
881882
assistedBy: (agentName: string) => `assistido por ${agentName}`,

src/languages/zh-hans.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,7 @@ const translations: TranslationDeepObject<typeof en> = {
852852
},
853853
},
854854
adminOnlyCanPost: '只有管理员可以在此房间中发送消息。',
855+
readOnlyConversation: '此对话仅可查看。',
855856
reportAction: {
856857
asCopilot: '作为副驾驶,用于',
857858
assistedBy: (agentName: string) => `由${agentName}协助`,

0 commit comments

Comments
 (0)