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

Fix quirks in upgrader UI #12675

Merged
merged 4 commits into from
Aug 16, 2018
Merged

Conversation

totten
Copy link
Member

@totten totten commented Aug 16, 2018

This is a backport for 5.4.x of two PRs which address quirks in the upgrade experience:

…ssion

@bgm pointed out that the permission name should be translated as well.
This left me wondering...  why do we bother with parameterizing the string
with a `%1` if it's all going to be translated anyway?

There is a plausible reason.  It's not super-critical, but it's plausible --
the permission name is used in more contexts (like the permission mgmt
screen in D7/WP *as well as* the upgrade screen).  This arrangement ensures
that the name appears the same in *all those contexts*, even in various
edge-cases of the translation lifecycle (e.g.  where the permission-names
have been translated but the upgrade-messages have not).  Again...  it's not
a big deal, but it is a slightly better default.
Also: Fix a layout issue caused by a typo in the `<li>` tag.
@civibot
Copy link

civibot bot commented Aug 16, 2018

(Standard links)

@totten totten changed the base branch from master to 5.4 August 16, 2018 05:47
@eileenmcnaughton
Copy link
Contributor

I gave this a spin on 5.4 & it looked good

@eileenmcnaughton eileenmcnaughton merged commit df9e004 into civicrm:5.4 Aug 16, 2018
@totten totten deleted the 5.4-upgrader-ux branch August 26, 2018 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants