Skip to content

Commit 559c9ca

Browse files
committed
fix: added translation for Video label in Reply and changed ImageGalleryOverlay header text
1 parent 9ed2bb8 commit 559c9ca

File tree

12 files changed

+22
-2
lines changed

12 files changed

+22
-2
lines changed

package/src/components/ImageGallery/components/ImageGridHandle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const ImageGridHandle: React.FC<Props> = (props) => {
6565
{centerComponent ? (
6666
centerComponent({ closeGridView })
6767
) : (
68-
<Text style={[styles.text, { color: black }, handleText]}>{t('Photos')}</Text>
68+
<Text style={[styles.text, { color: black }, handleText]}>{t('Photos and Videos')}</Text>
6969
)}
7070
{rightComponent ? (
7171
rightComponent({ closeGridView })

package/src/components/Reply/Reply.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ const ReplyWithContext = <
226226
: messageType === 'image'
227227
? t('Photo')
228228
: messageType === 'video'
229-
? 'Video'
229+
? t('Video')
230230
: messageType === 'file'
231231
? lastAttachment?.title || ''
232232
: '',

package/src/i18n/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"Only visible to you": "Only visible to you",
3939
"Photo": "Photo",
4040
"Photos": "Photos",
41+
"Photos and Videos": "Photos and Videos",
4142
"Pin to Conversation": "Pin to Conversation",
4243
"Please enable access to your photos and videos so you can share them.": "Please enable access to your photos and videos so you can share them.",
4344
"Please select a channel first": "Please select a channel first",
@@ -56,6 +57,7 @@
5657
"Unmute User": "Unmute User",
5758
"Unpin from Conversation": "Unpin from Conversation",
5859
"Unread Messages": "Unread Messages",
60+
"Video": "Video",
5961
"You": "You",
6062
"You can't send messages in this channel": "You can't send messages in this channel",
6163
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} and {{ nonSelfUserLength }} more are typing",

package/src/i18n/fr.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"Only visible to you": "Seulement visible par vous",
3939
"Photo": "Photo",
4040
"Photos": "Photos",
41+
"Photos and Videos": "Photos et vidéos",
4142
"Pin to Conversation": "Épingler à la conversation",
4243
"Please enable access to your photos and videos so you can share them.": "Veuillez autoriser l'accès à vos photos et vidéos afin de pouvoir les partager.",
4344
"Please select a channel first": "Veuillez d'abord selectionnez un canal",
@@ -56,6 +57,7 @@
5657
"Unmute User": "Activer le son de Utilisateur",
5758
"Unpin from Conversation": "Décrocher de la conversation",
5859
"Unread Messages": "Messages non lus",
60+
"Video": "Vidéo",
5961
"You": "Toi",
6062
"You can't send messages in this channel": "You can't send messages in this channel",
6163
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} et {{ nonSelfUserLength }} autres sont en train d'écrire",

package/src/i18n/he.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"Only visible to you": "גלוי רק לך",
3939
"Photo": "תמונה",
4040
"Photos": "תמונות",
41+
"Photos and Videos": "תמונות ווידאו",
4142
"Pin to Conversation": "הצמד/י לשיחה",
4243
"Please enable access to your photos and videos so you can share them.": "אפשר/י גישה לתמונות ולסרטונים שלך כדי שתוכל/י לשתף אותם.",
4344
"Please select a channel first": "אנא בחר/י שיחה תחילה",
@@ -56,6 +57,7 @@
5657
"Unmute User": "בטל/י השתקת משתמש",
5758
"Unpin from Conversation": "בטל/י הצמדה לשיחה",
5859
"Unread Messages": "הודעות שטרם נקרו",
60+
"Video": "וִידֵאוֹ",
5961
"You": "את/ה",
6062
"You can't send messages in this channel": "את/ב לא יכול/ה לשלוח הודעות בשיחה זו",
6163
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ו-{{ nonSelfUserLength }} משתמש/ים אחר/ים מקלידים",

package/src/i18n/hi.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"Only visible to you": "केवल आपको दिखाई दे रहा है",
3939
"Photo": "तस्वीर",
4040
"Photos": "तस्वीरें",
41+
"Photos and Videos": "तस्वीरें और वीडियों",
4142
"Pin to Conversation": "बातचीत में पिन करें",
4243
"Please enable access to your photos and videos so you can share them.": "कृपया अपनी फ़ोटो और वीडियो तक पहुंच सक्षम करें ताकि आप उन्हें साझा कर सकें।",
4344
"Please select a channel first": "कृपया पहले एक चैनल चुनें",
@@ -56,6 +57,7 @@
5657
"Unmute User": "उपयोगकर्ता को अनम्यूट करें",
5758
"Unpin from Conversation": "बातचीत से अनपिन करें",
5859
"Unread Messages": "अपठित संदेश",
60+
"Video": "वीडियो",
5961
"You": "आप",
6062
"You can't send messages in this channel": "आप इस चैनल में संदेश नहीं भेज सकते",
6163
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} और {{ nonSelfUserLength }} अधिक टाइप कर रहे हैं",

package/src/i18n/it.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"Only visible to you": "Visibile solo a te",
3939
"Photo": "Foto",
4040
"Photos": "Fotografie",
41+
"Photos and Videos": "Foto e Video",
4142
"Pin to Conversation": "Metti in evidenza",
4243
"Please enable access to your photos and videos so you can share them.": "Abilita l'accesso alle tue foto e ai tuoi video in modo da poterli condividere.",
4344
"Please select a channel first": "Seleziona un canale",
@@ -56,6 +57,7 @@
5657
"Unmute User": "Riattiva utente",
5758
"Unpin from Conversation": "Rimuovi dagli elementi in evidenza",
5859
"Unread Messages": "Messaggi non letti",
60+
"Video": "Video",
5961
"You": "Tu",
6062
"You can't send messages in this channel": "Non puoi inviare messaggi in questo canale",
6163
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e altri {{ nonSelfUserLength }} stanno scrivendo",

package/src/i18n/ja.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"Ok": "確認",
3030
"Photo": "写真",
3131
"Photos": "写真",
32+
"Photos and Videos": "写真と動画",
3233
"Pin to Conversation": "会話にピンする",
3334
"Please enable access to your photos and videos so you can share them.": "写真やビデオへのアクセスを有効にして、共有できるようにしてください。",
3435
"Please select a channel first": "最初にチャンネルを選択してください",
@@ -46,6 +47,7 @@
4647
"Unmute User": "ユーザーのミュートを解除する",
4748
"Unpin from Conversation": "会話のピンを外す",
4849
"Unread Messages": "未読メッセージ",
50+
"Video": "ビデオ",
4951
"You": "あなた",
5052
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }}と{{ nonSelfUserLength }}人がタイピングしています",
5153
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",

package/src/i18n/ko.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"Ok": "확인",
3030
"Photo": "사진",
3131
"Photos": "사진",
32+
"Photos and Videos": "사진과 동영상",
3233
"Pin to Conversation": "대화에 고정합니다",
3334
"Please enable access to your photos and videos so you can share them.": "사진 및 비디오에 대한 액세스를 사용하여 공유 할 수 있도록합니다.",
3435
"Please select a channel first": "먼저 채널을 선택하십시오",
@@ -46,6 +47,7 @@
4647
"Unmute User": "사용자 음소거 해제",
4748
"Unpin from Conversation": "대화의 핀을 분리합니다",
4849
"Unread Messages": "읽지 않은 메시지",
50+
"Video": "동영상",
4951
"You": "당신",
5052
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} 외 {{ nonSelfUserLength }}명이 입력 중입니다",
5153
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",

package/src/i18n/nl.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"Only visible to you": "Alleen zichtbaar voor jou",
3939
"Photo": "Foto",
4040
"Photos": "Foto's",
41+
"Photos and Videos": "Foto's en video's",
4142
"Pin to Conversation": "Vastmaken aan gesprek",
4243
"Please enable access to your photos and videos so you can share them.": "Schakel toegang tot uw foto's en video's in zodat u ze kunt delen.",
4344
"Please select a channel first": "Selecteer eerst een kanaal",
@@ -56,6 +57,7 @@
5657
"Unmute User": "Dempen van gebruiker opheffen",
5758
"Unpin from Conversation": "Losmaken van gesprek",
5859
"Unread Messages": "Ongelezen Berichten",
60+
"Video": "Video",
5961
"You": "U",
6062
"You can't send messages in this channel": "Je kan geen berichten sturen in dit kanaal",
6163
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",

0 commit comments

Comments
 (0)