From 90bf80103a6dd15fb2bba06e2e0b5d10e9ad713d Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 1 Oct 2021 16:15:41 +0100 Subject: [PATCH 1/1] Remove old Zanata files We're meant to be using Weblate now. --- po/Makefile.am | 4 +-- po/zanata-pull.sh | 30 ---------------- po/zanata.xml | 106 ------------------------------------------------------ 3 files changed, 1 insertion(+), 139 deletions(-) delete mode 100755 po/zanata-pull.sh delete mode 100644 po/zanata.xml diff --git a/po/Makefile.am b/po/Makefile.am index fc13f94..791baa3 100644 --- a/po/Makefile.am +++ b/po/Makefile.am @@ -33,9 +33,7 @@ EXTRA_DIST = \ POTFILES POTFILES-ml \ $(DOMAIN).pot \ $(POFILES) \ - $(GMOFILES) \ - zanata-pull.sh \ - zanata.xml + $(GMOFILES) if HAVE_GNU_GETTEXT diff --git a/po/zanata-pull.sh b/po/zanata-pull.sh deleted file mode 100755 index d051b7a..0000000 --- a/po/zanata-pull.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/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 deleted file mode 100644 index 64810f9..0000000 --- a/po/zanata.xml +++ /dev/null @@ -1,106 +0,0 @@ - - - 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 - - - -- 1.8.3.1