diff --git a/app/views/shared/_links.haml b/app/views/shared/_links.haml index 2c087d25..410469e1 100644 --- a/app/views/shared/_links.haml +++ b/app/views/shared/_links.haml @@ -1,12 +1,12 @@ .text-center.text-muted.pb-3 © = Date.today.year - %span{ title: Retrospring::Version.to_s }= APP_CONFIG['site_name'] + %span{ title: Retrospring::Version.to_s }= APP_CONFIG["site_name"] · - = link_to t('views.general.about'), about_path + = link_to t('.about'), about_path · - = link_to 'GitHub', 'https://github.com/Retrospring/retrospring' + = link_to t('.source'), 'https://github.com/Retrospring/retrospring' · - = link_to t('views.general.terms'), terms_path + = link_to t('.terms'), terms_path · - = link_to t('views.general.privacy'), privacy_policy_path + = link_to t('.privacy'), privacy_policy_path diff --git a/config/locales/views.en.yml b/config/locales/views.en.yml index bfb94ce2..37d488d4 100644 --- a/config/locales/views.en.yml +++ b/config/locales/views.en.yml @@ -174,6 +174,12 @@ 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!" + shared: + links: + about: "About" + source: "Source code" + terms: "Terms of Service" + privacy: "Privacy Policy" static: about: title: "About"