summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-11-01 10:47:20 +0000
committerDries Buytaert <dries@buytaert.net>2002-11-01 10:47:20 +0000
commitcc381c14613b4c4539d74f38ec58196f6dfcdaa0 (patch)
tree34c44d95ed24402bca4736765ba7a0d53e458ac5 /scripts
parent74c722502bf274cc59b3b6fd871db9d96defba4f (diff)
downloadbrdo-cc381c14613b4c4539d74f38ec58196f6dfcdaa0.tar.gz
brdo-cc381c14613b4c4539d74f38ec58196f6dfcdaa0.tar.bz2
- Fixed glitch in block module: the admin links were not composed
correctly. Patch by Stefan. - Added missing t() functions and improved the %x directives for better readability and to ease the process of translating your site. Patches by Stefan. - Made two small additions to the 'code-clean.sh' script; it will now remove patch related junk. NOTES: - I removed the &middot; related bits. Let's tackle these later on in a separate patch after we got some sort of consensus. - I removed the 'module_exist("drupal")' check in the user module; I *think* it is incomplete and therefore incorrect. - Stefan, try using quotes in your translations and check whether everything still works. Example: translate the "Create account" button to "Create \"haha\" account \'hihi\'" and see if you can still create new accounts. Maybe automate this using a quick hack in the locale module ...
Diffstat (limited to 'scripts')
-rw-r--r--scripts/code-clean.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/code-clean.sh b/scripts/code-clean.sh
index ea8a7c3f5..e5e4b9726 100644
--- a/scripts/code-clean.sh
+++ b/scripts/code-clean.sh
@@ -1,5 +1,7 @@
#!/bin/sh
find . -name "*~" -type f | xargs rm -f
+find . -name "*.rej" -type f | xargs rm -f
+find . -name "*.orig" -type f | xargs rm -f
find . -name "DEADJOE" -type f | xargs rm -f
find . -name "*" -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".tgz" | xargs perl -wi -pe 's/\s+$/\n/'
find . -name "*" -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".tgz" | xargs perl -wi -pe 's/\t/ /g'