Add translations for settings tabs

This commit is contained in:
Andreas Nedbal 2022-02-19 18:08:44 +01:00
parent 0e2a657f87
commit 66d8180483
2 changed files with 21 additions and 10 deletions

View File

@ -1,13 +1,13 @@
.card .card
.list-group .list-group
= list_group_item t('views.settings.tabs.account'), edit_user_registration_path = list_group_item t(".account"), edit_user_registration_path
= list_group_item t('views.settings.tabs.profile'), edit_user_profile_path = list_group_item t(".profile"), edit_user_profile_path
= list_group_item t('views.settings.tabs.privacy'), edit_user_privacy_path = list_group_item t(".privacy"), edit_user_privacy_path
= list_group_item t('views.settings.tabs.security'), edit_user_security_path = list_group_item t(".security"), edit_user_security_path
= list_group_item t('views.settings.tabs.sharing'), services_path = list_group_item t(".sharing"), services_path
= list_group_item 'Muted words', edit_user_mute_rules_path = list_group_item t(".mutes"), edit_user_mute_rules_path
= list_group_item 'Theme', edit_user_theme_path = list_group_item t(".theme"), edit_user_theme_path
= list_group_item 'Your Data', user_data_path = list_group_item t(".data"), user_data_path
= list_group_item 'Export', user_export_path = list_group_item t(".export"), user_export_path
.d-none.d-sm-block= render 'shared/links' .d-none.d-sm-block= render "shared/links"

View File

@ -146,6 +146,17 @@ en:
body: "Raised content basically describes all the different boxes and panels you can see across the site." body: "Raised content basically describes all the different boxes and panels you can see across the site."
accent: accent:
example: "Some text on top of a accented area on a raised element!" example: "Some text on top of a accented area on a raised element!"
tabs:
settings:
account: "Account"
profile: "Profile"
privacy: "Privacy"
sharing: "Sharing"
security: "Security"
mutes: "Muted words"
theme: "Theme"
data: "Your Data"
export: "Export"
user: user:
edit: edit:
title: "Profile Settings" title: "Profile Settings"