Skip to:
Content

bbPress.org


Ignore:
Timestamp:
10/16/2006 06:26:02 PM (20 years ago)
Author:
mdawaffe
Message:

RTL support props Sewar. Fixes #440

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-includes/l10n.php

    r465 r482  
    66        return $locale;
    77
    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;
    1111
    1212    if (empty($locale))
     
    7070
    7171    $locale = get_locale();
    72     $mofile = ABSPATH . BBLANGDIR . "/$locale.mo";
     72    $mofile = BBPATH . BBLANGDIR . "/$locale.mo";
    7373
    7474    load_textdomain('default', $mofile);
     
    8080        $path = BBPLUGINDIR;
    8181
    82     $mofile = ABSPATH . "$path/$domain-$locale.mo";
     82    $mofile = BBPATH . "$path/$domain-$locale.mo";
    8383    load_textdomain($domain, $mofile);
    8484}
Note: See TracChangeset for help on using the changeset viewer.