Commit graph

18 commits

Author SHA1 Message Date
Dirk Hohndel
c36da74989 Updates for the two German translations
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-20 22:46:15 -07:00
Dirk Hohndel
828a8ef902 Update the po files
NO other changes

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-20 22:41:41 -07:00
Dirk Hohndel
bd279054b5 Update German translations
This adds all the new terms from libdivecomputer.c

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-20 14:46:47 -07:00
Dirk Hohndel
05632c0eae Updated po files based on the previous commit
NO changes beyond running xgettext and msgmerge

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-20 14:46:47 -07:00
Dirk Hohndel
1037f60cb3 Update German and Finnish translations
Translate air in the German locales and remove a fuzzy comment next to a
correct translation in the Finnish one

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-19 08:44:12 -07:00
Dirk Hohndel
57bbf0a68a Update po files
NO other changes.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-19 08:42:18 -07:00
Dirk Hohndel
f4b6e53c4e Changed the term used for one of the default weight systems
Originally I used the colloquial term "bar" for the weight bar that you
can attach to a backplate (usually when diving twins in a tec
environment). This of course causes an odditity for translations as this
word "bar" is a homonym for the weight system and the pressure unit -
which throws off translations.

Instead of switching to a context-based translation I instead went with a
better term: "backplate weight". This of course now needs to be
translated, so I updated the .po files (and added German translations for
the two flavors of German).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-18 19:53:16 -07:00
Dirk Hohndel
7c9cd15b2b More improvements for German translation
Based on feedback by German divers (Flasche instead of Tank) and Wikipedia for
the official abbreviations of the various units.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-18 19:34:28 -07:00
Dirk Hohndel
049f4aa8ac 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>
2012-10-18 14:53:27 -07:00
Dirk Hohndel
e2eba2ad21 Update .po files for recent changes
After Lubomir submitted the last set of localization fixes (ec1e1bf30c4f
"info.c: set units for translation in the depth box" and 5e463168d2bb
"dive.c: set some of units for localization") I apparently forgot to
update all the .po files. This should NOT require any extra translation
work unless in your target language the units are indeed replaced with
something else. Otherwise the empty string "" simply triggers gettext to
go with the original text.

But after reading through the diff (boy do I know how to have fun) it
appears that this caught and (I think) correctly fixed a mistake in the
Finnish translation where an incorrect msgid had been used.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-18 09:40:16 -07:00
Dirk Hohndel
dbae888abc Handle dates and a "calculated plural" in translations
This looks like a massive commit mainly because of the line number changes
in the .po files. That sadly hides what really happened here:

- the places where we manually build dates have now been localized
- the one place where we did the English "calculated plural" has been
  modified so that it now can be correctly translated (in English this
  just adds an 's' to the noun if the number is != 1 - in other languages
  this tends to be much more complicated)

I then updated the two German translations to take advantage of the new
constructs. And while I was at it, I changed the translation Trip->Gruppe
to Trip->Reise as that seemed much more appropriate.
I also fixed another error in the German translation where I translated
"dive time" as "Startzeit" - but in the context it was "Dauer".

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-17 01:25:49 -07:00
Dirk Hohndel
72c7d7c9c4 Small adjustments to the German translation
Consistently use "Ø" for average.

Use Tauchgruppenleiter and Leiter instead of Tauchgruppenführer and
Führer.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-15 15:23:16 -07:00
Dirk Hohndel
f1569a206e Improve translations
- fix two missing strings in equipment.c (thanks to Tommi Saviranta for
  pointing this out)

- add context for the translations of the Yearly/monthly statistics. The code
  for this ended up being incredibly ugly, but the gettext infrastructure
  really clashed with the way this is implemented. What I have now at least
  works (tested with the German translation)

- merge the new strings into all the po files. The non-German translations need
  to be updated. Make sure you remove the "# , fuzzy" lines or the current
  Makefile will ignore those additions.

- some minor cleanup of the po files (many listed the wrong language, all of
  them copied my incorrect use of PACKAGE (instead of saying "Subsurface").

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-14 20:47:00 -07:00
Dirk Hohndel
cb4bdfcea1 Improve German translations
The changes were mostly suggested by Lutz, but since he didn't send a
patch, I manually applied them.

Suggested-by: Lutz Vieweg <lvml@5t9.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-13 17:02:58 -07:00
Ďoďo
d27eb4f503 Slovak translation
Also fixed two typos in the German translations.

Signed-Off-By: Jozef Ivanecký (dodo.sk@gmail.com)
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-13 09:01:25 -07:00
Dirk Hohndel
a68945646d Update German translations for newly added menu strings
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-11 23:15:08 +09:00
Dirk Hohndel
45e84618f5 Make translations of menu entries explicit
It appears that at least for Norwegian the translations of the stock menu
entries was missing. This patch adds those as explicit strings and merges
those new strings into the .po files.

The translations need to be updated in separate commits.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-11 23:08:45 +09:00
Henrik Brautaset Aronsen
f5de37dbcf Basic gettext support when building
Added basic support for building gettext locales in the Makefile.
The po file name should match the target locale.

[Dirk Hohndel: Used git mv to rename the German .po file]

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-11 21:45:30 +09:00
Renamed from po/deutsch.po (Browse further)