Skip to content

Commit

Permalink
feat(dashboard/profile-view): added translations
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeNamedRobin committed Aug 30, 2024
1 parent d44ddfc commit dda7956
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
13 changes: 10 additions & 3 deletions apps/dashboard/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@
"pinChange": "Change pin code",
"pinConfirm": "Confirm new pin code",
"pinNew": "New pin code",
"updateInfo": "Update user information"
"updateInfo": "Update user information",
"passwordNew": "New password"
},
"quickOverview": {
"quickOverviewMessage": "Show this at the bar so we can help you faster",
Expand Down Expand Up @@ -277,7 +278,11 @@
"waiveFinesRejected": "Canceled waiving fines.",
"canceled": "Canceled",
"userUpdated": "Successfully updated user.",
"pinUpdated": "Successfully updated pin."
"pinUpdated": "Successfully updated pin.",
"dataAnalysisChanged": "Successfully changed data analysis preference.",
"apiKeyChanged": "Successfully changed API key.",
"apiKeyDeleted": "Successfully deleted API key.",
"passwordUpdated": "Successfully changed password."
},
"termsOfService": {
"acceptFirst": "Accept the Terms of Service",
Expand Down Expand Up @@ -338,7 +343,9 @@
"changeApiKey": "Change API key",
"deleteApiKey": "Delete API key",
"preferences": "Preferences",
"dataAnalysis": "Extensive Data Analysis"
"dataAnalysis": "Extensive Data Analysis",
"confirmChangeApiKey": "Are you sure you want to change your API key? This cannot be undone!",
"confirmDeleteApiKey": "Are you sure you want to delete your API key? This cannot be undone!"
},
"contact": {
"Contact": "Contact",
Expand Down
13 changes: 10 additions & 3 deletions apps/dashboard/src/locales/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@
"pinChange": "Verander PIN code",
"pinConfirm": "Bevestig nieuwe PIN code",
"pinNew": "Nieuwe PIN code",
"updateInfo": "Update gebruikersinformatie"
"updateInfo": "Update gebruikersinformatie",
"passwordNew": "Nieuw wachtwoord"
},
"quickOverview": {
"quickOverviewMessage": "Laat dit aan de bar zien zodat we je sneller kunnen helpen.",
Expand Down Expand Up @@ -278,7 +279,11 @@
"waiveFinesRejected": "Boetes zijn succesvol afgewezen.",
"canceled": "Geannuleerd",
"userUpdated": "Gebruiker is succesvol geüpdatet.",
"pinUpdated": "Pincode is succesvol geüpdatet."
"pinUpdated": "Pincode is succesvol geüpdatet.",
"dataAnalysisChanged": "Extensieve dataverwerking is succesvol gewijzigd.",
"apiKeyChanged": "API-sleutel is succesvol gewijzigd.",
"apiKeyDeleted": "API-sleutel is succesvol verwijderd.",
"passwordUpdated": "Wachtwoord is succesvol gewijzigd."
},
"termsOfService": {
"acceptFirst": "Accepteer de Voorwaarden",
Expand Down Expand Up @@ -339,7 +344,9 @@
"changeApiKey": "Wijzig API-sleutel",
"deleteApiKey": "Verwijder API-sleutel",
"preferences": "Voorkeuren",
"dataAnalysis": "Uitgebreide Data Analyse"
"dataAnalysis": "Uitgebreide Data Analyse",
"confirmChangeApiKey": "Weet je zeker dat je de API-sleutel wilt wijzigen? Dit kan niet ongedaan worden gemaakt!",
"confirmDeleteApiKey": "Weet je zeker dat je de API-sleutel wilt verwijderen? Dit kan niet ongedaan worden gemaakt!"
},
"validation": {
"number": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<template>
<CardComponent
:header="$t('userSettings.userSettings')"
:header="t('userSettings.userSettings')"
:func="undefined"
:action="undefined"
class="w-5"
>

<div class="flex flex-column">
<FormSection
:header="t('userSettings.changePin')"
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/modules/user/views/UserProfileView.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="page-container">
<div class="page-title">
{{ $t('profile.myProfile')}}
{{ t('profile.myProfile')}}
</div>
<UserSettingsComponent :user="current.user as UserResponse"/>
</div>
Expand Down

0 comments on commit dda7956

Please sign in to comment.