Bug 1027188 - Better warning message for missing 128px icon. r=ochameau

This commit is contained in:
Paul Rouget 2014-06-26 09:32:42 +02:00
parent d023cfad45
commit b04f2f6787
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ AppValidator.prototype.validateManifest = function (manifest) {
if (!manifest.icons || Object.keys(manifest.icons).length === 0) {
this.warning(strings.GetStringFromName("validator.missIconsManifestProperty"));
} else if (!manifest.icons["128"]) {
this.warning(strings.GetStringFromName("validator.missIconMarketplace"));
this.warning(strings.GetStringFromName("validator.missIconMarketplace2"));
}
};

View File

@ -29,7 +29,7 @@ validator.invalidProjectType=Unknown project type '%S'
# don't translate 'icons' and 'name'.
validator.missNameManifestProperty=Missing mandatory 'name' in Manifest.
validator.missIconsManifestProperty=Missing 'icons' in Manifest.
validator.missIconMarketplace=app submission to the Marketplace needs at least a 128px icon
validator.missIconMarketplace2=app submission to the Marketplace requires a 128px icon
validator.invalidAppType=Unknown app type: '%S'.
validator.invalidHostedPriviledges=Hosted App can't be type '%S'.
validator.noCertifiedSupport='certified' apps are not fully supported on the App manager.