Initial translations support.

ubuntu/cosmic
Simon Quigley 7 years ago
parent 0bc9ae7fde
commit 4d63038e81

@ -3,6 +3,7 @@
all: install
install:
make -C src/usr/share/xsessions/po/
mkdir -pv $(DESTDIR)
cp -a src/etc src/usr $(DESTDIR)/.

@ -0,0 +1,22 @@
#!/usr/bin/make -f
POTFILES := $(shell cat POTFILES.in)
all: generate-po-files
generate-pot: POTFILES.in
intltool-update --pot --gettext-package=lubuntu-default-settings-xsessions
generate-po-files:
for i in $(POTFILES); do \
f=$$(echo $$i | sed 's/\.in//'); \
intltool-merge -d . ../$$i ../$$f; \
done
update-po:
for i in *.po; do \
code=$$(echo $$i | sed 's/.po//'); \
intltool-update --gettext-package=lubuntu-default-settings-xsessions --dist $$code; \
done
# vim:ts=4

@ -0,0 +1,26 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-07-11 02:18-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../Lubuntu.desktop:3
msgid "Lubuntu"
msgstr ""
#: ../Lubuntu.desktop:4
msgid "Lubuntu session using LXQt"
msgstr ""
Loading…
Cancel
Save