1 2006-02-07 Danilo Šegan <danilo@gnome.org>
3 * examples/pigs_dropin.php: comment-out bind_textdomain_codeset
5 * gettext.inc (T_bind_textdomain_codeset): bind_textdomain_codeset
6 is available only in PHP 4.2.0+ (thanks to Jens A. Tkotz).
8 * Makefile: Include gettext.inc in DIST_FILES, VERSION up to
11 2006-02-03 Danilo Šegan <danilo@gnome.org>
13 Added setlocale() emulation as well.
15 * examples/pigs_dropin.php: Use T_setlocale() and locale_emulation().
16 * examples/pigs_fallback.php: Use T_setlocale() and locale_emulation().
18 * gettext.inc: Added globals $EMULATEGETTEXT and $CURRENTLOCALE.
19 (locale_emulation): Whether emulation is active.
20 (_check_locale): Rewrite.
21 (_setlocale): Added emulated setlocale function.
22 (T_setlocale): Wrapper around _setlocale.
23 (_get_reader): Use variables and _setlocale.
25 2006-02-02 Danilo Šegan <danilo@gnome.org>
29 * examples/locale/sr_CS/LC_MESSAGES/messages.po: Correct grammar.
30 * examples/locale/sr_CS/LC_MESSAGES/messages.mo: Rebuild.
32 2006-02-02 Danilo Šegan <danilo@gnome.org>
36 * streams.php: Support for PHP 5.1.1 fread() which reads most 8kb.
37 (Fix by Piotr Szotkowski <shot@hot.pl>)
39 2006-02-02 Danilo Šegan <danilo@gnome.org>
41 Merge Steven Armstrong's changes, supporting standard gettext
44 * examples/*: Restructured examples.
46 * AUTHORS: Added Steven.
47 * Makefile (VERSION): Up to 1.0.6.
49 2006-01-28 Nico Kaiser <nico@siriux.net>
51 * gettext.php (select_string): Fix "true" <-> 1 difference of PHP
53 2005-07-29 Danilo Šegan <danilo@gnome.org>
55 * Makefile (VERSION): Up to 1.0.5.
57 2005-07-29 Danilo Šegan <danilo@gnome.org>
61 * gettext.php (gettext_reader): check $Reader->error as well.
63 2005-07-29 Danilo Šegan <danilo@gnome.org>
65 * Makefile (VERSION): Up to 1.0.4.
67 2005-07-29 Danilo Šegan <danilo@gnome.org>
71 * gettext.php (gettext_reader->get_plural_forms): Plural forms
72 header extraction regex change. Reported by Edgar Gonzales.
74 2005-02-28 Danilo Šegan <dsegan@gmx.net>
76 * AUTHORS: Added Nico to the list.
78 * Makefile (VERSION): Up to 1.0.3.
82 2005-02-28 Danilo Šegan <dsegan@gmx.net>
84 * gettext.php: Added pre-loading, code documentation, and many
85 code clean-ups by Nico Kaiser <nico@siriux.net>.
87 2005-02-28 Danilo Šegan <dsegan@gmx.net>
89 * streams.php (FileReader.read): Handle read($bytes = 0).
91 * examples/pigs.php: Prefix gettext function names with T or T_.
93 * examples/update: Use the same keywords T_ and T_ngettext.
95 * streams.php: Added CachedFileReader.
97 2003-11-11 Danilo Šegan <dsegan@gmx.net>
99 * gettext.php: Added hashing to find_string.
101 2003-11-01 Danilo Šegan <dsegan@gmx.net>
103 * Makefile (DIST_FILES): Replaced LICENSE with COPYING.
104 (VERSION): Up to 1.0.2.
106 * AUTHORS: Minor edits.
108 * README: Minor edits.
110 * COPYING: Removed LICENSE, added this file.
112 * gettext.php: Added copyright notice and disclaimer.
114 * examples/pigs.php: Same.
116 2003-10-23 Danilo Šegan <dsegan@gmx.net>
118 * Makefile: Upped version to 1.0.1.
120 * gettext.php (gettext_reader): Remove a call to set_total_plurals.
121 (set_total_plurals): Removed unused function for some better days.
123 2003-10-23 Danilo Šegan <dsegan@gmx.net>
125 * Makefile: Added, version 1.0.0.
127 * examples/*: Added an example of usage.
129 * README: Described all the crap.
131 2003-10-22 Danilo Šegan <dsegan@gmx.net>
133 * gettext.php: Plural forms implemented too.
135 * streams.php: Added FileReader for direct access to files (no
136 need to keep file in memory).
138 * gettext.php: It works, except for plural forms.
140 * streams.php: Created abstract class StreamReader.
141 Added StringReader class.
143 * gettext.php: Started writing gettext_reader.