tazusb annotate README @ rev 202
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 26 08:30:42 2019 +0100 (2019-02-26) |
parents | 2700a1ca2a0e |
children |
rev | line source |
---|---|
pankso@58 | 1 README for TazUSB - SliTaz LiveUSB utility |
pankso@6 | 2 =============================================================================== |
pankso@6 | 3 |
pankso@6 | 4 |
MikeDSmith25@31 | 5 SliTaz LiveUSB utility aka TazUSB. Please read the manual for more information. |
pankso@6 | 6 |
pankso@6 | 7 |
pankso@58 | 8 Installation |
pankso@58 | 9 ------------ |
paul@62 | 10 To install all needed files and compile translated messages, make and gettext |
pankso@58 | 11 must be installed. Running 'make install' will install everything in /usr, but |
paul@62 | 12 another path and/or destination can be specified via PREFIX and DESTDIR. |
pankso@58 | 13 Example: |
pankso@58 | 14 |
pankso@58 | 15 $ make DESTDIR=$PWD/_pkg install |
pankso@58 | 16 |
pankso@58 | 17 Translation |
pankso@58 | 18 ----------- |
paul@62 | 19 To start a new translation please use msginit from the pot file directory. |
paul@62 | 20 Example for French/France locale (fr_FR): |
pankso@58 | 21 |
pankso@58 | 22 $ msginit -l fr_FR -o fr.po -i tazusb.pot |
pankso@58 | 23 |
pankso@58 | 24 To update all translations from the pot file: |
pankso@58 | 25 |
pankso@58 | 26 $ make msgmerge |
pankso@58 | 27 |
paul@62 | 28 To compile po files for testing purposes you can use 'make msgfmt' or manually |
paul@62 | 29 compile your translation. Example for french locale, note that the file must be |
paul@62 | 30 copied into /usr/share/locale/fr/LC_MESSAGES so gettext can find it: |
pankso@58 | 31 |
pankso@58 | 32 $ msgfmt -o tazusb.mo fr.po |
pankso@58 | 33 |
pankso@6 | 34 =============================================================================== |
pankso@6 | 35 http://www.slitaz.org/ |