Skip to content

Commit

Permalink
Fix translations based on review
Browse files Browse the repository at this point in the history
  • Loading branch information
rottabonus committed Jan 23, 2024
1 parent e674948 commit f808e52
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 21 deletions.
10 changes: 0 additions & 10 deletions src/Screens/Main/Settings/BottomCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,6 @@ export default ({ navigateToDeleteAccount, navigateToLogout }: Props) => {
linkName="main.settings.other.feedBackLink"
url={config.feedBackUrl}
/>
{isMentor ? (
<>
<Message style={styles.fieldName} id="main.settings.other.howTo" />
<Link
style={styles.link}
linkName="main.settings.other.userGuide"
url={config.userGuideUrl}
/>
</>
) : null}
<Message style={styles.fieldName} id="main.settings.other.whatToAgree" />
<Link
style={styles.link}
Expand Down
4 changes: 1 addition & 3 deletions src/Screens/Onboarding/Welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export default ({ navigation }: Props) => {
<Message style={styles.text} id={'onboarding.welcome.text2'} />
<Message style={styles.text} id={'onboarding.welcome.text3'} />
<RN.View>
<Message style={styles.text} id={'onboarding.welcome.text4'} />
<Link
style={styles.link}
linkTextStyle={styles.linkText}
Expand All @@ -56,7 +55,6 @@ export default ({ navigation }: Props) => {
/>
</RN.View>
<RN.View>
<Message style={styles.text} id={'onboarding.welcome.text5'} />
<Link
style={styles.link}
linkTextStyle={styles.linkText}
Expand Down Expand Up @@ -127,7 +125,7 @@ const styles = RN.StyleSheet.create({
alignSelf: 'center',
},
linkText: {
...fonts.smallBold,
...fonts.regularBold,
},
linkIcon: {
width: 20,
Expand Down
6 changes: 3 additions & 3 deletions src/localization/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ export const messages: { [key in MessageId]: string } = {
'main.settings.account.profile.button': 'Edit Profile',
'main.settings.account.profile.title': 'Profile',

'main.settings.account.status.fail': 'Changing profiletext failed!',
'main.settings.account.status.success': 'Changing profiletext succeeded!',
'main.settings.account.status.title': 'Profiletext',
'main.settings.account.status.fail': 'Changing status message failed!',
'main.settings.account.status.success': 'Changing status message succeeded!',
'main.settings.account.status.title': 'Status message',

'main.settings.account.title': 'Account settings',
'main.settings.account.userName': 'Username',
Expand Down
10 changes: 5 additions & 5 deletions src/localization/fi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ export const messages = {
'main.settings.account.profile.button': 'Muokkaa profiilia',
'main.settings.account.profile.title': 'Profiili',

'main.settings.account.status.fail': 'Profiilitekstin muutos epäonnistui!',
'main.settings.account.status.success': 'Profiilitekstin muutos onnistui!',
'main.settings.account.status.title': 'Profiiliteksti',
'main.settings.account.status.fail': 'Tilaviestin muutos epäonnistui!',
'main.settings.account.status.success': 'Tilaviestin muutos onnistui!',
'main.settings.account.status.title': 'Tilaviesti',

'main.settings.account.title': 'Asetukset',
'main.settings.account.userName': 'Käyttäjätunnus',
Expand Down Expand Up @@ -217,9 +217,9 @@ export const messages = {
'onboarding.signUp.title': 'Rekisteröidy',
'onboarding.signUp.userName': 'Käyttäjänimi',

'onboarding.welcome.apuu.link': 'Apuu-chatissa',
'onboarding.welcome.apuu.link': 'Apuu-chattiin',
'onboarding.welcome.button': 'Aloita',
'onboarding.welcome.sekasin.link': 'Sekasin-chatissa',
'onboarding.welcome.sekasin.link': 'Sekasin-chattiin',
'onboarding.welcome.text1': 'Kiva, että otit Ylitse MentorAppin käyttöön!',
'onboarding.welcome.text2':
'Voit jutella mentoreiden kanssa mielessäsi olevista asioista.',
Expand Down

0 comments on commit f808e52

Please sign in to comment.