diff --git a/README.md b/README.md index 5d02524..8294853 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ You are able to change a few default behaviours in the getBible API builder push changes to github (only if there are changes) - must be able to push (ssh authentication needed) - example: ${0##*/:-} --push + example: ./run.sh --push ====================================================== --target-folder= set folder where we place the XML static files @@ -128,10 +128,6 @@ You will need to setup a list of secrets in your fork of the XML_STREAM. - XML_STREAM_GPG_KEY > The name of the myprivatekeys.asc user - XML_STREAM_GPG_USER -> A repository where you want to place the XML static files -> like: `git@github.com:llewellynvdm/Joomla-XML-Lang-stream.git` -> the github user must have push/pull access to this repo -- XML_STREAM_REPO > A id_ed25519 ssh private key liked to the github user account - XML_STREAM_SSH_KEY > A id_ed25519.pub ssh public key liked to the github user account diff --git a/conf/config.tmp b/conf/config.tmp index 564808f..979e200 100644 --- a/conf/config.tmp +++ b/conf/config.tmp @@ -25,5 +25,5 @@ xml.stream.repo.push=0 # xml stream target folder where we place the XML static files xml.stream.target.folder=/home/username/XML-stream/src/ -# kill all whiptail messages 0->normal; 1->none +# kill all messages 0->normal; 1->none xml.stream.build.quiet=0 diff --git a/conf/mapper.tmp b/conf/mapper.tmp index 7645357..2196c71 100644 --- a/conf/mapper.tmp +++ b/conf/mapper.tmp @@ -9,4 +9,4 @@ 15 translationlist_1_5 details1_5 25 translationlist details 30 translationlist_3 details3 -40 translationlist_4 details4 \ No newline at end of file +40 translationlist_4 details4 diff --git a/run.sh b/run.sh index 4c239b7..c827dd3 100755 --- a/run.sh +++ b/run.sh @@ -35,13 +35,13 @@ function main() { # get the main translation file of this version showMessage "Downloading: ${URL_MAIN_LANG}\nStoring@: ${PATH_MAIN_FILE}" # do the work now - wget -q "${URL_MAIN_LANG}" --output-document="${PATH_FILE}" + wget -q "${URL_MAIN_LANG}" --output-document="${PATH_MAIN_FILE}" # now get each translation pack while readXML; do # get the language tag LANG=$(getElement) # act only if we have valid tag - if [ ! -z "${LANG}" ]; then + if [ -n "${LANG}" ]; then # set the url URL_LANG="${STREAM_ENDPOINT}&${URL_VERSION_KEY}=${row[0]}&${URL_LANGUAGE_KEY}=${LANG}" # set the path @@ -111,6 +111,8 @@ function getElement () { if [[ $TAG_NAME = "extension" ]] ; then eval local $ATTRIBUTES echo "$element" + else + echo '' fi } diff --git a/src/details1_5/uk-UA_details.xml b/src/details1_5/uk-UA_details.xml index 7a87943..66f4aa4 100644 --- a/src/details1_5/uk-UA_details.xml +++ b/src/details1_5/uk-UA_details.xml @@ -1,4 +1,14 @@ - - - \ No newline at end of file + + + Joomla! 1.5 - Ukrainian + <p>This is the Ukrainian Language Pack for Joomla! 1.5.17</p> + pkg_uk-UA + package + 1.5.17.1 + + https://downloads.joomla.org/language-packs/translations-joomla15/downloads/joomla15-ukrainian/1-5-17-1/uk-ua_joomla_lang_full_1-5-17v1-zip?format=zip + + + + \ No newline at end of file