Browse Source

s3.TUP Add dialog binary check (v0.23.1)

- new dialog binary version check to avoid menu display issues
- new manual compile comands for update dialog to a recent version
- updated language files
pull/61/head
WXbet 4 years ago
parent
commit
845e623fad
  1. 15
      support/functions/_plugin_update_toolchain
  2. 1
      support/translation/bg
  3. 1
      support/translation/de
  4. 1
      support/translation/en
  5. 1
      support/translation/es
  6. 1
      support/translation/fr
  7. 1
      support/translation/it
  8. 1
      support/translation/nl
  9. 1
      support/translation/pl
  10. 1
      support/translation/pt
  11. 1
      support/translation/tr

15
support/functions/_plugin_update_toolchain

@ -3,7 +3,7 @@
#simplebuild_plugin tcupdate
tcupdate(){
pversion="0.23.0";
pversion="0.23.1";
pname="s3.TUP";
pdesc="Plugin $pname v$pversion";
configname="$configdir/plugin_update_toolchain.config";
@ -1238,6 +1238,19 @@ _check_pkg(){
if syscheck "" "" "${pkgs[*]}" "${headers[*]}" "${libs[*]}";then
echo -e "${r_l}\nSYSCHECK -> ${txt_s3tup_msg_syscheck2}\n${y_l}${prefix} install${packages}\n${re_}" && _paktc_timer 10;
fi;
dialog_ver="$(dialog --version | awk -F' |-' '{printf $2}')" && [ -z $dialog_ver ] && dialog_ver="0"
if [ $(_compare_version "$dialog_ver" "1.3") == "<" ];then
dialog_compile="DIALOG_BIN=\$(which dialog) \
\n\$DIALOG_BIN --version \
\npushd /tmp && wget https://invisible-island.net/datafiles/release/dialog.tar.gz \
\ntar -xf dialog.tar.gz \
\ncd \$(find . -mindepth 1 -maxdepth 1 -type d -printf '%f\\\n' | grep dialog-) \
\n./configure && make \
\nsudo cp \$DIALOG_BIN \$DIALOG_BIN.old && sudo mv dialog \$DIALOG_BIN \
\npopd && \$DIALOG_BIN --version"
echo -e "${r_l}\nSYSCHECK -> ${txt_s3tup_msg_syscheck3}\n${y_l}${dialog_compile}\n${re_}" && _paktc_timer 10;
fi;
};
_check_github_api_limits(){

1
support/translation/bg

@ -140,6 +140,7 @@ txt_s3tup_msg_update_finished="Update completed to version:"
txt_s3tup_msg_update_log="updating plugin log"
txt_s3tup_msg_syscheck1="Моля изчакайте докато се извършат проверките на необходимите инструменти и зависимости..."
txt_s3tup_msg_syscheck2="Нужно е ръчно да инсталираш следните пакети, за да може да ползваш съответно плъгина:"
txt_s3tup_msg_syscheck3="Your dialog binary seems to be outdated, this plugin requires dialog >= 1.3 to display menus correctly. If your distribution does not provide a recent version, please compile and update it manually as follows:\n"
txt_s3tup_msg_reset_config1="Премествам съществуващия конфиг файл..."
txt_s3tup_msg_reset_config2="бекъп на конфиг файл="
txt_s3tup_msg_reset_config3="Създаване нов конфиг файл. Моля почакайте..."

1
support/translation/de

@ -149,6 +149,7 @@ txt_s3tup_msg_update_finished="Update abgeschlossen auf Version:"
txt_s3tup_msg_update_log="Aktualisierung Plugin Log"
txt_s3tup_msg_syscheck1="Bitte warten während die Abhängigkeiten überprüft werden..."
txt_s3tup_msg_syscheck2="Um dieses Plugin ordnungsgemäß verwenden zu können, müssen folgende Pakete manuell installiert werden:"
txt_s3tup_msg_syscheck3="Das dialog-Programm scheint veraltet zu sein. Für dieses Plugin ist dialog-Version >=1.3 erforderlich, um Menüs korrekt anzuzeigen. Wenn deine Linux Distribution keine aktuelle Version von dialog enthält, dann bitte wie folgt manuell kompilieren und aktualisieren:\n"
txt_s3tup_msg_reset_config1="Verschiebe vorhandene Konfigurationsdatei..."
txt_s3tup_msg_reset_config2="Konfigurationsdatei-Backup="
txt_s3tup_msg_reset_config3="Konfigurationsdatei wird erstellt. Bitte warten..."

1
support/translation/en

@ -140,6 +140,7 @@ txt_s3tup_msg_update_finished="Update completed to version:"
txt_s3tup_msg_update_log="updating plugin log"
txt_s3tup_msg_syscheck1="Please wait while performing checks of required tools and dependencies..."
txt_s3tup_msg_syscheck2="You need to manually install the following packages to use this plugin properly:"
txt_s3tup_msg_syscheck3="Your dialog binary seems to be outdated, this plugin requires dialog >= 1.3 to display menus correctly. If your distribution does not provide a recent version, please compile and update it manually as follows:\n"
txt_s3tup_msg_reset_config1="Moving existing config file..."
txt_s3tup_msg_reset_config2="config file backup="
txt_s3tup_msg_reset_config3="Creating new config file. Please wait..."

1
support/translation/es

@ -128,6 +128,7 @@ txt_s3tup_msg_update_finished="Actualización terminada a la versión:"
txt_s3tup_msg_update_log="Actualizando log plugin"
txt_s3tup_msg_syscheck1="Por favor, espera mientras compruebo las herramientas y dependencias necesarias..."
txt_s3tup_msg_syscheck2="Necesitas instalar manualmente los siguientes paquetes para usar este plugin correctamente:"
txt_s3tup_msg_syscheck3="Your dialog binary seems to be outdated, this plugin requires dialog >= 1.3 to display menus correctly. If your distribution does not provide a recent version, please compile and update it manually as follows:\n"
txt_s3tup_msg_reset_config1="Moviendo el archivo de configuración existente..."
txt_s3tup_msg_reset_config2="copia archivo de config="
txt_s3tup_msg_reset_config3="Creando un nuevo archivo de configuración. Por favor, espera..."

1
support/translation/fr

@ -180,6 +180,7 @@ txt_s3tup_msg_update_finished="Update completed to version:"
txt_s3tup_msg_update_log="updating plugin log"
txt_s3tup_msg_syscheck1="Please wait while performing checks of required tools and dependencies..."
txt_s3tup_msg_syscheck2="You need to manually install the following packages to use this plugin properly:"
txt_s3tup_msg_syscheck3="Your dialog binary seems to be outdated, this plugin requires dialog >= 1.3 to display menus correctly. If your distribution does not provide a recent version, please compile and update it manually as follows:\n"
txt_s3tup_msg_reset_config1="Moving existing config file..."
txt_s3tup_msg_reset_config2="config file backup="
txt_s3tup_msg_reset_config3="Creating new config file. Please wait..."

1
support/translation/it

@ -207,6 +207,7 @@ txt_s3tup_msg_update_finished="Aggiornamento effettuato alla versione:"
txt_s3tup_msg_update_log="sto aggiornando il log dei plugin"
txt_s3tup_msg_syscheck1="Attendi mentre eseguo il controllo degli strumenti e delle dipendenze richiesti ..."
txt_s3tup_msg_syscheck2="È necessario installare manualmente i seguenti pacchetti per utilizzare correttamente questo plugin:"
txt_s3tup_msg_syscheck3="Your dialog binary seems to be outdated, this plugin requires dialog >= 1.3 to display menus correctly. If your distribution does not provide a recent version, please compile and update it manually as follows:\n"
txt_s3tup_msg_reset_config1="Spostamento del file di configurazione esistente ..."
txt_s3tup_msg_reset_config2="backup del file di configurazione="
txt_s3tup_msg_reset_config3="Creazione di un nuovo file di configurazione. Attendere..."

1
support/translation/nl

@ -143,6 +143,7 @@ txt_s3tup_msg_update_finished="Update completed to version:"
txt_s3tup_msg_update_log="updating plugin log"
txt_s3tup_msg_syscheck1="Please wait while performing checks of required tools and dependencies..."
txt_s3tup_msg_syscheck2="You need to manually install the following packages to use this plugin properly:"
txt_s3tup_msg_syscheck3="Your dialog binary seems to be outdated, this plugin requires dialog >= 1.3 to display menus correctly. If your distribution does not provide a recent version, please compile and update it manually as follows:\n"
txt_s3tup_msg_reset_config1="Moving existing config file..."
txt_s3tup_msg_reset_config2="config file backup="
txt_s3tup_msg_reset_config3="Creating new config file. Please wait..."

1
support/translation/pl

@ -143,6 +143,7 @@ txt_s3tup_msg_update_finished="Update completed to version:"
txt_s3tup_msg_update_log="updating plugin log"
txt_s3tup_msg_syscheck1="Please wait while performing checks of required tools and dependencies..."
txt_s3tup_msg_syscheck2="You need to manually install the following packages to use this plugin properly:"
txt_s3tup_msg_syscheck3="Your dialog binary seems to be outdated, this plugin requires dialog >= 1.3 to display menus correctly. If your distribution does not provide a recent version, please compile and update it manually as follows:\n"
txt_s3tup_msg_reset_config1="Moving existing config file..."
txt_s3tup_msg_reset_config2="config file backup="
txt_s3tup_msg_reset_config3="Creating new config file. Please wait..."

1
support/translation/pt

@ -180,6 +180,7 @@ txt_s3tup_msg_update_finished="Update completed to version:"
txt_s3tup_msg_update_log="updating plugin log"
txt_s3tup_msg_syscheck1="Please wait while performing checks of required tools and dependencies..."
txt_s3tup_msg_syscheck2="You need to manually install the following packages to use this plugin properly:"
txt_s3tup_msg_syscheck3="Your dialog binary seems to be outdated, this plugin requires dialog >= 1.3 to display menus correctly. If your distribution does not provide a recent version, please compile and update it manually as follows:\n"
txt_s3tup_msg_reset_config1="Moving existing config file..."
txt_s3tup_msg_reset_config2="config file backup="
txt_s3tup_msg_reset_config3="Creating new config file. Please wait..."

1
support/translation/tr

@ -146,6 +146,7 @@ txt_s3tup_msg_update_finished="Update completed to version:"
txt_s3tup_msg_update_log="updating plugin log"
txt_s3tup_msg_syscheck1="baglanti uygulana kadar lütfen bekleyiniz ..."
txt_s3tup_msg_syscheck2="bu plugini düzgün kullanmak için,aşağıdaki paketlerin manuel olarak yüklenmesi gerekir:"
txt_s3tup_msg_syscheck3="Your dialog binary seems to be outdated, this plugin requires dialog >= 1.3 to display menus correctly. If your distribution does not provide a recent version, please compile and update it manually as follows:\n"
txt_s3tup_msg_reset_config1="Hareket Yapılandırma dosyası..."
txt_s3tup_msg_reset_config2="Hareket-Backup="
txt_s3tup_msg_reset_config3="Hareket dosya gürleştiriyor lütfen bekleyiniz..."

Loading…
Cancel
Save