Remove references to Zanata

We migrated to Weblate, and Zanata is being decommissioned.
This commit is contained in:
Pino Toscano
2020-08-12 15:41:18 +02:00
parent 049d83f6e4
commit 9a986ed60a
4 changed files with 1 additions and 55 deletions

View File

@@ -261,9 +261,7 @@ EXTRA_DIST = \
website/index.css \
website/index.html.in \
website/pod.css \
website/standard.css \
zanata.xml \
zanata-pull.sh
website/standard.css
WEBSITESDIR = $(HOME)/d/websites

View File

@@ -1029,20 +1029,6 @@ Finalize F<guestfs-release-notes.pod>
=item *
Push and pull from Zanata.
Run:
zanata push
to push the latest POT files to Zanata. Then run:
./zanata-pull.sh
which is a wrapper to pull the latest translated F<*.po> files.
=item *
Consider updating gnulib to latest upstream version.
=item *

View File

@@ -1,30 +0,0 @@
#!/bin/bash -
# Pull translations from Zanata.
# Copyright (C) 2011-2020 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/*.po po-docs/*.po; do
if ! grep -q '^msgstr "[^"]' $f; then
echo rm $f
rm $f
fi
done

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<config xmlns="http://zanata.org/namespace/config/">
<url>https://fedora.zanata.org/</url>
<project>libguestfs</project>
<project-version>master</project-version>
<project-type>gettext</project-type>
</config>