{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/addons-server/issues/1681","repository_url":"https://api.github.com/repos/mozilla/addons-server","labels_url":"https://api.github.com/repos/mozilla/addons-server/issues/1681/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/addons-server/issues/1681/comments","events_url":"https://api.github.com/repos/mozilla/addons-server/issues/1681/events","html_url":"https://github.com/mozilla/addons-server/issues/1681","id":133292516,"number":1681,"title":"Localized WebExtensions are displayed as __MSG_extensionName__","user":{"login":"Rob--W","id":1365071,"avatar_url":"https://avatars.githubusercontent.com/u/1365071?v=3","gravatar_id":"","url":"https://api.github.com/users/Rob--W","html_url":"https://github.com/Rob--W","followers_url":"https://api.github.com/users/Rob--W/followers","following_url":"https://api.github.com/users/Rob--W/following{/other_user}","gists_url":"https://api.github.com/users/Rob--W/gists{/gist_id}","starred_url":"https://api.github.com/users/Rob--W/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rob--W/subscriptions","organizations_url":"https://api.github.com/users/Rob--W/orgs","repos_url":"https://api.github.com/users/Rob--W/repos","events_url":"https://api.github.com/users/Rob--W/events{/privacy}","received_events_url":"https://api.github.com/users/Rob--W/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/addons-server/labels/in%20progress","name":"in progress","color":"FAC60C"},{"url":"https://api.github.com/repos/mozilla/addons-server/labels/WebExtensions","name":"WebExtensions","color":"0e8a16"}],"state":"open","locked":false,"assignee":{"login":"EnTeQuAk","id":139033,"avatar_url":"https://avatars.githubusercontent.com/u/139033?v=3","gravatar_id":"","url":"https://api.github.com/users/EnTeQuAk","html_url":"https://github.com/EnTeQuAk","followers_url":"https://api.github.com/users/EnTeQuAk/followers","following_url":"https://api.github.com/users/EnTeQuAk/following{/other_user}","gists_url":"https://api.github.com/users/EnTeQuAk/gists{/gist_id}","starred_url":"https://api.github.com/users/EnTeQuAk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnTeQuAk/subscriptions","organizations_url":"https://api.github.com/users/EnTeQuAk/orgs","repos_url":"https://api.github.com/users/EnTeQuAk/repos","events_url":"https://api.github.com/users/EnTeQuAk/events{/privacy}","received_events_url":"https://api.github.com/users/EnTeQuAk/received_events","type":"User","site_admin":false},"assignees":[{"login":"EnTeQuAk","id":139033,"avatar_url":"https://avatars.githubusercontent.com/u/139033?v=3","gravatar_id":"","url":"https://api.github.com/users/EnTeQuAk","html_url":"https://github.com/EnTeQuAk","followers_url":"https://api.github.com/users/EnTeQuAk/followers","following_url":"https://api.github.com/users/EnTeQuAk/following{/other_user}","gists_url":"https://api.github.com/users/EnTeQuAk/gists{/gist_id}","starred_url":"https://api.github.com/users/EnTeQuAk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnTeQuAk/subscriptions","organizations_url":"https://api.github.com/users/EnTeQuAk/orgs","repos_url":"https://api.github.com/users/EnTeQuAk/repos","events_url":"https://api.github.com/users/EnTeQuAk/events{/privacy}","received_events_url":"https://api.github.com/users/EnTeQuAk/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/mozilla/addons-server/milestones/20","html_url":"https://github.com/mozilla/addons-server/milestones/50.2","labels_url":"https://api.github.com/repos/mozilla/addons-server/milestones/20/labels","id":1812268,"number":20,"title":"50.2","description":"","creator":{"login":"tofumatt","id":90871,"avatar_url":"https://avatars.githubusercontent.com/u/90871?v=3","gravatar_id":"","url":"https://api.github.com/users/tofumatt","html_url":"https://github.com/tofumatt","followers_url":"https://api.github.com/users/tofumatt/followers","following_url":"https://api.github.com/users/tofumatt/following{/other_user}","gists_url":"https://api.github.com/users/tofumatt/gists{/gist_id}","starred_url":"https://api.github.com/users/tofumatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tofumatt/subscriptions","organizations_url":"https://api.github.com/users/tofumatt/orgs","repos_url":"https://api.github.com/users/tofumatt/repos","events_url":"https://api.github.com/users/tofumatt/events{/privacy}","received_events_url":"https://api.github.com/users/tofumatt/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":5,"state":"open","created_at":"2016-06-07T01:05:36Z","updated_at":"2016-07-05T11:36:10Z","due_on":"2016-07-01T04:00:00Z","closed_at":null},"comments":2,"created_at":"2016-02-12T17:01:05Z","updated_at":"2016-07-05T11:57:53Z","closed_at":null,"body":"Localized extension names / descriptions were implemented in https://bugzilla.mozilla.org/show_bug.cgi?id=1192433.\r\n\r\nBut AMO doesn't support it. For example, if `manifest.json` contains `\"name\": \"__MSG_extensionName__\"`, and `_locales/en/messages.json` has defined `extensionName` as \"test\", then I would expect the displayed name to be \"test\", but AMO shows `__MSG_extensionName__`.\r\n\r\n- The localization logic is here: https://hg.mozilla.org/mozilla-central/diff/eb7962bf88a8/toolkit/components/extensions/ExtensionUtils.jsm#l209\r\n- Here is a sample extension: https://dxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/test/addons/webextension_3\r\n- An extension that was uploaded by a dev: https://addons.mozilla.org/en-US/editors/review/__msg_extensionname__ (only visible to reviewers, ask on `#amo-editors` if you need the xpi file).\r\n- Documentation on the `__msg_XXXX_` syntax: https://developer.chrome.com/extensions/i18n"},"comment":{"url":"https://api.github.com/repos/mozilla/addons-server/issues/comments/230458620","html_url":"https://github.com/mozilla/addons-server/issues/1681#issuecomment-230458620","issue_url":"https://api.github.com/repos/mozilla/addons-server/issues/1681","id":230458620,"user":{"login":"EnTeQuAk","id":139033,"avatar_url":"https://avatars.githubusercontent.com/u/139033?v=3","gravatar_id":"","url":"https://api.github.com/users/EnTeQuAk","html_url":"https://github.com/EnTeQuAk","followers_url":"https://api.github.com/users/EnTeQuAk/followers","following_url":"https://api.github.com/users/EnTeQuAk/following{/other_user}","gists_url":"https://api.github.com/users/EnTeQuAk/gists{/gist_id}","starred_url":"https://api.github.com/users/EnTeQuAk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnTeQuAk/subscriptions","organizations_url":"https://api.github.com/users/EnTeQuAk/orgs","repos_url":"https://api.github.com/users/EnTeQuAk/repos","events_url":"https://api.github.com/users/EnTeQuAk/events{/privacy}","received_events_url":"https://api.github.com/users/EnTeQuAk/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T11:57:53Z","updated_at":"2016-07-05T11:57:53Z","body":"This is now fixed with the merge of https://github.com/mozilla/addons-server/pull/3012 - should be online on Thursday"}}
{"actor":{"display_login":"EnTeQuAk"}}