tinycm rev 38

Add small tools/testsuite.txt
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 08 00:00:29 2014 +0100 (2014-01-08)
parents 2f4b9f31ee08
children eea2e04b7436
files Makefile README tools/testsuite.txt
line diff
     1.1 --- a/Makefile	Tue Jan 07 23:50:04 2014 +0100
     1.2 +++ b/Makefile	Wed Jan 08 00:00:29 2014 +0100
     1.3 @@ -38,8 +38,8 @@
     1.4  	install -m 0777 -d $(DESTDIR)$(PREFIX)/share/applications
     1.5  	#install -m 0777 -d $(DESTDIR)$(PREFIX)/share/locale
     1.6  	
     1.7 -	cp -a config.cgi favicon.ico index.cgi README style.css \
     1.8 -		images lib plugins content/ $(DESTDIR)$(WEB)
     1.9 +	cp -a config.cgi favicon.ico index.cgi style.css images lib \
    1.10 +		plugins content/ $(DESTDIR)$(WEB)
    1.11  	#cp -a po/mo/* $(DESTDIR)$(PREFIX)/share/locale
    1.12  	install -m 0644 data/*.desktop $(DESTDIR)$(PREFIX)/share/applications
    1.13  	
     2.1 --- a/README	Tue Jan 07 23:50:04 2014 +0100
     2.2 +++ b/README	Wed Jan 08 00:00:29 2014 +0100
     2.3 @@ -76,4 +76,27 @@
     2.4  incoming = hg update
     2.5  
     2.6  
     2.7 +Translation
     2.8 +-----------
     2.9 +To start a new translation please use msginit from the pot file directory.
    2.10 +Example for French/France locale (fr_FR):
    2.11 +
    2.12 +	$ msginit -l fr_FR -o fr.po -i tinycm.pot
    2.13 +
    2.14 +To update all pot files when some new strings have been added (mainly for
    2.15 +developers before commit):
    2.16 +
    2.17 +	$ make pot
    2.18 +
    2.19 +To update all translations from the pot file:
    2.20 +
    2.21 +	$ make msgmerge
    2.22 +
    2.23 +To compile po files for testing purposes you can use 'make msgfmt' or manually
    2.24 +compile your translation. Example for french locale, note that the file must
    2.25 +be copied into /usr/share/locale/fr/LC_MESSAGES so gettext can find it:
    2.26 +
    2.27 +	$ msgfmt -o tinycm.mo fr.po
    2.28 +
    2.29 +
    2.30  ================================================================================
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/tools/testsuite.txt	Wed Jan 08 00:00:29 2014 +0100
     3.3 @@ -0,0 +1,13 @@
     3.4 +==== Testsuite ====
     3.5 +
     3.6 +<p>HTTP link: [SliTaz!http://slitaz.org]</p>
     3.7 +<p>Local link: [Index|index]</p>
     3.8 +
     3.9 +=== Images ===
    3.10 +
    3.11 +<p>
    3.12 +[http://www.slitaz.org/images/logo.png]
    3.13 +</p>
    3.14 +
    3.15 +
    3.16 +