Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
name: run check-hooks-apply
description: check hooks apply to the repository
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
files: \.xml$
files: \.(sh|xml)$
42 changes: 21 additions & 21 deletions archive/assets/fr/archives/Tony/zip_documentation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function ZipOOo()
#zip -r $CHEMIN/$2/$3 . -x \*Root -x \*Entries -x \*Repository -x \*Template -x \*CVS\/
# Le param�tre -x permet de ne pas prendre en compte les dossiers CVS
zip -r $CHEMIN/$2/$3 . -x \*CVS\/\*

cd $CHEMIN/$2
cvs -t commit -m "Mise � jour du Zip" $3
else
Expand All @@ -34,23 +34,23 @@ function ZipOOo()
}
# ****************************************************************************

ZipOOo "/Documentation/Exemples" "Documentation/zip/exemples.zip" "exemplessxw.zip"
ZipOOo "/Documentation/Exercices" "Documentation/zip/exercices.zip" "exercicessxw.zip"
ZipOOo "/Documentation/Gallery" "Documentation/zip/gallery.zip" "galleryzip.zip"
ZipOOo "/Documentation/Guides" "Documentation/zip/guides.zip" "guidessxw.zip"

ZipOOo "/Documentation/Macros" "Documentation/zip/macros.zip" "macrossxw.zip"
ZipOOo "/Documentation/modele" "Documentation/zip/modele.zip" "modelesxw.zip"
ZipOOo "/Documentation/Outils" "Documentation/zip/outils.zip" "outilszip.zip"

ZipOOo "/Documentation/How-to/Basic" "Documentation/How-to/zip" "basic2_zip.zip"
ZipOOo "/Documentation/How-to/Bdd" "Documentation/How-to/zip" "bdd_zip.zip"
ZipOOo "/Documentation/How-to/calc" "Documentation/How-to/zip" "calc_zip.zip"
ZipOOo "/Documentation/How-to/Draw" "Documentation/How-to/zip" "draw_zip.zip"
ZipOOo "/Documentation/How-to/General" "Documentation/How-to/zip" "general_zip.zip"
ZipOOo "/Documentation/How-to/impress" "Documentation/How-to/zip" "impress.zip"
ZipOOo "/Documentation/How-to/Math" "Documentation/How-to/zip" "math_zip.zip"
ZipOOo "/Documentation/How-to/programmation" "Documentation/How-to/zip" "programmation.zip"
ZipOOo "/Documentation/How-to/writer" "Documentation/How-to/zip" "writer2_zip.zip"
ZipOOo "/Marketing/matexpo/Documents" "Documentation/zip/migration.zip" "migrationsxw.zip" "$sxw"
ZipOOo "/Documentation/Exemples" "Documentation/zip/exemples.zip" "exemplessxw.zip"
ZipOOo "/Documentation/Exercices" "Documentation/zip/exercices.zip" "exercicessxw.zip"
ZipOOo "/Documentation/Gallery" "Documentation/zip/gallery.zip" "galleryzip.zip"
ZipOOo "/Documentation/Guides" "Documentation/zip/guides.zip" "guidessxw.zip"

ZipOOo "/Documentation/Macros" "Documentation/zip/macros.zip" "macrossxw.zip"
ZipOOo "/Documentation/modele" "Documentation/zip/modele.zip" "modelesxw.zip"
ZipOOo "/Documentation/Outils" "Documentation/zip/outils.zip" "outilszip.zip"

ZipOOo "/Documentation/How-to/Basic" "Documentation/How-to/zip" "basic2_zip.zip"
ZipOOo "/Documentation/How-to/Bdd" "Documentation/How-to/zip" "bdd_zip.zip"
ZipOOo "/Documentation/How-to/calc" "Documentation/How-to/zip" "calc_zip.zip"
ZipOOo "/Documentation/How-to/Draw" "Documentation/How-to/zip" "draw_zip.zip"
ZipOOo "/Documentation/How-to/General" "Documentation/How-to/zip" "general_zip.zip"
ZipOOo "/Documentation/How-to/impress" "Documentation/How-to/zip" "impress.zip"
ZipOOo "/Documentation/How-to/Math" "Documentation/How-to/zip" "math_zip.zip"
ZipOOo "/Documentation/How-to/programmation" "Documentation/How-to/zip" "programmation.zip"
ZipOOo "/Documentation/How-to/writer" "Documentation/How-to/zip" "writer2_zip.zip"

ZipOOo "/Marketing/matexpo/Documents" "Documentation/zip/migration.zip" "migrationsxw.zip" "$sxw"
2 changes: 1 addition & 1 deletion archive/assets/fr/archives/Tony/zip_faq_wiki.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ wgetFaqWiki "http://wiki.services.openoffice.org/wiki/Fr.openoffice.org/FAQ" "Xm

cd /tmp/FaqWiki/wiki.services.openoffice.org/wiki/Fr.openoffice.org/
zip -r FAQ.zip FAQ

# # ** Envoie sur le serveur CVS **********************************************
cp FAQ.zip /CVS/fr/www/Documentation/zip/faq.zip/faqooohtml.zip
cd /CVS/fr/www/Documentation/zip/faq.zip
Expand Down
2 changes: 1 addition & 1 deletion assets/it/doc/utenti/nomenu/make-menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

for i in *.html;
do
cat top.inc $i bottom.inc > ../$i ;
cat top.inc $i bottom.inc > ../$i ;
done
2 changes: 1 addition & 1 deletion assets/it/marketing/nomenu/make-menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

for i in *.html;
do
cat top.inc $i bottom.inc > ../$i ;
cat top.inc $i bottom.inc > ../$i ;
done
2 changes: 1 addition & 1 deletion assets/porting/freebsd/qa/oooqa11.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ gnome-session &
sleep 30
cd /work/ooo/1.1.5/
rm -rf *.core
rm -rf ~/.sversionrc ~/OpenOffice.org1.1.5/ qa/qatesttool/errorlog/maho*
rm -rf ~/.sversionrc ~/OpenOffice.org1.1.5/ qa/qatesttool/errorlog/maho*
#create response file
TMPBASE=`basename $0`
TMPFILE=`mktemp /tmp/${TMPBASE}.XXXXXX`
Expand Down
4 changes: 2 additions & 2 deletions assets/sl/po/ooo-stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ for i in `find . -name "*.po"`;
cat >> $i~ << "EOF"
msgid "foobar1"
msgstr ""

msgid "foobar2"
msgstr "foobar2"

Expand All @@ -171,7 +171,7 @@ EOF
rm $i~

# write a row
# if a file has untranslated strings ($UT > 0) then add red point pic (rdeca-pika.png)
# if a file has untranslated strings ($UT > 0) then add red point pic (rdeca-pika.png)

SLIKCE="$STANJE"
if [ $UT -gt 0 ]
Expand Down
12 changes: 6 additions & 6 deletions assets/sl/pomoc2-1/ooo-pomoc-stats-2.0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ write_html_head()
</head>
<body>
<h4>Različica <a href="ftp://ftp.linux.cz/pub/localization/OpenOffice.org/devel/680/OOF680_m4/">OOF680_m4</a> - za OOo 2.2</h4>
<p>Zadnjič posodobljeno:
<p>Zadnjič posodobljeno:
EOF

date +%e.%m.%Y >> whead.tmp
Expand Down Expand Up @@ -95,7 +95,7 @@ write_html_tail()
<p>
<a name="ff"></a>
<b>Podrobnosti o pomoči Filozofske fakultete</b><br/>
<a href="http://lojze.lugos.si/~spela/lokalizacija/">Spletna stran projekta</a> in
<a href="http://lojze.lugos.si/~spela/lokalizacija/">Spletna stran projekta</a> in
<a href="http://prevajalci.ataco.si">oddelka za prevajalstvo</a>.<br/>
Seznam prevajalcev/prevajalk pod vodtsvom Špele Vintar, ki sodelujejo pri prevajanju:
</p>
Expand Down Expand Up @@ -191,7 +191,7 @@ for i in `find . -name "*.po"`;
;;
esac

# another case - for use of the state of the file (Stanje, 2nd column).
# another case - for use of the state of the file (Stanje, 2nd column).
case "$i" in
"./sbasic/guide.po" | "./sbasic/shared/01.po" | "./sbasic/shared/02.po" | "./scalc/00.po" | "./scalc/02.po" | "./scalc/04.po" | "./scalc/05.po" | "./scalc.po" | "./schart/00.po" | "./schart/01.po" | "./schart/02.po" | "./schart/04.po" | "./schart.po" | "./sdraw/00.po" | "./sdraw/01.po" | "./sdraw/04.po" | "./sdraw/guide.po" | "./sdraw.po" | "./shared/04.po" | "./shared/05.po" | "./shared/07.po" | "./shared/autokorr.po" | "./shared.po" | "./simpress/00.po" | "./simpress/01.po" | "./simpress/02.po" | "./simpress/04.po" | "./simpress/guide.po" | "./simpress.po" | "./smath/00.po" | "./smath/01.po" | "./smath/02.po" | "./smath/04.po" | "./smath/guide.po" | "./smath.po" | "./swriter/00.po" | "./swriter/02.po" | "./swriter/04.po" | "./swriter/guide.po" | "./swriter.po")
STANJE="<img src=\"/pics/lektoriranje.png\" alt=\"Na poti v lektoriranje\"/>"
Expand All @@ -208,7 +208,7 @@ for i in `find . -name "*.po"`;
cat >> $i~ << "EOF"
msgid "foobar1"
msgstr ""

msgid "foobar2"
msgstr "foobar2"

Expand All @@ -231,8 +231,8 @@ EOF
rm $i~

# write a row
# if a file has untranslated strings ($UT > 0) then add red point pic (rdeca-pika.png)
# if a file has untranslated strings ($UT > 0) then add red point pic (rdeca-pika.png)

SLIKCE="$STANJE"
if [ $UT -gt 0 ]
then
Expand Down
10 changes: 5 additions & 5 deletions assets/sl/pomoc2-1/ooo-pomoc-stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Arhiv:
<li>Datoteke za <a href="/pomoc2-1/stats-pomoc2.0.html">OOo 2.0</a>
</ul>

<p>Zadnjič posodobljeno:
<p>Zadnjič posodobljeno:
EOF

date +%e.%m.%Y >> whead.tmp
Expand Down Expand Up @@ -155,7 +155,7 @@ for i in `find . -name "*.po"`;
;;
esac

# another case - for use of the state of the file (Stanje, 2nd column).
# another case - for use of the state of the file (Stanje, 2nd column).
case "$i" in
"./sbasic/guide.po" | "./sbasic/shared/01.po" | "./sbasic/shared/02.po" | "./scalc/00.po" | "./scalc/02.po" | "./scalc/04.po" | "./scalc/05.po" | "./scalc.po" | "./schart/00.po" | "./schart/01.po" | "./schart/02.po" | "./schart/04.po" | "./schart.po" | "./sdraw/00.po" | "./sdraw/01.po" | "./sdraw/04.po" | "./sdraw/guide.po" | "./sdraw.po" | "./shared/04.po" | "./shared/05.po" | "./shared/07.po" | "./shared/autokorr.po" | "./shared.po" | "./simpress/00.po" | "./simpress/01.po" | "./simpress/02.po" | "./simpress/04.po" | "./simpress/guide.po" | "./simpress.po" | "./smath/00.po" | "./smath/01.po" | "./smath/02.po" | "./smath/04.po" | "./smath/guide.po" | "./smath.po" | "./swriter/00.po" | "./swriter/02.po" | "./swriter/04.po" | "./swriter/guide.po" | "./swriter.po")
STANJE="<img src=\"/pics/lektoriranje.png\" alt=\"Na poti v lektoriranje\"/>"
Expand All @@ -172,7 +172,7 @@ for i in `find . -name "*.po"`;
cat >> $i~ << "EOF"
msgid "foobar1"
msgstr ""

msgid "foobar2"
msgstr "foobar2"

Expand All @@ -195,8 +195,8 @@ EOF
rm $i~

# write a row
# if a file has untranslated strings ($UT > 0) then add red point pic (rdeca-pika.png)
# if a file has untranslated strings ($UT > 0) then add red point pic (rdeca-pika.png)

SLIKCE="$STANJE"
if [ $UT -gt 0 ]
then
Expand Down
4 changes: 2 additions & 2 deletions assets/sl/pomoc2/ooo-pomoc-stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ write_html_head()
<meta http-equiv="Content-Style-Type" content="text/css" />
</head>
<body>
<p>Zadnjič posodobljeno:
<p>Zadnjič posodobljeno:
EOF

date +%e.%m.%Y >> whead.tmp
Expand Down Expand Up @@ -96,7 +96,7 @@ for i in `find . -name "*.po"`;
cat >> $i~ << "EOF"
msgid "foobar1"
msgstr ""

msgid "foobar2"
msgstr "foobar2"

Expand Down
4 changes: 2 additions & 2 deletions assets/tools/scm_migration/convert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ then
mkdir $SUBVERSION_REPOSITORIES
fi

# The following directories had no CVS archive files. Check this is still the
# The following directories had no CVS archive files. Check this is still the
# case and skip them. Otherwise complain

for i in council distribution fr lang lockdir stats
Expand All @@ -22,7 +22,7 @@ do
fi
done

# The to be converted directories.
# The to be converted directories.
for i in about api ar az bg bibliographic bizdev bn bo bre br-pt ca contributing cs cvsroot cy da dba de development documentation download dz education el eo es et eu extensions external fa fi framework fur ga gd gl graphics groupware gsl gu he hi hr hu hy id incubator installation it ja ka kde km ko ku l10n lingucomponent list.txt lo look lt lv marketing mg mk ml mlmtest mr ms native-lang ne newlist.txt nl no odftoolkit oi oopm pa pap pl porting printing projects pt qa ro ru sc script scripting secondaryprojects sg si sk sl specs sq sr support sv sw ta te test testprojects tet tg th ti timtest tools tr tt-crh ua ucb udk ui urd user-faq util ux vba vi website webworks whiteboard why wp www xml zh
do
echo "Converting project ***** $i *****"
Expand Down
2 changes: 1 addition & 1 deletion migration-tools/migration2git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ find ${1} -type d ! -empty -exec mkdir -p ${GITPATH}/assets/{} \; -exec mkdir -p
echo
# 2 - Large Assets
echo 'copy assets larger than 3M as separate commits'
find ${1} -type f -size +3M -exec cp {} ${GITPATH}/assets/{} \; -exec ${GITPATH}/tools/commit2git.sh assets {} 'large asset' \;
find ${1} -type f -size +3M -exec cp {} ${GITPATH}/assets/{} \; -exec ${GITPATH}/tools/commit2git.sh assets {} 'large asset' \;
echo
# 3 - Assets
echo 'copy assets not (html and mdtext) to assets tree'
Expand Down
2 changes: 1 addition & 1 deletion migration-tools/migration2git2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ find ${1} -type d ! -empty -exec mkdir -p ${GITPATH}/part2/assets/{} \; -exec mk
echo
# 2 - Large Assets
echo 'copy assets larger than 3M as separate commits'
find ${1} -type f -size +3M -exec cp {} ${GITPATH}/part2/assets/{} \; -exec ${GITPATH}/tools/commit2git.sh assets {} 'large asset' \;
find ${1} -type f -size +3M -exec cp {} ${GITPATH}/part2/assets/{} \; -exec ${GITPATH}/tools/commit2git.sh assets {} 'large asset' \;
echo
# 3 - Assets
echo 'copy assets not (html and mdtext) to assets tree'
Expand Down