pupx screensaver 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

pupx screensaver translation

Post by AntonioPt »

Hello everyone,

Another script updated to be able to be translated
Changes :

Code: Select all

# add it :
export TEXTDOMAIN=${0##*/}
export OUTPUT_CHARSET=UTF-8

# add gettext in order to be translated
	[ ! "$1" ] && Xdialog --title "$(gettext 'Screensaver settings')" --msgbox "$(gettext 'Screensaver parameters set to:')\n'${SCREENSAVERDELAY}' '${SCREENSAVERCYCLE}' '${SCREENSAVERBLANKING}' '${SCREENSAVEREXPOSURES}'\n$(gettext '(for this session only)'))'" 0 0

#remove gap of spaces out of gettext on 2 fields
<text><label>"'$(gettext '(seconds)')'       "</label></text>
Attachments
pupx.po.pt.gz
(1.55 KiB) Downloaded 7 times
pupx.po.clean.gz
(1.21 KiB) Downloaded 7 times
Captura de ecran(4).png
Captura de ecran(4).png (163.03 KiB) Viewed 107 times

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

Post Reply

Return to “Internationalization”