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