-
Notifications
You must be signed in to change notification settings - Fork 212
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
feat(next): l10n: Update payments-next logic to use payments-next.ftl #18208
Conversation
@@ -26,10 +26,6 @@ module.exports = function(grunt) { | |||
src: srcPaths, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its hard for me to tell if we still need this concat
statement. It looks from reading the source code like it's still of use to us.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup it's still needed.
This grunt script creates the base payments-next.ftl
file for base locale en
which gets extracted by the l10n
teams string extraction script, and passed on to Pontoon.
Additionally it also keeps the en/payments-next.ftl
up to date during dev when new strings are added to the app.
1a2c096
to
0efa20c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r+wc.
Could you please also clean up the remaining temporary scripts that were created? app/_lib/scripts/create-payments-next.ts
and apps/_lib/scripts/convert.ts
as well calls of these scripts in the project.json
(l10n-create
and l10n-convert
)
@@ -26,10 +26,6 @@ module.exports = function(grunt) { | |||
src: srcPaths, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup it's still needed.
This grunt script creates the base payments-next.ftl
file for base locale en
which gets extracted by the l10n
teams string extraction script, and passed on to Pontoon.
Additionally it also keeps the en/payments-next.ftl
up to date during dev when new strings are added to the app.
1090ba2
to
ab2d809
Compare
Because: * payments-next no longer needs to rely on payments translations, as payments-next translations are completed. This commit: * Removes the dependency on payments.ftl translations within payments-next project.json and gruntfile.js Closes #FXA-7841
ab2d809
to
31867a9
Compare
Because
This pull request
Issue that this pull request solves
Closes: #FXA-7841
Checklist
Put an
x
in the boxes that apply