Blame SOURCES/0002-Move-upstream-translations-from-Tranifex-to-Zanata.patch

985088
From 6ea4275b0d9f6d40b8d4a35f78928e71d830d721 Mon Sep 17 00:00:00 2001
985088
From: "Richard W.M. Jones" <rjones@redhat.com>
985088
Date: Sat, 21 Feb 2015 17:27:59 +0000
985088
Subject: [PATCH 02/17] Move upstream translations from Tranifex to Zanata.
985088
985088
This is at the request of the Fedora localization team.
985088
For further information see:
985088
985088
https://www.redhat.com/archives/libguestfs/2015-February/msg00168.html
985088
---
985088
 po/zanata-pull.sh |  30 ++++++++++++++++
985088
 po/zanata.xml     | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
985088
 2 files changed, 136 insertions(+)
985088
 create mode 100755 po/zanata-pull.sh
985088
 create mode 100644 po/zanata.xml
985088
985088
diff --git a/po/zanata-pull.sh b/po/zanata-pull.sh
985088
new file mode 100755
985088
index 0000000..d051b7a
985088
--- /dev/null
985088
+++ b/po/zanata-pull.sh
985088
@@ -0,0 +1,30 @@
985088
+#!/bin/bash -
985088
+# Pull translations from Zanata.
985088
+# Copyright (C) 2011-2015 Red Hat Inc.
985088
+#
985088
+# This program is free software; you can redistribute it and/or modify
985088
+# it under the terms of the GNU General Public License as published by
985088
+# the Free Software Foundation; either version 2 of the License, or
985088
+# (at your option) any later version.
985088
+#
985088
+# This program is distributed in the hope that it will be useful,
985088
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
985088
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
985088
+# GNU General Public License for more details.
985088
+#
985088
+# You should have received a copy of the GNU General Public License
985088
+# along with this program; if not, write to the Free Software
985088
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
985088
+
985088
+set -e
985088
+
985088
+echo zanata po pull
985088
+zanata po pull
985088
+
985088
+# Remove PO files that have no translations in them.
985088
+for f in *.po; do
985088
+  if ! grep -q '^msgstr "[^"]' $f; then
985088
+    echo rm $f
985088
+    rm $f
985088
+  fi
985088
+done
985088
diff --git a/po/zanata.xml b/po/zanata.xml
985088
new file mode 100644
985088
index 0000000..64810f9
985088
--- /dev/null
985088
+++ b/po/zanata.xml
985088
@@ -0,0 +1,106 @@
985088
+
985088
+<config xmlns="http://zanata.org/namespace/config/">
985088
+  <url>https://fedora.zanata.org</url>
985088
+  <project>virt-top</project>
985088
+  <project-version>master</project-version>
985088
+  <project-type>gettext</project-type>
985088
+
985088
+  <locales>
985088
+    <locale>sq</locale>
985088
+    <locale>ar</locale>
985088
+    <locale>as</locale>
985088
+    <locale>ast</locale>
985088
+    <locale>bal</locale>
985088
+    <locale>eu</locale>
985088
+    <locale>bn</locale>
985088
+    <locale>bn-IN</locale>
985088
+    <locale>brx</locale>
985088
+    <locale>bs</locale>
985088
+    <locale>br</locale>
985088
+    <locale>bg</locale>
985088
+    <locale>ca</locale>
985088
+    <locale>zh-CN</locale>
985088
+    <locale>zh-HK</locale>
985088
+    <locale>zh-TW</locale>
985088
+    <locale>kw</locale>
985088
+    <locale>kw-GB</locale>
985088
+    <locale>cs</locale>
985088
+    <locale>da</locale>
985088
+    <locale>nl</locale>
985088
+    <locale>en-GB</locale>
985088
+    <locale>eo</locale>
985088
+    <locale>et</locale>
985088
+    <locale>fi</locale>
985088
+    <locale>fr</locale>
985088
+    <locale>gl</locale>
985088
+    <locale>ka</locale>
985088
+    <locale>de</locale>
985088
+    <locale>el</locale>
985088
+    <locale>gu</locale>
985088
+    <locale>he</locale>
985088
+    <locale>hi</locale>
985088
+    <locale>hu</locale>
985088
+    <locale>is</locale>
985088
+    <locale>id</locale>
985088
+    <locale>ia</locale>
985088
+    <locale>it</locale>
985088
+    <locale>ja</locale>
985088
+    <locale>kn</locale>
985088
+    <locale>kk</locale>
985088
+    <locale>km</locale>
985088
+    <locale>ky</locale>
985088
+    <locale>ko</locale>
985088
+    <locale>lt</locale>
985088
+    <locale>nds</locale>
985088
+    <locale>mk</locale>
985088
+    <locale>mai</locale>
985088
+    <locale>ms</locale>
985088
+    <locale>ml</locale>
985088
+    <locale>mr</locale>
985088
+    <locale>mn</locale>
985088
+    <locale>ne</locale>
985088
+    <locale>nb</locale>
985088
+    <locale>nn</locale>
985088
+    <locale>or</locale>
985088
+    <locale>pa</locale>
985088
+    <locale>fa</locale>
985088
+    <locale>pl</locale>
985088
+    <locale>pt</locale>
985088
+    <locale>pt-BR</locale>
985088
+    <locale>ro</locale>
985088
+    <locale>ru</locale>
985088
+    <locale>sr</locale>
985088
+    <locale>sr@latin</locale>
985088
+    <locale>si</locale>
985088
+    <locale>sk</locale>
985088
+    <locale>sl</locale>
985088
+    <locale>es</locale>
985088
+    <locale>sv</locale>
985088
+    <locale>tg</locale>
985088
+    <locale>ta</locale>
985088
+    <locale>te</locale>
985088
+    <locale>bo</locale>
985088
+    <locale>tr</locale>
985088
+    <locale>uk</locale>
985088
+    <locale>ur</locale>
985088
+    <locale>wba</locale>
985088
+    <locale>cy</locale>
985088
+    <locale>lv</locale>
985088
+    <locale>kw@uccor</locale>
985088
+    <locale>kw@kkcor</locale>
985088
+    <locale>af</locale>
985088
+    <locale>am</locale>
985088
+    <locale>be</locale>
985088
+    <locale>hr</locale>
985088
+    <locale>de-CH</locale>
985088
+    <locale>th</locale>
985088
+    <locale>vi</locale>
985088
+    <locale>zu</locale>
985088
+    <locale>ilo</locale>
985088
+    <locale>nso</locale>
985088
+    <locale>tw</locale>
985088
+    <locale>yo</locale>
985088
+    <locale>anp</locale>
985088
+  </locales>
985088
+
985088
+</config>
985088
-- 
985088
2.9.3
985088