Skip to content

Commit fbc6256

Browse files
author
Sabri Ünal
authored
fix(appdata): translate=no properties & w.g.o link (#203)
* appdata: `translate=no` properties It appears that the appstream project no longer supports `translatable=no` properties, and gettext extract the `translatable=no` marked strings as translatable. I opened an issue to inform about the situation, but `translatable=no` properties are not accepted by developers. You can find the issue here: ximion/appstream#623 **Please test your script or string extraction process before merging this PR.** > In MetaInfo files, each individual paragraph of a description > (or enumerated entry) is translated individually, however, > you can only exclude the complete block from being translated > by adding `translate="no"` to the description element. Source: https://freedesktop.org/software/appstream/docs/sect-Quickstart-Translation.html * appdata: Fix contribute URL welcome.gnome.org is translatable and don't redirect user to English page.
1 parent a65e91f commit fbc6256

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

data/dev.geopjr.Collision.metainfo.xml.in

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<name>Collision</name>
55
<project_license>BSD-2-Clause</project_license>
66
<!-- developer_name tag deprecated with Appstream 1.0 -->
7-
<developer_name translatable="no">Evangelos "GeopJr" Paterakis</developer_name>
7+
<developer_name translate="no">Evangelos "GeopJr" Paterakis</developer_name>
88
<developer id="dev.geopjr">
9-
<name translatable="no">Evangelos "GeopJr" Paterakis</name>
9+
<name translate="no">Evangelos "GeopJr" Paterakis</name>
1010
</developer>
1111
<summary>Check hashes for your files</summary>
1212
<metadata_license>CC0-1.0</metadata_license>
@@ -15,7 +15,7 @@
1515
<url type="translate">https://hosted.weblate.org/engage/collision/</url>
1616
<url type="donation">https://geopjr.dev/donate</url>
1717
<url type="vcs-browser">https://github.com/GeopJr/Collision/</url>
18-
<url type="contribute">https://welcome.gnome.org/en/app/Collision/</url>
18+
<url type="contribute">https://welcome.gnome.org/app/Collision/</url>
1919
<description>
2020
<p>
2121
Verifying that a file you downloaded or received is actually the one you were
@@ -49,7 +49,7 @@
4949
</branding>
5050
<releases>
5151
<release version="3.8.0" date="2024-03-26">
52-
<description translatable="no">
52+
<description translate="no">
5353
<ul>
5454
<li>Visual refinements to match the state of the art of GNOME apps</li>
5555
<li>Improved accessibility</li>
@@ -59,14 +59,14 @@
5959
</description>
6060
</release>
6161
<release version="3.7.1" date="2024-01-24">
62-
<description translatable="no">
62+
<description translate="no">
6363
<ul>
6464
<li>Updated translations</li>
6565
</ul>
6666
</description>
6767
</release>
6868
<release version="3.7.0" date="2024-01-02">
69-
<description translatable="no">
69+
<description translate="no">
7070
<ul>
7171
<li>Added Blake3, CRC32 and Adler32 support</li>
7272
<li>Added progress bar for tracking the calculation progress</li>
@@ -79,7 +79,7 @@
7979
</description>
8080
</release>
8181
<release version="3.6.0" date="2023-09-23">
82-
<description translatable="no">
82+
<description translate="no">
8383
<ul>
8484
<li>Visual refinements to match the state of the art of GNOME apps</li>
8585
<li>Major codebase rewrite</li>
@@ -89,7 +89,7 @@
8989
</description>
9090
</release>
9191
<release version="3.5.0" date="2023-04-17">
92-
<description translatable="no">
92+
<description translate="no">
9393
<ul>
9494
<li>Added drag and drop support for files</li>
9595
<li>Improved keyboard navigation</li>
@@ -99,7 +99,7 @@
9999
</description>
100100
</release>
101101
<release version="3.4.0" date="2023-01-06">
102-
<description translatable="no">
102+
<description translate="no">
103103
<ul>
104104
<li>Added keyboard shortcuts</li>
105105
<li>Added ability to search for hashes in file content</li>
@@ -110,7 +110,7 @@
110110
</description>
111111
</release>
112112
<release version="3.3.1" date="2022-11-24">
113-
<description translatable="no">
113+
<description translate="no">
114114
<ul>
115115
<li>Added aarch64 support</li>
116116
<li>Added nautilus / GNOME Files extension by DodoLeDev</li>
@@ -120,7 +120,7 @@
120120
</description>
121121
</release>
122122
<release version="3.3.0" date="2022-11-15">
123-
<description translatable="no">
123+
<description translate="no">
124124
<ul>
125125
<li>Added open signal handling (you can now open files with Collision)</li>
126126
<li>Minor bug fixes</li>
@@ -131,7 +131,7 @@
131131
</description>
132132
</release>
133133
<release version="3.2.0" date="2022-10-16">
134-
<description translatable="no">
134+
<description translate="no">
135135
<ul>
136136
<li>Switched to AdwAboutWindow</li>
137137
<li>Minor bug fixes</li>
@@ -141,7 +141,7 @@
141141
</description>
142142
</release>
143143
<release version="3.1.0" date="2022-09-15">
144-
<description translatable="no">
144+
<description translate="no">
145145
<ul>
146146
<li>Added gschema support so Collision remembers window size and maximized state</li>
147147
<li>Updated dependencies</li>
@@ -151,7 +151,7 @@
151151
</description>
152152
</release>
153153
<release version="3.0.5" date="2022-08-11">
154-
<description translatable="no">
154+
<description translate="no">
155155
<ul>
156156
<li>Optimized performance and memory usage of CSS class toggling</li>
157157
<li>Minor bug fixes</li>
@@ -162,7 +162,7 @@
162162
</description>
163163
</release>
164164
<release version="3.0.4" date="2022-07-04">
165-
<description translatable="no">
165+
<description translate="no">
166166
<ul>
167167
<li>Updated dependencies</li>
168168
<li>Added Estonian, Czech and Berber translations</li>
@@ -171,7 +171,7 @@
171171
</description>
172172
</release>
173173
<release version="3.0.3" date="2022-05-21">
174-
<description translatable="no">
174+
<description translate="no">
175175
<ul>
176176
<li>Handle feedback on buttons when spammed</li>
177177
<li>Hash comparison is now case-insensitive</li>
@@ -182,15 +182,15 @@
182182
</description>
183183
</release>
184184
<release version="3.0.2" date="2022-04-22">
185-
<description translatable="no">
185+
<description translate="no">
186186
<ul>
187187
<li>Feedback on copy</li>
188188
<li>Updated translations</li>
189189
</ul>
190190
</description>
191191
</release>
192192
<release version="3.0.1" date="2022-03-27">
193-
<description translatable="no">
193+
<description translate="no">
194194
<ul>
195195
<li>Bug fixes</li>
196196
<li>Hide filepath on flatpak</li>

0 commit comments

Comments
 (0)