desktop: changed translations to msgfmt and xgettext
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sat, 20 Jun 2020 10:02:15 +0000 (12:02 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sat, 20 Jun 2020 16:55:52 +0000 (18:55 +0200)
commite92905c6b45dafa768497eadc638e7c2d6c528fc
tree7cb4a59f05f4a17efd51e738baa9ef809070f7ef
parentd290967fb1b127cd5c69958ec490e235b49087d5
desktop: changed translations to msgfmt and xgettext

During the build of the debian package 1.2.0-5 it turned out
that the pspp.appdata.xml file has a wrong structure with
respect to the translations. I did the following things

  - renamed pspp.appdata.xml to org.fsf.pspp.metainfo.xml
  - added gettext translation support for org.fsf.metainfo.xml
  - renamed pspp.desktop to org.fsf.pspp.desktop
  - replaced gen-det-desktop.sh based translation with gettext

gettext has now support for translating .desktop and .metainfo.xml
files. I took the naming conventions from the freedesktop and gnome
documentation, i.e. metainfo instead of appdata and the use of
an organization name.
README.Git
po/LINGUAS [new file with mode: 0644]
po/automake.mk
src/ui/gui/automake.mk
src/ui/gui/gen-dot-desktop.sh [deleted file]
src/ui/gui/org.fsf.pspp.desktop.in [new file with mode: 0644]
src/ui/gui/org.fsf.pspp.metainfo.xml.in [new file with mode: 0644]
src/ui/gui/pspp.appdata.xml [deleted file]