Skip to content

Commit

Permalink
Remove l20n from setup and other parts
Browse files Browse the repository at this point in the history
We have already removed them from glossaire.sh
  • Loading branch information
flodolo committed Feb 23, 2016
1 parent d2f3d87 commit f190976
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 24 deletions.
5 changes: 0 additions & 5 deletions app/scripts/bash_variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,3 @@ folders+=( $mozilla_org )
# Firefox for iOS (XLIFF)
firefox_ios=$local_git/firefox_ios/
folders+=( $firefox_ios )

# l20n test repo
l20n_test=$local_git/L20N_TEST
l20n_test_locales=${path_sources}/l20n_test.txt
folders+=( $l20n_test )
18 changes: 0 additions & 18 deletions app/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -319,24 +319,6 @@ then
git clone https://github.com/mozilla-l10n/firefoxios-l10n .
fi

# We now deal with L20n test repo as a specific case
echogreen "L20n test repo initialization"
cd $l20n_test
if [ ! -d $l20n_test/l20ntestdata/.git ]
then
echogreen "Checking out the following repo:"
git clone https://github.com/pascalchevrel/l20ntestdata.git
fi

for locale in $(cat $l20n_test_locales)
do
if [ ! -d $root/TMX/$locale ]
then
echogreen "Creating locale cache for: $locale"
mkdir -p $root/TMX/$locale
fi
done

# Add .htaccess to download folder. Folder should already exists, but check in
# advance to be sure. I overwrite an existing .htaccess if already present.
echogreen "Add .htaccess to download folder"
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/tmx_products.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def get_strings(package, local_directory, strings_array):

def create_directories_list(locale_repo, reference_repo, repository):
''' Create a list of folders to analyze '''
if repository.startswith('gaia') or repository == 'l20n_test':
if repository.startswith('gaia'):
# Examine the entire folder
dirs = ['']
else:
Expand Down

0 comments on commit f190976

Please sign in to comment.