Skip to content

Commit dafce79

Browse files
authored
Merge pull request #3842 from crazyserver/MOBILE-4362
Mobile 4362
2 parents 9ff408d + db9865c commit dafce79

File tree

8 files changed

+7
-511
lines changed

8 files changed

+7
-511
lines changed

scripts/create_langindex_functions.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
SERVER_URL='https://packaging.moodle.org/'
77

8+
LANGPACKS_PATH='/tmp/moodle-lang'
9+
810
# Downloads a file and if it's a zip file, unzip it.
911
function download_file {
1012
local url=$1

scripts/get_all_ws_structures.php

Lines changed: 0 additions & 48 deletions
This file was deleted.

scripts/get_ws_changes.php

Lines changed: 0 additions & 105 deletions
This file was deleted.

scripts/get_ws_structure.php

Lines changed: 0 additions & 63 deletions
This file was deleted.

scripts/lang_functions.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
LANG_PATH='../src/assets/lang'
77
SUFFIX='' # Determines suffix of the langpacks to be merged. Ie, using wp will include en.json and en_wp.json
88
# (and the later will override the earlier).
9-
LANGPACKS_PATH='/tmp/moodleapp-lang'
109

1110
# Get the version of the Moodle App to fetch latest languages.
1211
function get_app_version {

scripts/update_lang_functions.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ APPMODULENAME='local_moodlemobileapp'
88
TOTAL_STRINGS=0
99
LANGINDEX_STRINGS=0
1010

11+
LANGPACKS_PATH='/tmp/moodleapp-lang'
12+
1113
function progressbar {
1214
let _progress=(${1}*100/100*100)/100
1315
let _done=(${_progress}*4)/10

0 commit comments

Comments
 (0)