Index: trunk/tools/ToolserverI18N/TsIntuition.php |
— | — | @@ -1268,11 +1268,11 @@ |
1269 | 1269 | * current language if missing |
1270 | 1270 | * @return Boolean |
1271 | 1271 | */ |
1272 | | - function isRTL( $code = null ) { |
| 1272 | + public function isRTL( $code = null ) { |
1273 | 1273 | if ( !$code ) { |
1274 | 1274 | $code = $this->getLang(); |
1275 | 1275 | } |
1276 | | - require __DIR__ . '/language/Rtl.php'; |
| 1276 | + require $this->localBaseDir . '/language/Rtl.php'; |
1277 | 1277 | |
1278 | 1278 | return in_array( $code, $rtlLanguages ); |
1279 | 1279 | } |
— | — | @@ -1281,7 +1281,7 @@ |
1282 | 1282 | * Return the correct HTML 'dir' attribute value for this language. |
1283 | 1283 | * @return String |
1284 | 1284 | */ |
1285 | | - function getDir( $code = null ) { |
| 1285 | + public function getDir( $code = null ) { |
1286 | 1286 | return $this->isRTL( $code ) ? 'rtl' : 'ltr'; |
1287 | 1287 | } |
1288 | 1288 | } |