Prepare for translations

This commit is contained in:
Bob Mottram 2015-11-27 11:42:16 +00:00
parent bf2f9ca063
commit 6fc3017853
38 changed files with 193 additions and 8 deletions

View File

@ -30,6 +30,11 @@
NO_OF_ARGS=$# NO_OF_ARGS=$#
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
# Web site # Web site
FREEDOMBONE_WEBSITE="http://freedombone.uk.to" FREEDOMBONE_WEBSITE="http://freedombone.uk.to"

View File

@ -28,6 +28,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
HOSTNAME= HOSTNAME=
LETSENCRYPT_HOSTNAME= LETSENCRYPT_HOSTNAME=
COUNTRY_CODE="US" COUNTRY_CODE="US"
@ -177,7 +182,7 @@ if [ $LETSENCRYPT_HOSTNAME ]; then
fi fi
sed -i "s|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.bundle.crt|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.pem|g" /etc/nginx/sites-available/$LETSENCRYPT_HOSTNAME sed -i "s|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.bundle.crt|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.pem|g" /etc/nginx/sites-available/$LETSENCRYPT_HOSTNAME
sed -i "s|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.crt|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.pem|g" /etc/nginx/sites-available/$LETSENCRYPT_HOSTNAME sed -i "s|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.crt|ssl_certificate /etc/ssl/certs/${LETSENCRYPT_HOSTNAME}.pem|g" /etc/nginx/sites-available/$LETSENCRYPT_HOSTNAME
# link the private key # link the private key
if [ -f /etc/ssl/private/${LETSENCRYPT_HOSTNAME}.key ]; then if [ -f /etc/ssl/private/${LETSENCRYPT_HOSTNAME}.key ]; then
if [ ! -f /etc/ssl/private/${LETSENCRYPT_HOSTNAME}.key.old ]; then if [ ! -f /etc/ssl/private/${LETSENCRYPT_HOSTNAME}.key.old ]; then

View File

@ -29,6 +29,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
MYUSERNAME=$USER MYUSERNAME=$USER
EMAILADDRESS= EMAILADDRESS=
GROUP_NAME= GROUP_NAME=

View File

@ -29,6 +29,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
MYUSERNAME=$USER MYUSERNAME=$USER
MAILINGLIST= MAILINGLIST=
SUBJECTTAG= SUBJECTTAG=

View File

@ -29,6 +29,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
MY_USERNAME= MY_USERNAME=
EXTENSION= EXTENSION=
PASSWORD= PASSWORD=
@ -71,11 +76,11 @@ function update_sip_user {
fi fi
if [[ "$line" == *"<secret>"* ]]; then if [[ "$line" == *"<secret>"* ]]; then
line="<secret>$PASSWORD</secret>" line="<secret>$PASSWORD</secret>"
fi fi
if [[ "$line" == *"<display>"* ]]; then if [[ "$line" == *"<display>"* ]]; then
line="<display>$MY_USERNAME $EXTENSION</display>" line="<display>$MY_USERNAME $EXTENSION</display>"
USER_FOUND= USER_FOUND=
fi fi
fi fi
echo $line >> $NEW_CONFIG_FILE echo $line >> $NEW_CONFIG_FILE
done < $CONFIG_FILE done < $CONFIG_FILE

View File

@ -29,6 +29,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
MY_USERNAME=$1 MY_USERNAME=$1
SSH_PUBLIC_KEY="$2" SSH_PUBLIC_KEY="$2"
GPG_KEYSERVER='hkp://keys.gnupg.net' GPG_KEYSERVER='hkp://keys.gnupg.net'

View File

@ -29,6 +29,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
EMAIL_ADDRESS= EMAIL_ADDRESS=
NEW_USER_PASSWORD= NEW_USER_PASSWORD=
@ -77,7 +82,7 @@ if [ ! $NEW_USER_PASSWORD ]; then
else else
USERNAME=$(echo $EMAIL_ADDRESS | awk -F '@' '{print $1}') USERNAME=$(echo $EMAIL_ADDRESS | awk -F '@' '{print $1}')
DOMAIN_NAME=$(echo $EMAIL_ADDRESS | awk -F '@' '{print $2}') DOMAIN_NAME=$(echo $EMAIL_ADDRESS | awk -F '@' '{print $2}')
prosodyctl register $USERNAME $DOMAIN_NAME "$NEW_USER_PASSWORD" prosodyctl register $USERNAME $DOMAIN_NAME "$NEW_USER_PASSWORD"
if [ ! "$?" = "0" ]; then if [ ! "$?" = "0" ]; then
exit 2 exit 2
fi fi

View File

@ -26,6 +26,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
CURR_USER=$USER CURR_USER=$USER
# Version number of this script # Version number of this script

View File

@ -32,6 +32,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
USERNAME= USERNAME=
COUNTRY_CODE="US" COUNTRY_CODE="US"
AREA="Free Speech Zone" AREA="Free Speech Zone"

View File

@ -31,6 +31,11 @@
NO_OF_ARGS=$# NO_OF_ARGS=$#
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
# Web site # Web site
FREEDOMBONE_WEBSITE="http://freedombone.uk.to" FREEDOMBONE_WEBSITE="http://freedombone.uk.to"

View File

@ -28,6 +28,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
COMPLETION_FILE=$HOME/freedombone-completed.txt COMPLETION_FILE=$HOME/freedombone-completed.txt
SELECTED_USERNAME= SELECTED_USERNAME=
SIP_CONFIG_FILE=/etc/sipwitch.conf SIP_CONFIG_FILE=/etc/sipwitch.conf

View File

@ -29,6 +29,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
# Default username for disk images # Default username for disk images
DEFAULT_IMAGE_USERNAME='freedom' DEFAULT_IMAGE_USERNAME='freedom'

View File

@ -28,6 +28,10 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
if [ ! $1 ]; then if [ ! $1 ]; then
echo 'Specify a drive, such as sdb, sdc, etc' echo 'Specify a drive, such as sdb, sdc, etc'

View File

@ -30,6 +30,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
MYUSERNAME=$USER MYUSERNAME=$USER
EMAIL_ADDRESS= EMAIL_ADDRESS=
SUBJECT_TEXT= SUBJECT_TEXT=

View File

@ -29,6 +29,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone' PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
IMAGE_TYPE='beaglebone' IMAGE_TYPE='beaglebone'
CURR_DIR=$(pwd) CURR_DIR=$(pwd)
CURR_USER=$(echo $USER) CURR_USER=$(echo $USER)

View File

@ -31,6 +31,9 @@ set -x
PROJECT_NAME='freedombone' PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
MY_USERNAME='debian' MY_USERNAME='debian'
MY_PASSWORD='freedombone' MY_PASSWORD='freedombone'

View File

@ -26,6 +26,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
enable_serial_console() { enable_serial_console() {
# By default, spawn a console on the serial port # By default, spawn a console on the serial port
device="$1" device="$1"

View File

@ -29,6 +29,11 @@
set -e # Exit on first error set -e # Exit on first error
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
#set -x # Enable debugging #set -x # Enable debugging
IMAGE=$1 IMAGE=$1

View File

@ -26,6 +26,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
mkdir -p vendor mkdir -p vendor
if [ -d vendor/vmdebootstrap ] ; then if [ -d vendor/vmdebootstrap ] ; then
(cd vendor/vmdebootstrap; git checkout .; git pull) (cd vendor/vmdebootstrap; git checkout .; git pull)

View File

@ -28,6 +28,10 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
USB_DRIVE=/dev/sdb1 USB_DRIVE=/dev/sdb1
USB_MOUNT=/mnt/usb USB_MOUNT=/mnt/usb

View File

@ -28,6 +28,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
WEBSERVER_LOG_LEVEL='warn' WEBSERVER_LOG_LEVEL='warn'
if [ ! "$1" ]; then if [ ! "$1" ]; then

View File

@ -28,6 +28,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
MUMBLE_PATH=/usr/bin/mumble MUMBLE_PATH=/usr/bin/mumble
TOXIC_PATH=/usr/bin/toxic TOXIC_PATH=/usr/bin/toxic
DHTNODES=/usr/share/toxic/DHTnodes DHTNODES=/usr/share/toxic/DHTnodes

View File

@ -1,5 +1,10 @@
#!/bin/bash #!/bin/bash
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
# client or server installations sounds odd for a mesh, but this # client or server installations sounds odd for a mesh, but this
# indicates whether this is a dedicated mesh peer ("yes") or # indicates whether this is a dedicated mesh peer ("yes") or
# a 'client' such as a laptop or desktop machine with # a 'client' such as a laptop or desktop machine with

View File

@ -32,6 +32,11 @@
# The number of arguments # The number of arguments
NO_OF_ARGS=$# NO_OF_ARGS=$#
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
# Version number of this script # Version number of this script
VERSION="1.01" VERSION="1.01"

View File

@ -28,6 +28,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
FRIENDS_SERVERS_LIST= FRIENDS_SERVERS_LIST=
MY_USERNAME= MY_USERNAME=
GPG_USB_DRIVE='sdb1' GPG_USB_DRIVE='sdb1'

View File

@ -30,6 +30,11 @@
NO_OF_ARGS=$# NO_OF_ARGS=$#
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
# User to create the list for # User to create the list for
MY_USERNAME=$USER MY_USERNAME=$USER

View File

@ -28,6 +28,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
HOSTNAME= HOSTNAME=
PROVIDER='startssl' PROVIDER='startssl'
DH_KEYLENGTH=2048 DH_KEYLENGTH=2048

View File

@ -29,6 +29,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
MYUSERNAME=$USER MYUSERNAME=$USER
function show_help { function show_help {

View File

@ -29,6 +29,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
MYUSERNAME=$USER MYUSERNAME=$USER
MAILINGLIST= MAILINGLIST=
LIST_ADDRESS= LIST_ADDRESS=

View File

@ -29,6 +29,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
MY_USERNAME=$1 MY_USERNAME=$1
CONFIG_FILE=/etc/sipwitch.conf CONFIG_FILE=/etc/sipwitch.conf
USER_EXISTS="no" USER_EXISTS="no"

View File

@ -1,5 +1,10 @@
#!/bin/bash #!/bin/bash
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
MY_USERNAME=$1 MY_USERNAME=$1
COMPLETION_FILE=$HOME/freedombone-completed.txt COMPLETION_FILE=$HOME/freedombone-completed.txt

View File

@ -29,6 +29,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
EMAIL_ADDRESS= EMAIL_ADDRESS=
function show_help { function show_help {

View File

@ -28,6 +28,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
SSL_PROTOCOLS= SSL_PROTOCOLS=
SSL_CIPHERS= SSL_CIPHERS=
SSH_CIPHERS= SSH_CIPHERS=
@ -404,11 +409,11 @@ function renew_startssl {
--msgbox "An existing certificate for $renew_domain was not found" 6 40 --msgbox "An existing certificate for $renew_domain was not found" 6 40
return return
fi fi
if [[ $renew_domain != *"."* ]]; then if [[ $renew_domain != *"."* ]]; then
dialog --title "Renew a StartSSL certificate" \ dialog --title "Renew a StartSSL certificate" \
--msgbox "Invalid domain name: $renew_domain" 6 40 --msgbox "Invalid domain name: $renew_domain" 6 40
return return
fi fi
freedombone-renew-cert -h $renew_domain -p startssl freedombone-renew-cert -h $renew_domain -p startssl
@ -445,11 +450,11 @@ function renew_letsencrypt {
--msgbox "An existing certificate for $renew_domain was not found" 6 40 --msgbox "An existing certificate for $renew_domain was not found" 6 40
return return
fi fi
if [[ $renew_domain != *"."* ]]; then if [[ $renew_domain != *"."* ]]; then
dialog --title "Renew a Let's Encrypt certificate" \ dialog --title "Renew a Let's Encrypt certificate" \
--msgbox "Invalid domain name: $renew_domain" 6 40 --msgbox "Invalid domain name: $renew_domain" 6 40
return return
fi fi
freedombone-renew-cert -h $renew_domain -p 'letsencrypt' freedombone-renew-cert -h $renew_domain -p 'letsencrypt'

View File

@ -29,6 +29,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
CONFIG_FILE=/etc/sipwitch.conf CONFIG_FILE=/etc/sipwitch.conf
maxnum=201 maxnum=201

View File

@ -34,6 +34,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
KEY_FRAGMENTS=3 KEY_FRAGMENTS=3
MY_USERNAME= MY_USERNAME=
MY_EMAIL_ADDRESS= MY_EMAIL_ADDRESS=

View File

@ -30,6 +30,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
MYUSERNAME=$USER MYUSERNAME=$USER
EMAIL_ADDRESS= EMAIL_ADDRESS=
SUBJECT_TEXT= SUBJECT_TEXT=

View File

@ -29,6 +29,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
EMAIL_ADDRESS= EMAIL_ADDRESS=
function show_help { function show_help {

View File

@ -31,6 +31,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
PROJECT_NAME='freedombone'
export TEXTDOMAIN=$PROJECT_NAME
export TEXTDOMAINDIR="/usr/share/locale"
WEB_PAGE_TITLE="Freedombone Mesh" WEB_PAGE_TITLE="Freedombone Mesh"
TRACKER_PORT=6969 TRACKER_PORT=6969
ZERONET_INSTALL=/opt/zeronet ZERONET_INSTALL=/opt/zeronet