Merge pull request #360 from Retrospring/refactor/settings-tabs-locales

This commit is contained in:
Andreas Nedbal 2022-02-20 21:48:55 +01:00 committed by GitHub
commit ff0a798072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 17 deletions

View File

@ -1,13 +1,13 @@
.card
.list-group
= list_group_item t('views.settings.tabs.account'), edit_user_registration_path
= list_group_item t('views.settings.tabs.profile'), edit_user_profile_path
= list_group_item t('views.settings.tabs.privacy'), edit_user_privacy_path
= list_group_item t('views.settings.tabs.security'), edit_user_security_path
= list_group_item t('views.settings.tabs.sharing'), services_path
= list_group_item 'Muted words', edit_user_mute_rules_path
= list_group_item 'Theme', edit_user_theme_path
= list_group_item 'Your Data', user_data_path
= list_group_item 'Export', user_export_path
= list_group_item t(".account"), edit_user_registration_path
= list_group_item t(".profile"), edit_user_profile_path
= list_group_item t(".privacy"), edit_user_privacy_path
= list_group_item t(".security"), edit_user_security_path
= list_group_item t(".sharing"), services_path
= list_group_item t(".mutes"), edit_user_mute_rules_path
= list_group_item t(".theme"), edit_user_theme_path
= list_group_item t(".data"), user_data_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

@ -356,13 +356,6 @@ en:
create: "Create an account"
another: "Ask another question"
join: "Join %{app_title} today! You'll be able to follow and ask people you know and a lot more."
settings:
tabs:
account: "Account"
profile: "Profile"
privacy: "Privacy"
sharing: "Sharing"
security: "Security"
modal:
ask:
title: "Ask your followers"

View File

@ -174,6 +174,17 @@ en:
body: "Raised content basically describes all the different boxes and panels you can see across the site."
accent:
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:
data:
title: "Your Data"