Changeset 482 for trunk/bb-includes/l10n.php
- Timestamp:
- 10/16/2006 06:26:02 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/bb-includes/l10n.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-includes/l10n.php
r465 r482 6 6 return $locale; 7 7 8 // WPLANG is defined in wp-config.9 if (defined(' WPLANG'))10 $locale = WPLANG;8 // BBLANG is defined in config.php 9 if (defined('BBLANG')) 10 $locale = BBLANG; 11 11 12 12 if (empty($locale)) … … 70 70 71 71 $locale = get_locale(); 72 $mofile = ABSPATH . BBLANGDIR . "/$locale.mo";72 $mofile = BBPATH . BBLANGDIR . "/$locale.mo"; 73 73 74 74 load_textdomain('default', $mofile); … … 80 80 $path = BBPLUGINDIR; 81 81 82 $mofile = ABSPATH . "$path/$domain-$locale.mo";82 $mofile = BBPATH . "$path/$domain-$locale.mo"; 83 83 load_textdomain($domain, $mofile); 84 84 }
Note: See TracChangeset
for help on using the changeset viewer.