Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.9 KiB

  1. #!/bin/bash
  2. . tools/config.sh
  3. #https://github.com/mendhak/Crowdin-Android-Importer
  4. #git clone https://github.com/mendhak/Crowdin-Android-Importer.git
  5. #sudo apt-get install python python-pip
  6. #sudo apt-get install libssl-dev libcurl4-openssl-dev
  7. #pip install pycurl
  8. rm -R ${project_dir}/app/src/main/res/values-iw/
  9. rm -R ${project_dir}/app/src/main/res/values-ar-rBH/
  10. rm -R ${project_dir}/app/src/main/res/values-ar-rEG/
  11. rm -R ${project_dir}/app/src/main/res/values-ar-rSA/
  12. rm -R ${project_dir}/app/src/main/res/values-ar-rYE/
  13. rm -R ${project_dir}/app/src/main/res/values-fi*
  14. rm -R ${project_dir}/app/src/main/res/values-nb/
  15. python ${importer_dir}/crowdin.py --p=app/src/main -a=get -i open-source-email -k ${api_key}
  16. mkdir -p ${project_dir}/app/src/main/res/values-iw/
  17. mkdir -p ${project_dir}/app/src/main/res/values-ar-rBH/
  18. mkdir -p ${project_dir}/app/src/main/res/values-ar-rEG/
  19. mkdir -p ${project_dir}/app/src/main/res/values-ar-rSA/
  20. mkdir -p ${project_dir}/app/src/main/res/values-ar-rYE/
  21. mkdir -p ${project_dir}/app/src/main/res/values-nb/
  22. cp -R ${project_dir}/app/src/main/res/values-he/* ${project_dir}/app/src/main/res/values-iw/
  23. cp -R ${project_dir}/app/src/main/res/values-ar/* ${project_dir}/app/src/main/res/values-ar-rBH/
  24. cp -R ${project_dir}/app/src/main/res/values-ar/* ${project_dir}/app/src/main/res/values-ar-rEG/
  25. cp -R ${project_dir}/app/src/main/res/values-ar/* ${project_dir}/app/src/main/res/values-ar-rSA/
  26. cp -R ${project_dir}/app/src/main/res/values-ar/* ${project_dir}/app/src/main/res/values-ar-rYE/
  27. cp -R ${project_dir}/app/src/main/res/values-no/* ${project_dir}/app/src/main/res/values-nb/
  28. sed -i s/-2016/–2018/ ${project_dir}/app/src/main/res/values*/strings.xml
  29. sed -i s/–2016/–2018/ ${project_dir}/app/src/main/res/values*/strings.xml
  30. sed -i s/-2017/–2018/ ${project_dir}/app/src/main/res/values*/strings.xml
  31. sed -i s/–2017/–2018/ ${project_dir}/app/src/main/res/values*/strings.xml