2022-06-02 18:16:15 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
####################################################################################################
|
|
|
|
|
# Name: Autodesk Fusion 360 - Setup Wizard (Linux) #
|
|
|
|
|
# Description: With this file you get all languages for the Setup Wizard. #
|
|
|
|
|
# Author: Steve Zabka #
|
|
|
|
|
# Author URI: https://cryinkfly.com #
|
|
|
|
|
# License: MIT #
|
|
|
|
|
# Copyright (c) 2020-2022 #
|
2022-06-08 22:14:48 +02:00
|
|
|
# Time/Date: 22:15/08.06.2022 #
|
|
|
|
|
# Version: 1.5 #
|
2022-06-02 18:16:15 +02:00
|
|
|
####################################################################################################
|
|
|
|
|
|
|
|
|
|
###############################################################################################################################################################
|
|
|
|
|
# ALL FUNCTIONS ARE ARRANGED HERE: #
|
|
|
|
|
###############################################################################################################################################################
|
|
|
|
|
|
|
|
|
|
# Load & Save the locale files into the folders!
|
|
|
|
|
function load-locale-languages {
|
2022-08-31 15:32:25 +02:00
|
|
|
wget -N -P "$SP_PATH/locale/cs-CZ/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/cs-CZ/locale-cs.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/cs-CZ/locale-cs.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/de-DE/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/de-DE/locale-de.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/de-DE/locale-de.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/en-US/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/en-US/locale-en.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/en-US/locale-en.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/es-ES/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/es-ES/locale-es.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/es-ES/locale-es.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/fr-FR/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/fr-FR/locale-fr.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/fr-FR/locale-fr.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/it-IT/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/it-IT/locale-it.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/it-IT/locale-it.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/ja-JP/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/ja-JP/locale-ja.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/ja-JP/locale-ja.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/ko-KR/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/ko-KR/locale-ko.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/ko-KR/locale-ko.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/zh-CN/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/zh-CN/locale-zh.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/zh-CN/locale-zh.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/cs-CZ/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/cs-CZ/locale-cs.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/cs-CZ/locale-cs.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/de-DE/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/de-DE/locale-de.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/de-DE/locale-de.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/en-US/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/en-US/locale-en.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/en-US/locale-en.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/es-ES/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/es-ES/locale-es.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/es-ES/locale-es.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/fr-FR/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/fr-FR/locale-fr.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/fr-FR/locale-fr.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/it-IT/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/it-IT/locale-it.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/it-IT/locale-it.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/ja-JP/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/ja-JP/locale-ja.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/ja-JP/locale-ja.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/ko-KR/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/ko-KR/locale-ko.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/ko-KR/locale-ko.sh"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/zh-CN/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/zh-CN/locale-zh.sh"
|
|
|
|
|
chmod +x "$SP_PATH/locale/zh-CN/locale-zh.sh"
|
2022-06-02 18:16:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
###############################################################################################################################################################
|
|
|
|
|
|
2022-06-08 21:32:20 +02:00
|
|
|
# Load & Save the translations of the licenses into the folders!
|
2022-06-02 18:16:15 +02:00
|
|
|
function load-locale-licenses {
|
2022-08-31 15:32:25 +02:00
|
|
|
wget -N -P "$SP_PATH/locale/cs-CZ/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/cs-CZ/license-cs.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/de-DE/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/de-DE/license-de.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/en-US/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/en-US/license-en.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/es-ES/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/es-ES/license-es.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/fr-FR/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/fr-FR/license-fr.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/it-IT/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/it-IT/license-it.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/ja-JP/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/ja-JP/license-ja.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/ko-KR/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/ko-KR/license-ko.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/zh-CN/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/zh-CN/license-zh.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/cs-CZ/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/cs-CZ/license-cs.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/de-DE/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/de-DE/license-de.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/en-US/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/en-US/license-en.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/es-ES/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/es-ES/license-es.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/fr-FR/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/fr-FR/license-fr.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/it-IT/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/it-IT/license-it.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/ja-JP/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/ja-JP/license-ja.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/ko-KR/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/ko-KR/license-ko.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/zh-CN/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/zh-CN/license-zh.txt"
|
2022-06-02 18:16:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
###############################################################################################################################################################
|
|
|
|
|
|
2022-06-08 21:32:20 +02:00
|
|
|
# Load & Save the translations of the extensions into the folders!
|
2022-06-02 18:16:15 +02:00
|
|
|
function load-locale-extensions {
|
2022-08-31 15:32:25 +02:00
|
|
|
wget -N -P "$SP_PATH/locale/cs-CZ/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/cs-CZ/extensions-cs.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/de-DE/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/de-DE/extensions-de.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/en-US/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/en-US/extensions-en.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/es-ES/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/es-ES/extensions-es.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/fr-FR/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/fr-FR/extensions-fr.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/it-IT/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/it-IT/extensions-it.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/ja-JP/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/ja-JP/extensions-ja.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/ko-KR/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/ko-KR/extensions-ko.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/zh-CN/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/zh-CN/extensions-zh.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/cs-CZ/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/cs-CZ/extensions-cs.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/de-DE/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/de-DE/extensions-de.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/en-US/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/en-US/extensions-en.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/es-ES/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/es-ES/extensions-es.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/fr-FR/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/fr-FR/extensions-fr.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/it-IT/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/it-IT/extensions-it.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/ja-JP/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/ja-JP/extensions-ja.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/ko-KR/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/ko-KR/extensions-ko.txt"
|
|
|
|
|
wget -N -P "$SP_PATH/locale/zh-CN/ https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/builds/stable-branch/locale/zh-CN/extensions-zh.txt"
|
2022-06-02 18:16:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
###############################################################################################################################################################
|
|
|
|
|
# THE INSTALLATION PROGRAM IS STARTED HERE: #
|
|
|
|
|
###############################################################################################################################################################
|
|
|
|
|
|
|
|
|
|
load-locale-languages
|
|
|
|
|
load-locale-licenses
|
|
|
|
|
load-locale-extensions
|