anonymous group photoblog software
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
422 B

  1. #!/bin/sh
  2. # usage: sh translate.sh /path/to/wakaba
  3. echo "This script will replace config.py, config_defaults.py and strings_en.py"
  4. if [ ! -e $1/config.pl ]; then
  5. echo "Usage: $0 /path/to/wakaba/"
  6. exit 1
  7. fi
  8. ./config.sed $1/config.pl > config.py
  9. ./config_defaults.sed $1/config_defaults.pl > config_defaults.py
  10. ./strings.sed $1/strings_en.pl > strings_en.py
  11. ./board_config.sed $!/board_config.pl > board_config.py