Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

show warnings if no origin or not packaged (bug 1027397) #2246

Merged
merged 1 commit into from
Jun 20, 2014
Merged

show warnings if no origin or not packaged (bug 1027397) #2246

merged 1 commit into from
Jun 20, 2014

Conversation

andymckay
Copy link
Contributor

No description provided.

{% elif not addon.origin %}
<div class="island notification-box">
{% trans origin='https://developer.mozilla.org/en-US/Apps/Build/Manifest#origin' %}
You have no <a href="{{ origin }}">origin</a> defined in your manifest, this means that receipts cannot be properly verified.
Copy link
Contributor

Choose a reason for hiding this comment

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

should the whole <a> link be passed in as a variable? If not, maybe add a L10n comment that origin should not be localized

Copy link
Contributor

Choose a reason for hiding this comment

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

nit: I think this would read better as "You must define an origin in your manifest so that receipts can be verified properly."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

like the rewording, this is how urls are normally localised in trans in the rest of the site

@kumar303
Copy link
Contributor

r+wc

andymckay pushed a commit that referenced this pull request Jun 20, 2014
show warnings if no origin or not packaged (bug 1027397)
@andymckay andymckay merged commit 20b4941 into mozilla:master Jun 20, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants