From 5c05bd776251921b3f74f18c2ea660cbb645bff6 Mon Sep 17 00:00:00 2001 From: punix Date: Thu, 2 Nov 2023 13:46:56 +0100 Subject: [PATCH] gettext test --- languages/de/wire-g.mo | Bin 2254 -> 2413 bytes languages/de/wire-g.po | 11 +++++++---- wire_g | 6 +++--- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/languages/de/wire-g.mo b/languages/de/wire-g.mo index 16c5af43818a6cb6a49fe4b2b5af4cefcdf4a9fb..5a50a0300404090d2931058afe566351b0f1d1fc 100644 GIT binary patch delta 268 zcmX>n_*Q7bl=?}G3=C~73=9ek3=EQN3=IE(v=xw60E%0(Gca%h`B5AU3_!$?0wlPB zbS{tvYGJ4Z(hfkn4oHL4?FZ68Eet1tv^kKz2&5H&G$&Bf1W0QEXp1hYu9W3yWNkT>;qokyu*h*hNJ+nkFr!+6KLN6sXr7|T? zFEfAg6P78Cdir{LToJkf`Kc+HCAz_>iABj70f{9Ux&~GX<>~RoCHVzdr4517nMJAb K>6l={yM3=C~73=9fDx{8&7;UAEm4Wtzq85m}MnGBtNM`|Q6Cm9UqUT`eY~8DVxRF!k7ViI~P3w diff --git a/languages/de/wire-g.po b/languages/de/wire-g.po index 806d765..19d0dd6 100644 --- a/languages/de/wire-g.po +++ b/languages/de/wire-g.po @@ -1,16 +1,19 @@ msgid "" msgstr "" -"Project-Id-Version: \n" +"Project-Id-Version: Desire Werner Menrath\n" "POT-Creation-Date: 2023-11-02 10:06+0100\n" -"PO-Revision-Date: 2023-11-02 10:10+0100\n" +"PO-Revision-Date: 2023-11-02 13:43+0100\n" "Last-Translator: \n" -"Language-Team: \n" +"Language-Team: Desire Werner Menrath polunga40@unity-mail.de https://git." +"lunix.dedydn.io\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 3.4\n" -"X-Poedit-Basepath: .\n" +"X-Poedit-Basepath: ../..\n" +"X-Poedit-SearchPath-0: wg_stop\n" +"X-Poedit-SearchPath-1: wire_g\n" #: /home/punix/VSCodium/Wire-G/wire_g:46 msgid "powered" diff --git a/wire_g b/wire_g index 65b08b3..334e7c6 100755 --- a/wire_g +++ b/wire_g @@ -43,7 +43,7 @@ wg_notify(){ a_user=$(whoami) active=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//') wg_pic="/home/$a_user/.icons/" - notify-send --icon=${wg_pic}wg-vpn.png "$active powered" + notify-send --icon=${wg_pic}wg-vpn.png "$active gettext powered" # autoconnect wird hier abgeschalten damit auch neu importierte nach einem Systemneustart nicht aktiv sind nmcli con mod $active connection.autoconnect no # ab hier beginnt yad notify @@ -208,10 +208,10 @@ if selection=$(yad --no-click --list \ --button=$"More":"bash -c more" --button=$"Remove":"bash -c remove" --separator="" \ --window-icon=${wg_pic}wg-vpn.png \ --borders=8 --image-on-top --image=${wg_pic}wg-active.png \ - --text=$"Activ Tunnel: $active + --text="(Activ Tunnel): $active ---------------------------------------------------------------------------------- If no tunnels are listed, -so they have to import their tunnel beforehand." \ +so they have to import their tunnel beforehand.)" \ --column=$"Selection" $tunnel) then