tazweb diff README @ rev 121

Add i18n to src, Makefile & README; BSD license from Wikipedia; add comment to .desktop file; add Russian translation to .po and .desktop file
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 27 18:15:40 2013 +0000 (2013-02-27)
parents c32ca77dcded
children 0940993683ef
line diff
     1.1 --- a/README	Wed Apr 27 00:11:58 2011 +0200
     1.2 +++ b/README	Wed Feb 27 18:15:40 2013 +0000
     1.3 @@ -34,11 +34,15 @@
     1.4  $ make
     1.5  $ ./tazweb
     1.6  
     1.7 -Install with 'make install' (PREFIX and DESTDIR are supported for packaging)
     1.8 +Generate translation files:
     1.9 +
    1.10 +$ make msgfmt
    1.11 +
    1.12 +Install with 'make install' (PREFIX and DESTDIR are supported for packaging).
    1.13 +
    1.14  
    1.15  Coding notes
    1.16  ------------
    1.17 -
    1.18      * To get the filename of a WebKitDownload:
    1.19        file = webkit_download_get_suggested_filename (download);
    1.20        
    1.21 @@ -61,8 +65,35 @@
    1.22      * Append a string
    1.23        g_string_append(string, " - TazWeb");
    1.24  
    1.25 -     * Editable webview
    1.26 -       webkit_web_view_set_editable (webview, TRUE);
    1.27 -      
    1.28 +    * Editable webview
    1.29 +      webkit_web_view_set_editable (webview, TRUE);
    1.30 +
    1.31 +
    1.32 +i18n
    1.33 +----
    1.34 +Internationalization of TazWeb was introduced since version 1.6.4.
    1.35 +It's standard GLib technique described in developer notes:
    1.36 +http://developer.gnome.org/glib/2.32/glib-I18N.html
    1.37 +
    1.38 +Translation template (tazweb.pot) and all translations (xx.po) contained
    1.39 +in the po/ folder. To start a new translation use msginit from the
    1.40 +po/ directory. Example for French/France locale (fr_FR):
    1.41 +
    1.42 +$ msginit -l fr_FR -o fr.po -i tazpanel.pot
    1.43 +
    1.44 +If you run msginit directly without any parameters, locale settings of your
    1.45 +system will be used.
    1.46 +
    1.47 +To update pot file from a newly updated sources:
    1.48 +
    1.49 +$ make pot
    1.50 +
    1.51 +To update all translations from a newly updated pot file:
    1.52 +
    1.53 +$ make msgmerge
    1.54 +
    1.55 +To clear the distro from temporary compiled and generated files:
    1.56 +
    1.57 +$ make clean
    1.58  
    1.59  ================================================================================