Changeset 64 for devel/units/gettext
- Timestamp:
- 12/31/05 01:39:06 (3 years ago)
- Files:
-
- devel/units/gettext/library.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/units/gettext/library.php
r63 r64 33 33 34 34 // If the locale isn't the default, set a new default language 35 if ($list[0] != locale) { 35 // If the first choice is the right non-country-specific language, don't bother 36 // (kludge to allow a browser to default to "en", basically) 37 if (substr($list[0], 0, 2) != substr(locale, 0, 2)) { 36 38 // Bind the 'elgg' text domain to the languages directory 37 39 $textdomainpath = bindtextdomain ('elgg', path . 'languages');
