Bug 1197982

Summary: Untranslated strings in YaST2 due to XML parsing differences
Product: [openSUSE] openSUSE Tumbleweed Reporter: Michael <michaelbelachev>
Component: TranslationsAssignee: Karl Eichwalder <ke>
Status: RESOLVED DUPLICATE QA Contact: Karl Eichwalder <ke>
Severity: Normal    
Priority: P5 - None CC: lubos.kocman, sbrabec
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Installer

Description Michael 2022-04-03 16:42:18 UTC
Created attachment 857718 [details]
Installer

Hello!

There are some untranslated strings in YaST2 installation (attached file).

Translation available in the package on Webplate (for example, KDE Plasma description : https://l10n.opensuse.org/translate/yast-control/master/ru/?checksum=8daf719bf27b3a9&sort_by=-priority,position)

But, due to error in Webplate (translate files don't exist in repository : https://l10n.opensuse.org/projects/yast-control/master/#alerts) updated strings don't add to package.

Please, fix this issue.

P. S. Also, yast-installation has got this aller : https://l10n.opensuse.org/projects/yast-installation/master/#alerts
Comment 1 Stanislav Brabec 2022-04-07 18:10:25 UTC
The problem with the translation is the exactly same problem as bug 1197965. Please track it there.

The problem of the alert is an unrelated thing. YaST string extractor adds a source string reference. And it works incorrectly for the skelcd glade/xml files. It adds meta comments that contain references to files that don't exist and never existed.

E. g. control/control.openSUSE.glade.translations.glade instead of control/control.openSUSE.glade. The extractor needs to be fixed.

That problem affects all strings in the all skelcd-control-*.

Notes:

- It can be fully fixed on the side of yast, but due to design limit of Weblate: one component can refer only to a single repository, and control.pot in the yast-translations is a compilation from all skelcd-control-* projects.

- Well, as control.openSUSE.glade is a symlink, maybe it can refer to control.openSUSE.xml.
Comment 2 Stanislav Brabec 2022-04-08 22:53:38 UTC
Reporting the source reference problem as bug 1198261.

The rest has the same source as bug 1197965. Closing as duplicate.

*** This bug has been marked as a duplicate of bug 1197965 ***