Bladeren bron

Prepare for translations

Bob Mottram 9 jaren geleden
bovenliggende
commit
6fc3017853

+ 5
- 0
src/freedombone Bestand weergeven

30
 
30
 
31
 NO_OF_ARGS=$#
31
 NO_OF_ARGS=$#
32
 
32
 
33
+PROJECT_NAME='freedombone'
34
+
35
+export TEXTDOMAIN=$PROJECT_NAME
36
+export TEXTDOMAINDIR="/usr/share/locale"
37
+
33
 # Web site
38
 # Web site
34
 FREEDOMBONE_WEBSITE="http://freedombone.uk.to"
39
 FREEDOMBONE_WEBSITE="http://freedombone.uk.to"
35
 
40
 

+ 6
- 1
src/freedombone-addcert Bestand weergeven

28
 # You should have received a copy of the GNU General Public License
28
 # You should have received a copy of the GNU General Public License
29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 
30
 
31
+PROJECT_NAME='freedombone'
32
+
33
+export TEXTDOMAIN=$PROJECT_NAME
34
+export TEXTDOMAINDIR="/usr/share/locale"
35
+
31
 HOSTNAME=
36
 HOSTNAME=
32
 LETSENCRYPT_HOSTNAME=
37
 LETSENCRYPT_HOSTNAME=
33
 COUNTRY_CODE="US"
38
 COUNTRY_CODE="US"
177
 	fi
182
 	fi
178
 	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
183
 	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
179
 	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
184
 	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
180
-  
185
+
181
 	# link the private key
186
 	# link the private key
182
 	if [ -f /etc/ssl/private/${LETSENCRYPT_HOSTNAME}.key ]; then
187
 	if [ -f /etc/ssl/private/${LETSENCRYPT_HOSTNAME}.key ]; then
183
 		if [ ! -f /etc/ssl/private/${LETSENCRYPT_HOSTNAME}.key.old ]; then
188
 		if [ ! -f /etc/ssl/private/${LETSENCRYPT_HOSTNAME}.key.old ]; then

+ 5
- 0
src/freedombone-addemail Bestand weergeven

29
 # You should have received a copy of the GNU General Public License
29
 # You should have received a copy of the GNU General Public License
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 
31
 
32
+PROJECT_NAME='freedombone'
33
+
34
+export TEXTDOMAIN=$PROJECT_NAME
35
+export TEXTDOMAINDIR="/usr/share/locale"
36
+
32
 MYUSERNAME=$USER
37
 MYUSERNAME=$USER
33
 EMAILADDRESS=
38
 EMAILADDRESS=
34
 GROUP_NAME=
39
 GROUP_NAME=

+ 5
- 0
src/freedombone-addlist Bestand weergeven

29
 # You should have received a copy of the GNU General Public License
29
 # You should have received a copy of the GNU General Public License
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 
31
 
32
+PROJECT_NAME='freedombone'
33
+
34
+export TEXTDOMAIN=$PROJECT_NAME
35
+export TEXTDOMAINDIR="/usr/share/locale"
36
+
32
 MYUSERNAME=$USER
37
 MYUSERNAME=$USER
33
 MAILINGLIST=
38
 MAILINGLIST=
34
 SUBJECTTAG=
39
 SUBJECTTAG=

+ 7
- 2
src/freedombone-addsipuser Bestand weergeven

29
 # You should have received a copy of the GNU General Public License
29
 # You should have received a copy of the GNU General Public License
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 
31
 
32
+PROJECT_NAME='freedombone'
33
+
34
+export TEXTDOMAIN=$PROJECT_NAME
35
+export TEXTDOMAINDIR="/usr/share/locale"
36
+
32
 MY_USERNAME=
37
 MY_USERNAME=
33
 EXTENSION=
38
 EXTENSION=
34
 PASSWORD=
39
 PASSWORD=
71
             fi
76
             fi
72
             if [[ "$line" == *"<secret>"* ]]; then
77
             if [[ "$line" == *"<secret>"* ]]; then
73
                 line="<secret>$PASSWORD</secret>"
78
                 line="<secret>$PASSWORD</secret>"
74
-            fi              
79
+            fi
75
             if [[ "$line" == *"<display>"* ]]; then
80
             if [[ "$line" == *"<display>"* ]]; then
76
                 line="<display>$MY_USERNAME $EXTENSION</display>"
81
                 line="<display>$MY_USERNAME $EXTENSION</display>"
77
                 USER_FOUND=
82
                 USER_FOUND=
78
-            fi              
83
+            fi
79
         fi
84
         fi
80
         echo $line >> $NEW_CONFIG_FILE
85
         echo $line >> $NEW_CONFIG_FILE
81
     done < $CONFIG_FILE
86
     done < $CONFIG_FILE

+ 5
- 0
src/freedombone-adduser Bestand weergeven

29
 # You should have received a copy of the GNU General Public License
29
 # You should have received a copy of the GNU General Public License
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 
31
 
32
+PROJECT_NAME='freedombone'
33
+
34
+export TEXTDOMAIN=$PROJECT_NAME
35
+export TEXTDOMAINDIR="/usr/share/locale"
36
+
32
 MY_USERNAME=$1
37
 MY_USERNAME=$1
33
 SSH_PUBLIC_KEY="$2"
38
 SSH_PUBLIC_KEY="$2"
34
 GPG_KEYSERVER='hkp://keys.gnupg.net'
39
 GPG_KEYSERVER='hkp://keys.gnupg.net'

+ 6
- 1
src/freedombone-addxmpp Bestand weergeven

29
 # You should have received a copy of the GNU General Public License
29
 # You should have received a copy of the GNU General Public License
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 
31
 
32
+PROJECT_NAME='freedombone'
33
+
34
+export TEXTDOMAIN=$PROJECT_NAME
35
+export TEXTDOMAINDIR="/usr/share/locale"
36
+
32
 EMAIL_ADDRESS=
37
 EMAIL_ADDRESS=
33
 NEW_USER_PASSWORD=
38
 NEW_USER_PASSWORD=
34
 
39
 
77
 else
82
 else
78
     USERNAME=$(echo $EMAIL_ADDRESS | awk -F '@' '{print $1}')
83
     USERNAME=$(echo $EMAIL_ADDRESS | awk -F '@' '{print $1}')
79
     DOMAIN_NAME=$(echo $EMAIL_ADDRESS | awk -F '@' '{print $2}')
84
     DOMAIN_NAME=$(echo $EMAIL_ADDRESS | awk -F '@' '{print $2}')
80
-    prosodyctl register $USERNAME $DOMAIN_NAME "$NEW_USER_PASSWORD" 
85
+    prosodyctl register $USERNAME $DOMAIN_NAME "$NEW_USER_PASSWORD"
81
     if [ ! "$?" = "0" ]; then
86
     if [ ! "$?" = "0" ]; then
82
         exit 2
87
         exit 2
83
     fi
88
     fi

+ 5
- 0
src/freedombone-client Bestand weergeven

26
 # You should have received a copy of the GNU General Public License
26
 # You should have received a copy of the GNU General Public License
27
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
27
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
28
 
28
 
29
+PROJECT_NAME='freedombone'
30
+
31
+export TEXTDOMAIN=$PROJECT_NAME
32
+export TEXTDOMAINDIR="/usr/share/locale"
33
+
29
 CURR_USER=$USER
34
 CURR_USER=$USER
30
 
35
 
31
 # Version number of this script
36
 # Version number of this script

+ 5
- 0
src/freedombone-clientcert Bestand weergeven

32
 # You should have received a copy of the GNU General Public License
32
 # You should have received a copy of the GNU General Public License
33
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
33
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
34
 
34
 
35
+PROJECT_NAME='freedombone'
36
+
37
+export TEXTDOMAIN=$PROJECT_NAME
38
+export TEXTDOMAINDIR="/usr/share/locale"
39
+
35
 USERNAME=
40
 USERNAME=
36
 COUNTRY_CODE="US"
41
 COUNTRY_CODE="US"
37
 AREA="Free Speech Zone"
42
 AREA="Free Speech Zone"

+ 5
- 0
src/freedombone-config Bestand weergeven

31
 
31
 
32
 NO_OF_ARGS=$#
32
 NO_OF_ARGS=$#
33
 
33
 
34
+PROJECT_NAME='freedombone'
35
+
36
+export TEXTDOMAIN=$PROJECT_NAME
37
+export TEXTDOMAINDIR="/usr/share/locale"
38
+
34
 # Web site
39
 # Web site
35
 FREEDOMBONE_WEBSITE="http://freedombone.uk.to"
40
 FREEDOMBONE_WEBSITE="http://freedombone.uk.to"
36
 
41
 

+ 5
- 0
src/freedombone-controlpanel Bestand weergeven

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

+ 5
- 0
src/freedombone-deploy Bestand weergeven

29
 # You should have received a copy of the GNU General Public License
29
 # You should have received a copy of the GNU General Public License
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 
31
 
32
+PROJECT_NAME='freedombone'
33
+
34
+export TEXTDOMAIN=$PROJECT_NAME
35
+export TEXTDOMAINDIR="/usr/share/locale"
36
+
32
 # Default username for disk images
37
 # Default username for disk images
33
 DEFAULT_IMAGE_USERNAME='freedom'
38
 DEFAULT_IMAGE_USERNAME='freedom'
34
 
39
 

+ 4
- 0
src/freedombone-format Bestand weergeven

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

+ 5
- 0
src/freedombone-ignore Bestand weergeven

30
 # You should have received a copy of the GNU General Public License
30
 # You should have received a copy of the GNU General Public License
31
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
32
 
32
 
33
+PROJECT_NAME='freedombone'
34
+
35
+export TEXTDOMAIN=$PROJECT_NAME
36
+export TEXTDOMAINDIR="/usr/share/locale"
37
+
33
 MYUSERNAME=$USER
38
 MYUSERNAME=$USER
34
 EMAIL_ADDRESS=
39
 EMAIL_ADDRESS=
35
 SUBJECT_TEXT=
40
 SUBJECT_TEXT=

+ 4
- 0
src/freedombone-image Bestand weergeven

29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 
30
 
31
 PROJECT_NAME='freedombone'
31
 PROJECT_NAME='freedombone'
32
+
33
+export TEXTDOMAIN=$PROJECT_NAME
34
+export TEXTDOMAINDIR="/usr/share/locale"
35
+
32
 IMAGE_TYPE='beaglebone'
36
 IMAGE_TYPE='beaglebone'
33
 CURR_DIR=$(pwd)
37
 CURR_DIR=$(pwd)
34
 CURR_USER=$(echo $USER)
38
 CURR_USER=$(echo $USER)

+ 3
- 0
src/freedombone-image-customise Bestand weergeven

31
 
31
 
32
 PROJECT_NAME='freedombone'
32
 PROJECT_NAME='freedombone'
33
 
33
 
34
+export TEXTDOMAIN=$PROJECT_NAME
35
+export TEXTDOMAINDIR="/usr/share/locale"
36
+
34
 MY_USERNAME='debian'
37
 MY_USERNAME='debian'
35
 MY_PASSWORD='freedombone'
38
 MY_PASSWORD='freedombone'
36
 
39
 

+ 5
- 0
src/freedombone-image-hardware-setup Bestand weergeven

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

+ 5
- 0
src/freedombone-image-make Bestand weergeven

29
 
29
 
30
 set -e # Exit on first error
30
 set -e # Exit on first error
31
 
31
 
32
+PROJECT_NAME='freedombone'
33
+
34
+export TEXTDOMAIN=$PROJECT_NAME
35
+export TEXTDOMAINDIR="/usr/share/locale"
36
+
32
 #set -x # Enable debugging
37
 #set -x # Enable debugging
33
 
38
 
34
 IMAGE=$1
39
 IMAGE=$1

+ 5
- 0
src/freedombone-image-vmdebootstrap Bestand weergeven

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

+ 4
- 0
src/freedombone-keydrive Bestand weergeven

28
 # You should have received a copy of the GNU General Public License
28
 # You should have received a copy of the GNU General Public License
29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 
30
 
31
+PROJECT_NAME='freedombone'
32
+
33
+export TEXTDOMAIN=$PROJECT_NAME
34
+export TEXTDOMAINDIR="/usr/share/locale"
31
 
35
 
32
 USB_DRIVE=/dev/sdb1
36
 USB_DRIVE=/dev/sdb1
33
 USB_MOUNT=/mnt/usb
37
 USB_MOUNT=/mnt/usb

+ 5
- 0
src/freedombone-logging Bestand weergeven

28
 # You should have received a copy of the GNU General Public License
28
 # You should have received a copy of the GNU General Public License
29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 
30
 
31
+PROJECT_NAME='freedombone'
32
+
33
+export TEXTDOMAIN=$PROJECT_NAME
34
+export TEXTDOMAINDIR="/usr/share/locale"
35
+
31
 WEBSERVER_LOG_LEVEL='warn'
36
 WEBSERVER_LOG_LEVEL='warn'
32
 
37
 
33
 if [ ! "$1" ]; then
38
 if [ ! "$1" ]; then

+ 5
- 0
src/freedombone-mesh Bestand weergeven

28
 # You should have received a copy of the GNU General Public License
28
 # You should have received a copy of the GNU General Public License
29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 
30
 
31
+PROJECT_NAME='freedombone'
32
+
33
+export TEXTDOMAIN=$PROJECT_NAME
34
+export TEXTDOMAINDIR="/usr/share/locale"
35
+
31
 MUMBLE_PATH=/usr/bin/mumble
36
 MUMBLE_PATH=/usr/bin/mumble
32
 TOXIC_PATH=/usr/bin/toxic
37
 TOXIC_PATH=/usr/bin/toxic
33
 DHTNODES=/usr/share/toxic/DHTnodes
38
 DHTNODES=/usr/share/toxic/DHTnodes

+ 5
- 0
src/freedombone-meshweb Bestand weergeven

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

+ 5
- 0
src/freedombone-prep Bestand weergeven

32
 # The number of arguments
32
 # The number of arguments
33
 NO_OF_ARGS=$#
33
 NO_OF_ARGS=$#
34
 
34
 
35
+PROJECT_NAME='freedombone'
36
+
37
+export TEXTDOMAIN=$PROJECT_NAME
38
+export TEXTDOMAINDIR="/usr/share/locale"
39
+
35
 # Version number of this script
40
 # Version number of this script
36
 VERSION="1.01"
41
 VERSION="1.01"
37
 
42
 

+ 5
- 0
src/freedombone-recoverkey Bestand weergeven

28
 # You should have received a copy of the GNU General Public License
28
 # You should have received a copy of the GNU General Public License
29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 
30
 
31
+PROJECT_NAME='freedombone'
32
+
33
+export TEXTDOMAIN=$PROJECT_NAME
34
+export TEXTDOMAINDIR="/usr/share/locale"
35
+
31
 FRIENDS_SERVERS_LIST=
36
 FRIENDS_SERVERS_LIST=
32
 MY_USERNAME=
37
 MY_USERNAME=
33
 GPG_USB_DRIVE='sdb1'
38
 GPG_USB_DRIVE='sdb1'

+ 5
- 0
src/freedombone-remote Bestand weergeven

30
 
30
 
31
 NO_OF_ARGS=$#
31
 NO_OF_ARGS=$#
32
 
32
 
33
+PROJECT_NAME='freedombone'
34
+
35
+export TEXTDOMAIN=$PROJECT_NAME
36
+export TEXTDOMAINDIR="/usr/share/locale"
37
+
33
 # User to create the list for
38
 # User to create the list for
34
 MY_USERNAME=$USER
39
 MY_USERNAME=$USER
35
 
40
 

+ 5
- 0
src/freedombone-renew-cert Bestand weergeven

28
 # You should have received a copy of the GNU General Public License
28
 # You should have received a copy of the GNU General Public License
29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 
30
 
31
+PROJECT_NAME='freedombone'
32
+
33
+export TEXTDOMAIN=$PROJECT_NAME
34
+export TEXTDOMAINDIR="/usr/share/locale"
35
+
31
 HOSTNAME=
36
 HOSTNAME=
32
 PROVIDER='startssl'
37
 PROVIDER='startssl'
33
 DH_KEYLENGTH=2048
38
 DH_KEYLENGTH=2048

+ 5
- 0
src/freedombone-rmemail Bestand weergeven

29
 # You should have received a copy of the GNU General Public License
29
 # You should have received a copy of the GNU General Public License
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 
31
 
32
+PROJECT_NAME='freedombone'
33
+
34
+export TEXTDOMAIN=$PROJECT_NAME
35
+export TEXTDOMAINDIR="/usr/share/locale"
36
+
32
 MYUSERNAME=$USER
37
 MYUSERNAME=$USER
33
 
38
 
34
 function show_help {
39
 function show_help {

+ 5
- 0
src/freedombone-rmlist Bestand weergeven

29
 # You should have received a copy of the GNU General Public License
29
 # You should have received a copy of the GNU General Public License
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 
31
 
32
+PROJECT_NAME='freedombone'
33
+
34
+export TEXTDOMAIN=$PROJECT_NAME
35
+export TEXTDOMAINDIR="/usr/share/locale"
36
+
32
 MYUSERNAME=$USER
37
 MYUSERNAME=$USER
33
 MAILINGLIST=
38
 MAILINGLIST=
34
 LIST_ADDRESS=
39
 LIST_ADDRESS=

+ 5
- 0
src/freedombone-rmsipuser Bestand weergeven

29
 # You should have received a copy of the GNU General Public License
29
 # You should have received a copy of the GNU General Public License
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 
31
 
32
+PROJECT_NAME='freedombone'
33
+
34
+export TEXTDOMAIN=$PROJECT_NAME
35
+export TEXTDOMAINDIR="/usr/share/locale"
36
+
32
 MY_USERNAME=$1
37
 MY_USERNAME=$1
33
 CONFIG_FILE=/etc/sipwitch.conf
38
 CONFIG_FILE=/etc/sipwitch.conf
34
 USER_EXISTS="no"
39
 USER_EXISTS="no"

+ 5
- 0
src/freedombone-rmuser Bestand weergeven

1
 #!/bin/bash
1
 #!/bin/bash
2
 
2
 
3
+PROJECT_NAME='freedombone'
4
+
5
+export TEXTDOMAIN=$PROJECT_NAME
6
+export TEXTDOMAINDIR="/usr/share/locale"
7
+
3
 MY_USERNAME=$1
8
 MY_USERNAME=$1
4
 COMPLETION_FILE=$HOME/freedombone-completed.txt
9
 COMPLETION_FILE=$HOME/freedombone-completed.txt
5
 
10
 

+ 5
- 0
src/freedombone-rmxmpp Bestand weergeven

29
 # You should have received a copy of the GNU General Public License
29
 # You should have received a copy of the GNU General Public License
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 
31
 
32
+PROJECT_NAME='freedombone'
33
+
34
+export TEXTDOMAIN=$PROJECT_NAME
35
+export TEXTDOMAINDIR="/usr/share/locale"
36
+
32
 EMAIL_ADDRESS=
37
 EMAIL_ADDRESS=
33
 
38
 
34
 function show_help {
39
 function show_help {

+ 9
- 4
src/freedombone-sec Bestand weergeven

28
 # You should have received a copy of the GNU General Public License
28
 # You should have received a copy of the GNU General Public License
29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 
30
 
31
+PROJECT_NAME='freedombone'
32
+
33
+export TEXTDOMAIN=$PROJECT_NAME
34
+export TEXTDOMAINDIR="/usr/share/locale"
35
+
31
 SSL_PROTOCOLS=
36
 SSL_PROTOCOLS=
32
 SSL_CIPHERS=
37
 SSL_CIPHERS=
33
 SSH_CIPHERS=
38
 SSH_CIPHERS=
404
              --msgbox "An existing certificate for $renew_domain was not found" 6 40
409
              --msgbox "An existing certificate for $renew_domain was not found" 6 40
405
 	  return
410
 	  return
406
   fi
411
   fi
407
-  
412
+
408
   if [[ $renew_domain != *"."* ]]; then
413
   if [[ $renew_domain != *"."* ]]; then
409
       dialog --title "Renew a StartSSL certificate" \
414
       dialog --title "Renew a StartSSL certificate" \
410
              --msgbox "Invalid domain name: $renew_domain" 6 40
415
              --msgbox "Invalid domain name: $renew_domain" 6 40
411
-	  return	  
416
+	  return
412
   fi
417
   fi
413
 
418
 
414
   freedombone-renew-cert -h $renew_domain -p startssl
419
   freedombone-renew-cert -h $renew_domain -p startssl
445
              --msgbox "An existing certificate for $renew_domain was not found" 6 40
450
              --msgbox "An existing certificate for $renew_domain was not found" 6 40
446
 	  return
451
 	  return
447
   fi
452
   fi
448
-  
453
+
449
   if [[ $renew_domain != *"."* ]]; then
454
   if [[ $renew_domain != *"."* ]]; then
450
       dialog --title "Renew a Let's Encrypt certificate" \
455
       dialog --title "Renew a Let's Encrypt certificate" \
451
              --msgbox "Invalid domain name: $renew_domain" 6 40
456
              --msgbox "Invalid domain name: $renew_domain" 6 40
452
-	  return	  
457
+	  return
453
   fi
458
   fi
454
 
459
 
455
   freedombone-renew-cert -h $renew_domain -p 'letsencrypt'
460
   freedombone-renew-cert -h $renew_domain -p 'letsencrypt'

+ 5
- 0
src/freedombone-sipfreeext Bestand weergeven

29
 # You should have received a copy of the GNU General Public License
29
 # You should have received a copy of the GNU General Public License
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 
31
 
32
+PROJECT_NAME='freedombone'
33
+
34
+export TEXTDOMAIN=$PROJECT_NAME
35
+export TEXTDOMAINDIR="/usr/share/locale"
36
+
32
 CONFIG_FILE=/etc/sipwitch.conf
37
 CONFIG_FILE=/etc/sipwitch.conf
33
 
38
 
34
 maxnum=201
39
 maxnum=201

+ 5
- 0
src/freedombone-splitkey Bestand weergeven

34
 # You should have received a copy of the GNU General Public License
34
 # You should have received a copy of the GNU General Public License
35
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
35
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
36
 
36
 
37
+PROJECT_NAME='freedombone'
38
+
39
+export TEXTDOMAIN=$PROJECT_NAME
40
+export TEXTDOMAINDIR="/usr/share/locale"
41
+
37
 KEY_FRAGMENTS=3
42
 KEY_FRAGMENTS=3
38
 MY_USERNAME=
43
 MY_USERNAME=
39
 MY_EMAIL_ADDRESS=
44
 MY_EMAIL_ADDRESS=

+ 5
- 0
src/freedombone-unignore Bestand weergeven

30
 # You should have received a copy of the GNU General Public License
30
 # You should have received a copy of the GNU General Public License
31
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
32
 
32
 
33
+PROJECT_NAME='freedombone'
34
+
35
+export TEXTDOMAIN=$PROJECT_NAME
36
+export TEXTDOMAINDIR="/usr/share/locale"
37
+
33
 MYUSERNAME=$USER
38
 MYUSERNAME=$USER
34
 EMAIL_ADDRESS=
39
 EMAIL_ADDRESS=
35
 SUBJECT_TEXT=
40
 SUBJECT_TEXT=

+ 5
- 0
src/freedombone-xmpp-pass Bestand weergeven

29
 # You should have received a copy of the GNU General Public License
29
 # You should have received a copy of the GNU General Public License
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 
31
 
32
+PROJECT_NAME='freedombone'
33
+
34
+export TEXTDOMAIN=$PROJECT_NAME
35
+export TEXTDOMAINDIR="/usr/share/locale"
36
+
32
 EMAIL_ADDRESS=
37
 EMAIL_ADDRESS=
33
 
38
 
34
 function show_help {
39
 function show_help {

+ 5
- 0
src/zeronetavahi Bestand weergeven

31
 # You should have received a copy of the GNU General Public License
31
 # You should have received a copy of the GNU General Public License
32
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
32
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
33
 
33
 
34
+PROJECT_NAME='freedombone'
35
+
36
+export TEXTDOMAIN=$PROJECT_NAME
37
+export TEXTDOMAINDIR="/usr/share/locale"
38
+
34
 WEB_PAGE_TITLE="Freedombone Mesh"
39
 WEB_PAGE_TITLE="Freedombone Mesh"
35
 TRACKER_PORT=6969
40
 TRACKER_PORT=6969
36
 ZERONET_INSTALL=/opt/zeronet
41
 ZERONET_INSTALL=/opt/zeronet