What | Removed | Added |
---|---|---|
Status | RESOLVED | REOPENED |
CC | fvogt@suse.com | |
Resolution | FIXED | --- |
Flags | needinfo?(fvogt@suse.com) |
This was not yet fixed. We have a deprecated gnome-patch-translation package that is capable of translation of strings in patches. This is not maintained for 3 years. I am experimenting with a new process on this package, but the work stalled a bit. https://build.opensuse.org/package/view_file/home:sbrabec:branches:Base:System/grub2/grub2.spec?expand=0 See %prep stage and the end of %install phase just above %pre. Fabian, could you help with it? I put a file named grub2-suse.pot to %{_topdir}/OTHER/ during the build. https://api.opensuse.org/build/home:sbrabec:branches:Base:System/openSUSE_Factory/x86_64/grub2 does not contain this file. ls -al /var/tmp/build-root/openSUSE_Factory-x86_64/home/abuild/rpmbuild/OTHER/ total 40 drwxr-xr-x 2 399 399 4096 Mar 8 17:42 . drwxr-xr-x 9 399 399 4096 Mar 8 17:38 .. -rw-r--r-- 1 399 399 6821 Mar 8 17:41 grub2-suse.pot -rw-r--r-- 1 399 399 1024 Mar 8 17:41 grub2.cpio.rsasign -rw-r--r-- 1 399 399 590 Mar 8 17:41 grub2.rpmlintrc -rw-r--r-- 1 399 399 4788 Mar 8 17:41 pesign-repackage.spec -rw-r--r-- 1 root root 5116 Mar 8 17:42 rpmlint.log Note to the implementation itself: It generates more strings than needed. My another idea: Instead of compare pre-patching and post-patching pot files, we could compare the latest upstream pot file with the current post-patching pot. It will exclude upstream backports from the pot file. (We can import backport strings from the upstream.)