← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~widelands-dev/widelands/translator-credits into lp:widelands

 

GunChleoc has proposed merging lp:~widelands-dev/widelands/translator-credits into lp:widelands.

Requested reviews:
  Widelands Developers (widelands-dev)

For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/translator-credits/+merge/249085

The point of this branch is that translators will be able to add their own name to be displayed in the Authors list.

Once we have merged this, I can add the translators we have already listed and try to track down everybody who contributed on Launchpad.

I'd like to get this up ASAP, so people can add themselves.

The code I plan to write for this will iterate through the locales to pick up the names, so it makes sense to keep the po files small - and this will make it more visible to the translators as well. A prerequisite for this is that the developers file will be ported to Lua, which I have done in the fh1 branch.
-- 
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/translator-credits into lp:widelands.
=== added directory 'po/translator_credits'
=== added file 'po/translator_credits/translator_credits.pot'
--- po/translator_credits/translator_credits.pot	1970-01-01 00:00:00 +0000
+++ po/translator_credits/translator_credits.pot	2015-02-09 15:13:47 +0000
@@ -0,0 +1,22 @@
+# Widelands PATH/TO/FILE.PO
+# Copyright (C) 2005-2015 Widelands Development Team
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Widelands svnVERSION\n"
+"Report-Msgid-Bugs-To: https://bugs.launchpad.net/widelands\n";
+"POT-Creation-Date: 2015-02-09 15:05+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <widelands-public@xxxxxxxxxxxxxxxxxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: TRANSLATORS: Add your name to the list.
+#: ../../txts/translator_credits.lua:5
+msgid ""
+"Translator Credits"
+msgstr ""
+

=== added file 'txts/translator_credits.lua'
--- txts/translator_credits.lua	1970-01-01 00:00:00 +0000
+++ txts/translator_credits.lua	2015-02-09 15:13:47 +0000
@@ -0,0 +1,5 @@
+-- TODO(GunChleoc): This file is just a stub to get the translation template going.
+-- We can parse and display this in the fh1 branch.
+
+-- TRANSLATORS: Add your name to the list.
+translator-credits = _"Translator Credits"

=== modified file 'utils/buildcat.py'
--- utils/buildcat.py	2014-12-20 14:38:14 +0000
+++ utils/buildcat.py	2015-02-09 15:13:47 +0000
@@ -35,6 +35,7 @@
                   "../../txts/developers",
                   "../../txts/editor_readme",
                   "../../txts/tips/*.tip"] ),
+    ( "translator_credits/translator_credits", ["../../txts/translator_credits.lua"] ),
     ( "widelands/widelands", [
                     "../../src/wlapplication.cc",
                     "../../src/*/*.cc",


Follow ups