# HG changeset patch # User Christophe Lincoln # Date 1389135629 -3600 # Node ID 5ddec5a1e5bc17adfe5e8f69c1db2f892363ffd4 # Parent 2f4b9f31ee08f967d701e5187c127490fef18f83 Add small tools/testsuite.txt diff -r 2f4b9f31ee08 -r 5ddec5a1e5bc Makefile --- a/Makefile Tue Jan 07 23:50:04 2014 +0100 +++ b/Makefile Wed Jan 08 00:00:29 2014 +0100 @@ -38,8 +38,8 @@ install -m 0777 -d $(DESTDIR)$(PREFIX)/share/applications #install -m 0777 -d $(DESTDIR)$(PREFIX)/share/locale - cp -a config.cgi favicon.ico index.cgi README style.css \ - images lib plugins content/ $(DESTDIR)$(WEB) + cp -a config.cgi favicon.ico index.cgi style.css images lib \ + plugins content/ $(DESTDIR)$(WEB) #cp -a po/mo/* $(DESTDIR)$(PREFIX)/share/locale install -m 0644 data/*.desktop $(DESTDIR)$(PREFIX)/share/applications diff -r 2f4b9f31ee08 -r 5ddec5a1e5bc README --- a/README Tue Jan 07 23:50:04 2014 +0100 +++ b/README Wed Jan 08 00:00:29 2014 +0100 @@ -76,4 +76,27 @@ incoming = hg update +Translation +----------- +To start a new translation please use msginit from the pot file directory. +Example for French/France locale (fr_FR): + + $ msginit -l fr_FR -o fr.po -i tinycm.pot + +To update all pot files when some new strings have been added (mainly for +developers before commit): + + $ make pot + +To update all translations from the pot file: + + $ make msgmerge + +To compile po files for testing purposes you can use 'make msgfmt' or manually +compile your translation. Example for french locale, note that the file must +be copied into /usr/share/locale/fr/LC_MESSAGES so gettext can find it: + + $ msgfmt -o tinycm.mo fr.po + + ================================================================================ diff -r 2f4b9f31ee08 -r 5ddec5a1e5bc tools/testsuite.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/testsuite.txt Wed Jan 08 00:00:29 2014 +0100 @@ -0,0 +1,13 @@ +==== Testsuite ==== + +

HTTP link: [SliTaz!http://slitaz.org]

+

Local link: [Index|index]

+ +=== Images === + +

+[http://www.slitaz.org/images/logo.png] +

+ + +