wesnoth-l10n-tools/variables

44 lines
1.5 KiB
Plaintext
Raw Normal View History

2008-09-18 13:36:37 +01:00
#!/bin/bash
# You would probably need to make some adjustments to variables.
# Copyright (C) 2008 Andrius Štikonas <stikonas@gmail.com>
2008-09-18 13:36:37 +01:00
#
# 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
2013-03-28 11:23:11 +00:00
REPO="~/repositories/wesnoth" # preferably local clone but remote should work as well
LOCAL_REPO="git" # should be bare repository
2021-01-01 20:58:47 +00:00
BRANCHES="1.14 master" # one or multiple branches separated by space.
2008-09-18 14:06:21 +01:00
# Options
2008-09-18 21:36:42 +01:00
LCODE="lt" # Language code. Only 1 language is supported.
2008-09-18 13:36:37 +01:00
2013-03-28 11:23:11 +00:00
# Paths
2008-09-18 13:36:37 +01:00
MDIR="mo"
2013-03-28 11:23:11 +00:00
# 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)
2008-11-10 13:31:49 +00:00
2013-03-28 11:23:11 +00:00
# Colors
2009-02-09 21:29:21 +00:00
RED="\033[1;31m"
2008-11-10 13:31:49 +00:00
GREEN="\033[1;32m"
BLUE="\033[1;34m"
2013-03-28 11:23:11 +00:00
ENDCOLOR="\033[0m"