| 1 |
2006-02-07 Danilo Å egan <danilo@gnome.org> |
|---|
| 2 |
|
|---|
| 3 |
* examples/pigs_dropin.php: comment-out bind_textdomain_codeset |
|---|
| 4 |
|
|---|
| 5 |
* gettext.inc (T_bind_textdomain_codeset): bind_textdomain_codeset |
|---|
| 6 |
is available only in PHP 4.2.0+ (thanks to Jens A. Tkotz). |
|---|
| 7 |
|
|---|
| 8 |
* Makefile: Include gettext.inc in DIST_FILES, VERSION up to |
|---|
| 9 |
1.0.7. |
|---|
| 10 |
|
|---|
| 11 |
2006-02-03 Danilo Å egan <danilo@gnome.org> |
|---|
| 12 |
|
|---|
| 13 |
Added setlocale() emulation as well. |
|---|
| 14 |
|
|---|
| 15 |
* examples/pigs_dropin.php: Use T_setlocale() and locale_emulation(). |
|---|
| 16 |
* examples/pigs_fallback.php: Use T_setlocale() and locale_emulation(). |
|---|
| 17 |
|
|---|
| 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. |
|---|
| 24 |
|
|---|
| 25 |
2006-02-02 Danilo Å egan <danilo@gnome.org> |
|---|
| 26 |
|
|---|
| 27 |
Fix bug #12192. |
|---|
| 28 |
|
|---|
| 29 |
* examples/locale/sr_CS/LC_MESSAGES/messages.po: Correct grammar. |
|---|
| 30 |
* examples/locale/sr_CS/LC_MESSAGES/messages.mo: Rebuild. |
|---|
| 31 |
|
|---|
| 32 |
2006-02-02 Danilo Å egan <danilo@gnome.org> |
|---|
| 33 |
|
|---|
| 34 |
Fix bug #15419. |
|---|
| 35 |
|
|---|
| 36 |
* streams.php: Support for PHP 5.1.1 fread() which reads most 8kb. |
|---|
| 37 |
(Fix by Piotr Szotkowski <shot@hot.pl>) |
|---|
| 38 |
|
|---|
| 39 |
2006-02-02 Danilo Å egan <danilo@gnome.org> |
|---|
| 40 |
|
|---|
| 41 |
Merge Steven Armstrong's changes, supporting standard gettext |
|---|
| 42 |
interfaces: |
|---|
| 43 |
|
|---|
| 44 |
* examples/*: Restructured examples. |
|---|
| 45 |
* gettext.inc: Added. |
|---|
| 46 |
* AUTHORS: Added Steven. |
|---|
| 47 |
* Makefile (VERSION): Up to 1.0.6. |
|---|
| 48 |
|
|---|
| 49 |
2006-01-28 Nico Kaiser <nico@siriux.net> |
|---|
| 50 |
|
|---|
| 51 |
* gettext.php (select_string): Fix "true" <-> 1 difference of PHP |
|---|
| 52 |
|
|---|
| 53 |
2005-07-29 Danilo Å egan <danilo@gnome.org> |
|---|
| 54 |
|
|---|
| 55 |
* Makefile (VERSION): Up to 1.0.5. |
|---|
| 56 |
|
|---|
| 57 |
2005-07-29 Danilo Å egan <danilo@gnome.org> |
|---|
| 58 |
|
|---|
| 59 |
Fixes bug #13850. |
|---|
| 60 |
|
|---|
| 61 |
* gettext.php (gettext_reader): check $Reader->error as well. |
|---|
| 62 |
|
|---|
| 63 |
2005-07-29 Danilo Å egan <danilo@gnome.org> |
|---|
| 64 |
|
|---|
| 65 |
* Makefile (VERSION): Up to 1.0.4. |
|---|
| 66 |
|
|---|
| 67 |
2005-07-29 Danilo Å egan <danilo@gnome.org> |
|---|
| 68 |
|
|---|
| 69 |
Fixes bug #13771. |
|---|
| 70 |
|
|---|
| 71 |
* gettext.php (gettext_reader->get_plural_forms): Plural forms |
|---|
| 72 |
header extraction regex change. Reported by Edgar Gonzales. |
|---|
| 73 |
|
|---|
| 74 |
2005-02-28 Danilo Å egan <dsegan@gmx.net> |
|---|
| 75 |
|
|---|
| 76 |
* AUTHORS: Added Nico to the list. |
|---|
| 77 |
|
|---|
| 78 |
* Makefile (VERSION): Up to 1.0.3. |
|---|
| 79 |
|
|---|
| 80 |
* README: Updated. |
|---|
| 81 |
|
|---|
| 82 |
2005-02-28 Danilo Å egan <dsegan@gmx.net> |
|---|
| 83 |
|
|---|
| 84 |
* gettext.php: Added pre-loading, code documentation, and many |
|---|
| 85 |
code clean-ups by Nico Kaiser <nico@siriux.net>. |
|---|
| 86 |
|
|---|
| 87 |
2005-02-28 Danilo Å egan <dsegan@gmx.net> |
|---|
| 88 |
|
|---|
| 89 |
* streams.php (FileReader.read): Handle read($bytes = 0). |
|---|
| 90 |
|
|---|
| 91 |
* examples/pigs.php: Prefix gettext function names with T or T_. |
|---|
| 92 |
|
|---|
| 93 |
* examples/update: Use the same keywords T_ and T_ngettext. |
|---|
| 94 |
|
|---|
| 95 |
* streams.php: Added CachedFileReader. |
|---|
| 96 |
|
|---|
| 97 |
2003-11-11 Danilo Å egan <dsegan@gmx.net> |
|---|
| 98 |
|
|---|
| 99 |
* gettext.php: Added hashing to find_string. |
|---|
| 100 |
|
|---|
| 101 |
2003-11-01 Danilo Å egan <dsegan@gmx.net> |
|---|
| 102 |
|
|---|
| 103 |
* Makefile (DIST_FILES): Replaced LICENSE with COPYING. |
|---|
| 104 |
(VERSION): Up to 1.0.2. |
|---|
| 105 |
|
|---|
| 106 |
* AUTHORS: Minor edits. |
|---|
| 107 |
|
|---|
| 108 |
* README: Minor edits. |
|---|
| 109 |
|
|---|
| 110 |
* COPYING: Removed LICENSE, added this file. |
|---|
| 111 |
|
|---|
| 112 |
* gettext.php: Added copyright notice and disclaimer. |
|---|
| 113 |
* streams.php: Same. |
|---|
| 114 |
* examples/pigs.php: Same. |
|---|
| 115 |
|
|---|
| 116 |
2003-10-23 Danilo Å egan <dsegan@gmx.net> |
|---|
| 117 |
|
|---|
| 118 |
* Makefile: Upped version to 1.0.1. |
|---|
| 119 |
|
|---|
| 120 |
* gettext.php (gettext_reader): Remove a call to set_total_plurals. |
|---|
| 121 |
(set_total_plurals): Removed unused function for some better days. |
|---|
| 122 |
|
|---|
| 123 |
2003-10-23 Danilo Å egan <dsegan@gmx.net> |
|---|
| 124 |
|
|---|
| 125 |
* Makefile: Added, version 1.0.0. |
|---|
| 126 |
|
|---|
| 127 |
* examples/*: Added an example of usage. |
|---|
| 128 |
|
|---|
| 129 |
* README: Described all the crap. |
|---|
| 130 |
|
|---|
| 131 |
2003-10-22 Danilo Å egan <dsegan@gmx.net> |
|---|
| 132 |
|
|---|
| 133 |
* gettext.php: Plural forms implemented too. |
|---|
| 134 |
|
|---|
| 135 |
* streams.php: Added FileReader for direct access to files (no |
|---|
| 136 |
need to keep file in memory). |
|---|
| 137 |
|
|---|
| 138 |
* gettext.php: It works, except for plural forms. |
|---|
| 139 |
|
|---|
| 140 |
* streams.php: Created abstract class StreamReader. |
|---|
| 141 |
Added StringReader class. |
|---|
| 142 |
|
|---|
| 143 |
* gettext.php: Started writing gettext_reader. |
|---|
| 144 |
|
|---|