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

Display withdrawal notices on translated editions in English #1310

Merged
merged 1 commit into from
Apr 18, 2019

Conversation

edwardkerry
Copy link
Contributor

@edwardkerry edwardkerry commented Apr 17, 2019

Currently a withdrawn translated edition may display the majority of the
withdrawal notice title in English, but with dates and publication type
in the chosen locale.

Until withdrawal notices are also available via I18n, this PR will ensure
only English is displayed.

before

Welsh - new behaviour

after

Welsh - new behaviour with translation


Visual regression results:
https://government-frontend-pr-[THIS PR NUMBER].surge.sh/gallery.html

Component guide for this PR:
https://government-frontend-pr-[THIS PR NUMBER].herokuapp.com/component-guide

@benthorner benthorner temporarily deployed to government-frontend-pr-1310 April 17, 2019 14:10 Inactive
@edwardkerry edwardkerry force-pushed the remove_translations_from_withdrawal_notice branch from 48d53da to fe41b8e Compare April 17, 2019 14:14
@benthorner benthorner temporarily deployed to government-frontend-pr-1310 April 17, 2019 14:14 Inactive
@benthorner benthorner temporarily deployed to government-frontend-pr-1310 April 17, 2019 15:11 Inactive
@edwardkerry edwardkerry force-pushed the remove_translations_from_withdrawal_notice branch from 40de1e1 to 9343593 Compare April 17, 2019 15:14
@benthorner benthorner temporarily deployed to government-frontend-pr-1310 April 17, 2019 15:15 Inactive
@edwardkerry edwardkerry force-pushed the remove_translations_from_withdrawal_notice branch from 9343593 to 3f640cd Compare April 17, 2019 15:21
@benthorner benthorner temporarily deployed to government-frontend-pr-1310 April 17, 2019 15:22 Inactive
@benthorner benthorner temporarily deployed to government-frontend-pr-1310 April 18, 2019 09:44 Inactive
… languages

Currently a withdrawn translated edition may display the majority of the
withdrawal notice title in English, but with dates and publication type
in the chosen locale.

Until withdrawal notices are also available via I18n, this PR will ensure
only English is displayed.
@edwardkerry edwardkerry merged commit a7973b4 into master Apr 18, 2019
@edwardkerry edwardkerry deleted the remove_translations_from_withdrawal_notice branch April 18, 2019 11:31
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.

3 participants