Skip to content

Commit

Permalink
chore: updated header accessibility label
Browse files Browse the repository at this point in the history
  • Loading branch information
OtavioStasiak committed Dec 13, 2024
1 parent 85b4578 commit 660edc8
Show file tree
Hide file tree
Showing 24 changed files with 29 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/i18n/locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
"Members": "أفراد",
"members": "أفراد",
"Mentions": "الإشارات",
"Menu": "قائمة الطعام",
"Message": "الرسالة",
"message": "رسالة",
"Message_actions": "إجراءات الرسالة",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/bn-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@
"Members": "সদস্যগুলি",
"members": "সদস্যগুলি",
"Mentions": "উল্লেখগুলি",
"Menu": "মেনু",
"Message": "বার্তা",
"message": "বার্তা",
"Message_actions": "বার্তা ক্রিয়াকলাপ",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@
"Members": "Členové",
"members": "členové",
"Mentions": "Zmínky",
"Menu": "Jídelní lístek",
"Message": "Zpráva",
"message": "zpráva",
"Message_actions": "Akce zpráv",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@
"Members": "Mitglieder",
"members": "Mitglieder",
"Mentions": "Erwähnungen",
"Menu": "Menü",
"Message": "Nachricht",
"message": "Nachricht",
"Message_actions": "Nachrichtenaktionen",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@
"Members": "Members",
"members": "members",
"Mentions": "Mentions",
"Menu": "Menu",
"Message": "Message",
"message": "message",
"Message_actions": "Message actions",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
"Members": "Miembros",
"members": "miembros",
"Mentions": "Menciones",
"Menu": "Menú",
"message": "mensaje",
"Message_actions": "Acciones de mensaje",
"Message_removed": "Mensaje eliminado",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@
"Members": "Jäsenet",
"members": "jäsentä",
"Mentions": "Maininnat",
"Menu": "Valikko",
"Message": "Viesti",
"message": "viesti",
"Message_actions": "Viestitoimet",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@
"Members": "Membres",
"members": "membres",
"Mentions": "Mentions",
"Menu": "Menu",
"Message": "Message",
"message": "message",
"Message_actions": "Actions de message",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/hi-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@
"Members": "सदस्य",
"members": "सदस्य",
"Mentions": "उल्लेख",
"Menu": "मेनू",
"Message": "संदेश",
"message": "संदेश",
"Message_actions": "संदेश क्रियाएँ",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@
"Members": "Tagok",
"members": "tagok",
"Mentions": "Említések",
"Menu": "Menü",
"Message": "Üzenet",
"message": "üzenet",
"Message_actions": "Üzenet műveletek",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@
"Members": "Membri",
"members": "membri",
"Mentions": "Menzioni",
"Menu": "Menù",
"Message": "Messaggio",
"message": "messaggio",
"Message_actions": "Azioni messaggio",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@
"Members": "メンバー",
"members": "メンバー",
"Mentions": "メンション",
"Menu": "メニュー",
"Message": "メッセージ",
"message": "メッセージ",
"Message_actions": "メッセージアクション",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@
"Members": "Leden",
"members": "leden",
"Mentions": "Vermeldingen",
"Menu": "Menu",
"Message": "Bericht",
"message": "bericht",
"Message_actions": "Berichtacties",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@
"Members": "Membros",
"members": "membros",
"Mentions": "Menções",
"Menu": "Cardápio",
"Message": "Mensagem",
"message": "mensagem",
"Message_actions": "Ações",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@
"Members": "Membros",
"members": "membros",
"Mentions": "Menções",
"Menu": "Ementa",
"Message": "Mensagem",
"message": "mensagem",
"Message_actions": "Acções de mensagem",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@
"Members": "Пользователи",
"members": "пользователи",
"Mentions": "Упоминания",
"Menu": "Меню",
"Message": "Сообщение",
"message": "сообщение",
"Message_actions": "Действия с сообщением",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/sl-SI.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@
"Members": "Člani",
"members": "člani",
"Mentions": "Omembe",
"Menu": "Meni",
"Message": "Sporočilo",
"message": "sporočilo",
"Message_actions": "Sporočila",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@
"Members": "Medlemmar",
"members": "medlemmar",
"Mentions": "Omnämnanden",
"Menu": "Meny",
"Message": "Meddelande",
"message": "meddelande",
"Message_actions": "Åtgärder för meddelanden",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/ta-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@
"Members": "உறுப்பினர்கள்",
"members": "உறுப்பினர்கள்",
"Mentions": "குறிப்புகள்",
"Menu": "மெனு",
"Message": "செய்தி",
"message": "செய்தி",
"Message_actions": "செயல்கள் செய்தி",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/te-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@
"Members": "సభ్యులు",
"members": "సభ్యులు",
"Mentions": "స్మరణలు",
"Menu": "मेनू",
"Message": "సందేశం",
"message": "సందేశం",
"Message_actions": "సందేశ చర్యలు",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@
"Members": "Üyeler",
"members": "üyeler",
"Mentions": "Bahsetmeler",
"Menu": "Menü",
"Message": "İleti",
"message": "ileti",
"Message_actions": "İleti işlemleri",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@
"Members": "成员",
"members": "成员",
"Mentions": "被提及",
"Menu": "菜单",
"Message": "信息",
"message": "信息",
"Message_actions": "信息操作",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@
"Members": "成員",
"members": "成員",
"Mentions": "被提及",
"Menu": "菜單",
"Message": "訊息",
"message": "訊息",
"Message_actions": "訊息操作",
Expand Down
8 changes: 6 additions & 2 deletions app/views/ProfileView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,14 @@ const ProfileView = ({ navigation }: IProfileViewProps): React.ReactElement => {
title: I18n.t('Profile')
};
if (!isMasterDetail) {
options.headerLeft = () => <HeaderButton.Drawer navigation={navigation} />;
options.headerLeft = () => <HeaderButton.Drawer accessibilityLabel={I18n.t('Menu')} navigation={navigation} />;
}
options.headerRight = () => (
<HeaderButton.Preferences onPress={() => navigation?.navigate('UserPreferencesView')} testID='preferences-view-open' />
<HeaderButton.Preferences
accessibilityLabel={I18n.t('Preferences')}
onPress={() => navigation?.navigate('UserPreferencesView')}
testID='preferences-view-open'
/>
);

navigation.setOptions(options);
Expand Down

0 comments on commit 660edc8

Please sign in to comment.