Skip to content

Commit e07443c

Browse files
committed
appdata: Mark release notes non-translatable.
1 parent 952b4e5 commit e07443c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

add-appdata-release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def xml_escape(s):
5252

5353
def build_release_block(version, date, bullets):
5454
lines = [f' <release version="{version}" date="{date}">',
55-
' <description>']
55+
' <description translatable="no" translate="no">']
5656
if len(bullets) <= 1:
5757
text = bullets[0] if bullets else 'Maintenance release.'
5858
lines.append(f' <p>{xml_escape(text)}</p>')

data/org.x.Warpinator.appdata.xml.in.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
</provides>
3939
<releases>
4040
<release version="2.0.3" date="2026-01-08">
41-
<description>
41+
<description translatable="no" translate="no">
4242
<p>Translation updates.</p>
4343
</description>
4444
</release>
4545
<release version="2.0.0" date="2025-11-21">
46-
<description>
46+
<description translatable="no" translate="no">
4747
<ul>
4848
<li>IPv6 support.</li>
4949
<li>Switched to XApp symbolic icons.</li>
@@ -54,7 +54,7 @@
5454
</description>
5555
</release>
5656
<release version="1.0.0" date="2020-04-17">
57-
<description>
57+
<description translatable="no" translate="no">
5858
<p>Initial release.</p>
5959
</description>
6060
</release>

0 commit comments

Comments
 (0)