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 bug 1246795 - Firefox Accounts home promo #3845
Fix bug 1246795 - Firefox Accounts home promo #3845
Conversation
All the old strings have been removed, this is all we got. This is basically a new string, so we need a different tag. Also, I'd suggest to remove the previous webmaker tag and string to avoid starting to pile up again. Side question: if we plan to localize the FxA tile at some point, it would be better to expose the strings now (not sure what's up with all the en-US only tiles recently). |
Ah, looks like I had outdated lang files, I still have the old strings locally. I'll give it a new tag. The FxA promo links to the accounts page which isn't currently localized. If that page gets localized we could localize the promo as well, but I wouldn't want to link a localized promo to an English page. Can we expose the strings without actually activating the promo? |
0339cd5
to
3e77dd8
Compare
New flag for the Teach promo: And I've wrapped strings for the FxA promo and put it behind the flag |
OK, that makes sense. Leaving the strings wrapped is OK, at this point I'd remove the tag (we'd still need to remove the "if English" conditional is we decide to localize it). We could drop the conditional and leave the tag, and I won't expose the strings to localizers, but the promo would show up on the dev server and it would be more confusing. |
Added string and imported from the old file where possible I'll clean up the old string when this is merged to production. |
@@ -0,0 +1,3 @@ | |||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [ | |||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/"> |
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.
Do we need the DOCTYPE
etc. I reckon we can remove everything to just before the open <svg....
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.
Huh, surprised the optimizer left this in... it certainly seems unnecessary. I'll update.
Just one comment about the webmaker SVG. Other than that, and the suggestion from @flodolo to remove the tag and just keep the |
Fix bug 1247103 - replace Webmaker promo with Teach promo
3e77dd8
to
04715e9
Compare
Removed the |
r+ ☀️ |
…romo Fix bug 1246795 - Firefox Accounts home promo
Also fixes bug 1247103 - replace Webmaker promo with Teach promo
The Accounts promo is English only, no l10n (for now) so I haven't wrapped the strings. Other locales fall back to the evergreen private browsing promo.
The Teach promo we had previously and I believe the strings are still in place behind the
webmaker_promo_introducing
flag. @flodolo please correct me if I'm wrong and I can give it a new flag for the new string.