Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143991 - gettext (i18n) support for livecd-tools
Summary: gettext (i18n) support for livecd-tools
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-15 05:14 UTC by Piotr Malinski
Modified: 2007-04-13 17:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
modified livecd-functions.sh (livecd-functions.sh,16.49 KB, text/plain)
2006-08-15 05:15 UTC, Piotr Malinski
Details
modified net-setup (net-setup,1.51 KB, text/plain)
2006-08-15 05:15 UTC, Piotr Malinski
Details
gettext file for net-setup and livecd-functions.sh (net-setup.po,3.91 KB, text/plain)
2006-08-15 05:17 UTC, Piotr Malinski
Details
Polish translation of net-setup.po (net-setup.pl.po,5.78 KB, text/plain)
2006-08-15 05:18 UTC, Piotr Malinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Malinski 2006-08-15 05:14:15 UTC
livecd-tools contain net-setup which is a small app used quite often (during instalation) and i18n support for it would look nice.

I've attached modified net-setup and livecd-functions.sh from livecd-tools 1.0.33
modifications:
- each string for translation has $ at start
net-setup has also:
------------------------------
TEXTDOMAINDIR=/usr/share/locale
TEXTDOMAIN=net-setup
------------------------------
which points it to the translations. 

- net-setup.po contains strings from net-setup and livecd-functions.sh (1 script can't use more that 1 *mo file)


- to make *po file out of bash script: bash -D filename.sh
modification made basing on: http://www.tldp.org/LDP/abs/html/localization.html
Comment 1 Piotr Malinski 2006-08-15 05:15:15 UTC
Created attachment 94307 [details]
modified livecd-functions.sh
Comment 2 Piotr Malinski 2006-08-15 05:15:56 UTC
Created attachment 94308 [details]
modified net-setup
Comment 3 Piotr Malinski 2006-08-15 05:17:30 UTC
Created attachment 94309 [details]
gettext file for net-setup and livecd-functions.sh
Comment 4 Piotr Malinski 2006-08-15 05:18:13 UTC
Created attachment 94310 [details]
Polish translation of net-setup.po
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2006-08-25 12:30:44 UTC
So what do I do with the attachments from #3 and #4 exactly?

My only real concern with this is that these files will be changing quite a bit in the near future, and I won't be able to update the translations, at all.
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2007-04-13 17:59:13 UTC
I guess I'll need to come back and revisit this at some later time.