Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add translatable footer links #253

Merged
merged 2 commits into from
May 16, 2019

Conversation

MKodde
Copy link
Contributor

@MKodde MKodde commented May 13, 2019

The contact and privacy links were set to a hard '/'. This is addressed by setting adding them to the translations. Allowing overriding these URL's from the web translation interface. Some dummy defaults are set in the messages.en.yml.

See: https://www.pivotaltracker.com/story/show/165965469

The contact and privacy links where set to a hard '/'. This is addressed
by setting adding them to the translations. Allowing overriding these
URL's from the web translation interface. Some dummy defaults are set
in the messages.en.yml.

See: https://www.pivotaltracker.com/story/show/165965469
@MKodde MKodde requested a review from pablothedude May 13, 2019 14:39
@@ -51,8 +51,8 @@
</div>
<div class="footer">
<div class="footer-inner">
<span><a href="/" target="_blank">{{ 'page.header.privacy'|trans }}</a></span>
<span><a href="/" target="_blank">{{ 'page.header.contact'|trans }}</a></span>
<span><a href="{{ 'page.footer.privacy_link'|trans }}" target="_blank">{{ 'page.header.privacy'|trans }}</a></span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the header/footer mismatch in the name deliberate?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the translation to prevent regressions in the future

Add separate translations for the footer links to prevent
regressions in the future.
@pablothedude pablothedude merged commit a15195e into develop May 16, 2019
@pablothedude pablothedude deleted the feature/make-footer-links-configurable branch May 16, 2019 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants