Skip to content

[Translation] Added tip about the incompatibility of % character #12949

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

Merged
merged 1 commit into from
Jan 30, 2020

Conversation

welcoMattic
Copy link
Member

@welcoMattic welcoMattic commented Jan 16, 2020

With the ICU MessageFormat syntax, the character % is not valid anymore in parameter keys. It throws a U_PATTERN_SYNTAX_ERROR exception

This fix must be backported on all versions from 4.2 included, since the introduction of IntlMessageFormatter

@welcoMattic welcoMattic changed the title Added tip about the incompatibility of % character [Translation] Added tip about the incompatibility of % character Jan 16, 2020
@welcoMattic welcoMattic requested a review from xabbuh as a code owner January 17, 2020 07:55
@welcoMattic welcoMattic changed the base branch from 5.0 to master January 17, 2020 07:56
@OskarStark OskarStark changed the base branch from master to 4.3 January 30, 2020 10:54
@OskarStark
Copy link
Contributor

Thank you Mathieu.

OskarStark added a commit that referenced this pull request Jan 30, 2020
…haracter (welcoMattic)

This PR was submitted for the master branch but it was squashed and merged into the 4.3 branch instead (closes #12949).

Discussion
----------

[Translation] Added tip about the incompatibility of % character

With the ICU MessageFormat syntax, the character `%` is not valid anymore in parameter keys. It throws a `U_PATTERN_SYNTAX_ERROR` exception

This fix must be backported on all versions from 4.2 included, since the introduction of IntlMessageFormatter

<!--

If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).

If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).

-->

Commits
-------

079ff73 [Translation] Added tip about the incompatibility of % character
@OskarStark OskarStark merged commit 079ff73 into symfony:4.3 Jan 30, 2020
OskarStark added a commit that referenced this pull request Jan 30, 2020
OskarStark added a commit that referenced this pull request Jan 30, 2020
* 4.3:
  Minor
  Minor. refs #12949
  [Translation] Added tip about the incompatibility of % character
OskarStark added a commit that referenced this pull request Jan 30, 2020
* 4.4:
  Minor
  Minor. refs #12949
  [Translation] Added tip about the incompatibility of % character
OskarStark added a commit that referenced this pull request Jan 30, 2020
* 5.0:
  Minor
  Minor. refs #12949
  [Translation] Added tip about the incompatibility of % character
@welcoMattic welcoMattic deleted the patch-3 branch May 30, 2021 10:26
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.

5 participants