From f94eecce951c48ff8ca93e8e0d1c56ca652a141e Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Mon, 27 Apr 2026 22:54:45 +0900
Subject: Remove two unused scripts for updating of translation files

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 doc/update_po  | 68 ----------------------------------------------------------
 doc/update_pot | 57 ------------------------------------------------
 2 files changed, 125 deletions(-)
 delete mode 100755 doc/update_po
 delete mode 100755 doc/update_pot

diff --git a/doc/update_po b/doc/update_po
deleted file mode 100755
index 788e778..0000000
--- a/doc/update_po
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-
-# ***************************************************************************
-#                                 merge_po
-#                           ++++++++++++++++++++
-#   copyright            : (C) 2006
-#                           Frank Schoolmeesters
-#                           & the Krusader Krew
-#   e-mail               : krusader@users.sourceforge.net
-#   web site             : http://www.krusader.org
-#   description          : update translated docbook files 
-# 
-# ***************************************************************************
-# * Permission is granted to copy, distribute and/or modify this            *
-# * document under the terms of the GNU Free Documentation License,         *
-# * Version 1.1 or any later version published by the Free Software         *
-# * Foundation; with no Invariant Sections, no Front-Cover Texts and        *
-# * no Back-Cover Texts.  A copy of the license is available on the         *
-# * GNU site http://www.gnu.org/licenses/fdl.html or by writing to:         *
-# * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,    *
-# * MA 02111-1307, USA.                                                     *
-# ***************************************************************************
-#
-# This script merges po files with the latest version of the english pot files in the language folder ../doc/i18n/$lang
-# with po2xml *.docbook.po > *.docbook
-# Use this script to created the latest version for the po files
-
-
-# Requirements: bash, ./update_pot, msgmerge, msgfmt
-# usage:  run ./merge_po ru
-
-
-# --help
-if test $# -eq 0 || test "$1" = "--help" ; then
-  echo "update_po <lang_subdir>"
-  exit
-fi
-
-# create the latest pot templates
-./update_pot
-
-# read first parameter
-lang=$1
-
-# jump into the lang folder
-cd ../doc/i18n/$lang
-
-# merge po files with the updated english pot files
-for FILENAME in $(ls *.po);do
-    # display the '*.po' filename
-    echo merging ${FILENAME} ...
-    FILENAME=`echo ${FILENAME} | perl -p -i -e 's/.po/''/g'`
-    # make backup copy of the *.po files
-    cp $FILENAME.po $FILENAME.po.bak
-    # merge po files with the updated english pot files
-    msgmerge $FILENAME.po ../pot/${FILENAME}.pot -q --force-po --output-file=${FILENAME}.po.new
-    # rename po.new into po
-    mv $FILENAME.po.new $FILENAME.po
-    # show translation statistics
-    msgfmt $FILENAME.po --statistics -c -v --output-file=$FILENAME.tmp
-    echo ""
-    # delete temporary files 'foo.po.tmp'
-    rm -f $FILENAME.tmp
-done
-
-echo NOTE: This script sould only be used by the Documentation i18n coordinator or the Krusader Krew
-echo Please contact the Documentation i18n coordinator if you want to translate the Krusader documentation
-echo Wrong usage of this script might result in outdated documentation files
diff --git a/doc/update_pot b/doc/update_pot
deleted file mode 100755
index 7a2d513..0000000
--- a/doc/update_pot
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-
-# ***************************************************************************
-#                                update_pot
-#                           ++++++++++++++++++++
-#   copyright            : (C) 2006
-#                           Frank Schoolmeesters
-#                           & the Krusader Krew
-#   e-mail               : krusader@users.sourceforge.net
-#   web site             : http://www.krusader.org
-#   description          : update translation pot template files 
-# 
-# ***************************************************************************
-# * Permission is granted to copy, distribute and/or modify this            *
-# * document under the terms of the GNU Free Documentation License,         *
-# * Version 1.1 or any later version published by the Free Software         *
-# * Foundation; with no Invariant Sections, no Front-Cover Texts and        *
-# * no Back-Cover Texts.  A copy of the license is available on the         *
-# * GNU site http://www.gnu.org/licenses/fdl.html or by writing to:         *
-# * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,    *
-# * MA 02111-1307, USA.                                                     *
-# ***************************************************************************
-#
-# This script creates *.pot translation template files in the krusader_trinity/doc/i18n folder
-# with xml2pot *.docbook > *.docbook.pot
-
-# Requirements: bash, xml2pot, perl
-# usage:  run ./update_pot
-
-# jump into the english folder
-cd en
-
-# grepping version information from index.docbook
-VERSION=`grep releaseinfo index.docbook | tr -d '</releaseinfo> ' | tr -d 'a-z' | tr -d 'A-Z' | tr -d '"'`
-
-# current date
-DATENOW=$(date +%Y-%m-%d)
-
-for FILENAME in $(ls *.docbook);do  
-    echo updating ${FILENAME}.pot ...
-    # create pot file in the english folder
-    xml2pot ${FILENAME} > ${FILENAME}.pot
-    # modify pot header with perl seach/replace function
-    perl -p -i -e 's/# SOME DESCRIPTIVE TITLE./# Translation of '${FILENAME}' to LANGUAGE
-# Copyright (C) 2006, Krusader Krew
-# This file is distributed under the same license as the Krusader package/g' ${FILENAME}.pot
-    perl -p -i -e 's/Project-Id-Version: PACKAGE VERSION/Project-Id-Version: Krusader-doc-'$VERSION' '$DATENOW'/g' ${FILENAME}.pot
-    perl -p -i -e 's/Report-Msgid-Bugs-To: http:\/\/bugs.kde.org/Report-Msgid-Bugs-To:  <frank_schoolmeesters\@yahoo.com>/g' ${FILENAME}.pot
-    perl -p -i -e 's/kde-i18n-doc\@kde.org/krusader-i18n\@googlegroups.com/g' ${FILENAME}.pot
-done
-
-# move pot files to folder krusader_trinity/doc/i18n/pot since they don't belong in the english folder
-mv *.pot ../i18n/pot
-
-echo NOTE: This script sould only be used by the Documentation i18n coordinator or the Krusader Krew
-echo Please contact the Documentation i18n coordinator if you want to translate the Krusader documentation
-echo Wrong usage of this script might result in outdated documentation files
-- 
cgit v1.2.3

