Commit graph

150 commits

Author SHA1 Message Date
Dirk Hohndel
cee75b0f49 Tiny change to German translation
Suggested-by: Lutz Vieweg <lvml@5t9.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-08 07:21:13 +11:00
Tommi Saviranta
6bec608ea0 Updated Finnish translation
- Translated some missing strings
 - Paraphrased some longer sentences in Finnish
 - Inserted missing whitespaces

Signed-off-by: Tommi Saviranta <wnd@iki.fi>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-07 18:18:18 +11:00
Dirk Hohndel
85fad3f2a9 Fix German translation of ceiling
Suggested-by: Lutz Vieweg <lvml@5t9.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-07 07:40:37 +11:00
Henrik Brautaset Aronsen
a1ef8e5502 Yet another Norwegian translation update
This time with " begin" and " end"

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-06 06:31:34 +11:00
Sergey Starosek
f6432752e3 Updated Russian translation.
Profile related changes.c

Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-05 07:17:29 +11:00
Miika Turkia
f829bc744a Updated Finnish translation
Still plenty to be translated and verified by someone who actually knows
the finnish scuba vocabulary

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-05 06:59:32 +11:00
Dirk Hohndel
eeb8d76ec0 Another update to the PO files
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-04 18:08:10 +11:00
Sergey Starosek
a4da88f1ab Update Russian translation for "Gas used"
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-03 21:24:18 +11:00
Henrik Brautaset Aronsen
2df2a4d4d3 Updated Norwegian translation
Fixed the different usages of "Gas used", as well as a couple
of other small fixes

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-03 19:18:38 +11:00
Dirk Hohndel
6562502104 Update German translation for "Gas used"
Commit acd5a935850 ("Distinguish the two uses of "Gas Used" for
translation purposes") allows us to get this right.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-03 18:19:06 +11:00
Dirk Hohndel
de0cdf28b2 Merge branch 'po-files'
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>

Conflicts:
	po/nb_NO.po
	po/ru_RU.po
2013-02-03 18:08:26 +11:00
Dirk Hohndel
547a3cf120 Update PO files again
Commit acd5a935850 ("Distinguish the two uses of "Gas Used" for
translation purposes") requires us to recreate the PO files.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-03 18:04:16 +11:00
Sergey Starosek
8edb28b69f Updated Russian translation in preparation for v3.0
Some strings are not translated yet due to minor bugs.
Needs to be discussed on the mailing list.

Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-03 07:54:52 +11:00
Henrik Brautaset Aronsen
326707800d Updated Norwegian translations in preparation for v3.0
For all you Norwegians out there!

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-02 00:03:37 +11:00
Dirk Hohndel
b103ffa3d0 Quick attempt to complete the German translations
This will need careful review by German speakers who actually dive in
German speaking countries!

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-01 19:10:30 +11:00
Dirk Hohndel
08d4b43243 Updated PO files in preparation of 3.0 release
Translators, please start your engines...

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-01 18:08:13 +11:00
Sergey Starosek
db9810cd9b Initial Russian translation for Subsurface.
Some acronyms (SAC, OLF, OTU) were not translated since
there's no settled/common ones in russian.

Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-12-19 21:32:57 -10:00
Pablo Garcia Castro
658dd49f75 Spanish translation fixes.
Signed-off-by: Pablo Garcia Castro <freixido@gmail.com
Signed-Off-By: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Jose Angel Tortosa Delfa <angeltordel@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-11-05 08:58:25 -08:00
Reinout Hoornweg
913cc48eb9 Updates to the Dutch translation
Added missing translations.
Reviewed and fixed strings marked fuzzy.
Changed date-format to something resembling the usual Dutch notation.
Changed names of months to lowercase.
Changed translation of divemaster from diveinstructor to diveleader.
Fixed some typos.

Signed-off-by: Reinout Hoornweg <reinout@xs4all.nl>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-28 16:40:42 -07:00
Stéphane Raimbault
2be4a9f961 Updated French translation reviewed by Pierre-Yves Chibon
Signed-off-by: Stéphane Raimbault <stephane.raimbault@gmail.com>
2012-10-27 02:44:48 +02:00
Ďoďo Ivanecký
6ea59895ad Updated Slovakian translation
Signed-Off-By: Jozef Ivanecký (dodo.sk@gmail.com)
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-23 20:45:49 -07:00
Dirk Hohndel
74c94da16d Add the Spanish translators
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-22 20:31:36 -07:00
Dirk Hohndel
cc3a613b08 Updates to the Spanish translation
This is the result of a joined effort of several people. Thanks to
Pablo Garcia Castro <freixido@gmail.com>
Matthias Kaehlcke <matthias@kaehlcke.net>
Sergio Schvezov <sergiusens@ieee.org>
Auni Somero <aunims@gmail.com>

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Sergio Schvezov <sergiusens@ieee.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-22 18:36:18 -07:00
Lubomir I. Ivanov
0c2309c656 Small re-wording in the Bulgarian translation
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-22 11:36:35 -07:00
Henrik Brautaset Aronsen
e77e5e1810 Norwegian translation update.
With libdivecomputer events.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-22 10:47:40 -07:00
Jozef Ivanecký
e5faf86f5b Update Slovak translation
Signed-Off-By: Jozef Ivanecký (dodo.sk@gmail.com)
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-22 10:14:05 -07:00
Miika Turkia
a93d6e1853 Added primary translator to fi_FI.po
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-22 09:46:48 -07:00
Martin Gysel
bebcbfac6b update de_CH translation
use SAC everywhere, use 'O₂' instead of 'O2' since we have it in unicode
add missing translations

Signed-off-by: Martin Gysel <me@bearsh.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-22 09:43:29 -07:00
Lubomir I. Ivanov
35bd49d210 Updated Bulgarian Translation
- Added libdivecomputer texts
- More small typo fixes

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-22 09:41:20 -07:00
Sergio Schvezov
d443599b95 Improving Spanish translation
The Spanish translation was previously automatically translated by
Google Translate. This work is an intent on improving upong that
translation and adding to the missing translations to the
untranslated strings.

The poedit tool was used to improve the translation, which reformated
the es_ES.po somewhat.

Signed-off-by: Sergio Schvezov <sergiusens@ieee.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-22 09:35:52 -07:00
Dirk Hohndel
f5ba851c1b Hopefully the last update to the po files before the release
This one breaks with my preference to separate generated changes from
content changes - I wanted to get the new comment next to the
translator-credits text that I added to every .po file. This way the
people who worked on these translations at least get shown in the About
box. But a simple grep on the diff will show you that this is indeed the
only set of changes that I made.

git diff HEAD^ | grep ^+ | grep -v -e^+# -e^+++ -ePOT-Creation

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-21 21:12:51 -07:00
Pierre-Yves Chibon
cff31db134 Update French translation
Harmonize the translations on the stats tab, let's be consistent on
where we use abbreviations and which one we use.


Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2012-10-21 21:39:04 +02:00
Dirk Hohndel
b1dbdf6322 Fixed French translation
One message had the wrong number of format strings.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-21 11:52:30 -07:00
Dirk Hohndel
75d0aee907 Merge branch 'translation' of http://ambre.pingoured.fr/cgit/subsurface into translation 2012-10-21 11:51:45 -07:00
Miika Turkia
0f6eb9f12b Updated Finnish translation
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-21 11:45:21 -07:00
Pierre-Yves Chibon
2b00e6ae00 Update french translation
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2012-10-21 15:33:14 +02:00
Dirk Hohndel
882c4ab5e7 Feeble attempt to deal with the last translation change
In all languages. Including the one I can't even read. It should be
trivial,  but the translators really should check.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-21 01:20:00 -07:00
Dirk Hohndel
19a743dec7 Yet again, new .po files with no other changes
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-21 00:50:45 -07:00
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
3afa7c4651 Update Swiss-German translations
This just tracks the changes I made to the German translations

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-20 14:47:28 -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
Filippo Moser
6e0878292c Italian translation update
Some fixes for the Italian translation.
It also contains improved translation strings, after seeing the localized
version in action

[Dirk Hohndel: cleaned up the .po file to turn into a readable diff]

Signed-off-by: Filippo Moser <filippom@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-20 14:08:27 -07:00
Dirk Hohndel
a75b04473f Add aliases file for the two letter country code for all languages
I forgot those in the last commit

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-19 13:12:13 -07:00
Henrik Brautaset Aronsen
caccbfb6e9 And another Norwegian update.
With nifty ³'s and everything.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-19 11:32:50 -07:00
Lubomir I. Ivanov
2c60354c5c added Bulgarian translation for 'air'
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-19 10:52:23 -07:00
Tommi Saviranta
8c617a03e3 Updated Finnish translation
Translated newly localised units, backplate weight and fixed dive list
time format.

Signed-off-by: Tommi Saviranta <wnd@iki.fi>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-19 10:08:31 -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
Henrik Brautaset Aronsen
48ea072317 Another Norwegian .po update.
No rest for the wicked.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-19 08:39:07 -07:00
Dirk Hohndel
b6cad0ed0f Merge branch 'translation' of http://ambre.pingoured.fr/cgit/subsurface 2012-10-19 08:33:05 -07:00
Lubomir I. Ivanov
ef602c5663 Updated Bulgarian translation
- we translate "backplate weight" as "on the back" or
"back weight".

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-19 07:21:05 -07:00
Pierre-Yves Chibon
f0305f92eb Update french translation
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2012-10-19 10:48:46 +02: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
Johnny Karlsson
d358ebb8bf Swedish translation update
Fixing some minor grammatical and translation issues
(e.g. alert, warning = varning, alarm = alarm, dykning/ar = dyk).

Signed-off-by: Johnny Karlsson <yggdrasil@gmx.co.uk>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-18 19:06:46 -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
Lubomir I. Ivanov
c78bf18998 French translation update
there is a missing % in one of the lines i think:

po/fr_FR.po:62: 'msgstr' is not a valid C format string, unlike 'msgid'. Reason:
 The string refers to argument number 4 but ignores argument number 3.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-18 14:29:15 -07:00
Pierre-Yves Chibon
f7b5737c71 Update French translation
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2012-10-18 20:51:58 +02: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
Ivan Habunek
4fff64967f Croatian translation update
This update contains the required fixes for the croatian translation
file. It also contains improved translation strings, after seeing the
localized version in action.

Signed-off-by: Ivan Habunek <ivan.habunek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-18 09:26:24 -07:00
Pierre-Yves Chibon
ce525bcbdd Update french translation
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-18 09:24:23 -07:00
Filippo Moser
12f049c168 Add Italian translation
Signed-off-by: Filippo Moser <filippom@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-18 07:01:40 -07:00
Lubomir I. Ivanov
0ef73b977b Updates to the Bulgarian translation
- Added the new date / time format strings
- Added the missing translation for units in dive.c

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-17 15:08:47 -07:00
Miika Turkia
777c27d675 Finnish translation update
Updated the Finnish translation to include the latest changes

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-17 11:26:32 -07:00
Linus Torvalds
83ab839368 Another Swedish translation update
This updates the Swedish translation for the new message strings, and
the date ordering in particular. It also fixes an incorrect
translation (it incorrectly had translated dive-time as if it was the
starting time of the dive, not the duration of the dive).

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-17 10:12:51 -07:00
Henrik Brautaset Aronsen
9e4a9f6926 Updated Norwegian translation.
Update with new date formats and lowercase temperatures.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-17 08:16:22 -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
Linus Torvalds
8bda0c5047 Minimal Swedish translation update
This doesn't really improve any of the horrible Swedish texts, but
updates it for the message text fuzziness due to the text changes

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-16 11:43:34 -07:00
Dirk Hohndel
bb7a11e638 Update Dutch translation
The best translations are those maintained by people that don't speak the
language. As I don't speak Dutch I make no promises on the correctness of
this.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-16 11:15:56 -07:00
jnoel
66276882b9 Update po/fr_FR.po
Update of the french translation file.
Fuzzy mark update with single line.

[Dirk Hohndel: removed Jacco and myself - we didn't do French]

Signed-off-by: Jean-Noël Rouchon <jnoel@sissiou.net>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-16 11:00:16 -07:00
Henrik Brautaset Aronsen
f45285d461 Support for language aliases.
Some languages have identifiers that gettext can't determine
automatically in all OS'es.  An example is Norwegian (no_NO, deprecated)
with its Bokmål (nb_NO) and Nynorsk (nn_NO) form.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-16 07:30:59 -07:00
Dirk Hohndel
9dc667e883 Renamed the Norwegian .po file
At least on Windows this now will make things work correctly, as the gtk
localization is named nb - so nb_NO.UTF-8 is consistent with that.

MacOS still appears to need some special handling.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-16 04:30:07 -07:00
Henrik Brautaset Aronsen
f03d29b48b Added a terrible spanish translation.
I don't know any Spanish at all. This translation was made with
Google Translate, perl and sed, and will annoy anyone who knows
Spanish.  Hopefully enough so that they will fix it.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-16 04:09:22 -07:00
Lubomir I. Ivanov
5bf6723d26 More fixes in the Bulgarian translation
- Added the missing statistics translations
- Clearer translation in the Dive->View submenu

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-16 02:25:16 -07:00
Henrik Brautaset Aronsen
ea48829ba5 Updated Norwegian translation
Dirk had some changes in commit f1569a206e

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-16 02:17:52 -07:00
Jozef Ivanecký
ac3124b8d0 Update Slovak translation
Signed-Off-By: Jozef Ivanecký (dodo.sk@gmail.com)
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-15 16:34:28 -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
Tommi Saviranta
0cee29121d Updated Finnish translation
- Use message context for better translation
- Fixed some strings to form proper sentences

Signed-off-by: Tommi Saviranta <wnd@iki.fi>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-15 13:34:37 -07:00
Lubomir I. Ivanov
dc7a831cde Improved Bulgarian translation
- Shortened long phrases
- Better lowercase/uppercase consistency
- Fixed a couple of typos

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-15 11:15:10 -07:00
Ivan Habunek
00eb9bde56 Initial Croatian translation.
Signed-off-by: Ivan Habunek <ivan.habunek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-15 10:02:44 -07:00
Martin Gysel
da2a0562ab Swiss-High-German translation
Here's the Swiss-(High-)German translation which is mostly based on the
German translation.

Most notable differences are:
- in Switzerland, 'ß' doesn't exist (fortunately)
- keep some English words where the German translation sounds strange or
  unfamiliar (nobody in Switzerland would ever use the word
  Tauchgruppenführer)

Signed-off-by: Martin Gysel <me@bearsh.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-15 09:42:55 -07:00
jnoel
5c432d3c8a Update po/fr_FR.po
Just a few spelling corrections for fr_FR translation file

Signed-off-by: Jean-Noël Rouchon <jnoel@sissiou.net>
2012-10-15 09:34:37 -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
Miika Turkia
a3e7a46f12 Change character encoding from iso-8859-1 to UTF8
Finnish translation was with wrong character encoding resulting in
compile error.

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-13 17:04:43 -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
Tommi Saviranta
8cc538ddd3 Add Finnish translation
This translation is partly based on Finnish Divers' Federation's printed
dive log and partly on my best guess. Some of the translated strings
have been (badly) shortened to fit the UI, and many others still neen be
shortened.

Signed-off-by: Tommi Saviranta <wnd@iki.fi>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-13 09:29:09 -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
Pierre-Yves Chibon
549425a692 Created first french translation of Subsurface
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-12 12:22:36 -07:00
Linus Torvalds
920c1e58ff Add Swedish translation
This is a horrible mish-mash of the english and norwegian translation
and my random odd swedish translations of them.

It's bad. But it's a starting point. If somebody complains, they
hopefully say things like "That should be xyz" and it can be fixed.

[Dirk Hohndel: minor edit to the .po file to at least no longer claim to
               be Norwegian...]

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-12 12:37:22 +09:00
Lubomir I. Ivanov
fcb09c8078 Add Bulgarian translation
Some of the exact translations of terminology such as SAC (ППК) might
need a revision by an expert. Also, some of the things ended up being up
2-3 times longer (similar to German), so I'm not sure how this is going to
reflect on the UI.

[Dirk Hohndel: minor fixes to the .po file to make it compile]

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-12 06:52:12 +09:00
Dirk Hohndel
5801dcf78b Use lang_COUNTRY.po naming convention for translation files
Rename nl.po to nl_NL.po

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-12 06:39:18 +09:00
Henrik Brautaset Aronsen
134c76ab80 Updated Norwegian translation
Added the missing translations for the File menu et al.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-12 06:32:26 +09: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
Jacco van Koll
2a6db9c7ae Add Dutch localization
Signed-off-by: Jacco van Koll <jacco.van.koll@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-11 22:27:16 +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
Henrik Brautaset Aronsen
870978331e Add Norwegian Bokmål translation
This file was created with "msginit --locale=no_NO --input=deutsch.po"
and edited with poedit afterwards.

The correct locale for Norwegian Bokmål really is nb_NO, but this is
a new-ish construct, and that locale doesn't seem to be available
on MacOSX.  We might need to create .mo files in both
locale/no_NO.UTF-8 and locale/nb_NO.UTF-8 to satisfy all platforms.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-11 21:27:30 +09:00
Dirk Hohndel
99846da77f Conversion to gettext to allow localization
This is just the first step - convert the string literals, try to catch
all the places where this isn't possible and the program needs to convert
string constants at runtime (those are the N_ macros).

Add a very rough first German localization so I can at least test what I
have done. Seriously, I have never used a localized OS, so I am certain
that I have many of the 'standard' translations wrong. Someone please take
over :-)

Major issues with this:

- right now it hardcodes the search path for the message catalog to be
  ./locale - that's of course bogus, but it works well while doing initial
  testing. Once the tooling support is there we just should use the OS
  default.

- even though de_DE defaults to ISO-8859-15 (or ISO-8859-1 - the internets
  can't seem to agree) I went with UTF-8 as that is what Gtk appears to
  want to use internally. ISO-8859-15 encoded .mo files create funny
  looking artefacts instead of Umlaute.

- no support at all in the Makefile - I was hoping someone with more
  experience in how to best set this up would contribute a good set of
  Makefile rules - likely this will help fix the first issue in that it
  will also install the .mo file(s) in the correct place(s)

  For now simply run

  msgfmt -c -o subsurface.mo deutsch.po

  to create the subsurface.mo file and then move it to
  ./locale/de_DE.UTF-8/LC_MESSAGES/subsurface.mo

  If you make changes to the sources and need to add new strings to be
  translated, this is what seems to work (again, should be tooled through
  the Makefile):

  xgettext -o subsurface-new.pot -s -k_ -kN_ --add-comments="++GETTEXT" *.c
  msgmerge -s -U po/deutsch.po subsurface-new.pot

  If you do this PLEASE do one commit that just has the new msgid as
  changes in line numbers create a TON of diff-noise. Do changes to
  translations in a SEPARATE commit.

- no testing at all on Windows or Mac
  It builds on Windows :-)

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-11 10:03:03 +09:00