Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Improve links readability #5856

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 18 additions & 22 deletions app/containers/UserGeneratedContentRules.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ const styles = StyleSheet.create({
marginHorizontal: 30
},
bottomContainerText: {
...sharedStyles.textRegular,
fontSize: 13,
...sharedStyles.textMedium,
fontSize: 14,
lineHeight: 22,
textAlign: 'center'
},
bottomContainerTextBold: {
...sharedStyles.textSemibold,
yash-rajpal marked this conversation as resolved.
Show resolved Hide resolved
fontSize: 13,
textAlign: 'center'
bottomContainerTextUnderline: {
fontSize: 14,
lineHeight: 22,
textAlign: 'center',
textDecorationLine: 'underline'
}
});

Expand All @@ -40,22 +42,16 @@ const UGCRules = ({ styleContainer }: { styleContainer?: ViewStyle }) => {
};
return (
<View style={[styles.bottomContainer, styleContainer]}>
<Text style={[styles.bottomContainerText, { color: colors.fontSecondaryInfo }]}>
{`${I18n.t('Onboarding_agree_terms')}\n`}
<Text
style={[styles.bottomContainerTextBold, { color: colors.strokeHighlight }]}
onPress={() => openContract('terms-of-service')}
>
{I18n.t('Terms_of_Service')}
</Text>{' '}
{I18n.t('and')}
<Text
style={[styles.bottomContainerTextBold, { color: colors.strokeHighlight }]}
onPress={() => openContract('privacy-policy')}
>
{' '}
{I18n.t('Privacy_Policy')}
</Text>
<Text style={[styles.bottomContainerText, { color: colors.fontSecondaryInfo }]}>{I18n.t('Onboarding_agree_terms')}</Text>
<Text
style={[styles.bottomContainerTextUnderline, { color: colors.fontInfo }]}
onPress={() => openContract('terms-of-service')}>
{I18n.t('Terms_of_Service')}
</Text>
<Text
style={[styles.bottomContainerTextUnderline, { color: colors.fontInfo }]}
onPress={() => openContract('privacy-policy')}>
{I18n.t('Privacy_Policy')}
</Text>
</View>
);
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"All_users_in_the_channel_can_write_new_messages": "يمكن لجميع المستخدمين في القناة كتابة رسائل جديدة",
"All_users_in_the_team_can_write_new_messages": "يمكن لجميع المستخدمين في الفريق كتابة رسائل جديدة",
"Allow_Reactions": "السماح للتفاعلات",
"Already_have_an_account": "هل لديك حساب بالفعل؟",
"and": "و",
"and_N_more": "و{{count}} آخرين",
"Announcement": "إعلان",
Expand Down Expand Up @@ -484,6 +485,7 @@
"You_are_in_preview_mode": "أنت في وضع المعاينة",
"You_can_search_using_RegExp_eg": "يمكنك استخدام RegExp. مثال: `/^text$/i`",
"You_colon": "أنت: ",
"You_dont_have_account": "ليس لديك حساب؟",
"You_need_to_access_at_least_one_RocketChat_server_to_share_something": "تحتاج إلى الوصول إلى خادم Rocket.Chat واحد على الأقل لمشاركة شيء ما",
"You_need_to_verifiy_your_email_address_to_get_notications": "يجب تأكيد البريد الإلكتروني حتى تصلك الإشعارات",
"you_were_mentioned": "تمت الإشارة إليك",
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/locales/bn-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"All_users_in_the_channel_can_write_new_messages": "চ্যানেলে সকল ব্যবহারকারী নতুন মেসেজ লেখতে পারবে",
"All_users_in_the_team_can_write_new_messages": "দলে সকল ব্যবহারকারী নতুন মেসেজ লেখতে পারবে",
"Allow_Reactions": "প্রতিক্রিয়া অনুমতি",
"Already_have_an_account": "আপনার কি ইতিমধ্যেই একটি অ্যাকাউন্ট আছে?",
"Also_send_thread_message_to_channel_behavior": "সেইমসঙ্গে চ্যানেলে থ্রেড বার্তা প্রেরণ করুন",
"and": "এবং",
"and_N_more": "এবং {{count}} আর",
Expand Down Expand Up @@ -750,6 +751,7 @@
"You_are_leaving_the_team": "আপনি দলটি ছেড়ে যাচ্ছেন '{{team}}'",
"You_can_search_using_RegExp_eg": "আপনি RegExp ব্যবহার করতে পারেন। যেমন: `/^text$/i`",
"You_colon": "আপনি: ",
"You_dont_have_account": "অ্যাকাউন্ট নেই?",
"You_need_to_access_at_least_one_RocketChat_server_to_share_something": "আপনাকে কিছু ভাগ করার জন্য কমপ্রয়োজন একটি Rocket.Chat ওয়ার্কস্পেসে অ্যাক্সেস করা।",
"You_need_to_verifiy_your_email_address_to_get_notications": "আপনাকে বিজ্ঞপ্তিগুলি পেতে আপনার ইমেল ঠিকানা যাচাই করতে হবে",
"you_were_mentioned": "আপনি উল্লেখ করা হয়েছিলেন",
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"All_users_in_the_team_can_write_new_messages": "Všichni uživatelé v týmu mohou psát nové zprávy",
"Allow_push_notifications_for_rocket_chat": "Povolit oznámení push pro Rocket.Chat",
"Allow_Reactions": "Povolit reakce",
"Already_have_an_account": "Už máte účet?",
"Also_send_thread_message_to_channel_behavior": "Také odeslat zprávu vlákna na kanál",
"and": "a",
"and_N_more": "a {{count}} dalších",
Expand Down Expand Up @@ -825,6 +826,7 @@
"You_are_leaving_the_team": "Opouštíte tým '{{team}}''",
"You_can_search_using_RegExp_eg": "Můžete použít RegExp. např. `/^text$/i`",
"You_colon": "Vy: ",
"You_dont_have_account": "Nemáte účet?",
"You_dont_have_permission_to_perform_this_action": "Nemáte oprávnění k provedení této akce. Informujte se u správce pracovního prostoru.",
"You_need_to_access_at_least_one_RocketChat_server_to_share_something": "Abyste mohli něco sdílet, musíte mít přístup alespoň k jednomu pracovnímu prostoru Rocket.Chat.",
"You_need_to_verifiy_your_email_address_to_get_notications": "Abyste mohli dostávat oznámení, musíte ověřit svou e-mailovou adresu",
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"All_users_in_the_channel_can_write_new_messages": "Alle Benutzer im Channel können neue Nachrichten schreiben",
"All_users_in_the_team_can_write_new_messages": "Alle Mitglieder eines Teams können neue Nachrichten schreiben",
"Allow_Reactions": "Reaktionen zulassen",
"Already_have_an_account": "Haben Sie bereits ein Konto?",
"Also_send_thread_message_to_channel_behavior": "Die Nachricht auch an den Kanal senden",
"and": "und",
"and_N_more": "und {{count}} weitere",
Expand Down Expand Up @@ -740,6 +741,7 @@
"You_are_leaving_the_team": "Sie verlassen das Team '{{team}}'",
"You_can_search_using_RegExp_eg": "Sie können mit RegExp suchen. z.B. `/ ^ text $ / i`",
"You_colon": "Sie: ",
"You_dont_have_account": "Haben Sie kein Konto?",
"You_need_to_access_at_least_one_RocketChat_server_to_share_something": "Sie benötigen Zugang zu mindestens einem Rocket.Chat-Server, um etwas zu teilen.",
"You_need_to_verifiy_your_email_address_to_get_notications": "Sie müssen deine Email-Adresse bestätigen um Benachrichtigungen zu erhalten.",
"you_were_mentioned": "Sie wurden erwähnt",
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"All_users_in_the_team_can_write_new_messages": "All users in the team can write new messages",
"Allow_push_notifications_for_rocket_chat": "Allow push notifications for Rocket.Chat",
"Allow_Reactions": "Allow reactions",
"Already_have_an_account": "Already have an account?",
"Also_send_thread_message_to_channel_behavior": "Also send thread message to channel",
"and": "and",
"and_N_more": "and {{count}} more",
Expand Down Expand Up @@ -845,6 +846,7 @@
"You_are_leaving_the_team": "You are leaving the team '{{team}}'",
"You_can_search_using_RegExp_eg": "You can use RegExp. e.g. `/^text$/i`",
"You_colon": "You: ",
"You_dont_have_account": "Don’t have an account?",
"You_dont_have_permission_to_perform_this_action": "You don’t have permission to perform this action. Check with a workspace administrator.",
"You_need_to_access_at_least_one_RocketChat_server_to_share_something": "You need to access at least one Rocket.Chat workspace to share something.",
"You_need_to_change_your_password": "You need to change your password",
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"All_Messages": "Todos los mensajes",
"All_users_in_the_channel_can_write_new_messages": "Todos los usuarios en el canal pueden escribir mensajes",
"Allow_Reactions": "Permitir reacciones",
"Already_have_an_account": "¿Ya tienes una cuenta?",
"and": "y",
"and_N_more": "y {{count}} más",
"Announcement": "Anuncio",
Expand Down Expand Up @@ -300,6 +301,7 @@
"You_are_in_preview_mode": "Estás en modo vista previa",
"You_can_search_using_RegExp_eg": "Puedes usar expresiones regulares. Por ejemplo, `/^text$/i`",
"You_colon": "Tú: ",
"You_dont_have_account": "¿No tienes una cuenta?",
"You_need_to_access_at_least_one_RocketChat_server_to_share_something": "Necesita acceder al menos a un servidor Rocket.Chat para compartir algo.",
"you_were_mentioned": "has sido mencionado",
"You_will_not_be_able_to_recover_this_message": "¡No podrás recuperar este mensaje!",
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"All_users_in_the_channel_can_write_new_messages": "Kaikki kanavan käyttäjät voivat kirjoittaa uusia viestejä",
"All_users_in_the_team_can_write_new_messages": "Kaikki tiimin käyttäjät voivat kirjoittaa uusia viestejä",
"Allow_Reactions": "Salli reaktiot",
"Already_have_an_account": "Onko sinulla jo tili?",
"Also_send_thread_message_to_channel_behavior": "Lähetä ketjun viesti myös kanavalle",
"and": "ja",
"and_N_more": "ja {{count}} lisää",
Expand Down Expand Up @@ -712,6 +713,7 @@
"You_are_leaving_the_team": "Poistut tiimistä {{team}}",
"You_can_search_using_RegExp_eg": "Voit käyttää säännöllisiä lausekkeita, esim. `/^teksti$/i`",
"You_colon": "Sinä:",
"You_dont_have_account": "Ei ole tiliä?",
"You_need_to_access_at_least_one_RocketChat_server_to_share_something": "Tarvitset pääsyn vähintään Rocket.Chat-palvelimeen jakamista varten.",
"You_need_to_verifiy_your_email_address_to_get_notications": "Vahvista sähköpostiosoitteesi, jotta saat ilmoituksia",
"you_were_mentioned": "sinut mainittiin",
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"All_users_in_the_channel_can_write_new_messages": "Tous les utilisateurs du canal peuvent écrire de nouveaux messages",
"All_users_in_the_team_can_write_new_messages": "Tous les utilisateurs de l'équipe peuvent écrire de nouveaux messages",
"Allow_Reactions": "Autoriser les réactions",
"Already_have_an_account": "Vous avez déjà un compte ?",
"and": "et",
"and_N_more": "et {{count}} de plus",
"Announcement": "Annonce",
Expand Down Expand Up @@ -631,6 +632,7 @@
"You_are_leaving_the_team": "Vous quittez l'équipe '{{team}}'",
"You_can_search_using_RegExp_eg": "Vous pouvez utiliser RegExp., par exemple `/^texte$/i`",
"You_colon": "Vous: ",
"You_dont_have_account": "Vous n'avez pas de compte ?",
"You_need_to_access_at_least_one_RocketChat_server_to_share_something": "Vous devez accéder à au moins un serveur Rocket.Chat pour partager quelque chose.",
"You_need_to_verifiy_your_email_address_to_get_notications": "Vous devez vérifier votre adresse e-mail pour recevoir des notifications",
"you_were_mentioned": "vous avez été mentionné",
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/locales/hi-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"All_users_in_the_channel_can_write_new_messages": "चैनल में सभी उपयोगकर्ता नए संदेश लिख सकते हैं",
"All_users_in_the_team_can_write_new_messages": "टीम में सभी उपयोगकर्ता नए संदेश लिख सकते हैं",
"Allow_Reactions": "प्रतिक्रियाओं की अनुमति दें",
"Already_have_an_account": "क्या आपके पास पहले से एक खाता है?",
"Also_send_thread_message_to_channel_behavior": "थ्रेड संदेश को चैनल में भी भेजें",
"and": "और",
"and_N_more": "और {{count}} और",
Expand Down Expand Up @@ -750,6 +751,7 @@
"You_are_leaving_the_team": "आप टीम '{{team}}' को छोड़ रहे हैं",
"You_can_search_using_RegExp_eg": "आप विन्यास (RegExp) का उपयोग कर सकते हैं। उदा. `/^text$/i`",
"You_colon": "आप: ",
"You_dont_have_account": "क्या आपके पास खाता नहीं है?",
"You_need_to_access_at_least_one_RocketChat_server_to_share_something": "आपको कुछ साझा करने के लिए कम से कम एक Rocket.Chat कार्यस्थान तक पहुँचना होगा।",
"You_need_to_verifiy_your_email_address_to_get_notications": "आपको सूचनाएं प्राप्त करने के लिए अपनी ईमेल पता का सत्यापित करना होगा",
"you_were_mentioned": "आपका उल्लेख किया गया था",
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/locales/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"All_users_in_the_channel_can_write_new_messages": "A csatorna minden felhasználója írhat új üzeneteket",
"All_users_in_the_team_can_write_new_messages": "A csapat minden felhasználója írhat új üzeneteket",
"Allow_Reactions": "Engedélyezze a reakciókat",
"Already_have_an_account": "Már van fiókja?",
"Also_send_thread_message_to_channel_behavior": "Szál üzenetet is küld a csatornára",
"and": "és",
"and_N_more": "és{{count}} további",
Expand Down Expand Up @@ -752,6 +753,7 @@
"You_are_leaving_the_team": "Ön elhagyja ezt a csapatot {{team}}",
"You_can_search_using_RegExp_eg": "Használhat RegExp-t. pl. `/^text$/i`",
"You_colon": "Ön:",
"You_dont_have_account": "Nincs fiókja?",
"You_dont_have_permission_to_perform_this_action": "Nincs jogosultsága a művelet végrehajtásához. Kérdezze meg a munkaterület rendszergazdáját.",
"You_need_to_access_at_least_one_RocketChat_server_to_share_something": "Legalább egy Rocket.Chat munkaterülethez hozzá kell férnie ahhoz, hogy megoszthasson valamit.",
"You_need_to_verifiy_your_email_address_to_get_notications": "Ellenőriznie kell az e-mail-címét az értesítések fogadásához",
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"All_users_in_the_channel_can_write_new_messages": "Tutti gli utenti nel canale possono scrivere messaggi",
"All_users_in_the_team_can_write_new_messages": "Tutti gli utenti nel team possono scrivere nuovi messaggi",
"Allow_Reactions": "Permetti reazioni",
"Already_have_an_account": "Hai già un account?",
"and": "e",
"and_N_more": "e altri {{count}}",
"Announcement": "Annuncio",
Expand Down Expand Up @@ -534,6 +535,7 @@
"You_are_in_preview_mode": "Sei in modalità anteprima",
"You_can_search_using_RegExp_eg": "Puoi usare espressioni regolari. es. `/^testo$/i`",
"You_colon": "Tu: ",
"You_dont_have_account": "Non hai un account?",
"You_need_to_access_at_least_one_RocketChat_server_to_share_something": "Devi accedere ad almeno un server Rocket.Chat prima di condividere qualcosa.",
"You_need_to_verifiy_your_email_address_to_get_notications": "Devi verificare il tuo indirizzo e-mail per ricevere le notifiche",
"you_were_mentioned": "sei stato menzionato",
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"All_users_in_the_channel_can_write_new_messages": "すべてのユーザーが新しいメッセージを書き込みできます",
"All_users_in_the_team_can_write_new_messages": "チームのすべてのユーザーが新しいメッセージを書き込むことができます",
"Allow_Reactions": "リアクションを許可",
"Already_have_an_account": "すでにアカウントをお持ちですか?",
"and": "と",
"and_N_more": "さらに{{count}}つ",
"Announcement": "アナウンス",
Expand Down Expand Up @@ -406,6 +407,7 @@
"You_are_in_preview_mode": "プレビューモードです。",
"You_can_search_using_RegExp_eg": "正規表現を利用できます。 例: `/^text$/i`",
"You_colon": "あなた: ",
"You_dont_have_account": "アカウントをお持ちでないですか?",
"You_need_to_access_at_least_one_RocketChat_server_to_share_something": "シェアするためには1つ以上のサーバーにアクセスする必要があります。",
"you_were_mentioned": "あなたがメンションしました",
"You_will_be_logged_out_of_this_application": "アプリからログアウトします。",
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/locales/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"All_users_in_the_channel_can_write_new_messages": "Alle gebruikers in het kanaal kunnen nieuwe berichten schrijven",
"All_users_in_the_team_can_write_new_messages": "Alle gebruikers in het team kunnen nieuwe berichten schrijven",
"Allow_Reactions": "Reacties toestaan",
"Already_have_an_account": "Heeft u al een account?",
"and": "en",
"and_N_more": "en nog {{count}}",
"Announcement": "Aankondiging",
Expand Down Expand Up @@ -631,6 +632,7 @@
"You_are_leaving_the_team": "Je verlaat het team '{{team}}'",
"You_can_search_using_RegExp_eg": "Je kan RegExp. gebruiken, bijv. `/^tekst$/i`",
"You_colon": "Jij: ",
"You_dont_have_account": "Heeft u geen account?",
"You_need_to_access_at_least_one_RocketChat_server_to_share_something": "Je moet minstens toegang hebben tot één Rocket.Chat-server om iets te delen.",
"You_need_to_verifiy_your_email_address_to_get_notications": "Je moet je e-mailadres verifiëren om meldingen te ontvangen",
"you_were_mentioned": "je bent vermeld",
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"All_users_in_the_team_can_write_new_messages": "Todos usuários no canal podem enviar mensagens novas",
"Allow_push_notifications_for_rocket_chat": "Permitir notificações push para Rocket.Chat",
"Allow_Reactions": "Permitir reagir",
"Already_have_an_account": "Já tem uma conta?",
"Also_send_thread_message_to_channel_behavior": "Também enviar mensagem do tópico para o canal",
"and": "e",
"and_N_more": "e mais {{count}}",
Expand Down Expand Up @@ -834,6 +835,7 @@
"You_are_leaving_the_team": "Você está deixando o time '{{team}}'",
"You_can_search_using_RegExp_eg": "Você pode usar expressões regulares, por exemplo `/^text$/i`",
"You_colon": "Você: ",
"You_dont_have_account": "Você não tem uma conta?",
"You_dont_have_permission_to_perform_this_action": "Você não tem permissão para realizar esta ação. Verifique com um administrador do espaço de trabalho.",
"You_need_to_access_at_least_one_RocketChat_server_to_share_something": "Você precisa acessar pelo menos uma workspace Rocket.Chat para compartilhar.",
"You_need_to_change_your_password": "Você precisa alterar sua senha",
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/locales/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"All_users_in_the_channel_can_write_new_messages": "Todos os utilizadores no canal podem escrever novas mensagens",
"All_users_in_the_team_can_write_new_messages": "Todos os usuários da equipa podem escrever novas mensagens",
"Allow_Reactions": "Permitir Reacções",
"Already_have_an_account": "Já tem uma conta?",
"and": "e",
"and_N_more": "e mais {{count}}",
"Announcement": "Anúncio",
Expand Down Expand Up @@ -375,6 +376,7 @@
"You_are_in_preview_mode": "Você está no modo de pré-visualização",
"You_can_search_using_RegExp_eg": "Você pode pesquisar usando RegEx. por exemplo, `/^text$/i`",
"You_colon": "Você: ",
"You_dont_have_account": "Não tem uma conta?",
"you_were_mentioned": "você foi mencionado",
"You_will_not_be_able_to_recover_this_message": "Você será incapaz de recuperar esta mensagem!"
}
Loading