1. The template is named incorrectly: "untitled.pot" instead of
"systemd.pot"
2. The template only includes strings for C files; the strings from
the policy XML files are missing.
The proposed patch fixes those issues, even if it's in a clumsy manner. I couldn't figure out how to make intltool-update() extract strings from the XML files, so I made use of xgettext(). Anyway, I think this would update LP with the latest translatable strings.
I checked out the latest tarball with systemd translations:
https:/ /launchpad. net/ubuntu/ bionic/ +upload/ 17531208/ +files/ systemd_ 237-1ubuntu2_ amd64_translati ons.tar. gz
Two observations:
1. The template is named incorrectly: "untitled.pot" instead of
"systemd.pot"
2. The template only includes strings for C files; the strings from
the policy XML files are missing.
The proposed patch fixes those issues, even if it's in a clumsy manner. I couldn't figure out how to make intltool-update() extract strings from the XML files, so I made use of xgettext(). Anyway, I think this would update LP with the latest translatable strings.