source: appstream-generator/data/asgen-hints.json @ 4841

Last change on this file since 4841 was 4841, checked in by Juanma, 2 years ago

Initial release

File size: 9.0 KB
Line 
1{
2
3"internal-error": {
4  "text": [ "A fatal problem appeared in the generator.",
5            "Please <a href=\"https://github.com/ximion/appstream-generator/issues\">report a bug</a>: {{msg}}"],
6  "severity": "error"
7},
8
9"internal-unknown-tag": {
10  "text": ["The generator emitted a tag '{{tag}}' which is unknown. This is a bug in the metadata generator, please",
11           "<a href=\"https://github.com/ximion/appstream-generator/issues\">file a bugreport</a>."],
12  "severity": "warning"
13},
14
15"desktop-file-error": {
16  "text": "Unable to read data from .desktop file: {{msg}}",
17  "severity": "error"
18},
19
20"metainfo-parsing-error": {
21  "text": "Unable to parse AppStream metainfo file, the data is likely malformed.<br/>Error: {{msg}}",
22  "severity": "error"
23},
24
25"icon-format-unsupported": {
26  "text": "Icon file '{{icon_fname}}' uses an unsupported image file format.",
27  "severity": "error"
28},
29
30"icon-not-found": {
31  "text": [ "The icon '{{icon_fname}}' was not found in the archive. This issue can have multiple reasons:",
32            "<ul>",
33            "  <li>The icon is not present in the archive.</li>",
34            "  <li>The icon is in a wrong directory.</li>",
35            "  <li>The icon is not available in a suitable size (at least 64x64px)</li>",
36            "  <li>On Debian and Ubuntu, the icon is a symlink. The generator cannot read symlinks on these distributions - make the icon a real file.</li>",
37            "</ul>",
38            "To make the icon easier to find, place it in <code>/usr/share/icons/hicolor/&lt;size&gt;/apps</code> and ensure the <code>Icon=</code> value",
39            "of the .desktop file is set correctly."
40           ],
41  "severity": "error"
42},
43
44"gui-app-without-icon": {
45  "text": [ "The component is a GUI application (application which has a .desktop file for the XDG menu and <code>Type=Application</code>),",
46            "but we could not find a matching icon for this application."
47          ],
48  "severity": "error"
49},
50
51"pkg-extract-error": {
52  "text": "Could not extract file '{{fname}}' from package '{{pkg_fname}}'. Error: {{error}}",
53  "severity": "error"
54},
55
56"pkg-empty-file": {
57  "text": ["Could not extract file '{{fname}}' from package '{{pkg_fname}}'.",
58           "Icon data was empty. The icon might be a symbolic link pointing at a file outside of this package.",
59           "Please do not do that and instead place the icons in their appropriate directories in <code>/usr/share/icons/hicolor/</code>."],
60  "severity": "error"
61},
62
63"image-write-error": {
64  "text": ["Could write new image generated from '{{fname}}' (package '{{pkg_fname}}'): {{error}}"],
65  "severity": "error"
66},
67
68"metainfo-no-id": {
69  "text": ["Could not determine an id for this component. The AppStream metainfo file likely lacks an <code>&lt;id/&gt;</code> tag.<br/>",
70           "The identifier tag is essential for AppStream metadata, and must not be missing."],
71  "severity": "error"
72},
73
74"metainfo-validation-hint": {
75  "text": "Validation of the metainfo file yielded the following hint: {{msg}}",
76  "severity": "info"
77},
78
79"metainfo-validation-issue": {
80  "text": "Validation of the metainfo file found a problem: {{msg}}",
81  "severity": "warning"
82},
83
84"ancient-metadata": {
85  "text": ["The AppStream metadata should be updated to follow a more recent version of the specification.<br/>",
86           "Please consult <a href=\"http://freedesktop.org/software/appstream/docs/chap-Quickstart.html\">the XML quickstart guide</a> for more information."],
87  "severity": "warning"
88},
89
90"legacy-metainfo-directory": {
91  "text": ["The AppStream metainfo file '{{fname}}' was found in a legacy path.<br/>",
92           "Please install metainfo files into <code>/usr/share/metainfo</code>."],
93  "severity": "info"
94},
95
96"metainfo-screenshot-but-no-image": {
97  "text": ["A screenshot has been found for this component, but apparently it does not have any images defined."],
98  "severity": "warning"
99},
100
101"screenshot-download-error": {
102  "text": ["Error while downloading screenshot from '{{url}}': {{error}}<br/>",
103           "This might be a temporary server issue."],
104  "severity": "warning"
105},
106
107"screenshot-save-error": {
108  "text": "Unable to store screenshot for '{{url}}': {{error}}",
109  "severity": "warning"
110},
111
112"screenshot-no-thumbnails": {
113  "text": ["No thumbnails have been generated for screenshot '{{url}}'.<br/>",
114           "This could be a sign of the original screenshot being too small."],
115  "severity": "info"
116},
117
118"no-install-candidate": {
119  "text": "Component has no install candidate defined. A package must be associated with a package or bundle providing it.",
120  "severity": "error"
121},
122
123"metainfo-quoted-value": {
124  "text": "The value {{value}} in '{{field}}' is quoted, which is likely unintentional.",
125  "severity": "info"
126},
127
128"metainfo-unknown-type": {
129  "text": ["The component has an unknown type. Please make sure this component type is mentioned in the specification, and that the",
130           "<code>type=</code> property of the component root-node of the metainfo file does not contain a typing error."],
131  "severity": "error"
132},
133
134"metainfo-no-name": {
135  "text": "Component has no name specified. Ensure that the AppStream metainfo file or the .desktop file (if there is any) specify a component name.",
136  "severity": "error"
137},
138
139"metainfo-no-summary": {
140  "text": ["Component does not contain a short summary. Ensure that the components metainfo file has a <code>summary</code> tag, or that its .desktop file",
141           "has a <code>Comment=</code> field set.<br/>",
142           "More information can be found in the <a href=\"http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html\">Desktop Entry specification</a>",
143           "and the <a href=\"https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html#tag-dapp-summary\">MetaInfo specification</a>."],
144  "severity": "error"
145},
146
147"metainfo-duplicate-id": {
148  "text": ["The component-id '{{cid}}' already appeared in package '{{pkgname}}'. AppStream-IDs must be unique, please resolve which package will be",
149           "providing this component by default.<br/>",
150           "This issue may happen temporarily when metadata is moved from one package to another. In that case, ignore this issue, it will vanish soon."],
151  "severity": "error"
152},
153
154"missing-desktop-file": {
155  "text": ["Found an AppStream metainfo XML file, but the associated .desktop file is missing. This often happens when the .desktop file is renamed, but the",
156           "<code>&lt;id/&gt;</code> tag of the AppStream metainfo file is not adapted as well, or if the metainfo file is located in a different package than the .desktop file.<br/>",
157           "Please fix the packaging or work with upstream to resolve this issue."],
158  "severity": "error"
159},
160
161"description-from-package": {
162  "text": ["This component gets its description from the package it is located in.<br/>",
163           "This has several disadvantages, like poor markup, too technical descriptions for users of software centers, different components having the same description, etc.<br/>",
164           "Please consider writing a metainfo file for this component to take the long description upstream. In future, components without metainfo file might be dropped from the metadata entirely.",
165           "You can consult the <a href=\"http://freedesktop.org/software/appstream/docs/chap-Quickstart.html\">XML quickstart guides</a> for more information on how to write a metainfo file."],
166  "severity": "info"
167},
168
169"metadata-serialization-failed": {
170  "text": ["Could not create the final metadata. This could have many causes, including a generator bug, but the likeliest cause is an error in the input metadata.<br/>",
171           "The error message was: {{msg}}"],
172  "severity": "error"
173},
174
175"category-name-invalid": {
176  "text": ["The category name {{category}} is invalid. The software can not be shown in this category."],
177  "severity": "warning"
178},
179
180"no-valid-category": {
181  "text": ["This software component is no member of any valid category."],
182  "severity": "error"
183},
184
185"metainfo-license-invalid": {
186  "text": ["The metainfo file does not seem to be licensed under a permissive license. Valid permissive licenses include FSFAP, CC0-1.0 or MIT.",
187           "Permissive licenses are required to allow distributors to include the metadata in mixed data collections without the risk of license violations due to mutually incompatible licenses.",
188           "If you think this message is an error and '{{license}}' is actually valid, please <a href=\"https://github.com/ximion/appstream/issues\">file a bug against AppStream</a>."],
189  "severity": "error"
190},
191
192"font-metainfo-but-no-font": {
193  "text": ["A metainfo file with component-type <code>font</code> was found, but we could not find any matching font file (TrueType or OpenType) in the package.<br/>",
194           "This can mean that the <code>&lt;provides&gt; - &lt;font&gt;</code> tags contain wrong values that we could not map to the actual fonts, or that the package simply contained no fonts at all."],
195  "severity": "error"
196},
197
198"font-load-error": {
199  "text": "Unable to load font '{{fname}}' from package '{{pkg_fname}}: {{error}}",
200  "severity": "error"
201}
202
203}
Note: See TracBrowser for help on using the repository browser.