first step done:
changed scripts
created pot file
translation to German
Created zz_shutdownconfig-1
a.pet
Test:
Rebooted wary5141 pfix=RAM
installed German language_pack
installed new zz_shutdownconfig-1a.pet
Menu>Reboot
Screenshot
Next steps (make
everything translated) coming soon...
Why not make micko01's scrollable default?
---------------------------------------------------------------
Edited (for the records)
found the bug: not translated first 2 paragraphs
/usr/sbin/shutdownconfig line 576
changed
from
T_subdir="`eval_gettext \"You can now choose to save the personal session files to a file, named '${DISTRO_FILE_PREFIX}save.2fs'. Your choice will be remembered at next bootup.
NOTE: You cannot choose to save the session to the entire partition \\\${xPDEV}, as Puppy is installed into a sub-directory '\\\${xPSUBDIR}'. If Puppy had been installed at '/', not in a folder, then you would have the option of saving the session to the entire partition (assuming that the partition does not have any other distro installed in it) which has the advantage of all the free space in the partition available for your session files.\"`"
to
T_subdir="`eval_gettext \"You can now choose to save the personal session files to a file, named '\\\${DISTRO_FILE_PREFIX}save.2fs'. Your choice will be remembered at next bootup.
NOTE: You cannot choose to save the session to the entire partition \\\${xPDEV}, as Puppy is installed into a sub-directory '\\\${xPSUBDIR}'. If Puppy had been installed at '/', not in a folder, then you would have the option of saving the session to the entire partition (assuming that the partition does not have any other distro installed in it) which has the advantage of all the free space in the partition available for your session files.\"`"
Variables in eval_gettext have not been escaped (\\\) so xgettext did not produce msgid
BTW: I had tried to use $(eval_gettext 'message text') but that did not work, just inside backticks it is working.
---------------------------------------------------------------
Note too:
Using eval_gettext has great advantage for translators.
In the example picture it it used also for the button texts, these have to be translated just once and are used twice: on the button and in the explanation text. No translating errors possible