From d830b8c97b430e1c41c2f014b8b464bc849a1376 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Thu, 16 Dec 2021 10:37:54 +0900 Subject: [PATCH] Imported Upstream version 4.1 --- ChangeLog => ChangeLog.md | 17 + Makefile.am | 9 +- Makefile.in | 11 +- README.md | 5 +- bin/xml_from_json.py | 1040 +++++++++++++++++++++++++++++++++++++ common.mk | 22 +- configure | 20 +- configure.ac | 2 +- data/iso_3166-2.json | 12 +- iso_15924/Makefile.in | 89 +++- iso_15924/et.po | 10 +- iso_3166-1/Makefile.in | 89 +++- iso_3166-2/Makefile.in | 89 +++- iso_3166-2/az.po | 12 +- iso_3166-2/be.po | 12 +- iso_3166-2/bg.po | 12 +- iso_3166-2/bs.po | 12 +- iso_3166-2/ca.po | 12 +- iso_3166-2/crh.po | 12 +- iso_3166-2/cs.po | 12 +- iso_3166-2/da.po | 12 +- iso_3166-2/de.po | 12 +- iso_3166-2/el.po | 12 +- iso_3166-2/en.po | 12 +- iso_3166-2/eo.po | 12 +- iso_3166-2/es.po | 12 +- iso_3166-2/et.po | 12 +- iso_3166-2/eu.po | 12 +- iso_3166-2/fi.po | 12 +- iso_3166-2/fr.po | 12 +- iso_3166-2/ga.po | 12 +- iso_3166-2/hu.po | 12 +- iso_3166-2/id.po | 12 +- iso_3166-2/is.po | 12 +- iso_3166-2/iso_3166-2.pot | 12 +- iso_3166-2/it.po | 12 +- iso_3166-2/ja.po | 12 +- iso_3166-2/ko.po | 12 +- iso_3166-2/ky.po | 12 +- iso_3166-2/lt.po | 12 +- iso_3166-2/lv.po | 12 +- iso_3166-2/nl.po | 12 +- iso_3166-2/nso.po | 12 +- iso_3166-2/oc.po | 12 +- iso_3166-2/pl.po | 12 +- iso_3166-2/ro.po | 12 +- iso_3166-2/sc.po | 12 +- iso_3166-2/sk.po | 12 +- iso_3166-2/sl.po | 12 +- iso_3166-2/sr.po | 12 +- iso_3166-2/sr@latin.po | 12 +- iso_3166-2/sv.po | 12 +- iso_3166-2/th.po | 12 +- iso_3166-2/tr.po | 12 +- iso_3166-2/uk.po | 12 +- iso_3166-2/ve.po | 12 +- iso_3166-2/vi.po | 12 +- iso_3166-2/wa.po | 12 +- iso_3166-2/zh_CN.po | 12 +- iso_3166-2/zh_TW.po | 14 +- iso_3166-3/Makefile.in | 89 +++- iso_3166-3/it.po | 43 +- iso_4217/Makefile.in | 89 +++- iso_639-2/Makefile.in | 89 +++- iso_639-3/Makefile.in | 89 +++- iso_639-5/Makefile.in | 89 +++- 66 files changed, 2054 insertions(+), 415 deletions(-) rename ChangeLog => ChangeLog.md (99%) create mode 100755 bin/xml_from_json.py diff --git a/ChangeLog b/ChangeLog.md similarity index 99% rename from ChangeLog rename to ChangeLog.md index 7bde93f..74951ed 100644 --- a/ChangeLog +++ b/ChangeLog.md @@ -1,3 +1,20 @@ +# iso-codes 4.1 +*Tue, 4 Sep 2018* + +* The XML files have been re-added, because too many + other programs still rely on those files. + *********************************************************** + ** If you're maintaining a program which uses XML files, ** + ** please switch to the JSON data files. ** + *********************************************************** +* ISO 3166-2 + * Update codes for ZA-GT (Gauteng) and ZA-NL (Kwazulu-Natal) (Closes #6) +* ISO 3166-3 translations + * Italian by Sebastiano Pistore +* ISO 15924 translations + * Estonian by Kristjan Räts + + # iso-codes 4.0 *Sat, 25 Aug 2018* diff --git a/Makefile.am b/Makefile.am index 2fbdd6d..8264457 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,7 +11,7 @@ dist_json_DATA = $(wildcard $(srcdir)/data/*.json) # the common Makefile snippet # and the markdown documentation currently not handled # by automake -EXTRA_DIST = bin bootstrap common.mk README.md +EXTRA_DIST = bin bootstrap common.mk README.md ChangeLog.md DISTCLEANFILES = $(pkgconfig_DATA) @@ -22,6 +22,13 @@ pot: cd $$domain && make $$domain.pot && cd ..; \ done +# Updates all xml files +.PHONY: xml +xml: + for domain in $(DOMAINS); do \ + cd $$domain && make $$domain.xml && cd ..; \ + done + .PHONY: release release: update-po check distcheck diff --git a/Makefile.in b/Makefile.in index bc9f5a6..5c69aee 100644 --- a/Makefile.in +++ b/Makefile.in @@ -184,7 +184,7 @@ CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/iso-codes.pc.in \ - COPYING ChangeLog INSTALL TODO install-sh missing + COPYING INSTALL TODO install-sh missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) @@ -322,7 +322,7 @@ dist_json_DATA = $(wildcard $(srcdir)/data/*.json) # the common Makefile snippet # and the markdown documentation currently not handled # by automake -EXTRA_DIST = bin bootstrap common.mk README.md +EXTRA_DIST = bin bootstrap common.mk README.md ChangeLog.md DISTCLEANFILES = $(pkgconfig_DATA) all: all-recursive @@ -835,6 +835,13 @@ pot: cd $$domain && make $$domain.pot && cd ..; \ done +# Updates all xml files +.PHONY: xml +xml: + for domain in $(DOMAINS); do \ + cd $$domain && make $$domain.xml && cd ..; \ + done + .PHONY: release release: update-po check distcheck diff --git a/README.md b/README.md index f15070f..2b01966 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,6 @@ not as important as the first two. # NEWS -* The XML files have been removed after having been deprecated for - two and a half years. Please use the JSON data files instead. * A new ISO standard has been included, ISO 3166-3. The gettext domain is called `iso_3166-3`. Basically, this is a split of the old domain `iso_3166` into `iso_3166-1` and `iso_3166-3`, because @@ -76,6 +74,9 @@ not as important as the first two. included languages were not part of the standard and have been removed. This reduced the number of language families from about 1900 to about 110. +* The XML files are **deprecated** and should not be used for new + projects. However, they are kept in sync with the JSON data + for now. * The gettext domains have been renamed to better match the actual ISO number: - ISO 639-2: Renamed from `iso_639` to `iso_639-2` diff --git a/bin/xml_from_json.py b/bin/xml_from_json.py new file mode 100755 index 0000000..d28b626 --- /dev/null +++ b/bin/xml_from_json.py @@ -0,0 +1,1040 @@ +#!/usr/bin/env python3 +# +# Create deprecated iso-codes XML from JSON +# +# Copyright © 2016 Dr. Tobias Quathamer +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +import json +import sys + +# Get the current ISO code domain, the path to the JSON data dir, and the XML output file +if len(sys.argv) != 4: + sys.exit("Please provide the domain, the path to the JSON data dir, and the XML output file.") +domain = sys.argv[1] +datapath = sys.argv[2] +xml_file = sys.argv[3] + +# +# Define the headers of the XML files +# +headers = { + "639": """ + + + + + + +]> +""", + "639-3": """ + + + + + + +]> +""", + "639-5": """ + + + + + + +]> +""", + "3166": """ + + + + + + + + +]> +""", + "3166-2": """ + + + + + + + + + + + +]> +""", + "15924": """ + + + + + + +]> +""", + "4217": """ + + + + + + + + +]> +""", +} + +def get_iso_entries(standard): + """ Return all entries from the given standard + """ + with open(datapath + "/iso_" + standard + ".json", encoding="utf-8") as input_file: + iso = json.load(input_file) + return iso[standard] + +# Create the output file +with open(xml_file, "w", encoding="utf-8") as outfile: + # + # Handle ISO 639-2 + # + if domain == "iso_639-2": + outfile.write(headers["639"]) + outfile.write("\n") + outfile.write("\n") + for entry in get_iso_entries("639-2"): + outfile.write("\t\n") + outfile.write("\n") + # + # Handle ISO 639-3 + # + elif domain == "iso_639-3": + outfile.write(headers["639-3"]) + outfile.write("\n") + outfile.write("\n") + for entry in get_iso_entries("639-3"): + outfile.write("\t\n") + outfile.write("\n") + # + # Handle ISO 639-5 + # + elif domain == "iso_639-5": + outfile.write(headers["639-5"]) + outfile.write("\n") + outfile.write("\n") + for entry in get_iso_entries("639-5"): + outfile.write("\t\n") + outfile.write("\n") + # + # Handle ISO 3166 + # + elif domain == "iso_3166-1": + outfile.write(headers["3166"]) + outfile.write("\n") + outfile.write("\n") + for entry in get_iso_entries("3166-1"): + outfile.write("\t\n") + for entry in get_iso_entries("3166-3"): + outfile.write("\t\n") + outfile.write("\n") + # + # Handle ISO 3166-2 + # + elif domain == "iso_3166-2": + outfile.write(headers["3166-2"]) + outfile.write("\n") + outfile.write("\n") + last_country_code = "" + subsets = {} + for entry in get_iso_entries("3166-2"): + country_code = entry["code"].split("-")[0] + # Initialize for every new country + if last_country_code != country_code: + # Write out if subsets are filled + if len(subsets) > 0: + outfile.write("\n") + for subset in sorted(subsets): + outfile.write("\n") + for item in subsets[subset]: + outfile.write("\t\n") + outfile.write("\n") + outfile.write("\n") + last_country_code = country_code + subsets = {} + # Group by subset types + if entry["type"] not in subsets: + subsets[entry["type"]] = [entry] + else: + subsets[entry["type"]].append(entry) + outfile.write("\n") + # + # Handle ISO 15924 + # + elif domain == "iso_15924": + outfile.write(headers["15924"]) + outfile.write("\n") + outfile.write("\n") + for entry in get_iso_entries("15924"): + outfile.write("\t\n") + outfile.write("\n") + # + # Handle ISO 4217 + # + elif domain == "iso_4217": + outfile.write(headers["4217"]) + outfile.write("\n") + outfile.write("\n") + for entry in get_iso_entries("4217"): + outfile.write("\t\n") + # Insert the obsolete historic entries, which are no + # longer included in the JSON data files. + outfile.write(""" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +""") + outfile.write("\n") diff --git a/common.mk b/common.mk index 837a3e9..405d9de 100644 --- a/common.mk +++ b/common.mk @@ -1,6 +1,9 @@ +xmldir = $(datadir)/xml/iso-codes +nodist_xml_DATA = $(DOMAIN).xml + pofiles = $(wildcard $(srcdir)/*.po) mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles)) -noinst_DATA = $(mofiles) +noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot) localedir = $(datadir)/locale @@ -9,7 +12,8 @@ EXTRA_DIST = \ $(DOMAIN).pot MOSTLYCLEANFILES = \ - $(mofiles) + $(mofiles) \ + $(DOMAIN).xml # Generic target to create binary .mo files from .po files %.mo: %.po @@ -28,6 +32,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \ fi +# Generic target to create deprecated .xml files from JSON data files +$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json + python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@ + # Used in the domain subdirectories for checking that # all .po files contain UTF-8 data check-local: @@ -80,6 +88,11 @@ install-data-hook: $(mofiles) if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \ if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi uninstall-hook: catalogs='$(mofiles)'; \ @@ -93,3 +106,8 @@ uninstall-hook: if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \ if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi diff --git a/configure b/configure index 363e87a..6c40527 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for iso-codes 4.0. +# Generated by GNU Autoconf 2.69 for iso-codes 4.1. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -576,8 +576,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='iso-codes' PACKAGE_TARNAME='iso-codes' -PACKAGE_VERSION='4.0' -PACKAGE_STRING='iso-codes 4.0' +PACKAGE_VERSION='4.1' +PACKAGE_STRING='iso-codes 4.1' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1219,7 +1219,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures iso-codes 4.0 to adapt to many kinds of systems. +\`configure' configures iso-codes 4.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1286,7 +1286,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of iso-codes 4.0:";; + short | recursive ) echo "Configuration of iso-codes 4.1:";; esac cat <<\_ACEOF @@ -1363,7 +1363,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -iso-codes configure 4.0 +iso-codes configure 4.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1380,7 +1380,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by iso-codes $as_me 4.0, which was +It was created by iso-codes $as_me 4.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2244,7 +2244,7 @@ fi # Define the identity of the package. PACKAGE='iso-codes' - VERSION='4.0' + VERSION='4.1' cat >>confdefs.h <<_ACEOF @@ -3147,7 +3147,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by iso-codes $as_me 4.0, which was +This file was extended by iso-codes $as_me 4.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3200,7 +3200,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -iso-codes config.status 4.0 +iso-codes config.status 4.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 7fce993..a30c8c7 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -AC_INIT([iso-codes],[4.0]) +AC_INIT([iso-codes],[4.1]) AM_INIT_AUTOMAKE([dist-xz no-dist-gzip foreign]) AM_MAINTAINER_MODE diff --git a/data/iso_3166-2.json b/data/iso_3166-2.json index de84b65..fdd9db3 100644 --- a/data/iso_3166-2.json +++ b/data/iso_3166-2.json @@ -25354,7 +25354,7 @@ "type": "Province" }, { - "code": "ZA-GP", + "code": "ZA-GT", "name": "Gauteng", "type": "Province" }, @@ -25373,6 +25373,11 @@ "name": "Northern Cape", "type": "Province" }, + { + "code": "ZA-NL", + "name": "Kwazulu-Natal", + "type": "Province" + }, { "code": "ZA-NW", "name": "North-West (South Africa)", @@ -25383,11 +25388,6 @@ "name": "Western Cape", "type": "Province" }, - { - "code": "ZA-ZN", - "name": "Kwazulu-Natal", - "type": "Province" - }, { "code": "ZM-01", "name": "Western", diff --git a/iso_15924/Makefile.in b/iso_15924/Makefile.in index de4575f..5047551 100644 --- a/iso_15924/Makefile.in +++ b/iso_15924/Makefile.in @@ -114,7 +114,35 @@ am__can_run_installinfo = \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac -DATA = $(noinst_DATA) +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(xmldir)" +DATA = $(nodist_xml_DATA) $(noinst_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ DOMAIN = iso_15924 +xmldir = $(datadir)/xml/iso-codes +nodist_xml_DATA = $(DOMAIN).xml pofiles = $(wildcard $(srcdir)/*.po) mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles)) -noinst_DATA = $(mofiles) +noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot) EXTRA_DIST = \ $(pofiles) \ $(DOMAIN).pot MOSTLYCLEANFILES = \ - $(mofiles) + $(mofiles) \ + $(DOMAIN).xml all: all-am @@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): +install-nodist_xmlDATA: $(nodist_xml_DATA) + @$(NORMAL_INSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \ + done + +uninstall-nodist_xmlDATA: + @$(NORMAL_UNINSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: @@ -287,6 +339,9 @@ check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: + for dir in "$(DESTDIR)$(xmldir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done install: install-am install-exec: install-exec-am install-data: install-data-am @@ -338,7 +393,7 @@ info: info-am info-am: -install-data-am: +install-data-am: install-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-am @@ -383,7 +438,7 @@ ps: ps-am ps-am: -uninstall-am: +uninstall-am: uninstall-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook .MAKE: check-am install-am install-data-am install-strip uninstall-am @@ -394,11 +449,11 @@ uninstall-am: install-data install-data-am install-data-hook install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ - uninstall-am uninstall-hook + install-nodist_xmlDATA install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \ + uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA .PRECIOUS: Makefile @@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \ fi +# Generic target to create deprecated .xml files from JSON data files +$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json + python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@ + # Used in the domain subdirectories for checking that # all .po files contain UTF-8 data check-local: @@ -472,6 +531,11 @@ install-data-hook: $(mofiles) if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \ if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi uninstall-hook: catalogs='$(mofiles)'; \ @@ -485,6 +549,11 @@ uninstall-hook: if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \ if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/iso_15924/et.po b/iso_15924/et.po index cf7129b..aac454c 100644 --- a/iso_15924/et.po +++ b/iso_15924/et.po @@ -1,17 +1,16 @@ # Translation of ISO 15924 to Estonian # Codes for the representation of names of scripts -# # This file is distributed under the same license as the iso-codes package. -# # Copyright © # Dr. Tobias Quathamer , 2007. +# Kristjan Räts , 2018. msgid "" msgstr "" "Project-Id-Version: iso_15924\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" "POT-Creation-Date: 2018-01-17 22:10+0100\n" -"PO-Revision-Date: 2018-01-01 15:05+0000\n" +"PO-Revision-Date: 2018-08-27 07:37+0000\n" "Last-Translator: Kristjan Räts \n" "Language-Team: Estonian \n" @@ -20,7 +19,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 2.19-dev\n" +"X-Generator: Weblate 3.2-dev\n" #. Name for Adlm msgid "Adlam" @@ -272,9 +271,8 @@ msgid "Old Italic (Etruscan, Oscan, etc.)" msgstr "vanaitali (etruski, oski, jt.)" #. Name for Jamo -#, fuzzy msgid "Jamo (alias for Jamo subset of Hangul)" -msgstr "jamo (jamo osa korea kirjast)" +msgstr "jamo (korea kirja jamo alamosa alias)" #. Name for Java msgid "Javanese" diff --git a/iso_3166-1/Makefile.in b/iso_3166-1/Makefile.in index 297d810..277b083 100644 --- a/iso_3166-1/Makefile.in +++ b/iso_3166-1/Makefile.in @@ -114,7 +114,35 @@ am__can_run_installinfo = \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac -DATA = $(noinst_DATA) +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(xmldir)" +DATA = $(nodist_xml_DATA) $(noinst_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ DOMAIN = iso_3166-1 +xmldir = $(datadir)/xml/iso-codes +nodist_xml_DATA = $(DOMAIN).xml pofiles = $(wildcard $(srcdir)/*.po) mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles)) -noinst_DATA = $(mofiles) +noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot) EXTRA_DIST = \ $(pofiles) \ $(DOMAIN).pot MOSTLYCLEANFILES = \ - $(mofiles) + $(mofiles) \ + $(DOMAIN).xml all: all-am @@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): +install-nodist_xmlDATA: $(nodist_xml_DATA) + @$(NORMAL_INSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \ + done + +uninstall-nodist_xmlDATA: + @$(NORMAL_UNINSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: @@ -287,6 +339,9 @@ check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: + for dir in "$(DESTDIR)$(xmldir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done install: install-am install-exec: install-exec-am install-data: install-data-am @@ -338,7 +393,7 @@ info: info-am info-am: -install-data-am: +install-data-am: install-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-am @@ -383,7 +438,7 @@ ps: ps-am ps-am: -uninstall-am: +uninstall-am: uninstall-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook .MAKE: check-am install-am install-data-am install-strip uninstall-am @@ -394,11 +449,11 @@ uninstall-am: install-data install-data-am install-data-hook install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ - uninstall-am uninstall-hook + install-nodist_xmlDATA install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \ + uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA .PRECIOUS: Makefile @@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \ fi +# Generic target to create deprecated .xml files from JSON data files +$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json + python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@ + # Used in the domain subdirectories for checking that # all .po files contain UTF-8 data check-local: @@ -472,6 +531,11 @@ install-data-hook: $(mofiles) if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \ if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi uninstall-hook: catalogs='$(mofiles)'; \ @@ -485,6 +549,11 @@ uninstall-hook: if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \ if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/iso_3166-2/Makefile.in b/iso_3166-2/Makefile.in index 9750d34..e8831df 100644 --- a/iso_3166-2/Makefile.in +++ b/iso_3166-2/Makefile.in @@ -114,7 +114,35 @@ am__can_run_installinfo = \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac -DATA = $(noinst_DATA) +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(xmldir)" +DATA = $(nodist_xml_DATA) $(noinst_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ DOMAIN = iso_3166-2 +xmldir = $(datadir)/xml/iso-codes +nodist_xml_DATA = $(DOMAIN).xml pofiles = $(wildcard $(srcdir)/*.po) mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles)) -noinst_DATA = $(mofiles) +noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot) EXTRA_DIST = \ $(pofiles) \ $(DOMAIN).pot MOSTLYCLEANFILES = \ - $(mofiles) + $(mofiles) \ + $(DOMAIN).xml all: all-am @@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): +install-nodist_xmlDATA: $(nodist_xml_DATA) + @$(NORMAL_INSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \ + done + +uninstall-nodist_xmlDATA: + @$(NORMAL_UNINSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: @@ -287,6 +339,9 @@ check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: + for dir in "$(DESTDIR)$(xmldir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done install: install-am install-exec: install-exec-am install-data: install-data-am @@ -338,7 +393,7 @@ info: info-am info-am: -install-data-am: +install-data-am: install-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-am @@ -383,7 +438,7 @@ ps: ps-am ps-am: -uninstall-am: +uninstall-am: uninstall-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook .MAKE: check-am install-am install-data-am install-strip uninstall-am @@ -394,11 +449,11 @@ uninstall-am: install-data install-data-am install-data-hook install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ - uninstall-am uninstall-hook + install-nodist_xmlDATA install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \ + uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA .PRECIOUS: Makefile @@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \ fi +# Generic target to create deprecated .xml files from JSON data files +$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json + python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@ + # Used in the domain subdirectories for checking that # all .po files contain UTF-8 data check-local: @@ -472,6 +531,11 @@ install-data-hook: $(mofiles) if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \ if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi uninstall-hook: catalogs='$(mofiles)'; \ @@ -485,6 +549,11 @@ uninstall-hook: if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \ if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/iso_3166-2/az.po b/iso_3166-2/az.po index 22f8bfd..ec2e724 100644 --- a/iso_3166-2/az.po +++ b/iso_3166-2/az.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2001-11-13 14:28GMT+0200\n" "Last-Translator: Vasif İsmayıloğlu MD \n" "Language-Team: Azerbaijani Turkic \n" @@ -20882,7 +20882,7 @@ msgstr "" msgid "Free State" msgstr "Birləşmiş Ştatlar" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -20900,6 +20900,10 @@ msgstr "" msgid "Northern Cape" msgstr "Şimali Marian" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW #, fuzzy msgid "North-West (South Africa)" @@ -20910,10 +20914,6 @@ msgstr "Simali Qərb Sahə" msgid "Western Cape" msgstr "Qərbi Saxara" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/be.po b/iso_3166-2/be.po index 8a8d423..2dc3336 100644 --- a/iso_3166-2/be.po +++ b/iso_3166-2/be.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2018-06-20 17:55+0000\n" "Last-Translator: Viktar Vauchkevich \n" "Language-Team: Belarusian \n" "Language-Team: Bulgarian \n" @@ -20724,7 +20724,7 @@ msgstr "" msgid "Free State" msgstr "САЩ" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -20741,6 +20741,10 @@ msgstr "" msgid "Northern Cape" msgstr "Северни Мариани" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW #, fuzzy msgid "North-West (South Africa)" @@ -20751,10 +20755,6 @@ msgstr "Северозападна Територия" msgid "Western Cape" msgstr "Западна Сахара" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/bs.po b/iso_3166-2/bs.po index 5c41ce0..e66aed3 100644 --- a/iso_3166-2/bs.po +++ b/iso_3166-2/bs.po @@ -12,7 +12,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2001-09-14 12:03GMT\n" "Last-Translator: Vedran Ljubovic \n" "Language-Team: Bosnian \n" @@ -20886,7 +20886,7 @@ msgstr "" msgid "Free State" msgstr "SAD" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -20904,6 +20904,10 @@ msgstr "" msgid "Northern Cape" msgstr "Northern Marianas" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW #, fuzzy msgid "North-West (South Africa)" @@ -20914,10 +20918,6 @@ msgstr "Northwest Territory" msgid "Western Cape" msgstr "Zapadna Sahara" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/ca.po b/iso_3166-2/ca.po index cbc64e9..09f3e0b 100644 --- a/iso_3166-2/ca.po +++ b/iso_3166-2/ca.po @@ -12,7 +12,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2001-09-24 21:46+0200\n" "Last-Translator: Softcatalà \n" "Language-Team: Catalan \n" @@ -20882,7 +20882,7 @@ msgstr "" msgid "Free State" msgstr "Estats Units" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -20900,6 +20900,10 @@ msgstr "" msgid "Northern Cape" msgstr "Marines del Nord" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW #, fuzzy msgid "North-West (South Africa)" @@ -20910,10 +20914,6 @@ msgstr "Northwest Territory" msgid "Western Cape" msgstr "Sàhara Occidental" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/crh.po b/iso_3166-2/crh.po index 9610339..0cc9c09 100644 --- a/iso_3166-2/crh.po +++ b/iso_3166-2/crh.po @@ -14,7 +14,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2017-12-28 21:49+0000\n" "Last-Translator: Chris Leonard \n" "Language-Team: Crimean Tatar \n" "Language-Team: Czech \n" @@ -20816,7 +20816,7 @@ msgstr "" msgid "Free State" msgstr "United States" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -20834,6 +20834,10 @@ msgstr "" msgid "Northern Cape" msgstr "Northern Marianas" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW #, fuzzy msgid "North-West (South Africa)" @@ -20844,10 +20848,6 @@ msgstr "Northwest Territory" msgid "Western Cape" msgstr "Western Sahara" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/da.po b/iso_3166-2/da.po index e7cc74f..26b6e28 100644 --- a/iso_3166-2/da.po +++ b/iso_3166-2/da.po @@ -17,7 +17,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2015-08-16 22:00+0200\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" @@ -19185,7 +19185,7 @@ msgstr "Østkapprovinsen" msgid "Free State" msgstr "Fristatprovinsen" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "Gauteng" @@ -19201,6 +19201,10 @@ msgstr "Mpumalanga" msgid "Northern Cape" msgstr "Nordkapprovinsen" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "Kwazulu-Natal" + #. Name for ZA-NW msgid "North-West (South Africa)" msgstr "Nordvestprovinsen (Sydafrika)" @@ -19209,10 +19213,6 @@ msgstr "Nordvestprovinsen (Sydafrika)" msgid "Western Cape" msgstr "Vestkapprovinsen" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "Kwazulu-Natal" - #. Name for ZM-04 msgid "Luapula" msgstr "Luapula" diff --git a/iso_3166-2/de.po b/iso_3166-2/de.po index a2dab40..61c0b37 100644 --- a/iso_3166-2/de.po +++ b/iso_3166-2/de.po @@ -13,7 +13,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2018-08-25 13:49+0000\n" "Last-Translator: Dr. Tobias Quathamer \n" "Language-Team: German \n" "Language-Team: Greek \n" "Language-Team: English\n" @@ -20227,7 +20227,7 @@ msgstr "Eastern Cape" msgid "Free State" msgstr "Free State" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "Gauteng" @@ -20243,6 +20243,10 @@ msgstr "Mpumalanga" msgid "Northern Cape" msgstr "Northern Cape" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "Kwazulu-Natal" + #. Name for ZA-NW #, fuzzy msgid "North-West (South Africa)" @@ -20252,10 +20256,6 @@ msgstr "North-West Frontier" msgid "Western Cape" msgstr "Western Cape" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "Kwazulu-Natal" - #. Name for ZM-04 msgid "Luapula" msgstr "Luapula" diff --git a/iso_3166-2/eo.po b/iso_3166-2/eo.po index dc22f7f..01314ad 100644 --- a/iso_3166-2/eo.po +++ b/iso_3166-2/eo.po @@ -12,7 +12,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2001-09-13 13:38-0500\n" "Last-Translator: D. Dale Gulledge \n" "Language-Team: Esperanto \n" @@ -20754,7 +20754,7 @@ msgstr "" msgid "Free State" msgstr "Usono" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -20771,6 +20771,10 @@ msgstr "" msgid "Northern Cape" msgstr "Insuloj Marianaj Nordaj" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW #, fuzzy msgid "North-West (South Africa)" @@ -20781,10 +20785,6 @@ msgstr "Nordokcidentaj Teritorioj" msgid "Western Cape" msgstr "Okcidenta Saharo" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/es.po b/iso_3166-2/es.po index 733653a..3b27521 100644 --- a/iso_3166-2/es.po +++ b/iso_3166-2/es.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2018-06-18 08:43+0000\n" "Last-Translator: advocatux \n" "Language-Team: Spanish \n" "Language-Team: Estonian \n" "Language-Team: Euskara \n" @@ -20781,7 +20781,7 @@ msgstr "" msgid "Free State" msgstr "Estatu Batuak" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -20798,6 +20798,10 @@ msgstr "" msgid "Northern Cape" msgstr "Iparraldeko Marianak" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW #, fuzzy msgid "North-West (South Africa)" @@ -20808,10 +20812,6 @@ msgstr "Iparmendebaldeko Lurraldea" msgid "Western Cape" msgstr "Mendebaldeko Sahara" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/fi.po b/iso_3166-2/fi.po index 4006f3b..8ad1ada 100644 --- a/iso_3166-2/fi.po +++ b/iso_3166-2/fi.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2008-11-04 23:06+0200\n" "Last-Translator: Tommi Vainikainen \n" "Language-Team: Finnish \n" @@ -18729,7 +18729,7 @@ msgstr "" msgid "Free State" msgstr "" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -18745,6 +18745,10 @@ msgstr "" msgid "Northern Cape" msgstr "" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW msgid "North-West (South Africa)" msgstr "" @@ -18753,10 +18757,6 @@ msgstr "" msgid "Western Cape" msgstr "" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/fr.po b/iso_3166-2/fr.po index 0454b12..f992414 100644 --- a/iso_3166-2/fr.po +++ b/iso_3166-2/fr.po @@ -15,7 +15,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2017-12-28 21:49+0000\n" "Last-Translator: Alban Vidal \n" "Language-Team: French \n" "Language-Team: Irish \n" "Language-Team: Hungarian \n" "Language-Team: Indonesian \n" "Language-Team: Icelandic \n" "Language-Team: LANGUAGE \n" @@ -18675,7 +18675,7 @@ msgstr "" msgid "Free State" msgstr "" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -18691,6 +18691,10 @@ msgstr "" msgid "Northern Cape" msgstr "" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW msgid "North-West (South Africa)" msgstr "" @@ -18699,10 +18703,6 @@ msgstr "" msgid "Western Cape" msgstr "" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/it.po b/iso_3166-2/it.po index e6cd6c0..2fae825 100644 --- a/iso_3166-2/it.po +++ b/iso_3166-2/it.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2018-06-12 06:40+0000\n" "Last-Translator: Milo Casagrande \n" "Language-Team: Italian \n" "Language-Team: Japanese \n" @@ -19379,7 +19379,7 @@ msgstr "東ケープ" msgid "Free State" msgstr "自由州" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "ガウテング" @@ -19395,6 +19395,10 @@ msgstr "マプマランガ" msgid "Northern Cape" msgstr "北ケープ" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "クワズールーナタール" + #. Name for ZA-NW msgid "North-West (South Africa)" msgstr "北西州" @@ -19403,10 +19407,6 @@ msgstr "北西州" msgid "Western Cape" msgstr "西ケープ" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "クワズールーナタール" - #. Name for ZM-04 msgid "Luapula" msgstr "ルアプラ" diff --git a/iso_3166-2/ko.po b/iso_3166-2/ko.po index 91a47c5..7c194d6 100644 --- a/iso_3166-2/ko.po +++ b/iso_3166-2/ko.po @@ -12,7 +12,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2018-02-04 12:55+0000\n" "Last-Translator: Changwoo Ryu \n" "Language-Team: Korean \n" "Language-Team: Kyrgyz \n" "Language-Team: Lithuanian \n" @@ -19205,7 +19205,7 @@ msgstr "Rytų Kapas" msgid "Free State" msgstr "Fristeitas (Laisvoji valstija)" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "Gautengas" @@ -19221,6 +19221,10 @@ msgstr "Mpumalanga" msgid "Northern Cape" msgstr "Šiaurės Kapas" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "Kvazulu-Natalis" + #. Name for ZA-NW msgid "North-West (South Africa)" msgstr "Šiaurės Vakarai (Pietų Afrika)" @@ -19229,10 +19233,6 @@ msgstr "Šiaurės Vakarai (Pietų Afrika)" msgid "Western Cape" msgstr "Vakarų Kapas" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "Kvazulu-Natalis" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/lv.po b/iso_3166-2/lv.po index c8c3bd0..b7dfb85 100644 --- a/iso_3166-2/lv.po +++ b/iso_3166-2/lv.po @@ -12,7 +12,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2001-09-06 15:59+0200\n" "Last-Translator: Juris Kudiņš \n" "Language-Team: Latvian\n" @@ -20537,7 +20537,7 @@ msgstr "" msgid "Free State" msgstr "ASV" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -20553,6 +20553,10 @@ msgstr "" msgid "Northern Cape" msgstr "" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW #, fuzzy msgid "North-West (South Africa)" @@ -20562,10 +20566,6 @@ msgstr "Ziemeļkarolīna" msgid "Western Cape" msgstr "" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/nl.po b/iso_3166-2/nl.po index 46dfd06..0dc62cb 100644 --- a/iso_3166-2/nl.po +++ b/iso_3166-2/nl.po @@ -19,7 +19,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2018-06-14 14:36+0000\n" "Last-Translator: Pander \n" "Language-Team: Dutch \n" "Language-Team: Northern Sotho \n" @@ -20797,7 +20797,7 @@ msgstr "" msgid "Free State" msgstr "Seemo" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -20814,6 +20814,10 @@ msgstr "" msgid "Northern Cape" msgstr "Lebowa La Ireland" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW #, fuzzy msgid "North-West (South Africa)" @@ -20824,10 +20828,6 @@ msgstr "Lebowa la North" msgid "Western Cape" msgstr "Bodikela bja Samoa" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/oc.po b/iso_3166-2/oc.po index b40e545..32dad5b 100644 --- a/iso_3166-2/oc.po +++ b/iso_3166-2/oc.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: oc\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2018-01-01 15:06+0000\n" "Last-Translator: Chris Leonard \n" "Language-Team: Occitan \n" "Language-Team: Polish \n" @@ -18696,7 +18696,7 @@ msgstr "Prowincja Przylądkowa Wschodnia" msgid "Free State" msgstr "Wolne Państwo" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "Gauteng" @@ -18712,6 +18712,10 @@ msgstr "Mpumalanga" msgid "Northern Cape" msgstr "Prowincja Przylądkowa Północna" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "KwaZulu-Natal" + #. Name for ZA-NW msgid "North-West (South Africa)" msgstr "Prowincja Północno-Zachodnia" @@ -18720,10 +18724,6 @@ msgstr "Prowincja Północno-Zachodnia" msgid "Western Cape" msgstr "Prowincja Przylądkowa Zachodnia" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "KwaZulu-Natal" - #. Name for ZM-04 msgid "Luapula" msgstr "Prowincja Luapula" diff --git a/iso_3166-2/ro.po b/iso_3166-2/ro.po index 201692f..d6f44a7 100644 --- a/iso_3166-2/ro.po +++ b/iso_3166-2/ro.po @@ -13,7 +13,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2018-01-01 15:06+0000\n" "Last-Translator: Chris Leonard \n" "Language-Team: Romanian \n" "Language-Team: Sardinian \n" "Language-Team: Slovak \n" @@ -19081,7 +19081,7 @@ msgstr "" msgid "Free State" msgstr "" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -19097,6 +19097,10 @@ msgstr "" msgid "Northern Cape" msgstr "" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW msgid "North-West (South Africa)" msgstr "" @@ -19105,10 +19109,6 @@ msgstr "" msgid "Western Cape" msgstr "" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/sl.po b/iso_3166-2/sl.po index e9bee40..4ff0193 100644 --- a/iso_3166-2/sl.po +++ b/iso_3166-2/sl.po @@ -13,7 +13,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2011-08-14 23:02+0200\n" "Last-Translator: Primož Peterlin \n" "Language-Team: Slovenian \n" @@ -20875,7 +20875,7 @@ msgstr "Vzhodna Kaplandija" msgid "Free State" msgstr "Svobodna država Oranje" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "Gauteng" @@ -20891,6 +20891,10 @@ msgstr "Mpumalanga" msgid "Northern Cape" msgstr "Severna Kaplandija" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "Kwazulu-Natal" + #. Name for ZA-NW msgid "North-West (South Africa)" msgstr "Severozahodna Južna Afrika" @@ -20899,10 +20903,6 @@ msgstr "Severozahodna Južna Afrika" msgid "Western Cape" msgstr "Zahodna Kaplandija" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "Kwazulu-Natal" - #. Name for ZM-04 msgid "Luapula" msgstr "Luapula" diff --git a/iso_3166-2/sr.po b/iso_3166-2/sr.po index 9a3d3ff..ed0737d 100644 --- a/iso_3166-2/sr.po +++ b/iso_3166-2/sr.po @@ -13,7 +13,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2015-12-26 22:03+0200\n" "Last-Translator: Мирослав Николић \n" "Language-Team: Serbian <(nothing)>\n" @@ -18776,7 +18776,7 @@ msgstr "Источни Кејп" msgid "Free State" msgstr "" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -18792,6 +18792,10 @@ msgstr "Мпумаланга" msgid "Northern Cape" msgstr "" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "Квацулу-Натал" + #. Name for ZA-NW msgid "North-West (South Africa)" msgstr "Северозапад (Јужна Африка)" @@ -18800,10 +18804,6 @@ msgstr "Северозапад (Јужна Африка)" msgid "Western Cape" msgstr "" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "Квацулу-Натал" - #. Name for ZM-04 msgid "Luapula" msgstr "Луапула" diff --git a/iso_3166-2/sr@latin.po b/iso_3166-2/sr@latin.po index 1a1ba50..e11d09c 100644 --- a/iso_3166-2/sr@latin.po +++ b/iso_3166-2/sr@latin.po @@ -13,7 +13,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2015-12-26 22:03+0200\n" "Last-Translator: Miroslav Nikolić \n" "Language-Team: Serbian <(nothing)>\n" @@ -18776,7 +18776,7 @@ msgstr "Istočni Kejp" msgid "Free State" msgstr "" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -18792,6 +18792,10 @@ msgstr "Mpumalanga" msgid "Northern Cape" msgstr "" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "Kvaculu-Natal" + #. Name for ZA-NW msgid "North-West (South Africa)" msgstr "Severozapad (Južna Afrika)" @@ -18800,10 +18804,6 @@ msgstr "Severozapad (Južna Afrika)" msgid "Western Cape" msgstr "" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "Kvaculu-Natal" - #. Name for ZM-04 msgid "Luapula" msgstr "Luapula" diff --git a/iso_3166-2/sv.po b/iso_3166-2/sv.po index 622de29..e35e67e 100644 --- a/iso_3166-2/sv.po +++ b/iso_3166-2/sv.po @@ -14,7 +14,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2018-05-11 19:48+0000\n" "Last-Translator: Sebastian Rasmussen \n" "Language-Team: Swedish \n" "Language-Team: Thai \n" @@ -18800,7 +18800,7 @@ msgstr "" msgid "Free State" msgstr "" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -18816,6 +18816,10 @@ msgstr "" msgid "Northern Cape" msgstr "" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW msgid "North-West (South Africa)" msgstr "ภาคตะวันตกเฉียงเหนือ (แอฟริกาใต้)" @@ -18824,10 +18828,6 @@ msgstr "ภาคตะวันตกเฉียงเหนือ (แอฟ msgid "Western Cape" msgstr "" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/tr.po b/iso_3166-2/tr.po index 1bd39c8..797a7b0 100644 --- a/iso_3166-2/tr.po +++ b/iso_3166-2/tr.po @@ -13,7 +13,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2001-09-23 02:35+0200\n" "Last-Translator: Ömer Fadıl USTA \n" "Language-Team: Turkish \n" @@ -20787,7 +20787,7 @@ msgstr "" msgid "Free State" msgstr "Birleşik Devletler" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -20804,6 +20804,10 @@ msgstr "" msgid "Northern Cape" msgstr "Northern Marianas" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW #, fuzzy msgid "North-West (South Africa)" @@ -20814,10 +20818,6 @@ msgstr "Kuzeybatı Bölgeleri" msgid "Western Cape" msgstr "Batı Sahra" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/uk.po b/iso_3166-2/uk.po index 4ff2dcc..17f587e 100644 --- a/iso_3166-2/uk.po +++ b/iso_3166-2/uk.po @@ -10,7 +10,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2018-06-18 15:28+0000\n" "Last-Translator: Yuri Chornoivan \n" "Language-Team: Ukrainian \n" "Language-Team: Venda \n" @@ -20794,7 +20794,7 @@ msgstr "" msgid "Free State" msgstr "Muvhuso" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -20811,6 +20811,10 @@ msgstr "" msgid "Northern Cape" msgstr "Northern Ireland" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW #, fuzzy msgid "North-West (South Africa)" @@ -20821,10 +20825,6 @@ msgstr "North Korea" msgid "Western Cape" msgstr "Western Samoa" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/vi.po b/iso_3166-2/vi.po index f096219..b35f2bb 100644 --- a/iso_3166-2/vi.po +++ b/iso_3166-2/vi.po @@ -12,7 +12,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2012-09-08 10:26+0100\n" "Last-Translator: Hai-Nam Nguyen \n" "Language-Team: MOST project \n" @@ -19178,7 +19178,7 @@ msgstr "Đông Mũi Đất" msgid "Free State" msgstr "Bảng Tự Do" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "Gauteng" @@ -19194,6 +19194,10 @@ msgstr "Mpumalanga" msgid "Northern Cape" msgstr "Bắc Mũi Đất" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "Kwazulu-Natal" + #. Name for ZA-NW msgid "North-West (South Africa)" msgstr "Tây Bắc (Nam Phi)" @@ -19202,10 +19206,6 @@ msgstr "Tây Bắc (Nam Phi)" msgid "Western Cape" msgstr "Tây Mũi Đất" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "Kwazulu-Natal" - #. Name for ZM-04 msgid "Luapula" msgstr "Luapula" diff --git a/iso_3166-2/wa.po b/iso_3166-2/wa.po index b5d2529..335cc45 100644 --- a/iso_3166-2/wa.po +++ b/iso_3166-2/wa.po @@ -12,7 +12,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2007-08-28 20:39+0200\n" "Last-Translator: Pablo Saratxaga \n" "Language-Team: Walloon \n" @@ -19568,7 +19568,7 @@ msgstr "" msgid "Free State" msgstr "" -#. Name for ZA-GP +#. Name for ZA-GT msgid "Gauteng" msgstr "" @@ -19584,6 +19584,10 @@ msgstr "" msgid "Northern Cape" msgstr "" +#. Name for ZA-NL +msgid "Kwazulu-Natal" +msgstr "" + #. Name for ZA-NW #, fuzzy msgid "North-West (South Africa)" @@ -19593,10 +19597,6 @@ msgstr "Renaneye-Wesfaleye" msgid "Western Cape" msgstr "" -#. Name for ZA-ZN -msgid "Kwazulu-Natal" -msgstr "" - #. Name for ZM-04 msgid "Luapula" msgstr "" diff --git a/iso_3166-2/zh_CN.po b/iso_3166-2/zh_CN.po index cf2b6cd..dbbba05 100644 --- a/iso_3166-2/zh_CN.po +++ b/iso_3166-2/zh_CN.po @@ -14,7 +14,7 @@ msgstr "" "Project-Id-Version: iso_3166-2\n" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" -"POT-Creation-Date: 2018-06-18 16:05+0200\n" +"POT-Creation-Date: 2018-08-31 14:11+0200\n" "PO-Revision-Date: 2009-06-27 18:21+0800\n" "Last-Translator: LI Daobing \n" "Language-Team: Chinese (simplified) \n" "Language-Team: Chinese (Traditional) /dev/null 2>&1;; \ esac -DATA = $(noinst_DATA) +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(xmldir)" +DATA = $(nodist_xml_DATA) $(noinst_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ DOMAIN = iso_3166-3 +xmldir = $(datadir)/xml/iso-codes +nodist_xml_DATA = $(DOMAIN).xml pofiles = $(wildcard $(srcdir)/*.po) mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles)) -noinst_DATA = $(mofiles) +noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot) EXTRA_DIST = \ $(pofiles) \ $(DOMAIN).pot MOSTLYCLEANFILES = \ - $(mofiles) + $(mofiles) \ + $(DOMAIN).xml all: all-am @@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): +install-nodist_xmlDATA: $(nodist_xml_DATA) + @$(NORMAL_INSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \ + done + +uninstall-nodist_xmlDATA: + @$(NORMAL_UNINSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: @@ -287,6 +339,9 @@ check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: + for dir in "$(DESTDIR)$(xmldir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done install: install-am install-exec: install-exec-am install-data: install-data-am @@ -338,7 +393,7 @@ info: info-am info-am: -install-data-am: +install-data-am: install-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-am @@ -383,7 +438,7 @@ ps: ps-am ps-am: -uninstall-am: +uninstall-am: uninstall-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook .MAKE: check-am install-am install-data-am install-strip uninstall-am @@ -394,11 +449,11 @@ uninstall-am: install-data install-data-am install-data-hook install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ - uninstall-am uninstall-hook + install-nodist_xmlDATA install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \ + uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA .PRECIOUS: Makefile @@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \ fi +# Generic target to create deprecated .xml files from JSON data files +$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json + python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@ + # Used in the domain subdirectories for checking that # all .po files contain UTF-8 data check-local: @@ -472,6 +531,11 @@ install-data-hook: $(mofiles) if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \ if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi uninstall-hook: catalogs='$(mofiles)'; \ @@ -485,6 +549,11 @@ uninstall-hook: if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \ if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/iso_3166-3/it.po b/iso_3166-3/it.po index afb766c..2d9094b 100644 --- a/iso_3166-3/it.po +++ b/iso_3166-3/it.po @@ -16,19 +16,19 @@ msgstr "" "Report-Msgid-Bugs-To: https://salsa.debian.org/iso-codes-team/iso-codes/" "issues\n" "POT-Creation-Date: 2018-01-17 22:10+0100\n" -"PO-Revision-Date: 2015-07-12 19:48+0200\n" -"Last-Translator: Milo Casagrande \n" +"PO-Revision-Date: 2018-09-03 20:54+0200\n" +"Last-Translator: Sebastiano Pistore \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n!=1);\n" -"X-Generator: Poedit 1.8.2\n" +"X-Generator: Poedit 2.1.1\n" #. Name for AIDJ msgid "French Afars and Issas" -msgstr "Afars e Issas francesi" +msgstr "Territorio francese degli Afar e degli Issa" #. Name for ANHH msgid "Netherlands Antilles" @@ -36,19 +36,19 @@ msgstr "Antille olandesi" #. Name for BQAQ msgid "British Antarctic Territory" -msgstr "Territorio britannico antartico" +msgstr "Territorio antartico britannico" #. Name for BUMM msgid "Burma, Socialist Republic of the Union of" -msgstr "Repubblica socialista dell'unione della Birmania" +msgstr "Birmania, Repubblica Socialista dell'Unione della" #. Name for BYAA msgid "Byelorussian SSR Soviet Socialist Republic" -msgstr "Repubblica socialista sovietica bielorussa" +msgstr "Repubblica Socialista Sovietica Bielorussa" #. Name for CSHH msgid "Czechoslovakia, Czechoslovak Socialist Republic" -msgstr "Cecoslovacchia, Repubblica socialista cecoslovacca" +msgstr "Cecoslovacchia, Repubblica Socialista Cecoslovacca" #. Name for CSXX msgid "Serbia and Montenegro" @@ -60,7 +60,7 @@ msgstr "Isole Canton ed Enderbury" #. Name for DDDE msgid "German Democratic Republic" -msgstr "Repubblica democratica tedesca" +msgstr "Repubblica Democratica Tedesca" #. Name for DYBJ msgid "Dahomey" @@ -68,7 +68,7 @@ msgstr "Dahomey" #. Name for FQHH msgid "French Southern and Antarctic Territories" -msgstr "Territori meridionali e antartici francesi" +msgstr "Terre australi e antartiche francesi" # (ndt) da wikipedia #. Name for FXFR @@ -81,15 +81,15 @@ msgstr "Isole Gilbert ed Ellice" #. Name for HVBF msgid "Upper Volta, Republic of" -msgstr "Repubblica del Volta superiore" +msgstr "Alto Volta, Repubblica del" #. Name for JTUM msgid "Johnston Island" -msgstr "Johnston Island" +msgstr "Atollo Johnston" #. Name for MIUM msgid "Midway Islands" -msgstr "Isole Midway" +msgstr "Atollo di Midway" #. Name for NHVU msgid "New Hebrides" @@ -97,7 +97,7 @@ msgstr "Nuove Ebridi" #. Name for NQAQ msgid "Dronning Maud Land" -msgstr "Terra della regina di Maud" +msgstr "Terra della regina Maud" #. Name for NTHH msgid "Neutral Zone" @@ -106,12 +106,11 @@ msgstr "Zona neutrale" # da wikipedia #. Name for PCHH msgid "Pacific Islands (trust territory)" -msgstr "Territorio in amministrazione fiduciaria delle isole del Pacifico" +msgstr "Territorio fiduciario delle Isole del Pacifico" -# (ndt) non riesco a trovare una traduzione #. Name for PUUM msgid "US Miscellaneous Pacific Islands" -msgstr "US Miscellaneous Pacific Islands" +msgstr "Altre isole del Pacifico (USA)" #. Name for PZPA msgid "Panama Canal Zone" @@ -135,20 +134,20 @@ msgstr "Timor Est" #. Name for VDVN msgid "Viet-Nam, Democratic Republic of" -msgstr "Repubblica democratica del Vietnam" +msgstr "Vietnam, Repubblica democratica del" #. Name for WKUM msgid "Wake Island" -msgstr "Isola Wake" +msgstr "Atollo di Wake" #. Name for YDYE msgid "Yemen, Democratic, People's Democratic Republic of" -msgstr "Repubblica democratica popolare dello Yemen" +msgstr "Yemen, Repubblica Democratica Popolare dello" #. Name for YUCS msgid "Yugoslavia, Socialist Federal Republic of" -msgstr "Repubblica socialista federale di Yugoslavia" +msgstr "Jugoslavia, Repubblica Socialista Federale di" #. Name for ZRCD msgid "Zaire, Republic of" -msgstr "Repubblica dello Zaire" +msgstr "Zaire, Repubblica dello" diff --git a/iso_4217/Makefile.in b/iso_4217/Makefile.in index e7a57f8..50a60e5 100644 --- a/iso_4217/Makefile.in +++ b/iso_4217/Makefile.in @@ -114,7 +114,35 @@ am__can_run_installinfo = \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac -DATA = $(noinst_DATA) +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(xmldir)" +DATA = $(nodist_xml_DATA) $(noinst_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ DOMAIN = iso_4217 +xmldir = $(datadir)/xml/iso-codes +nodist_xml_DATA = $(DOMAIN).xml pofiles = $(wildcard $(srcdir)/*.po) mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles)) -noinst_DATA = $(mofiles) +noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot) EXTRA_DIST = \ $(pofiles) \ $(DOMAIN).pot MOSTLYCLEANFILES = \ - $(mofiles) + $(mofiles) \ + $(DOMAIN).xml all: all-am @@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): +install-nodist_xmlDATA: $(nodist_xml_DATA) + @$(NORMAL_INSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \ + done + +uninstall-nodist_xmlDATA: + @$(NORMAL_UNINSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: @@ -287,6 +339,9 @@ check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: + for dir in "$(DESTDIR)$(xmldir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done install: install-am install-exec: install-exec-am install-data: install-data-am @@ -338,7 +393,7 @@ info: info-am info-am: -install-data-am: +install-data-am: install-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-am @@ -383,7 +438,7 @@ ps: ps-am ps-am: -uninstall-am: +uninstall-am: uninstall-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook .MAKE: check-am install-am install-data-am install-strip uninstall-am @@ -394,11 +449,11 @@ uninstall-am: install-data install-data-am install-data-hook install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ - uninstall-am uninstall-hook + install-nodist_xmlDATA install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \ + uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA .PRECIOUS: Makefile @@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \ fi +# Generic target to create deprecated .xml files from JSON data files +$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json + python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@ + # Used in the domain subdirectories for checking that # all .po files contain UTF-8 data check-local: @@ -472,6 +531,11 @@ install-data-hook: $(mofiles) if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \ if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi uninstall-hook: catalogs='$(mofiles)'; \ @@ -485,6 +549,11 @@ uninstall-hook: if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \ if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/iso_639-2/Makefile.in b/iso_639-2/Makefile.in index eb983ab..76ae595 100644 --- a/iso_639-2/Makefile.in +++ b/iso_639-2/Makefile.in @@ -114,7 +114,35 @@ am__can_run_installinfo = \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac -DATA = $(noinst_DATA) +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(xmldir)" +DATA = $(nodist_xml_DATA) $(noinst_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ DOMAIN = iso_639-2 +xmldir = $(datadir)/xml/iso-codes +nodist_xml_DATA = $(DOMAIN).xml pofiles = $(wildcard $(srcdir)/*.po) mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles)) -noinst_DATA = $(mofiles) +noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot) EXTRA_DIST = \ $(pofiles) \ $(DOMAIN).pot MOSTLYCLEANFILES = \ - $(mofiles) + $(mofiles) \ + $(DOMAIN).xml all: all-am @@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): +install-nodist_xmlDATA: $(nodist_xml_DATA) + @$(NORMAL_INSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \ + done + +uninstall-nodist_xmlDATA: + @$(NORMAL_UNINSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: @@ -287,6 +339,9 @@ check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: + for dir in "$(DESTDIR)$(xmldir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done install: install-am install-exec: install-exec-am install-data: install-data-am @@ -338,7 +393,7 @@ info: info-am info-am: -install-data-am: +install-data-am: install-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-am @@ -383,7 +438,7 @@ ps: ps-am ps-am: -uninstall-am: +uninstall-am: uninstall-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook .MAKE: check-am install-am install-data-am install-strip uninstall-am @@ -394,11 +449,11 @@ uninstall-am: install-data install-data-am install-data-hook install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ - uninstall-am uninstall-hook + install-nodist_xmlDATA install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \ + uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA .PRECIOUS: Makefile @@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \ fi +# Generic target to create deprecated .xml files from JSON data files +$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json + python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@ + # Used in the domain subdirectories for checking that # all .po files contain UTF-8 data check-local: @@ -472,6 +531,11 @@ install-data-hook: $(mofiles) if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \ if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi uninstall-hook: catalogs='$(mofiles)'; \ @@ -485,6 +549,11 @@ uninstall-hook: if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \ if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/iso_639-3/Makefile.in b/iso_639-3/Makefile.in index ebce52e..ab12bfa 100644 --- a/iso_639-3/Makefile.in +++ b/iso_639-3/Makefile.in @@ -114,7 +114,35 @@ am__can_run_installinfo = \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac -DATA = $(noinst_DATA) +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(xmldir)" +DATA = $(nodist_xml_DATA) $(noinst_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ DOMAIN = iso_639-3 +xmldir = $(datadir)/xml/iso-codes +nodist_xml_DATA = $(DOMAIN).xml pofiles = $(wildcard $(srcdir)/*.po) mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles)) -noinst_DATA = $(mofiles) +noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot) EXTRA_DIST = \ $(pofiles) \ $(DOMAIN).pot MOSTLYCLEANFILES = \ - $(mofiles) + $(mofiles) \ + $(DOMAIN).xml all: all-am @@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): +install-nodist_xmlDATA: $(nodist_xml_DATA) + @$(NORMAL_INSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \ + done + +uninstall-nodist_xmlDATA: + @$(NORMAL_UNINSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: @@ -287,6 +339,9 @@ check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: + for dir in "$(DESTDIR)$(xmldir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done install: install-am install-exec: install-exec-am install-data: install-data-am @@ -338,7 +393,7 @@ info: info-am info-am: -install-data-am: +install-data-am: install-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-am @@ -383,7 +438,7 @@ ps: ps-am ps-am: -uninstall-am: +uninstall-am: uninstall-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook .MAKE: check-am install-am install-data-am install-strip uninstall-am @@ -394,11 +449,11 @@ uninstall-am: install-data install-data-am install-data-hook install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ - uninstall-am uninstall-hook + install-nodist_xmlDATA install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \ + uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA .PRECIOUS: Makefile @@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \ fi +# Generic target to create deprecated .xml files from JSON data files +$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json + python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@ + # Used in the domain subdirectories for checking that # all .po files contain UTF-8 data check-local: @@ -472,6 +531,11 @@ install-data-hook: $(mofiles) if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \ if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi uninstall-hook: catalogs='$(mofiles)'; \ @@ -485,6 +549,11 @@ uninstall-hook: if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \ if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/iso_639-5/Makefile.in b/iso_639-5/Makefile.in index aa7b845..21f7d01 100644 --- a/iso_639-5/Makefile.in +++ b/iso_639-5/Makefile.in @@ -114,7 +114,35 @@ am__can_run_installinfo = \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac -DATA = $(noinst_DATA) +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(xmldir)" +DATA = $(nodist_xml_DATA) $(noinst_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -202,15 +230,18 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ DOMAIN = iso_639-5 +xmldir = $(datadir)/xml/iso-codes +nodist_xml_DATA = $(DOMAIN).xml pofiles = $(wildcard $(srcdir)/*.po) mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles)) -noinst_DATA = $(mofiles) +noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot) EXTRA_DIST = \ $(pofiles) \ $(DOMAIN).pot MOSTLYCLEANFILES = \ - $(mofiles) + $(mofiles) \ + $(DOMAIN).xml all: all-am @@ -245,6 +276,27 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): +install-nodist_xmlDATA: $(nodist_xml_DATA) + @$(NORMAL_INSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \ + done + +uninstall-nodist_xmlDATA: + @$(NORMAL_UNINSTALL) + @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: @@ -287,6 +339,9 @@ check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: + for dir in "$(DESTDIR)$(xmldir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done install: install-am install-exec: install-exec-am install-data: install-data-am @@ -338,7 +393,7 @@ info: info-am info-am: -install-data-am: +install-data-am: install-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-am @@ -383,7 +438,7 @@ ps: ps-am ps-am: -uninstall-am: +uninstall-am: uninstall-nodist_xmlDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook .MAKE: check-am install-am install-data-am install-strip uninstall-am @@ -394,11 +449,11 @@ uninstall-am: install-data install-data-am install-data-hook install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ - uninstall-am uninstall-hook + install-nodist_xmlDATA install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \ + uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA .PRECIOUS: Makefile @@ -420,6 +475,10 @@ $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).j rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \ fi +# Generic target to create deprecated .xml files from JSON data files +$(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json + python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@ + # Used in the domain subdirectories for checking that # all .po files contain UTF-8 data check-local: @@ -472,6 +531,11 @@ install-data-hook: $(mofiles) if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \ if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi uninstall-hook: catalogs='$(mofiles)'; \ @@ -485,6 +549,11 @@ uninstall-hook: if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \ if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \ done + if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi + if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi + if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi + if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi + if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. -- 2.34.1