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.

60 lines
4.0 KiB

  1. #!/bin/bash
  2. #
  3. # This script assumes a linux environment
  4. echo "*** uMatrix: Importing from Crowdin archive"
  5. rm -r ~/Downloads/crowdin
  6. unzip -q ~/Downloads/umatrix.zip -d ~/Downloads/crowdin
  7. cp ~/Downloads/crowdin/am/messages.json ./tools/_locales/am/messages.json
  8. cp ~/Downloads/crowdin/ar/messages.json ./tools/_locales/ar/messages.json
  9. cp ~/Downloads/crowdin/bg/messages.json ./tools/_locales/bg/messages.json
  10. cp ~/Downloads/crowdin/bn/messages.json ./tools/_locales/bn/messages.json
  11. cp ~/Downloads/crowdin/ca/messages.json ./tools/_locales/ca/messages.json
  12. cp ~/Downloads/crowdin/cs/messages.json ./tools/_locales/cs/messages.json
  13. cp ~/Downloads/crowdin/da/messages.json ./tools/_locales/da/messages.json
  14. cp ~/Downloads/crowdin/de/messages.json ./tools/_locales/de/messages.json
  15. cp ~/Downloads/crowdin/el/messages.json ./tools/_locales/el/messages.json
  16. cp ~/Downloads/crowdin/en-GB/messages.json ./tools/_locales/en_GB/messages.json
  17. cp ~/Downloads/crowdin/es-ES/messages.json ./tools/_locales/es/messages.json
  18. cp ~/Downloads/crowdin/et/messages.json ./tools/_locales/et/messages.json
  19. cp ~/Downloads/crowdin/fa/messages.json ./tools/_locales/fa/messages.json
  20. cp ~/Downloads/crowdin/fi/messages.json ./tools/_locales/fi/messages.json
  21. cp ~/Downloads/crowdin/fil/messages.json ./tools/_locales/fil/messages.json
  22. cp ~/Downloads/crowdin/fr/messages.json ./tools/_locales/fr/messages.json
  23. cp ~/Downloads/crowdin/gu-IN/messages.json ./tools/_locales/gu/messages.json
  24. cp ~/Downloads/crowdin/he/messages.json ./tools/_locales/he/messages.json
  25. cp ~/Downloads/crowdin/hi/messages.json ./tools/_locales/hi/messages.json
  26. cp ~/Downloads/crowdin/hr/messages.json ./tools/_locales/hr/messages.json
  27. cp ~/Downloads/crowdin/hu/messages.json ./tools/_locales/hu/messages.json
  28. cp ~/Downloads/crowdin/id/messages.json ./tools/_locales/id/messages.json
  29. cp ~/Downloads/crowdin/it/messages.json ./tools/_locales/it/messages.json
  30. cp ~/Downloads/crowdin/ja/messages.json ./tools/_locales/ja/messages.json
  31. cp ~/Downloads/crowdin/kn/messages.json ./tools/_locales/kn/messages.json
  32. cp ~/Downloads/crowdin/ko/messages.json ./tools/_locales/ko/messages.json
  33. cp ~/Downloads/crowdin/lt/messages.json ./tools/_locales/lt/messages.json
  34. cp ~/Downloads/crowdin/lv/messages.json ./tools/_locales/lv/messages.json
  35. cp ~/Downloads/crowdin/ml-IN/messages.json ./tools/_locales/ml/messages.json
  36. cp ~/Downloads/crowdin/mr/messages.json ./tools/_locales/mr/messages.json
  37. cp ~/Downloads/crowdin/ms/messages.json ./tools/_locales/ms/messages.json
  38. cp ~/Downloads/crowdin/nl/messages.json ./tools/_locales/nl/messages.json
  39. cp ~/Downloads/crowdin/no/messages.json ./tools/_locales/nb/messages.json
  40. cp ~/Downloads/crowdin/pl/messages.json ./tools/_locales/pl/messages.json
  41. cp ~/Downloads/crowdin/pt-BR/messages.json ./tools/_locales/pt_BR/messages.json
  42. cp ~/Downloads/crowdin/pt-PT/messages.json ./tools/_locales/pt_PT/messages.json
  43. cp ~/Downloads/crowdin/ro/messages.json ./tools/_locales/ro/messages.json
  44. cp ~/Downloads/crowdin/ru/messages.json ./tools/_locales/ru/messages.json
  45. cp ~/Downloads/crowdin/sk/messages.json ./tools/_locales/sk/messages.json
  46. cp ~/Downloads/crowdin/sl/messages.json ./tools/_locales/sl/messages.json
  47. cp ~/Downloads/crowdin/sr-CS/messages.json ./tools/_locales/sr/messages.json
  48. cp ~/Downloads/crowdin/sv-SE/messages.json ./tools/_locales/sv/messages.json
  49. cp ~/Downloads/crowdin/sw/messages.json ./tools/_locales/sw/messages.json
  50. cp ~/Downloads/crowdin/ta/messages.json ./tools/_locales/ta/messages.json
  51. cp ~/Downloads/crowdin/te/messages.json ./tools/_locales/te/messages.json
  52. cp ~/Downloads/crowdin/th/messages.json ./tools/_locales/th/messages.json
  53. cp ~/Downloads/crowdin/tr/messages.json ./tools/_locales/tr/messages.json
  54. cp ~/Downloads/crowdin/uk/messages.json ./tools/_locales/uk/messages.json
  55. cp ~/Downloads/crowdin/vi/messages.json ./tools/_locales/vi/messages.json
  56. cp ~/Downloads/crowdin/zh-CN/messages.json ./tools/_locales/zh_CN/messages.json
  57. rm -r ~/Downloads/crowdin
  58. echo "*** uMatrix: Import done."