action #57056

run desktop-file translation extractor

Added by lnussel 4 months ago. Updated 4 months ago.

Status:ClosedStart date:20/09/2019
Priority:NormalDue date:24/09/2019
Assignee:favogt% Done:

100%

Category:Release Engineering
Target version:Alpha
Duration: 3

Description

the extractor of desktop file translations that pushed to github needs to be run

A full rebuild without build-compare is needed.

on https://github.com/openSUSE/desktop-file-translations

Run

cd 51-xml
./download_data.sh download
./generate_and_merge_pos.sh download
git add */*.po */*.pot
git commit -m update
git push

Related issues

Copied from openSUSE Leap 15.2 - action #56348: run desktop-file translation extractor New 27/01/2020 30/01/2020

History

#1 Updated by lnussel 4 months ago

  • Copied from action #56348: run desktop-file translation extractor added

#2 Updated by favogt 4 months ago

50-tools/update-po-files.sh needs to be run as well, apparently.

#3 Updated by lnussel 4 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

that seems wrong somehow. generate_and_merge_pos.sh is supposed to handle that. Anyways, looks like its dont.

#4 Updated by favogt 4 months ago

  • % Done changed from 100 to 20

Unfortunately not, YaST group translations didn't survive the renaming. I'll have to redo it.

Yes, generate_and_merge_pos.sh is supposed to handle msgmerge, I suppose it broke somehow.

#5 Updated by favogt 4 months ago

  • % Done changed from 20 to 90

TW: https://build.opensuse.org/request/show/732916
SLE: https://build.suse.de/request/show/201453

Diff is messy because someone created a new branch.

#6 Updated by favogt 4 months ago

  • % Done changed from 90 to 100

Yes, generate_and_merge_pos.sh is supposed to handle msgmerge, I suppose it broke somehow.

I guess there is a difference between "msgmerge --previous -q newpo.po newpot.pot > tmp.po; msgmerge oldpo.po tmp.po" and "msgmerge --previous oldpo.po newpot.pot".
Additionally, there's a bug that for new languages new .po files aren't created automatically (it only iterates over existing .po files and doesn't call msginit).

I don't have time to look at that further.

Also available in: Atom PDF