[Pkg-isocodes-devel] [iso-codes] 02/03: Regenerate automake files
Tobias Quathamer
toddy at moszumanska.debian.org
Sun Mar 6 18:57:37 UTC 2016
This is an automated email from the git hooks/post-receive script.
toddy pushed a commit to branch master
in repository iso-codes.
commit cae26ccdee30c92b53740a18dd11af829aa44eb8
Author: Dr. Tobias Quathamer <toddy at debian.org>
Date: Sun Mar 6 19:53:35 2016 +0100
Regenerate automake files
---
iso_15924/Makefile.in | 8 ++++++--
iso_3166-1/Makefile.in | 8 ++++++--
iso_3166-2/Makefile.in | 8 ++++++--
iso_3166-3/Makefile.in | 8 ++++++--
iso_4217/Makefile.in | 8 ++++++--
iso_639-2/Makefile.in | 8 ++++++--
iso_639-3/Makefile.in | 8 ++++++--
iso_639-5/Makefile.in | 8 ++++++--
8 files changed, 48 insertions(+), 16 deletions(-)
diff --git a/iso_15924/Makefile.in b/iso_15924/Makefile.in
index 359f86b..f240c25 100644
--- a/iso_15924/Makefile.in
+++ b/iso_15924/Makefile.in
@@ -476,7 +476,8 @@ check-local:
# This target merges all po files with the current pot file,
# removes obsolete msgids and substitutes the Project-Id-Version
-# header with the correct value
+# header with the PROJECT only, removing the VERSION part.
+# This is done to keep the diff between releases small.
#
# NOTE:
# Removing obsolete msgids is not the recommended way to go.
@@ -485,10 +486,13 @@ check-local:
# with one (sometimes two or three) words, the fuzzy matching performed
# with obsolete msgids will not ease the translator's work, but
# will lead to confusing entries.
+#
+# However, if there is only a small change, we include the fuzzy
+# entry with the previous msgid to hopefully save some work.
.PHONY: update-po
update-po:
for pofile in $(pofiles); do \
- $(MSGMERGE) --no-fuzzy-matching $$pofile $(DOMAIN).pot > tmpfile; \
+ $(MSGMERGE) --previous $$pofile $(DOMAIN).pot > tmpfile; \
$(MSGATTRIB) --no-obsolete tmpfile > $$pofile; \
sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN)\\n\"/' $$pofile; \
done
diff --git a/iso_3166-1/Makefile.in b/iso_3166-1/Makefile.in
index 9084f82..2ab3a5c 100644
--- a/iso_3166-1/Makefile.in
+++ b/iso_3166-1/Makefile.in
@@ -476,7 +476,8 @@ check-local:
# This target merges all po files with the current pot file,
# removes obsolete msgids and substitutes the Project-Id-Version
-# header with the correct value
+# header with the PROJECT only, removing the VERSION part.
+# This is done to keep the diff between releases small.
#
# NOTE:
# Removing obsolete msgids is not the recommended way to go.
@@ -485,10 +486,13 @@ check-local:
# with one (sometimes two or three) words, the fuzzy matching performed
# with obsolete msgids will not ease the translator's work, but
# will lead to confusing entries.
+#
+# However, if there is only a small change, we include the fuzzy
+# entry with the previous msgid to hopefully save some work.
.PHONY: update-po
update-po:
for pofile in $(pofiles); do \
- $(MSGMERGE) --no-fuzzy-matching $$pofile $(DOMAIN).pot > tmpfile; \
+ $(MSGMERGE) --previous $$pofile $(DOMAIN).pot > tmpfile; \
$(MSGATTRIB) --no-obsolete tmpfile > $$pofile; \
sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN)\\n\"/' $$pofile; \
done
diff --git a/iso_3166-2/Makefile.in b/iso_3166-2/Makefile.in
index 9c2ed49..9dfb63b 100644
--- a/iso_3166-2/Makefile.in
+++ b/iso_3166-2/Makefile.in
@@ -476,7 +476,8 @@ check-local:
# This target merges all po files with the current pot file,
# removes obsolete msgids and substitutes the Project-Id-Version
-# header with the correct value
+# header with the PROJECT only, removing the VERSION part.
+# This is done to keep the diff between releases small.
#
# NOTE:
# Removing obsolete msgids is not the recommended way to go.
@@ -485,10 +486,13 @@ check-local:
# with one (sometimes two or three) words, the fuzzy matching performed
# with obsolete msgids will not ease the translator's work, but
# will lead to confusing entries.
+#
+# However, if there is only a small change, we include the fuzzy
+# entry with the previous msgid to hopefully save some work.
.PHONY: update-po
update-po:
for pofile in $(pofiles); do \
- $(MSGMERGE) --no-fuzzy-matching $$pofile $(DOMAIN).pot > tmpfile; \
+ $(MSGMERGE) --previous $$pofile $(DOMAIN).pot > tmpfile; \
$(MSGATTRIB) --no-obsolete tmpfile > $$pofile; \
sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN)\\n\"/' $$pofile; \
done
diff --git a/iso_3166-3/Makefile.in b/iso_3166-3/Makefile.in
index 3846636..76a571c 100644
--- a/iso_3166-3/Makefile.in
+++ b/iso_3166-3/Makefile.in
@@ -476,7 +476,8 @@ check-local:
# This target merges all po files with the current pot file,
# removes obsolete msgids and substitutes the Project-Id-Version
-# header with the correct value
+# header with the PROJECT only, removing the VERSION part.
+# This is done to keep the diff between releases small.
#
# NOTE:
# Removing obsolete msgids is not the recommended way to go.
@@ -485,10 +486,13 @@ check-local:
# with one (sometimes two or three) words, the fuzzy matching performed
# with obsolete msgids will not ease the translator's work, but
# will lead to confusing entries.
+#
+# However, if there is only a small change, we include the fuzzy
+# entry with the previous msgid to hopefully save some work.
.PHONY: update-po
update-po:
for pofile in $(pofiles); do \
- $(MSGMERGE) --no-fuzzy-matching $$pofile $(DOMAIN).pot > tmpfile; \
+ $(MSGMERGE) --previous $$pofile $(DOMAIN).pot > tmpfile; \
$(MSGATTRIB) --no-obsolete tmpfile > $$pofile; \
sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN)\\n\"/' $$pofile; \
done
diff --git a/iso_4217/Makefile.in b/iso_4217/Makefile.in
index 11a78d5..0e76491 100644
--- a/iso_4217/Makefile.in
+++ b/iso_4217/Makefile.in
@@ -476,7 +476,8 @@ check-local:
# This target merges all po files with the current pot file,
# removes obsolete msgids and substitutes the Project-Id-Version
-# header with the correct value
+# header with the PROJECT only, removing the VERSION part.
+# This is done to keep the diff between releases small.
#
# NOTE:
# Removing obsolete msgids is not the recommended way to go.
@@ -485,10 +486,13 @@ check-local:
# with one (sometimes two or three) words, the fuzzy matching performed
# with obsolete msgids will not ease the translator's work, but
# will lead to confusing entries.
+#
+# However, if there is only a small change, we include the fuzzy
+# entry with the previous msgid to hopefully save some work.
.PHONY: update-po
update-po:
for pofile in $(pofiles); do \
- $(MSGMERGE) --no-fuzzy-matching $$pofile $(DOMAIN).pot > tmpfile; \
+ $(MSGMERGE) --previous $$pofile $(DOMAIN).pot > tmpfile; \
$(MSGATTRIB) --no-obsolete tmpfile > $$pofile; \
sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN)\\n\"/' $$pofile; \
done
diff --git a/iso_639-2/Makefile.in b/iso_639-2/Makefile.in
index 9a6d34d..671ebf4 100644
--- a/iso_639-2/Makefile.in
+++ b/iso_639-2/Makefile.in
@@ -476,7 +476,8 @@ check-local:
# This target merges all po files with the current pot file,
# removes obsolete msgids and substitutes the Project-Id-Version
-# header with the correct value
+# header with the PROJECT only, removing the VERSION part.
+# This is done to keep the diff between releases small.
#
# NOTE:
# Removing obsolete msgids is not the recommended way to go.
@@ -485,10 +486,13 @@ check-local:
# with one (sometimes two or three) words, the fuzzy matching performed
# with obsolete msgids will not ease the translator's work, but
# will lead to confusing entries.
+#
+# However, if there is only a small change, we include the fuzzy
+# entry with the previous msgid to hopefully save some work.
.PHONY: update-po
update-po:
for pofile in $(pofiles); do \
- $(MSGMERGE) --no-fuzzy-matching $$pofile $(DOMAIN).pot > tmpfile; \
+ $(MSGMERGE) --previous $$pofile $(DOMAIN).pot > tmpfile; \
$(MSGATTRIB) --no-obsolete tmpfile > $$pofile; \
sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN)\\n\"/' $$pofile; \
done
diff --git a/iso_639-3/Makefile.in b/iso_639-3/Makefile.in
index 4c73c74..d88c98a 100644
--- a/iso_639-3/Makefile.in
+++ b/iso_639-3/Makefile.in
@@ -476,7 +476,8 @@ check-local:
# This target merges all po files with the current pot file,
# removes obsolete msgids and substitutes the Project-Id-Version
-# header with the correct value
+# header with the PROJECT only, removing the VERSION part.
+# This is done to keep the diff between releases small.
#
# NOTE:
# Removing obsolete msgids is not the recommended way to go.
@@ -485,10 +486,13 @@ check-local:
# with one (sometimes two or three) words, the fuzzy matching performed
# with obsolete msgids will not ease the translator's work, but
# will lead to confusing entries.
+#
+# However, if there is only a small change, we include the fuzzy
+# entry with the previous msgid to hopefully save some work.
.PHONY: update-po
update-po:
for pofile in $(pofiles); do \
- $(MSGMERGE) --no-fuzzy-matching $$pofile $(DOMAIN).pot > tmpfile; \
+ $(MSGMERGE) --previous $$pofile $(DOMAIN).pot > tmpfile; \
$(MSGATTRIB) --no-obsolete tmpfile > $$pofile; \
sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN)\\n\"/' $$pofile; \
done
diff --git a/iso_639-5/Makefile.in b/iso_639-5/Makefile.in
index 6ef348a..2f5e3ca 100644
--- a/iso_639-5/Makefile.in
+++ b/iso_639-5/Makefile.in
@@ -476,7 +476,8 @@ check-local:
# This target merges all po files with the current pot file,
# removes obsolete msgids and substitutes the Project-Id-Version
-# header with the correct value
+# header with the PROJECT only, removing the VERSION part.
+# This is done to keep the diff between releases small.
#
# NOTE:
# Removing obsolete msgids is not the recommended way to go.
@@ -485,10 +486,13 @@ check-local:
# with one (sometimes two or three) words, the fuzzy matching performed
# with obsolete msgids will not ease the translator's work, but
# will lead to confusing entries.
+#
+# However, if there is only a small change, we include the fuzzy
+# entry with the previous msgid to hopefully save some work.
.PHONY: update-po
update-po:
for pofile in $(pofiles); do \
- $(MSGMERGE) --no-fuzzy-matching $$pofile $(DOMAIN).pot > tmpfile; \
+ $(MSGMERGE) --previous $$pofile $(DOMAIN).pot > tmpfile; \
$(MSGATTRIB) --no-obsolete tmpfile > $$pofile; \
sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN)\\n\"/' $$pofile; \
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-isocodes/iso-codes.git
More information about the Pkg-isocodes-devel
mailing list