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

(PC-7917) (Tech) Lingui, extract unicode characteres from translations #864

Merged
merged 1 commit into from
Apr 9, 2021

Conversation

kopax-polyconseil
Copy link
Contributor

Link to JIRA ticket: https://passculture.atlassian.net/browse/PC-7917

Checklist

I have:

  • Made sure the title of my PR follows the convention [PC-XXX] <summary>.
  • Made sure my feature is working on the relevant real / virtual devices.
  • Written unit tests for my feature.
  • Added new reusable components to the AppComponents page and communicate to the team on slack
  • Added a screenshot for UI tickets.
  • Attached a ticket number for any added TODO/FIXME
    (for tech tasks, give the best context about the TODO resolution: what/who/when).

Screenshots

*iOS - [Phone name] *Android - [Phone name] Tablet - [Phone name] Little - [Phone name]

Deploy hard

If native code (ios/android) was modified, after the PR is merged, on the master branch, upgrade the app version (+1 patch):

  • if you want an hard deployment of the testing environment, use yarn trigger:testing:deploy

@@ -70,7 +70,7 @@ export function getBookingLabels(booking: Booking, properties: BookingProperties
}
} else if (properties.isPhysical) {
dateLabel = expirationDatetime
? t`À retirer avant le\u00a0` + formatToCompleteFrenchDate(expirationDatetime, false)
? t`À retirer avant le` + `\u00a0${formatToCompleteFrenchDate(expirationDatetime, false)}`
Copy link
Contributor

Choose a reason for hiding this comment

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

❓comment tu sais si tu les as bien enlevés partout ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

J'ai fais une recherche sur \u, je les ai tous corrigé sauf 3, voir commentaire lingui/js-lingui#1022 (comment)

@kopax-polyconseil kopax-polyconseil merged commit 6942729 into master Apr 9, 2021
@kopax-polyconseil kopax-polyconseil deleted the lingui-fix-unicode branch April 9, 2021 13:25
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