xgamma-gui Translation

Language Packs


Moderator: Forum moderators

Post Reply
User avatar
AntonioPt
Posts: 160
Joined: Wed Aug 11, 2021 7:41 pm
Has thanked: 73 times
Been thanked: 33 times

xgamma-gui Translation

Post by AntonioPt »

Hello all,
Add extra code in order to make a better translation and better results since at the end when user ask to save there wasnt no popup window only echo "Saved" via terminal think code can be improve but for now...
im Saying this because in one of my old machines i got xrandr but no gama and in this case app should be close since will not work 100% "this is my viw could be wrong but..." and in this case even if i change values,... everytime i load will allways be 0 is it normal ?

Code: Select all

Add ok-label and cancel-label in order to to translate buttons names
Xdialog --title "$(gettext 'Save current configuration?')" --ok-label "$(gettext 'Yes')" --cancel-label "$(gettext 'No')" --yesno "$(gettext 'Save current configuration?')" 0 0 

# replace echo  "Saved" to
 Xdialog --msgbox "$(gettext 'Configuration saved')" 0 0 4

Attachments
Captura de ecran(3).png
Captura de ecran(3).png (5.85 KiB) Viewed 98 times
Captura de ecran(1).png
Captura de ecran(1).png (8.14 KiB) Viewed 98 times
Captura de ecran.png
Captura de ecran.png (29.69 KiB) Viewed 98 times

Why astronauts use Linux
Because you can't open windows in space

Post Reply

Return to “Internationalization”