mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
Add Makefile target to update po files
This is a bit of a hack to make my life easier. make update-po-files will extract the translation strings and merge them with the existing translations - for all existing translations. For good measure this commit includes the latest update of the po files (but no new translations should be needed). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
17191f17ce
commit
049f4aa8ac
13 changed files with 42 additions and 36 deletions
6
Makefile
6
Makefile
|
@ -194,6 +194,12 @@ install-cross-windows: $(NAME)
|
|||
$(INSTALL) $$LOC/subsurface.mo $(WINDOWSSTAGING)/$$LOC/subsurface.mo; \
|
||||
done
|
||||
|
||||
update-po-files:
|
||||
xgettext -o subsurface-new.pot -s -k_ -kN_ --keyword=C_:1c,2 --add-comments="++GETTEXT" *.c
|
||||
for i in po/*.po; do \
|
||||
msgmerge -s -U $$i subsurface-new.pot ; \
|
||||
done
|
||||
|
||||
file.o: file.c dive.h file.h
|
||||
$(CC) $(CFLAGS) $(GLIB2CFLAGS) $(XML2CFLAGS) $(XSLT) $(ZIP) -c file.c
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 2.0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-18 09:28-0700\n"
|
||||
"POT-Creation-Date: 2012-10-18 14:52-0700\n"
|
||||
"PO-Revision-Date: 2012-11-10 16:27+0300\n"
|
||||
"Last-Translator: Lubomir I. Ivanov <neolit123@gmail.com>>\n"
|
||||
"Language-Team: Bulgarian\n"
|
||||
|
@ -1008,7 +1008,7 @@ msgstr "фута"
|
|||
msgid "integrated"
|
||||
msgstr "вградена"
|
||||
|
||||
#: dive.c:136 gtk-gui.c:607
|
||||
#: dive.c:136 equipment.c:1037 gtk-gui.c:607
|
||||
msgid "kg"
|
||||
msgstr "кг"
|
||||
|
||||
|
@ -1016,7 +1016,7 @@ msgstr "кг"
|
|||
msgid "l"
|
||||
msgstr "л"
|
||||
|
||||
#: dive.c:132 divelist.c:1267 gtk-gui.c:608
|
||||
#: dive.c:132 divelist.c:1267 equipment.c:1039 gtk-gui.c:608
|
||||
msgid "lbs"
|
||||
msgstr "паунда"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 2.0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-18 09:28-0700\n"
|
||||
"POT-Creation-Date: 2012-10-18 14:52-0700\n"
|
||||
"PO-Revision-Date: 2012-10-15 14:02+0100\n"
|
||||
"Last-Translator: Martin Gysel <me@bearsh.org>\n"
|
||||
"Language-Team: German\n"
|
||||
|
@ -1007,7 +1007,7 @@ msgstr "ft"
|
|||
msgid "integrated"
|
||||
msgstr "integriert"
|
||||
|
||||
#: dive.c:136 gtk-gui.c:607
|
||||
#: dive.c:136 equipment.c:1037 gtk-gui.c:607
|
||||
msgid "kg"
|
||||
msgstr "kg"
|
||||
|
||||
|
@ -1015,7 +1015,7 @@ msgstr "kg"
|
|||
msgid "l"
|
||||
msgstr ""
|
||||
|
||||
#: dive.c:132 divelist.c:1267 gtk-gui.c:608
|
||||
#: dive.c:132 divelist.c:1267 equipment.c:1039 gtk-gui.c:608
|
||||
msgid "lbs"
|
||||
msgstr "US Pfund"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 2.0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-18 09:28-0700\n"
|
||||
"POT-Creation-Date: 2012-10-18 14:52-0700\n"
|
||||
"PO-Revision-Date: 2012-10-10 16:27+0900\n"
|
||||
"Last-Translator: Dirk Hohndel <dirk@hohndel.org>\n"
|
||||
"Language-Team: German\n"
|
||||
|
@ -1007,7 +1007,7 @@ msgstr "ft"
|
|||
msgid "integrated"
|
||||
msgstr "integriert"
|
||||
|
||||
#: dive.c:136 gtk-gui.c:607
|
||||
#: dive.c:136 equipment.c:1037 gtk-gui.c:607
|
||||
msgid "kg"
|
||||
msgstr "kg"
|
||||
|
||||
|
@ -1015,7 +1015,7 @@ msgstr "kg"
|
|||
msgid "l"
|
||||
msgstr ""
|
||||
|
||||
#: dive.c:132 divelist.c:1267 gtk-gui.c:608
|
||||
#: dive.c:132 divelist.c:1267 equipment.c:1039 gtk-gui.c:608
|
||||
msgid "lbs"
|
||||
msgstr "US Pfund"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 2.0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-18 09:28-0700\n"
|
||||
"POT-Creation-Date: 2012-10-18 14:52-0700\n"
|
||||
"PO-Revision-Date: 2012-10-16 12:05+0100\n"
|
||||
"Last-Translator: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>\n"
|
||||
"Language-Team: Spanish\n"
|
||||
|
@ -1006,7 +1006,7 @@ msgstr "ft"
|
|||
msgid "integrated"
|
||||
msgstr "integrado"
|
||||
|
||||
#: dive.c:136 gtk-gui.c:607
|
||||
#: dive.c:136 equipment.c:1037 gtk-gui.c:607
|
||||
msgid "kg"
|
||||
msgstr "kg"
|
||||
|
||||
|
@ -1014,7 +1014,7 @@ msgstr "kg"
|
|||
msgid "l"
|
||||
msgstr ""
|
||||
|
||||
#: dive.c:132 divelist.c:1267 gtk-gui.c:608
|
||||
#: dive.c:132 divelist.c:1267 equipment.c:1039 gtk-gui.c:608
|
||||
msgid "lbs"
|
||||
msgstr "libra"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 2.0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-18 09:28-0700\n"
|
||||
"POT-Creation-Date: 2012-10-18 14:52-0700\n"
|
||||
"PO-Revision-Date: 2012-10-15 22:41+0300\n"
|
||||
"Last-Translator: Tommi Saviranta <wnd@iki.fi>\n"
|
||||
"Language-Team: Finnish\n"
|
||||
|
@ -1006,7 +1006,7 @@ msgstr "ft"
|
|||
msgid "integrated"
|
||||
msgstr "integroitu"
|
||||
|
||||
#: dive.c:136 gtk-gui.c:607
|
||||
#: dive.c:136 equipment.c:1037 gtk-gui.c:607
|
||||
msgid "kg"
|
||||
msgstr "kg"
|
||||
|
||||
|
@ -1014,7 +1014,7 @@ msgstr "kg"
|
|||
msgid "l"
|
||||
msgstr ""
|
||||
|
||||
#: dive.c:132 divelist.c:1267 gtk-gui.c:608
|
||||
#: dive.c:132 divelist.c:1267 equipment.c:1039 gtk-gui.c:608
|
||||
msgid "lbs"
|
||||
msgstr "pauna"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 2.0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-18 09:28-0700\n"
|
||||
"POT-Creation-Date: 2012-10-18 14:52-0700\n"
|
||||
"PO-Revision-Date: 2012-12-11 09:58+0200\n"
|
||||
"Last-Translator: Pierre-Yves Chibon <pingou@pingoured.fr>\n"
|
||||
"Language-Team: French\n"
|
||||
|
@ -1006,7 +1006,7 @@ msgstr "ft"
|
|||
msgid "integrated"
|
||||
msgstr "intégré"
|
||||
|
||||
#: dive.c:136 gtk-gui.c:607
|
||||
#: dive.c:136 equipment.c:1037 gtk-gui.c:607
|
||||
msgid "kg"
|
||||
msgstr "kg"
|
||||
|
||||
|
@ -1014,7 +1014,7 @@ msgstr "kg"
|
|||
msgid "l"
|
||||
msgstr "l"
|
||||
|
||||
#: dive.c:132 divelist.c:1267 gtk-gui.c:608
|
||||
#: dive.c:132 divelist.c:1267 equipment.c:1039 gtk-gui.c:608
|
||||
msgid "lbs"
|
||||
msgstr "Livre US"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 2.0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-18 09:28-0700\n"
|
||||
"POT-Creation-Date: 2012-10-18 14:52-0700\n"
|
||||
"PO-Revision-Date: 2012-10-18 15:00+0100\n"
|
||||
"Last-Translator: Ivan Habunek <ivan.habunek@gmail.com>\n"
|
||||
"Language-Team: Croatian\n"
|
||||
|
@ -1006,7 +1006,7 @@ msgstr "ft"
|
|||
msgid "integrated"
|
||||
msgstr "integrirani"
|
||||
|
||||
#: dive.c:136 gtk-gui.c:607
|
||||
#: dive.c:136 equipment.c:1037 gtk-gui.c:607
|
||||
msgid "kg"
|
||||
msgstr "kg"
|
||||
|
||||
|
@ -1014,7 +1014,7 @@ msgstr "kg"
|
|||
msgid "l"
|
||||
msgstr ""
|
||||
|
||||
#: dive.c:132 divelist.c:1267 gtk-gui.c:608
|
||||
#: dive.c:132 divelist.c:1267 equipment.c:1039 gtk-gui.c:608
|
||||
msgid "lbs"
|
||||
msgstr "US funte"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 2.0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-18 09:28-0700\n"
|
||||
"POT-Creation-Date: 2012-10-18 14:52-0700\n"
|
||||
"PO-Revision-Date: 2012-10-18 14:16+0100\n"
|
||||
"Last-Translator: Filippo Moser <filippom@gmail.com>\n"
|
||||
"Language-Team: Italian\n"
|
||||
|
@ -1010,7 +1010,7 @@ msgstr "ft"
|
|||
msgid "integrated"
|
||||
msgstr "integrato"
|
||||
|
||||
#: dive.c:136 gtk-gui.c:607
|
||||
#: dive.c:136 equipment.c:1037 gtk-gui.c:607
|
||||
msgid "kg"
|
||||
msgstr "kg"
|
||||
|
||||
|
@ -1018,7 +1018,7 @@ msgstr "kg"
|
|||
msgid "l"
|
||||
msgstr ""
|
||||
|
||||
#: dive.c:132 divelist.c:1267 gtk-gui.c:608
|
||||
#: dive.c:132 divelist.c:1267 equipment.c:1039 gtk-gui.c:608
|
||||
msgid "lbs"
|
||||
msgstr "lbs"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 2.0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-18 09:28-0700\n"
|
||||
"POT-Creation-Date: 2012-10-18 14:52-0700\n"
|
||||
"PO-Revision-Date: 2012-10-17 10:41+0100\n"
|
||||
"Last-Translator: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>\n"
|
||||
"Language-Team: Norwegian Bokmål\n"
|
||||
|
@ -1006,7 +1006,7 @@ msgstr "ft"
|
|||
msgid "integrated"
|
||||
msgstr "integrert"
|
||||
|
||||
#: dive.c:136 gtk-gui.c:607
|
||||
#: dive.c:136 equipment.c:1037 gtk-gui.c:607
|
||||
msgid "kg"
|
||||
msgstr "kg"
|
||||
|
||||
|
@ -1014,7 +1014,7 @@ msgstr "kg"
|
|||
msgid "l"
|
||||
msgstr ""
|
||||
|
||||
#: dive.c:132 divelist.c:1267 gtk-gui.c:608
|
||||
#: dive.c:132 divelist.c:1267 equipment.c:1039 gtk-gui.c:608
|
||||
msgid "lbs"
|
||||
msgstr "pund"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 2.0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-18 09:28-0700\n"
|
||||
"POT-Creation-Date: 2012-10-18 14:52-0700\n"
|
||||
"PO-Revision-Date: 2012-10-11 13:08+0100\n"
|
||||
"Last-Translator: Dirk Hohndel <dirk@hohndel.org>\n"
|
||||
"Language-Team: Dutch\n"
|
||||
|
@ -1006,7 +1006,7 @@ msgstr "ft"
|
|||
msgid "integrated"
|
||||
msgstr "Geintergreerd"
|
||||
|
||||
#: dive.c:136 gtk-gui.c:607
|
||||
#: dive.c:136 equipment.c:1037 gtk-gui.c:607
|
||||
msgid "kg"
|
||||
msgstr "kg"
|
||||
|
||||
|
@ -1014,7 +1014,7 @@ msgstr "kg"
|
|||
msgid "l"
|
||||
msgstr ""
|
||||
|
||||
#: dive.c:132 divelist.c:1267 gtk-gui.c:608
|
||||
#: dive.c:132 divelist.c:1267 equipment.c:1039 gtk-gui.c:608
|
||||
msgid "lbs"
|
||||
msgstr "US Pond"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 2.0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-18 09:28-0700\n"
|
||||
"POT-Creation-Date: 2012-10-18 14:52-0700\n"
|
||||
"PO-Revision-Date: 2012-10-16 00:12+0100\n"
|
||||
"Last-Translator: Jozef Ivanecký <dodo.sk@gmail.com>\n"
|
||||
"Language-Team: Slovakian\n"
|
||||
|
@ -1006,7 +1006,7 @@ msgstr "ft"
|
|||
msgid "integrated"
|
||||
msgstr "integrované"
|
||||
|
||||
#: dive.c:136 gtk-gui.c:607
|
||||
#: dive.c:136 equipment.c:1037 gtk-gui.c:607
|
||||
msgid "kg"
|
||||
msgstr "kg"
|
||||
|
||||
|
@ -1014,7 +1014,7 @@ msgstr "kg"
|
|||
msgid "l"
|
||||
msgstr ""
|
||||
|
||||
#: dive.c:132 divelist.c:1267 gtk-gui.c:608
|
||||
#: dive.c:132 divelist.c:1267 equipment.c:1039 gtk-gui.c:608
|
||||
msgid "lbs"
|
||||
msgstr "US libra"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 2.0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-18 09:28-0700\n"
|
||||
"POT-Creation-Date: 2012-10-18 14:52-0700\n"
|
||||
"PO-Revision-Date: 2012-10-12 11:48+0900\n"
|
||||
"Last-Translator: Linus Torvalds <torvalds@linux-foundation.org>\n"
|
||||
"Language-Team: Swedish\n"
|
||||
|
@ -1007,7 +1007,7 @@ msgstr "ft"
|
|||
msgid "integrated"
|
||||
msgstr "integrerat"
|
||||
|
||||
#: dive.c:136 gtk-gui.c:607
|
||||
#: dive.c:136 equipment.c:1037 gtk-gui.c:607
|
||||
msgid "kg"
|
||||
msgstr "kg"
|
||||
|
||||
|
@ -1015,7 +1015,7 @@ msgstr "kg"
|
|||
msgid "l"
|
||||
msgstr ""
|
||||
|
||||
#: dive.c:132 divelist.c:1267 gtk-gui.c:608
|
||||
#: dive.c:132 divelist.c:1267 equipment.c:1039 gtk-gui.c:608
|
||||
msgid "lbs"
|
||||
msgstr "pund"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue