pacgtk

GUI wrapper for pacman
git clone git://git.kocotian.pl/pacboy.git
Log | Files | Refs | README | LICENSE

commit 3bdbc94564d9839fda82c193c57f56c7e35d12cb
parent bf96ad04f3d71f8bdcdcfcb74aaf6d44af68212c
Author: kocotian <kocotian@kocotian.pl>
Date:   Wed,  6 Jan 2021 20:47:30 +0100

Fixed unused variables

Diffstat:
MCHANGELOG | 3+++
Mlanguages/pl.diff | 14+++++---------
Mpacgtk | 12+++++-------
3 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG @@ -1,3 +1,6 @@ +=> v2.0.1 ===================================================================== +- Fixed unused lang_text_removingdone and lang_text_removingfailed + => v2.0 ======================================================================= - Huge rebuild - now on start you will have menu where you can choose searching and removing programs, checking for updates and updating system. diff --git a/languages/pl.diff b/languages/pl.diff @@ -1,6 +1,6 @@ --- a/pacgtk 2021-01-05 20:00:30.258345261 +0100 +++ b/pacgtk 2021-01-05 20:10:27.950359466 +0100 -@@ -8,21 +8,21 @@ +@@ -8,19 +8,19 @@ # Language things: -lang_text_menu_searchprog="Search for programs" @@ -18,10 +18,8 @@ -lang_text_availableupdates="Available updates" -lang_text_uc_name="Name" -lang_text_uc_versiondiff="Version difference" --lang_text_installationdone="Installation done." --lang_text_installationfailed="Installation failed." --lang_text_removingdone="Removing done." --lang_text_removingfailed="Removing failed." +-lang_text_done="Done!" +-lang_text_somethingwentwrong="Something went wrong..." +lang_text_menu_searchprog="Wyszukaj programy" +lang_text_menu_rmprog="Usuń programy" +lang_text_menu_updatecheck="Sprawdź aktualizacje" @@ -37,7 +35,5 @@ +lang_text_availableupdates="Dostępne aktualizacje" +lang_text_uc_name="Nazwa" +lang_text_uc_versiondiff="Różnica wersji" -+lang_text_installationdone="Instalacja zakończona powodzeniem." -+lang_text_installationfailed="Instalacja zakończona niepowodzeniem." -+lang_text_removingdone="Usuwanie zakończone powodzeniem." -+lang_text_removingfailed="Usuwanie zakończone niepowodzeniem." ++lang_text_done="Gotowe!" ++lang_text_somethingwentwrong="Coś poszło nie tak..." diff --git a/pacgtk b/pacgtk @@ -1,7 +1,7 @@ #!/bin/sh # pacgtk - GUI wrapper for pacman by kocotian # depends on yad and st. -# version 2.0 +# version 2.0.1 # Other configuration: termcommand="st -e" @@ -22,21 +22,19 @@ lang_text_sr_description="Description" lang_text_availableupdates="Available updates" lang_text_uc_name="Name" lang_text_uc_versiondiff="Version difference" -lang_text_installationdone="Installation done." -lang_text_installationfailed="Installation failed." -lang_text_removingdone="Removing done." -lang_text_removingfailed="Removing failed." +lang_text_done="Done!" +lang_text_somethingwentwrong="Something went wrong..." # Functions: pac() { if $termcommand sudo pacman --noconfirm $@; then yad --title "pacgtk" \ - --text "$lang_text_installationdone" \ + --text "$lang_text_done" \ --button=yad-ok:0 \ --center else yad --title "pacgtk" \ - --text "$lang_text_installationfailed" \ + --text "$lang_text_somethingwentwrong" \ --button=yad-ok:1 \ --center fi