Wesnoth localization tools
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.

variables 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #!/bin/bash
  2. # You would probably need to make some adjustments to variables.
  3. # Copyright (C) 2008 Andrius Štikonas <stikonas@gmail.com>
  4. #
  5. # This program is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation, either version 3 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. # Repositories
  18. REPO="~/repositories/wesnoth" # preferably local clone but remote should work as well
  19. BRANCHES="master" # one or multiple branches separated by space.
  20. # Options
  21. LCODE="lt" # Language code. Only 1 language is supported.
  22. # Paths
  23. MDIR="mo"
  24. # Binaries. Don't forget to install them before usign these scripts.
  25. GIT=$(which git 2> /dev/null)
  26. MSGFMT=$(which msgfmt 2> /dev/null)
  27. MSGMERGE=$(which msgmerge 2> /dev/null)
  28. MSGINIT=$(which msginit 2> /dev/null)
  29. ISUTF8=$(which isutf8 2> /dev/null)
  30. TAR=$(which tar 2> /dev/null)
  31. BZIP=$(which bzip2 2> /dev/null)
  32. DIFF=$(which diff 2> /dev/null)
  33. # Colors
  34. RED="\033[1;31m"
  35. GREEN="\033[1;32m"
  36. BLUE="\033[1;34m"
  37. ENDCOLOR="\033[0m"