slitaz-tools annotate README @ rev 847
Fix invalid multibyte sequence in slitaz-tools pt_BR translations
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 16 15:32:03 2014 +0300 (2014-04-16) |
parents | df9ac89c94f9 |
children |
rev | line source |
---|---|
pankso@815 | 1 SliTaz tools 2014 |
pankso@0 | 2 =============================================================================== |
pankso@0 | 3 |
pankso@0 | 4 |
paul@835 | 5 The SliTaz tools package provides many tinyutils and shared and custom |
domcox@800 | 6 configuration files designed to improve SliTaz. The tools were initially |
domcox@800 | 7 created to help people build their own distribution by following the SliTaz |
paul@835 | 8 Cookbook, now the package mostly provides all the configuration tools and |
al@813 | 9 all home-made GTK boxes such as subox, tazbox, etc. |
pankso@0 | 10 |
domcox@800 | 11 The package also provides some scripts (firewall), desktop files with their |
domcox@800 | 12 icons, and the licenses and examples to help hackers or users understand and |
paul@449 | 13 manage SliTaz. |
pankso@0 | 14 |
pankso@0 | 15 |
paul@593 | 16 More tools information |
pankso@592 | 17 ----------------------- |
al@813 | 18 You will find README files for some tools: |
pankso@592 | 19 |
pankso@592 | 20 * tazbox/README |
pankso@601 | 21 * tazdrop/README |
pankso@592 | 22 |
pankso@592 | 23 |
pankso@447 | 24 Installation |
pankso@447 | 25 ------------ |
pankso@601 | 26 The tools are split into 2 separate packages: one with only ncurses dependencies |
pankso@601 | 27 (for a text system) and one with GTK dependencies (for a graphical system). So |
paul@835 | 28 we have to make install and make default to compile PO files. Install supports |
pankso@601 | 29 DESTDIR for packaging: |
pankso@601 | 30 |
pankso@601 | 31 # make |
pankso@601 | 32 # make install |
pankso@601 | 33 # make install-boxes |
pankso@0 | 34 |
pankso@592 | 35 |
pankso@447 | 36 Translation |
domcox@800 | 37 ----------- |
pankso@447 | 38 To start a new translation please use msginit from the pot file directory. |
pankso@447 | 39 Example for French/France locale (fr_FR): |
pankso@0 | 40 |
pankso@553 | 41 $ msginit -l fr_FR -o fr.po -i tazbox.pot |
pankso@0 | 42 |
pankso@447 | 43 To update all pot files when some new strings have been added (mainly for |
pankso@447 | 44 developers before commit): |
pankso@0 | 45 |
pankso@447 | 46 $ make pot |
pankso@0 | 47 |
pankso@447 | 48 To update all translations from the pot file: |
pankso@0 | 49 |
pankso@447 | 50 $ make msgmerge |
pankso@0 | 51 |
domcox@800 | 52 To compile po files for testing purposes you can use 'make msgfmt' or manually |
domcox@800 | 53 compile your translation. Example for french locale, note that the file must |
paul@449 | 54 be copied into /usr/share/locale/fr/LC_MESSAGES so gettext can find it: |
pankso@0 | 55 |
pankso@553 | 56 $ msgfmt -o tazbox.mo fr.po |
pankso@0 | 57 |
pankso@0 | 58 |
pankso@0 | 59 =============================================================================== |
pankso@0 | 60 http://www.slitaz.org/ |
pankso@0 | 61 |