Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appdata: translate=no properties #3327

Merged
merged 1 commit into from
Feb 4, 2025
Merged

Conversation

yakushabb
Copy link
Contributor

@yakushabb yakushabb commented Mar 29, 2024

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

Description

Please include a summary of the change and which issue is fixed (if available).
Please also include relevant motivation and context.

Type of change

  • Appdata related chore

This comment was marked as outdated.

@yakushabb
Copy link
Contributor Author

@mirkobrombin

There are several strings from metainfo file appear translatable on Weblate. Could you review this PR when you have time. Thanks.

Copy link
Contributor

github-actions bot commented Oct 9, 2024

Pylint result on modfied files:

@orowith2os orowith2os added this to the 52.0 milestone Feb 3, 2025
@orowith2os
Copy link
Contributor

I added this to the Bottles 52 milestone, if you want to rebase it.

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

# Description
Please include a summary of the change and which issue is fixed (if available).
Please also include relevant motivation and context.

## Type of change
- [ ] Appdata related chore
@orowith2os orowith2os merged commit 723679c into bottlesdevs:main Feb 4, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants