wesnoth-l10n-tools/variables

43 lines
1.4 KiB
Bash

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