Codding standards
This commit is contained in:
@@ -8,6 +8,7 @@ $Source$
|
|||||||
2001-12-28 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2001-12-28 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* lang/spanish.inc.php3: updated thanks to
|
* lang/spanish.inc.php3: updated thanks to
|
||||||
Gabriel Ginard <gginard at navegalia.com>.
|
Gabriel Ginard <gginard at navegalia.com>.
|
||||||
|
* lang/*.sh: codding standards.
|
||||||
|
|
||||||
2001-12-27 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2001-12-27 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* libraries/left.js, line 81: fixed bug #496491 - JS error with NS 4.73 on
|
* libraries/left.js, line 81: fixed bug #496491 - JS error with NS 4.73 on
|
||||||
|
@@ -8,7 +8,7 @@ for file in *.inc.php3
|
|||||||
do
|
do
|
||||||
echo $file " "
|
echo $file " "
|
||||||
grep -v '?>' ${file} > ${file}.new
|
grep -v '?>' ${file} > ${file}.new
|
||||||
echo "$1=\"" $2 '"; //to translate' >> ${file}.new
|
echo "$1 = '"$2"'; //to translate" >> ${file}.new
|
||||||
echo "?>" >> ${file}.new
|
echo "?>" >> ${file}.new
|
||||||
rm $file
|
rm $file
|
||||||
mv ${file}.new $file
|
mv ${file}.new $file
|
||||||
|
@@ -7,12 +7,12 @@
|
|||||||
#
|
#
|
||||||
for file in *.inc.php3
|
for file in *.inc.php3
|
||||||
do
|
do
|
||||||
echo $file " "
|
echo $file " "
|
||||||
grep -v '?>' ${file} > ${file}.new
|
grep -v '?>' ${file} > ${file}.new
|
||||||
sed 's/;/;\/\/to translate/' <$1 >> ${file}.new
|
sed 's/;/;\/\/to translate/' <$1 >> ${file}.new
|
||||||
echo "?>" >> ${file}.new
|
echo "?>" >> ${file}.new
|
||||||
rm $file
|
rm $file
|
||||||
mv ${file}.new $file
|
mv ${file}.new $file
|
||||||
done
|
done
|
||||||
echo " "
|
echo " "
|
||||||
echo "This script also added the new messages to english.inc.php3"
|
echo "This script also added the new messages to english.inc.php3"
|
||||||
|
@@ -7,10 +7,10 @@
|
|||||||
#
|
#
|
||||||
for file in *.inc.php3
|
for file in *.inc.php3
|
||||||
do
|
do
|
||||||
echo "lines before:" `wc -l $file`
|
echo "lines before:" `wc -l $file`
|
||||||
grep -v "$1 " ${file} > ${file}.new
|
grep -v "$1 " ${file} > ${file}.new
|
||||||
rm $file
|
rm $file
|
||||||
mv ${file}.new $file
|
mv ${file}.new $file
|
||||||
echo " lines after:" `wc -l $file`
|
echo " lines after:" `wc -l $file`
|
||||||
done
|
done
|
||||||
echo " "
|
echo " "
|
||||||
|
Reference in New Issue
Block a user