diff --git a/app/views/tabs/_settings.haml b/app/views/tabs/_settings.haml index 9195899a..884eb2ba 100644 --- a/app/views/tabs/_settings.haml +++ b/app/views/tabs/_settings.haml @@ -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" diff --git a/config/locales/en.yml b/config/locales/en.yml index ac52f45e..2a7143ee 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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" diff --git a/config/locales/views.en.yml b/config/locales/views.en.yml index d5e99b7b..1a168215 100644 --- a/config/locales/views.en.yml +++ b/config/locales/views.en.yml @@ -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"