From e9c48192eecf1ef650b03138b0e991f9c1568c1b Mon Sep 17 00:00:00 2001 From: lars Date: Tue, 19 Dec 2006 16:06:52 +0000 Subject: [PATCH] minor language fix script for reverting unimportant po-file changes --- changelog | 3 ++- .../intl/cryptobox-server-feature-partition.pot | 2 +- .../intl/cs/cryptobox-server-feature-partition.po | 4 ++-- .../intl/da/cryptobox-server-feature-partition.po | 4 ++-- .../intl/de/cryptobox-server-feature-partition.po | 4 ++-- .../intl/en/cryptobox-server-feature-partition.po | 5 +++-- .../intl/es/cryptobox-server-feature-partition.po | 4 ++-- .../intl/fi/cryptobox-server-feature-partition.po | 4 ++-- .../intl/fr/cryptobox-server-feature-partition.po | 4 ++-- .../intl/hu/cryptobox-server-feature-partition.po | 4 ++-- .../intl/it/cryptobox-server-feature-partition.po | 4 ++-- .../intl/ja/cryptobox-server-feature-partition.po | 4 ++-- .../intl/nl/cryptobox-server-feature-partition.po | 4 ++-- .../intl/pl/cryptobox-server-feature-partition.po | 4 ++-- .../intl/pt/cryptobox-server-feature-partition.po | 4 ++-- .../intl/ru/cryptobox-server-feature-partition.po | 4 ++-- .../intl/sl/cryptobox-server-feature-partition.po | 5 +++-- .../intl/sv/cryptobox-server-feature-partition.po | 4 ++-- plugins/partition/language.hdf | 2 +- scripts/revert_unchanged_po_files.sh | 15 +++++++++++++++ stuff/commit-policy.txt | 2 +- 21 files changed, 54 insertions(+), 36 deletions(-) create mode 100755 scripts/revert_unchanged_po_files.sh diff --git a/changelog b/changelog index 28ce450..b5a685f 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,4 @@ -Version 0.3.0.1 - 02/18/02007 +Version 0.3.1 - 02/19/02007 * fixed broken interface of 'partition' plugin for ie * fixed rendering bug of volume_properties for ie * fixed screen width in a mozilla/ie compatible way @@ -6,6 +6,7 @@ Version 0.3.0.1 - 02/18/02007 * fixed filtering of log level messages for 'logs' plugin * added some german translations * changed default language to english + * ports lower than 1024 are supported now Version 0.3.0 - 02/15/02007 * new interface diff --git a/plugins/partition/intl/cryptobox-server-feature-partition.pot b/plugins/partition/intl/cryptobox-server-feature-partition.pot index 9a1e7a4..3624cb7 100644 --- a/plugins/partition/intl/cryptobox-server-feature-partition.pot +++ b/plugins/partition/intl/cryptobox-server-feature-partition.pot @@ -91,7 +91,7 @@ msgid "Add partitions" msgstr "" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "" #: Help.SelectDevice diff --git a/plugins/partition/intl/cs/cryptobox-server-feature-partition.po b/plugins/partition/intl/cs/cryptobox-server-feature-partition.po index bf08265..d73fe66 100644 --- a/plugins/partition/intl/cs/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/cs/cryptobox-server-feature-partition.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: CryptoBox-Server 0.3\n" "Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-12-18 11:44+0100\n" +"POT-Creation-Date: 2006-12-19 16:53+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgid "Add partitions" msgstr "" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "" #: Help.SelectDevice diff --git a/plugins/partition/intl/da/cryptobox-server-feature-partition.po b/plugins/partition/intl/da/cryptobox-server-feature-partition.po index bf08265..d73fe66 100644 --- a/plugins/partition/intl/da/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/da/cryptobox-server-feature-partition.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: CryptoBox-Server 0.3\n" "Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-12-18 11:44+0100\n" +"POT-Creation-Date: 2006-12-19 16:53+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgid "Add partitions" msgstr "" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "" #: Help.SelectDevice diff --git a/plugins/partition/intl/de/cryptobox-server-feature-partition.po b/plugins/partition/intl/de/cryptobox-server-feature-partition.po index bf08265..d73fe66 100644 --- a/plugins/partition/intl/de/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/de/cryptobox-server-feature-partition.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: CryptoBox-Server 0.3\n" "Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-12-18 11:44+0100\n" +"POT-Creation-Date: 2006-12-19 16:53+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgid "Add partitions" msgstr "" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "" #: Help.SelectDevice diff --git a/plugins/partition/intl/en/cryptobox-server-feature-partition.po b/plugins/partition/intl/en/cryptobox-server-feature-partition.po index 4d4fe90..9c672df 100644 --- a/plugins/partition/intl/en/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/en/cryptobox-server-feature-partition.po @@ -92,8 +92,9 @@ msgid "Add partitions" msgstr "Add partitions" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." -msgstr "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +#, fuzzy +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." +msgstr "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." #: Help.SelectDevice msgid "Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk." diff --git a/plugins/partition/intl/es/cryptobox-server-feature-partition.po b/plugins/partition/intl/es/cryptobox-server-feature-partition.po index 34f92f9..d73fe66 100644 --- a/plugins/partition/intl/es/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/es/cryptobox-server-feature-partition.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: CryptoBox-Server 0.3\n" "Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-12-18 11:45+0100\n" +"POT-Creation-Date: 2006-12-19 16:53+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgid "Add partitions" msgstr "" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "" #: Help.SelectDevice diff --git a/plugins/partition/intl/fi/cryptobox-server-feature-partition.po b/plugins/partition/intl/fi/cryptobox-server-feature-partition.po index bd464bb..d73fe66 100644 --- a/plugins/partition/intl/fi/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/fi/cryptobox-server-feature-partition.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: CryptoBox-Server 0.3\n" "Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-12-18 11:46+0100\n" +"POT-Creation-Date: 2006-12-19 16:53+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgid "Add partitions" msgstr "" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "" #: Help.SelectDevice diff --git a/plugins/partition/intl/fr/cryptobox-server-feature-partition.po b/plugins/partition/intl/fr/cryptobox-server-feature-partition.po index bd464bb..d73fe66 100644 --- a/plugins/partition/intl/fr/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/fr/cryptobox-server-feature-partition.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: CryptoBox-Server 0.3\n" "Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-12-18 11:46+0100\n" +"POT-Creation-Date: 2006-12-19 16:53+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgid "Add partitions" msgstr "" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "" #: Help.SelectDevice diff --git a/plugins/partition/intl/hu/cryptobox-server-feature-partition.po b/plugins/partition/intl/hu/cryptobox-server-feature-partition.po index bd464bb..d73fe66 100644 --- a/plugins/partition/intl/hu/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/hu/cryptobox-server-feature-partition.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: CryptoBox-Server 0.3\n" "Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-12-18 11:46+0100\n" +"POT-Creation-Date: 2006-12-19 16:53+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgid "Add partitions" msgstr "" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "" #: Help.SelectDevice diff --git a/plugins/partition/intl/it/cryptobox-server-feature-partition.po b/plugins/partition/intl/it/cryptobox-server-feature-partition.po index da63e7c..d73fe66 100644 --- a/plugins/partition/intl/it/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/it/cryptobox-server-feature-partition.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: CryptoBox-Server 0.3\n" "Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-12-18 11:47+0100\n" +"POT-Creation-Date: 2006-12-19 16:53+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgid "Add partitions" msgstr "" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "" #: Help.SelectDevice diff --git a/plugins/partition/intl/ja/cryptobox-server-feature-partition.po b/plugins/partition/intl/ja/cryptobox-server-feature-partition.po index da63e7c..d73fe66 100644 --- a/plugins/partition/intl/ja/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/ja/cryptobox-server-feature-partition.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: CryptoBox-Server 0.3\n" "Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-12-18 11:47+0100\n" +"POT-Creation-Date: 2006-12-19 16:53+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgid "Add partitions" msgstr "" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "" #: Help.SelectDevice diff --git a/plugins/partition/intl/nl/cryptobox-server-feature-partition.po b/plugins/partition/intl/nl/cryptobox-server-feature-partition.po index da63e7c..d73fe66 100644 --- a/plugins/partition/intl/nl/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/nl/cryptobox-server-feature-partition.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: CryptoBox-Server 0.3\n" "Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-12-18 11:47+0100\n" +"POT-Creation-Date: 2006-12-19 16:53+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgid "Add partitions" msgstr "" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "" #: Help.SelectDevice diff --git a/plugins/partition/intl/pl/cryptobox-server-feature-partition.po b/plugins/partition/intl/pl/cryptobox-server-feature-partition.po index c3f37b5..d73fe66 100644 --- a/plugins/partition/intl/pl/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/pl/cryptobox-server-feature-partition.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: CryptoBox-Server 0.3\n" "Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-12-18 11:48+0100\n" +"POT-Creation-Date: 2006-12-19 16:53+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgid "Add partitions" msgstr "" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "" #: Help.SelectDevice diff --git a/plugins/partition/intl/pt/cryptobox-server-feature-partition.po b/plugins/partition/intl/pt/cryptobox-server-feature-partition.po index c3f37b5..d73fe66 100644 --- a/plugins/partition/intl/pt/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/pt/cryptobox-server-feature-partition.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: CryptoBox-Server 0.3\n" "Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-12-18 11:48+0100\n" +"POT-Creation-Date: 2006-12-19 16:53+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgid "Add partitions" msgstr "" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "" #: Help.SelectDevice diff --git a/plugins/partition/intl/ru/cryptobox-server-feature-partition.po b/plugins/partition/intl/ru/cryptobox-server-feature-partition.po index 17d8559..d73fe66 100644 --- a/plugins/partition/intl/ru/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/ru/cryptobox-server-feature-partition.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: CryptoBox-Server 0.3\n" "Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-12-18 11:49+0100\n" +"POT-Creation-Date: 2006-12-19 16:53+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgid "Add partitions" msgstr "" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "" #: Help.SelectDevice diff --git a/plugins/partition/intl/sl/cryptobox-server-feature-partition.po b/plugins/partition/intl/sl/cryptobox-server-feature-partition.po index 786540e..a8ad078 100644 --- a/plugins/partition/intl/sl/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/sl/cryptobox-server-feature-partition.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: CryptoBox-Server 0.3\n" "Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-12-18 11:49+0100\n" +"POT-Creation-Date: 2006-12-19 16:53+0100\n" "PO-Revision-Date: 2006-12-19 15:28+0100\n" "Last-Translator: tenzin \n" "Language-Team: LANGUAGE \n" @@ -105,7 +105,8 @@ msgid "Add partitions" msgstr "Dodaj razdelitev" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +#, fuzzy +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "Vsak disk lahko razdelite na več delov, imenovanih \"deli\". Razdelitev diska je koristna, kadar želite ločiti podatke, ali kadar želite zakodirati le del vašega diska" #: Help.SelectDevice diff --git a/plugins/partition/intl/sv/cryptobox-server-feature-partition.po b/plugins/partition/intl/sv/cryptobox-server-feature-partition.po index 17d8559..d73fe66 100644 --- a/plugins/partition/intl/sv/cryptobox-server-feature-partition.po +++ b/plugins/partition/intl/sv/cryptobox-server-feature-partition.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: CryptoBox-Server 0.3\n" "Report-Msgid-Bugs-To: translate@cryptobox.org\n" -"POT-Creation-Date: 2006-12-18 11:49+0100\n" +"POT-Creation-Date: 2006-12-19 16:53+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -106,7 +106,7 @@ msgid "Add partitions" msgstr "" #: Help.Partitioning -msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk." +msgid "You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk." msgstr "" #: Help.SelectDevice diff --git a/plugins/partition/language.hdf b/plugins/partition/language.hdf index 797b0cc..28c7879 100644 --- a/plugins/partition/language.hdf +++ b/plugins/partition/language.hdf @@ -33,7 +33,7 @@ Text { Help { - Partitioning = You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to seperate your data or if you want to encrypt only a part of your disk. + Partitioning = You can split every disk into one ore more parts, which are called 'partitions'. This is useful if you want to separate your data or if you want to encrypt only a part of your disk. SelectDevice = Choose one of the disks given in the list. Be aware that you lose all data on the partitions of this disk. PartMode = You may choose between 'automatic' and 'manual' partitioning. Automatic partitioning creates only one partition for the whole disk. With manual partition you can split the disk into multiple parts of different size. ConfigPartition = This CryptoBox is configured to store its runtime settings on a separate disk partition. It will be created automatically if necessary. This reduces the available size of the disk by 5 megabyte. diff --git a/scripts/revert_unchanged_po_files.sh b/scripts/revert_unchanged_po_files.sh new file mode 100755 index 0000000..6372663 --- /dev/null +++ b/scripts/revert_unchanged_po_files.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# +# run this script whenever you used update_po_files.sh to remove all changes of files. +# It reverts all po-files where just the POT-Creation-Date header line was changed (not new translations) +# + +BASE_DIR=$(cd $(dirname "$0")/..; pwd) + +cd "$BASE_DIR" +svn stat intl plugins | grep "\.po$" | cut -d " " -f 2- | while read po_file + do test -z "$(svn diff $po_file)" && continue + diff=$(svn diff "$po_file" | grep "^\+" | grep -v "^\+\{3\}" | grep -v "POT-Creation-Date") + test -z "$diff" && svn revert "$po_file" + done + diff --git a/stuff/commit-policy.txt b/stuff/commit-policy.txt index 7c3eadb..dd78d8d 100644 --- a/stuff/commit-policy.txt +++ b/stuff/commit-policy.txt @@ -1,5 +1,5 @@ The usual steps before commit: - - scripts/update_po_files.py + - scripts/update_po_files.py && scripts/revert_unchanged_po_files.sh - run unittests: - bin/uml-setup.py - log into uml