diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-05-17 08:34:43 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-05-17 08:34:43 +0000 |
commit | 8cc8f878966eea0475b8dbbdff74f7c596f688ac (patch) | |
tree | 7e4d17546c73ff4b1576d71c92c972ff7f29f8c7 | |
parent | 6fc11839979cac63003304fb062d5e894d9b200d (diff) | |
download | brdo-8cc8f878966eea0475b8dbbdff74f7c596f688ac.tar.gz brdo-8cc8f878966eea0475b8dbbdff74f7c596f688ac.tar.bz2 |
#139970 follow up fix by riccardoR: LTR is the default behavior
-rw-r--r-- | includes/locale.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/locale.inc b/includes/locale.inc index d95eb695b..0053fd7e5 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -835,7 +835,7 @@ function locale_translate_delete($lid) { * @param $default * Optionall set this language to be the default. */ -function locale_add_language($langcode, $name = NULL, $native = NULL, $direction = LANGUAGE_RTL, $domain = '', $prefix = '', $enabled = FALSE, $default = FALSE) { +function locale_add_language($langcode, $name = NULL, $native = NULL, $direction = LANGUAGE_LTR, $domain = '', $prefix = '', $enabled = FALSE, $default = FALSE) { // Default prefix on language code. if (empty($prefix)) { $prefix = $langcode; @@ -846,7 +846,7 @@ function locale_add_language($langcode, $name = NULL, $native = NULL, $direction $predefined = _locale_get_predefined_list(); $name = $predefined[$langcode][0]; $native = isset($predefined[$langcode][1]) ? $predefined[$langcode][1] : $predefined[$langcode][0]; - $direction = isset($predefined[$langcode][2]) ? $predefined[$langcode][2] : LANGUAGE_RTL; + $direction = isset($predefined[$langcode][2]) ? $predefined[$langcode][2] : LANGUAGE_LTR; } db_query("INSERT INTO {languages} (language, name, native, direction, domain, prefix, enabled) VALUES ('%s', '%s', '%s', %d, '%s', '%s', %d)", $langcode, $name, $native, $direction, $domain, $prefix, $enabled); |