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 translation domains to controllers - 4 #5940

Merged
merged 1 commit into from Aug 3, 2016

Conversation

AlexEven
Copy link
Contributor

@AlexEven AlexEven commented Aug 2, 2016

Questions Answers
Branch? develop
Description? Add some more translation domains to back office controllers (and change a few existing ones)
Type? improvement
Category? BO
BC breaks? no
Deprecations? no
Fixed ticket? n/a
How to test? as usual

I'm also introducing a change in the domains.
We had Admin.Parameters before, which included both "Shop Parameters" and "Advanced Parameters" sections. It's about 20 pages using the same domains.
To make it easier, I'm splitting Admin.Parameters in 2 domains:

  • Admin.ShopParameters
  • Admin.AdvParameters.

I'll update the Build article consequently (I've also introduced new domains along the way).

Let me know if unclear.

Thanks!

),
array(
'value' => PS_ROUND_DOWN,
'name' => $this->l('Round down to the nearest value')
'name' => $this->trans('Round down to the nearest value', array(), 'Admin.ShopParameters.Feature')
Copy link
Contributor

Choose a reason for hiding this comment

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

This need a semi-colon:

array(
    'foo' => 'bar',
    'bar' => 'baz',
)

Why ? Because the next time you add an array entry, github will only highlight the last entry and not the line with
the semi colon.

I will clean this, this comment is just for information purposes :)

@mickaelandrieu mickaelandrieu merged commit bcf9d4d into PrestaShop:develop Aug 3, 2016
@mickaelandrieu
Copy link
Contributor

Thank you @AlexEven !

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.

None yet

2 participants