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