This repository was archived by the owner on Mar 4, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- # ## read $bcl_translation_lng
3
+ # ## read $translation_lng
4
4
echo "
5
5
===> Translation language of B-Translator Client
6
6
7
7
This is the code of the translation language
8
8
of your client site (something like 'fr' or 'fr_FR').
9
9
"
10
- if [ -z " ${bcl_translation_lng +xxx} " -o " $bcl_translation_lng " = ' ' ]
10
+ if [ -z " ${translation_lng +xxx} " -o " $translation_lng " = ' ' ]
11
11
then
12
- bcl_translation_lng =' fr'
13
- read -p " Enter the language code [$bcl_translation_lng ]: " input
14
- bcl_translation_lng =${input:- $bcl_translation_lng }
12
+ translation_lng =' fr'
13
+ read -p " Enter the language code [$translation_lng ]: " input
14
+ translation_lng =${input:- $translation_lng }
15
15
fi
16
16
17
17
# ## set drupal variable btrClient_translation_lng
18
18
$( dirname $0 ) /mysqld.sh start
19
- drush @bcl --yes --exact vset btrClient_translation_lng $bcl_translation_lng
19
+ drush @bcl --yes --exact vset btrClient_translation_lng $translation_lng
20
20
21
- # ## add $bcl_translation_lng as a drupal language
22
- drush @bcl language-add $bcl_translation_lng
21
+ # ## add $translation_lng as a drupal language
22
+ drush @bcl language-add $translation_lng
23
23
drush @bcl --yes l10n-update
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ mkdir -p $drupal_dir/sites/all/translations
127
127
chown -R www-data: $drupal_dir /sites/all/translations
128
128
129
129
# ## set drupal variable btrClient_translation_lng
130
- $drush --yes --exact vset btrClient_translation_lng $bcl_translation_lng
130
+ $drush --yes --exact vset btrClient_translation_lng $translation_lng
131
131
132
132
# ## add $bcl_translation_lng as a drupal language
133
133
$drush language-add $bcl_translation_lng
Original file line number Diff line number Diff line change 21
21
gmail_passwd=
22
22
23
23
# ## Translation language of B-Translator Client.
24
- bcl_translation_lng =' fr'
24
+ translation_lng =' fr'
25
25
26
26
# ## Mysql passwords. Leave it as 'random'
27
27
# ## to generate a new one randomly
You can’t perform that action at this time.
0 commit comments