Use git pre-commit hook to reduce number of conflicts.

pre-commit hook does the following actions:
Changes PO-Revision date to 2010-01-01 00:00+0300
Changes Last-Translator to Andrius Štikonas <stikonas@gmail.com>
Wraps all strings with msgattrib.

Source code of pre-commit hook:

for FILE in `git diff-index --name-only --cached HEAD --` ; do
    msgattrib "$FILE" > "$FILE"e
    mv "$FILE"e "$FILE"
    sed -ie '/^\"PO-Revision-Date*/{G;x;s/^/\"PO-Revision-Date: 2010-01-01 00:00+0300\\n\"/}' "$FILE"
    sed -ie '/^\"Last-Translator*/{G;x;s/^/\"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\\n\"/}' "$FILE"
    rm "$FILE"e
    git add $FILE
done
This commit is contained in:
Andrius Štikonas 2009-07-13 19:07:34 +03:00
parent 2e9f47a86c
commit 955549ed96
24 changed files with 24 additions and 24 deletions

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-07-05 00:00+0200\n"
"PO-Revision-Date: 2009-06-14 23:55+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-02-02 07:59+0100\n"
"PO-Revision-Date: 2009-07-07 01:33+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-03-20 00:46+0100\n"
"PO-Revision-Date: 2009-03-10 22:25+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-07-12 12:51+0200\n"
"PO-Revision-Date: 2009-05-16 21:51+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-05-26 22:20+0200\n"
"PO-Revision-Date: 2008-11-29 01:59+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-04-17 13:29+0200\n"
"PO-Revision-Date: 2009-07-12 11:17+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-03-26 12:26+0100\n"
"PO-Revision-Date: 2009-07-02 20:10+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-06-28 12:56+0200\n"
"PO-Revision-Date: 2009-06-13 16:37+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-06-21 14:30+0200\n"
"PO-Revision-Date: 2009-07-08 00:44+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"POT-Creation-Date: 2009-05-03 10:54+0300\n"
"PO-Revision-Date: 2009-06-20 16:35+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"POT-Creation-Date: 2009-02-23 14:13+0100\n"
"PO-Revision-Date: 2009-05-19 15:39+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-03-01 21:23+0100\n"
"PO-Revision-Date: 2009-01-10 19:56+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-05-26 22:20+0200\n"
"PO-Revision-Date: 2009-06-28 17:24+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-04-26 11:33+0200\n"
"PO-Revision-Date: 2009-06-29 00:36+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-05-26 22:21+0200\n"
"PO-Revision-Date: 2009-05-13 23:45+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-06-13 21:19+0200\n"
"PO-Revision-Date: 2009-07-09 21:40+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.5+svn\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2008-08-31 11:47+0200\n"
"PO-Revision-Date: 2008-09-09 18:32+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-03-31 15:30+0200\n"
"PO-Revision-Date: 2009-04-20 17:44+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-04-08 12:20+0200\n"
"PO-Revision-Date: 2009-06-23 21:57+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-06-21 14:30+0200\n"
"PO-Revision-Date: 2009-07-06 22:14+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-04-08 12:19+0200\n"
"PO-Revision-Date: 2009-06-16 23:07+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-04-17 13:28+0200\n"
"PO-Revision-Date: 2009-07-08 16:18+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-06-28 12:58+0200\n"
"PO-Revision-Date: 2009-07-08 20:04+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Battle for Wesnoth 1.6\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2009-07-05 20:19+0200\n"
"PO-Revision-Date: 2009-07-06 23:03+0300\n"
"PO-Revision-Date: 2010-01-01 00:00+0300\n"
"Last-Translator: Andrius Štikonas <stikonas@gmail.com>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"