java/scripts/spelling/HOWTO | 29 +++
java/scripts/spelling/check_gettext.sh | 33 +++
java/scripts/spelling/check_gettext_ALL.sh | 77 ++++++++
java/scripts/spelling/check_gettext_en.sh | 2
java/scripts/spelling/check_java.sh | 54 +++++
java/scripts/spelling/check_java_ALL.sh | 26 ++
java/scripts/spelling/check_java_en.sh | 2
java/scripts/spelling/ignored_en.txt | 1
java/scripts/spelling/ignored_en_GB.txt | 1
java/scripts/spelling/ignored_en_US.txt | 279 +++++++++++++++++++++++++++++
java/scripts/spelling/onlySource.xslt | 16 +
java/scripts/spelling/onlyTarget.xslt | 16 +
java/spacewalk-java.spec | 8
scripts/spelling/HOWTO | 29 ---
scripts/spelling/check_gettext.sh | 33 ---
scripts/spelling/check_gettext_ALL.sh | 77 --------
scripts/spelling/check_gettext_en.sh | 2
scripts/spelling/check_java.sh | 36 ---
scripts/spelling/check_java_ALL.sh | 26 --
scripts/spelling/check_java_en.sh | 2
scripts/spelling/ignored_en.txt | 1
scripts/spelling/ignored_en_GB.txt | 1
scripts/spelling/ignored_en_US.txt | 270 ----------------------------
scripts/spelling/onlySource.xslt | 16 -
scripts/spelling/onlyTarget.xslt | 16 -
25 files changed, 542 insertions(+), 511 deletions(-)
New commits:
commit f8926ff9cdb319cdde8c957e397ef82742342264
Author: Lukas Zapletal <lzap+git(a)redhat.com>
Date: Tue Oct 5 09:50:03 2010 +0200
spacewalk-java.spec now check for spelling errors. See bellow:
I have just modified the pacewalk-java.spec to check for spelling errors
in all java resources for English (XML files).
Please note if spelling error is found the build will *FAIL*. Yes,
correct. This was upon Jan P request so don't blame me :-)
You will probably need to edit the file scripts/spelling/ignore_en.txt
from time to time by appending all unknown words. The script prints all
words out in the correct form so its easy to append it. Example output
follows:
...
en_US in java/code/src/com/redhat/rhn/frontend/strings/database:
en_US in java/code/src/com/redhat/rhn/frontend/strings/java:
en_US in java/code/src/com/redhat/rhn/frontend/strings/jsp:
sysprefs
Spaecewalk
en_US in java/code/src/com/redhat/rhn/frontend/strings/nav:
en_US in java/code/src/com/redhat/rhn/frontend/strings/template:
ERROR: There are spelling errors in resources, please fix or
add the following words in the scripts/spelling/ignore_en.txt:
--cut--
sysprefs
Spaecewalk
--cut--
...
diff --git a/java/scripts/spelling/HOWTO b/java/scripts/spelling/HOWTO
new file mode 100644
index 0000000..8141023
--- /dev/null
+++ b/java/scripts/spelling/HOWTO
@@ -0,0 +1,29 @@
+TRANSLATION FILES SPELLING SCRIPT HOWTO
+
+Install required packages (Fedora):
+
+yum -y install aspell aspell-* libxslt translate-toolkit
+
+
+To check java resources:
+
+./check_java.sh en_US
+./check_java.sh en_US de [...]
+./check_java_ALL.sh
+
+
+To check gettext resources:
+
+./check_gettext.sh en_US
+./check_gettext.sh en_US de [...]
+./check_gettext_ALL.sh
+
+
+Ignore list:
+
+To add words to ignore list just append them to the end of the file and
+manually filter out typos. Its good idea to convert new words to lowercase
+but not all (CamelCase words should stay as is). You can easily convert
+to lowercase with vim (command 'gu').
+
+Make sure there is no blank line in the ignore file.
diff --git a/java/scripts/spelling/check_gettext.sh
b/java/scripts/spelling/check_gettext.sh
new file mode 100755
index 0000000..5f8c4ba
--- /dev/null
+++ b/java/scripts/spelling/check_gettext.sh
@@ -0,0 +1,33 @@
+#!/bin/bash
+
+dirs=(
+backend/po
+client/rhel/rhnsd/po
+client/rhel/yum-rhn-plugin/po
+client/rhel/rhn-client-tools/po
+)
+
+if [ $# -lt 1 ]
+then
+ echo "Usage: `basename $0` {lang}"
+ exit 9
+fi
+
+for lang in "$@"
+do
+ for dir in "${dirs[@]}"
+ do
+ # po2txt does not go well with stdin mode (temp must be used)
+ tempfile=$(mktemp --suffix -spellcheck.po)
+ filename="../../$dir/$lang.po"
+ if [ -f "$filename" ]; then
+ echo "$(tput bold)$lang in $dir:$(tput sgr0) "
+ # remove untranslated strings (put a dummy space in it)
+ cat "$filename" | sed 's/^msgstr ""/msgstr "
"/g' | sed -r 's/_//g' > "$tempfile"
+ po2txt --progress=none --nofuzzy "$tempfile" | \
+ aspell list -l $lang -p $(pwd)/ignored_$lang.txt --ignore=3 --encoding=utf-8 | \
+ sort -u
+ rm "$tempfile"
+ fi
+ done
+done
diff --git a/java/scripts/spelling/check_gettext_ALL.sh
b/java/scripts/spelling/check_gettext_ALL.sh
new file mode 100755
index 0000000..64f2b94
--- /dev/null
+++ b/java/scripts/spelling/check_gettext_ALL.sh
@@ -0,0 +1,77 @@
+#!/bin/bash
+
+# all langs in our po dirs
+langs=(
+ar
+as
+bg
+bn_IN
+bn
+ca
+cs
+cy
+da
+de
+el
+en_GB
+en
+es
+et
+fa
+fi
+fr
+gu
+he
+hi
+hr
+hu
+hy
+id
+is
+it_IT
+it
+ja
+ka
+kn
+ko
+ku
+lo
+lv
+mk
+ml
+mr
+ms
+my
+nb
+nl
+no
+or
+pa
+pl
+pt_BR
+pt
+ro
+ru
+si
+sk
+sl
+sq
+sr@Latn
+sr
+sv
+ta
+te
+tr
+uk
+ur
+vi
+zh_CN.GB2312
+zh_CN
+zh_TW.Big5
+zh_TW
+)
+
+for lang in "${langs[@]}"
+do
+ ./check_gettext.sh "$lang"
+done
diff --git a/java/scripts/spelling/check_gettext_en.sh
b/java/scripts/spelling/check_gettext_en.sh
new file mode 100755
index 0000000..f2b0944
--- /dev/null
+++ b/java/scripts/spelling/check_gettext_en.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+./check_gettext.sh en en_GB
diff --git a/java/scripts/spelling/check_java.sh b/java/scripts/spelling/check_java.sh
new file mode 100755
index 0000000..6cba8b0
--- /dev/null
+++ b/java/scripts/spelling/check_java.sh
@@ -0,0 +1,54 @@
+#!/bin/bash
+
+dirs=(
+java/code/src/com/redhat/rhn/frontend/strings/database
+java/code/src/com/redhat/rhn/frontend/strings/java
+java/code/src/com/redhat/rhn/frontend/strings/jsp
+java/code/src/com/redhat/rhn/frontend/strings/nav
+java/code/src/com/redhat/rhn/frontend/strings/template
+)
+
+if [ $# -lt 2 ]
+then
+ echo "Usage: `basename $0` basedir {lang}"
+ echo "Example: `basename $0` . en_US de fr"
+ exit 9
+fi
+
+basedir=$1
+scriptdir=$(dirname "$0")
+logfile=$(mktemp)
+
+for lang in "${@:2}"
+do
+ for dir in "${dirs[@]}"
+ do
+ if [ "$lang" = "en_US" ]; then
+ xslt="$scriptdir/onlySource.xslt"
+ else
+ xslt="$scriptdir/onlyTarget.xslt"
+ fi
+ dirbase=$(basename "$dir")
+ filename="$basedir/$dir/StringResource_$lang.xml"
+ if [ -f "$filename" ]; then
+ echo "$(tput bold)$lang in $dir:$(tput sgr0) "
+ xsltproc "$xslt" "$filename" | \
+ aspell list -l $lang --home-dir="$scriptdir" \
+ -p "ignored_$lang.txt" --ignore=3 --encoding=utf-8 | \
+ sort -u | tee -a "$logfile"
+ fi
+ done
+done
+
+retcode=0
+if [ -s "$logfile" ]; then
+ echo "ERROR: There are spelling errors in resources, please fix or"
+ echo "add the following words in the scripts/spelling/ignore_en.txt:"
+ echo "--cut--"
+ cat "$logfile"
+ echo "--cut--"
+ retcode=1
+fi
+
+rm "$logfile";
+exit $retcode;
diff --git a/java/scripts/spelling/check_java_ALL.sh
b/java/scripts/spelling/check_java_ALL.sh
new file mode 100755
index 0000000..279bb97
--- /dev/null
+++ b/java/scripts/spelling/check_java_ALL.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+langs=(
+en_US
+bn_IN
+de
+en_US
+es
+fr
+gu
+hi
+it
+ja
+ko
+pa
+pt_BR
+ru
+ta
+zh_CN
+zh_TW
+)
+
+for lang in "${langs[@]}"
+do
+ ./check_java.sh ../.. "$lang"
+done
diff --git a/java/scripts/spelling/check_java_en.sh
b/java/scripts/spelling/check_java_en.sh
new file mode 100755
index 0000000..2e0ff38
--- /dev/null
+++ b/java/scripts/spelling/check_java_en.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+./check_java.sh ../.. en_US
diff --git a/java/scripts/spelling/ignored_en.txt b/java/scripts/spelling/ignored_en.txt
new file mode 120000
index 0000000..a356919
--- /dev/null
+++ b/java/scripts/spelling/ignored_en.txt
@@ -0,0 +1 @@
+ignored_en_US.txt
\ No newline at end of file
diff --git a/java/scripts/spelling/ignored_en_GB.txt
b/java/scripts/spelling/ignored_en_GB.txt
new file mode 120000
index 0000000..a356919
--- /dev/null
+++ b/java/scripts/spelling/ignored_en_GB.txt
@@ -0,0 +1 @@
+ignored_en_US.txt
\ No newline at end of file
diff --git a/java/scripts/spelling/ignored_en_US.txt
b/java/scripts/spelling/ignored_en_US.txt
new file mode 100644
index 0000000..f43254a
--- /dev/null
+++ b/java/scripts/spelling/ignored_en_US.txt
@@ -0,0 +1,279 @@
+personal_ws-1.1 en 0 utf-8
+ActionDetails
+AclHandler
+aclXXXX
+Bouvet
+Burkina
+Caicos
+catalina
+checkbox
+Checkin
+cleanindex
+config
+Config
+CPUs
+Debian
+Faroe
+Faso
+filename
+Futuna
+guestname
+Hong
+hostname
+Hostname
+http
+httpd
+https
+IllegalAccessException
+IllegalInvocationException
+initrd
+iSeries
+Javascript
+kickstart
+kickstarted
+kickstarting
+kickstarts
+kickstart's
+Kitts
+Lanka
+Leste
+login
+Login
+Logins
+LoginSubmit
+Lookup
+Macau
+Marino
+Mayen
+Mayotte
+mips
+Miquelon
+mtime
+Niue
+NVRE
+Palau
+Papua
+PowerPC
+pSeries
+Puerto
+redhat
+RHEL
+rhnsd
+sbin
+SearchServer
+SELinux
+solaris
+Solaris
+Sparc
+symlink
+symlinks
+taskomatic
+TASKOMATIC
+Timor
+Tokelau
+TRACEBACK
+Unentitle
+Unentitled
+Ungrouped
+Unhandled
+unsubscribe
+unsubscribed
+username
+Username
+vCPUs
+virsh
+virtualization
+Virtualization
+XMLRPC
+yyyy
+Zealand
+CompletedSystems
+FailedSystems
+GeneralConfig
+YourRhn
+Côte
+d'Ivoire
+Acknowledgement
+conf
+conns
+ExtendedStatus
+Filesystem
+FQDN
+ICMP
+IMAP
+Inodes
+iostat
+JDBC
+LongLegs
+Metres
+MySQL
+Pathname
+RCVD
+rdbms
+RHNMD
+RPMs
+Servlet
+SMTP
+SNMP
+Tablespace
+Uptime
+UserAgent
+Weblogic
+webserver
+ActivationKeysList
+adminstrators
+AllErrata
+apache
+auth
+Backend
+Backout
+bootloader
+Bootloader
+Bugfix
+Bugfixes
+cancelled
+checkboxes
+checkin
+Checksum
+chroot
+Comfirm
+commandline
+CommitErrataPackageChanges
+CompletedActions
+conf
+Configs
+Cpus
+CreateCorporate
+CreateProfileWizard
+critera
+Cron
+crypto
+cryptokey
+CryptoKeysList
+CVEs
+debuginfo
+DebugInfo
+deployable
+Deployable
+devsdc
+DHCP
+distro
+downloadable
+ELILO
+enablement
+Enablement
+esystem
+executables
+FailedActions
+FasTrack
+filepath
+filepaths
+filesystem
+GnuPG
+GPLv
+Greyed
+href
+html
+InProgressSystems
+ISOs
+kerberos
+Kerberos
+kickstartable
+Kickstartable
+KickstartPackagesEdit
+KickstartPartitionEdit
+KickstartSoftwareEdit
+Knowledgebase
+ksid
+LDAP
+listicon
+logout
+lookup
+myfilename
+nbsp
+Netboot
+newlogin
+nochroot
+nvrea
+patchset
+patchsets
+Patchsets
+plaintext
+Pluggable
+prepended
+PreservationList
+privledges
+privleges
+ProbeEdit
+ProbeList
+PurchaseHistory
+pxeboot
+Readme
+repo
+Repo
+repos
+Resubscription
+RHBA
+rhel
+rhncfg
+rpms
+RPMs
+searchable
+SElinux
+showgroups
+SNMP
+subscribable
+Subscribable
+SubscriptionManagement
+subtab
+SunOs
+SupportedISOs
+SystemChannels
+SystemEntitlements
+SystemList
+templating
+tftpboot
+Timestamp
+unchecking
+unentitled
+ungrouped
+uninstall
+unix
+Unschedule
+unselect
+unselectall
+updatelist
+uptime
+UserPreferences
+UUID
+VirtualGuestsList
+Virtualized
+vmlinuz
+VolGroup
+webcasts
+wget
+whitepapers
+wildcards
+xenbr
+Zipcode
+logins
+Entitler
+Isls
+prid
+selectall
+online
+Dialog
+hostname
+login
+username
+rhnregister
+Barthelemy
+ChildSubscriptions
+DeleteConfirm
+KickstartableSystems
+ListSystems
+PackageInstall
+PackageRemove
+PackageUpgrade
+PackageVerify
+sysprefs
diff --git a/java/scripts/spelling/onlySource.xslt
b/java/scripts/spelling/onlySource.xslt
new file mode 100644
index 0000000..f1a9665
--- /dev/null
+++ b/java/scripts/spelling/onlySource.xslt
@@ -0,0 +1,16 @@
+<xsl:stylesheet version="1.0"
+ xmlns:x="urn:oasis:names:tc:xliff:document:1.1"
+
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+ <xsl:output method="text"/>
+
+ <xsl:template match="@*|node()">
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:template>
+
+ <xsl:template match="x:source">
+ <xsl:value-of select="text()"/>
+ <xsl:text> </xsl:text>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/java/scripts/spelling/onlyTarget.xslt
b/java/scripts/spelling/onlyTarget.xslt
new file mode 100644
index 0000000..2110eb0
--- /dev/null
+++ b/java/scripts/spelling/onlyTarget.xslt
@@ -0,0 +1,16 @@
+<xsl:stylesheet version="1.0"
+ xmlns:x="urn:oasis:names:tc:xliff:document:1.1"
+
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+ <xsl:output method="text"/>
+
+ <xsl:template match="@*|node()">
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:template>
+
+ <xsl:template match="x:target">
+ <xsl:value-of select="text()"/>
+ <xsl:text> </xsl:text>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/java/spacewalk-java.spec b/java/spacewalk-java.spec
index 81944a4..16b4ba6 100644
--- a/java/spacewalk-java.spec
+++ b/java/spacewalk-java.spec
@@ -115,6 +115,8 @@ BuildRequires: stringtree-json
BuildRequires: struts
BuildRequires: sitemesh
BuildRequires: postgresql-jdbc
+# the following line is for spell checking script
+BuildRequires: aspell aspell-en libxslt
Obsoletes: rhn-java < 5.3.0
Obsoletes: rhn-java-sat < 5.3.0
Obsoletes: rhn-oracle-jdbc-tomcat5 <= 1.0
@@ -227,6 +229,10 @@ ant -Dprefix=$RPM_BUILD_ROOT install-tomcat6
install -d -m 755 $RPM_BUILD_ROOT/%{_sysconfdir}/tomcat6/Catalina/localhost/
install -m 755 conf/rhn6.xml
$RPM_BUILD_ROOT/%{_sysconfdir}/tomcat6/Catalina/localhost/rhn.xml
%endif
+
+# check spelling errors in all resources for English
+scripts/spelling/check_java.sh . en_US
+
install -d -m 755 $RPM_BUILD_ROOT/%{_initrddir}
install -d -m 755 $RPM_BUILD_ROOT/%{_bindir}
install -d -m 755 $RPM_BUILD_ROOT/%{_sysconfdir}/rhn
@@ -261,7 +267,6 @@ install -d -m 755 $RPM_BUILD_ROOT/%{realcobsnippetsdir}
ln -s -f %{cobdirsnippets} $RPM_BUILD_ROOT/%{realcobsnippetsdir}/spacewalk
touch $RPM_BUILD_ROOT/%{_var}/spacewalk/systemlogs/audit-review.log
-
%if (0%{?rhel} && 0%{?rhel} < 6) || (0%{?fedora} && 0%{?fedora} <
13)
ln -s -f %{_javadir}/asm/asm.jar $RPM_BUILD_ROOT/%{_datadir}/rhn/lib/spacewalk-asm.jar
%else
@@ -269,7 +274,6 @@ ln -s -f %{_javadir}/objectweb-asm/asm.jar
$RPM_BUILD_ROOT/%{_datadir}/rhn/lib/
%endif
-
%clean
rm -rf $RPM_BUILD_ROOT
diff --git a/scripts/spelling/HOWTO b/scripts/spelling/HOWTO
deleted file mode 100644
index 8141023..0000000
--- a/scripts/spelling/HOWTO
+++ /dev/null
@@ -1,29 +0,0 @@
-TRANSLATION FILES SPELLING SCRIPT HOWTO
-
-Install required packages (Fedora):
-
-yum -y install aspell aspell-* libxslt translate-toolkit
-
-
-To check java resources:
-
-./check_java.sh en_US
-./check_java.sh en_US de [...]
-./check_java_ALL.sh
-
-
-To check gettext resources:
-
-./check_gettext.sh en_US
-./check_gettext.sh en_US de [...]
-./check_gettext_ALL.sh
-
-
-Ignore list:
-
-To add words to ignore list just append them to the end of the file and
-manually filter out typos. Its good idea to convert new words to lowercase
-but not all (CamelCase words should stay as is). You can easily convert
-to lowercase with vim (command 'gu').
-
-Make sure there is no blank line in the ignore file.
diff --git a/scripts/spelling/check_gettext.sh b/scripts/spelling/check_gettext.sh
deleted file mode 100755
index 5f8c4ba..0000000
--- a/scripts/spelling/check_gettext.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-
-dirs=(
-backend/po
-client/rhel/rhnsd/po
-client/rhel/yum-rhn-plugin/po
-client/rhel/rhn-client-tools/po
-)
-
-if [ $# -lt 1 ]
-then
- echo "Usage: `basename $0` {lang}"
- exit 9
-fi
-
-for lang in "$@"
-do
- for dir in "${dirs[@]}"
- do
- # po2txt does not go well with stdin mode (temp must be used)
- tempfile=$(mktemp --suffix -spellcheck.po)
- filename="../../$dir/$lang.po"
- if [ -f "$filename" ]; then
- echo "$(tput bold)$lang in $dir:$(tput sgr0) "
- # remove untranslated strings (put a dummy space in it)
- cat "$filename" | sed 's/^msgstr ""/msgstr "
"/g' | sed -r 's/_//g' > "$tempfile"
- po2txt --progress=none --nofuzzy "$tempfile" | \
- aspell list -l $lang -p $(pwd)/ignored_$lang.txt --ignore=3 --encoding=utf-8 | \
- sort -u
- rm "$tempfile"
- fi
- done
-done
diff --git a/scripts/spelling/check_gettext_ALL.sh
b/scripts/spelling/check_gettext_ALL.sh
deleted file mode 100755
index 64f2b94..0000000
--- a/scripts/spelling/check_gettext_ALL.sh
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/bin/bash
-
-# all langs in our po dirs
-langs=(
-ar
-as
-bg
-bn_IN
-bn
-ca
-cs
-cy
-da
-de
-el
-en_GB
-en
-es
-et
-fa
-fi
-fr
-gu
-he
-hi
-hr
-hu
-hy
-id
-is
-it_IT
-it
-ja
-ka
-kn
-ko
-ku
-lo
-lv
-mk
-ml
-mr
-ms
-my
-nb
-nl
-no
-or
-pa
-pl
-pt_BR
-pt
-ro
-ru
-si
-sk
-sl
-sq
-sr@Latn
-sr
-sv
-ta
-te
-tr
-uk
-ur
-vi
-zh_CN.GB2312
-zh_CN
-zh_TW.Big5
-zh_TW
-)
-
-for lang in "${langs[@]}"
-do
- ./check_gettext.sh "$lang"
-done
diff --git a/scripts/spelling/check_gettext_en.sh b/scripts/spelling/check_gettext_en.sh
deleted file mode 100755
index f2b0944..0000000
--- a/scripts/spelling/check_gettext_en.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-./check_gettext.sh en en_GB
diff --git a/scripts/spelling/check_java.sh b/scripts/spelling/check_java.sh
deleted file mode 100755
index ecf3fba..0000000
--- a/scripts/spelling/check_java.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-dirs=(
-java/code/src/com/redhat/rhn/frontend/strings/database
-java/code/src/com/redhat/rhn/frontend/strings/java
-java/code/src/com/redhat/rhn/frontend/strings/jsp
-java/code/src/com/redhat/rhn/frontend/strings/nav
-java/code/src/com/redhat/rhn/frontend/strings/template
-)
-
-if [ $# -lt 1 ]
-then
- echo "Usage: `basename $0` {lang}"
- exit 9
-fi
-
-for lang in "$@"
-do
- echo $lang
- for dir in "${dirs[@]}"
- do
- if [ "$lang" = "en_US" ]; then
- xslt=onlySource.xslt
- else
- xslt=onlyTarget.xslt
- fi
- dirbase=$(basename "$dir")
- filename="../../$dir/StringResource_$lang.xml"
- if [ -f "$filename" ]; then
- echo "$(tput bold)$lang in $dir:$(tput sgr0) "
- xsltproc $xslt ../../$dir/StringResource_$lang.xml | \
- aspell list -l $lang -p $(pwd)/ignored_$lang.txt --ignore=3 --encoding=utf-8 | \
- sort -u
- fi
- done
-done
diff --git a/scripts/spelling/check_java_ALL.sh b/scripts/spelling/check_java_ALL.sh
deleted file mode 100755
index 9b96ef3..0000000
--- a/scripts/spelling/check_java_ALL.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-langs=(
-en_US
-bn_IN
-de
-en_US
-es
-fr
-gu
-hi
-it
-ja
-ko
-pa
-pt_BR
-ru
-ta
-zh_CN
-zh_TW
-)
-
-for lang in "${langs[@]}"
-do
- ./check_java.sh "$lang"
-done
diff --git a/scripts/spelling/check_java_en.sh b/scripts/spelling/check_java_en.sh
deleted file mode 100755
index 85fadb5..0000000
--- a/scripts/spelling/check_java_en.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-./check_java.sh en_US
diff --git a/scripts/spelling/ignored_en.txt b/scripts/spelling/ignored_en.txt
deleted file mode 120000
index a356919..0000000
--- a/scripts/spelling/ignored_en.txt
+++ /dev/null
@@ -1 +0,0 @@
-ignored_en_US.txt
\ No newline at end of file
diff --git a/scripts/spelling/ignored_en_GB.txt b/scripts/spelling/ignored_en_GB.txt
deleted file mode 120000
index a356919..0000000
--- a/scripts/spelling/ignored_en_GB.txt
+++ /dev/null
@@ -1 +0,0 @@
-ignored_en_US.txt
\ No newline at end of file
diff --git a/scripts/spelling/ignored_en_US.txt b/scripts/spelling/ignored_en_US.txt
deleted file mode 100644
index f539770..0000000
--- a/scripts/spelling/ignored_en_US.txt
+++ /dev/null
@@ -1,270 +0,0 @@
-personal_ws-1.1 en 0 utf-8
-ActionDetails
-AclHandler
-aclXXXX
-Bouvet
-Burkina
-Caicos
-catalina
-checkbox
-Checkin
-cleanindex
-config
-Config
-CPUs
-Debian
-Faroe
-Faso
-filename
-Futuna
-guestname
-Hong
-hostname
-Hostname
-http
-httpd
-https
-IllegalAccessException
-IllegalInvocationException
-initrd
-iSeries
-Javascript
-kickstart
-Kickstart
-kickstarted
-kickstarting
-kickstarts
-kickstart's
-Kitts
-Lanka
-Leste
-login
-Login
-Logins
-LoginSubmit
-Lookup
-Macau
-Marino
-Mayen
-Mayotte
-mips
-Miquelon
-mtime
-Niue
-NVRE
-Palau
-Papua
-PowerPC
-pSeries
-Puerto
-redhat
-RHEL
-rhnsd
-sbin
-SearchServer
-SELinux
-solaris
-Solaris
-Sparc
-symlink
-symlinks
-taskomatic
-TASKOMATIC
-Timor
-Tokelau
-TRACEBACK
-Unentitle
-Unentitled
-Ungrouped
-Unhandled
-unsubscribe
-unsubscribed
-username
-Username
-vCPUs
-virsh
-virtualization
-Virtualization
-XMLRPC
-yyyy
-Zealand
-CompletedSystems
-FailedSystems
-GeneralConfig
-YourRhn
-Côte
-d'Ivoire
-Acknowledgement
-conf
-conns
-ExtendedStatus
-Filesystem
-FQDN
-ICMP
-IMAP
-Inodes
-iostat
-JDBC
-LongLegs
-Metres
-MySQL
-Pathname
-RCVD
-rdbms
-RHNMD
-RPMs
-Servlet
-SMTP
-SNMP
-Tablespace
-Uptime
-UserAgent
-Weblogic
-webserver
-ActivationKeysList
-adminstrators
-AllErrata
-apache
-auth
-Backend
-Backout
-bootloader
-Bootloader
-Bugfix
-Bugfixes
-cancelled
-checkboxes
-checkin
-Checksum
-chroot
-Comfirm
-commandline
-CommitErrataPackageChanges
-CompletedActions
-conf
-Configs
-Cpus
-CreateCorporate
-CreateProfileWizard
-critera
-Cron
-crypto
-cryptokey
-CryptoKeysList
-CVEs
-debuginfo
-DebugInfo
-deployable
-Deployable
-devsdc
-DHCP
-distro
-downloadable
-ELILO
-enablement
-Enablement
-esystem
-executables
-FailedActions
-FasTrack
-filepath
-filepaths
-filesystem
-GnuPG
-GPLv
-Greyed
-href
-html
-InProgressSystems
-ISOs
-kerberos
-Kerberos
-kickstartable
-Kickstartable
-KickstartPackagesEdit
-KickstartPartitionEdit
-KickstartSoftwareEdit
-Knowledgebase
-ksid
-LDAP
-listicon
-logout
-lookup
-myfilename
-nbsp
-Netboot
-newlogin
-nochroot
-nvrea
-patchset
-patchsets
-Patchsets
-plaintext
-Pluggable
-prepended
-PreservationList
-privledges
-privleges
-ProbeEdit
-ProbeList
-PurchaseHistory
-pxeboot
-Readme
-repo
-Repo
-repos
-Resubscription
-RHBA
-rhel
-rhncfg
-rpms
-RPMs
-searchable
-SElinux
-showgroups
-SNMP
-subscribable
-Subscribable
-SubscriptionManagement
-subtab
-SunOs
-SupportedISOs
-SystemChannels
-SystemEntitlements
-SystemList
-templating
-tftpboot
-Timestamp
-unchecking
-unentitled
-ungrouped
-uninstall
-unix
-Unschedule
-unselect
-unselectall
-updatelist
-uptime
-UserPreferences
-UUID
-VirtualGuestsList
-Virtualized
-vmlinuz
-VolGroup
-webcasts
-wget
-whitepapers
-wildcards
-xenbr
-Zipcode
-logins
-Entitler
-Isls
-prid
-selectall
-online
-Dialog
-hostname
-login
-username
-rhnregister
diff --git a/scripts/spelling/onlySource.xslt b/scripts/spelling/onlySource.xslt
deleted file mode 100644
index f1a9665..0000000
--- a/scripts/spelling/onlySource.xslt
+++ /dev/null
@@ -1,16 +0,0 @@
-<xsl:stylesheet version="1.0"
- xmlns:x="urn:oasis:names:tc:xliff:document:1.1"
-
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:output method="text"/>
-
- <xsl:template match="@*|node()">
- <xsl:apply-templates select="@*|node()"/>
- </xsl:template>
-
- <xsl:template match="x:source">
- <xsl:value-of select="text()"/>
- <xsl:text> </xsl:text>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/scripts/spelling/onlyTarget.xslt b/scripts/spelling/onlyTarget.xslt
deleted file mode 100644
index 2110eb0..0000000
--- a/scripts/spelling/onlyTarget.xslt
+++ /dev/null
@@ -1,16 +0,0 @@
-<xsl:stylesheet version="1.0"
- xmlns:x="urn:oasis:names:tc:xliff:document:1.1"
-
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:output method="text"/>
-
- <xsl:template match="@*|node()">
- <xsl:apply-templates select="@*|node()"/>
- </xsl:template>
-
- <xsl:template match="x:target">
- <xsl:value-of select="text()"/>
- <xsl:text> </xsl:text>
- </xsl:template>
-
-</xsl:stylesheet>