pupx screensaver translation

Language Packs


Moderator: Forum moderators

Post Reply
User avatar
AntonioPt
Posts: 306
Joined: Wed Aug 11, 2021 7:41 pm
Has thanked: 130 times
Been thanked: 56 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 17 times
pupx.po.clean.gz
(1.21 KiB) Downloaded 17 times
Captura de ecran(4).png
Captura de ecran(4).png (163.03 KiB) Viewed 377 times

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

Post Reply

Return to “Internationalization”