slitaz-tools annotate installer/README @ rev 762
Added tag 5.0 for changeset 592ca2af912a
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 02 16:03:49 2012 +0200 (2012-05-02) |
parents | 8202e0f842a6 |
children |
rev | line source |
---|---|
pankso@592 | 1 SliTaz Installer |
pankso@592 | 2 ================================================================================ |
pankso@592 | 3 |
pankso@592 | 4 |
paul@666 | 5 The first SliTaz installer was built using ncurses Dialog within a SHell script. |
paul@666 | 6 It was the last SliTaz home made tool that didn't have a desktop integrated |
paul@725 | 7 interface and had some crappy code as it was written at the start of the |
domcox@655 | 8 project. |
pankso@592 | 9 |
domcox@655 | 10 Tazinst is the new installer written entirely in SHell script and usable from |
paul@593 | 11 the cmdline without dialog or any other gui-like interface! This new installer |
domcox@655 | 12 is able to perform an installation automatically based on a simple config file |
domcox@655 | 13 with clear variables such as: INST_TYPE="iso", TGT_PARTITION="/dev/hda1". |
pankso@592 | 14 |
paul@666 | 15 With this way, it allows developers to create a different kind of frontend: |
domcox@655 | 16 Dialog, GTK and CGI/web in TazPanel. The frontend just has to create a config |
domcox@665 | 17 file and start the cmdline installer and report steps in a nice way (progress |
domcox@655 | 18 bar or/and messages). |
pankso@592 | 19 |
domcox@655 | 20 |
domcox@655 | 21 i18n |
domcox@655 | 22 ---- |
domcox@655 | 23 Tazinst has been coded from the beginning with gettext support. Please |
domcox@655 | 24 forget 'echo' and use gettext, but remember that gettext "" is equivalent |
domcox@655 | 25 to echo -n. All scripts use the same TEXTDOMAIN and the same pot files, all |
domcox@655 | 26 translations go in the po/ folder. |
domcox@655 | 27 |
domcox@655 | 28 To start a new translation please use msginit from the pot file directory. |
domcox@655 | 29 Example for French/France locale (fr_FR): |
domcox@655 | 30 |
domcox@658 | 31 $ msginit -l fr_FR -o fr.po -i tazinst.pot |
domcox@655 | 32 |
domcox@655 | 33 To update all translations from a newly updated pot file: |
domcox@655 | 34 |
domcox@655 | 35 $ make msgmerge |
domcox@658 | 36 Or: |
domcox@658 | 37 $ msgmerge -U fr.po tazinst.pot |
domcox@655 | 38 |
domcox@656 | 39 ================================================================================ |