diff options
Diffstat (limited to 'modules/locale')
-rw-r--r-- | modules/locale/locale-rtl.css | 12 | ||||
-rw-r--r-- | modules/locale/locale.css | 6 | ||||
-rw-r--r-- | modules/locale/locale.test | 5 |
3 files changed, 19 insertions, 4 deletions
diff --git a/modules/locale/locale-rtl.css b/modules/locale/locale-rtl.css new file mode 100644 index 000000000..aaf1988dd --- /dev/null +++ b/modules/locale/locale-rtl.css @@ -0,0 +1,12 @@ + +#locale-translation-filter-form .form-item-language, +#locale-translation-filter-form .form-item-translation, +#locale-translation-filter-form .form-item-group { + float: right; + padding-left: .8em; + padding-right: 0; +} +#locale-translation-filter-form .form-actions { + float: right; + padding: 3ex 1em 0 0; +} diff --git a/modules/locale/locale.css b/modules/locale/locale.css index 1d875a2bf..38112b506 100644 --- a/modules/locale/locale.css +++ b/modules/locale/locale.css @@ -21,14 +21,12 @@ width: 100%; } #locale-translation-filter-form .form-actions { - float: left; - padding: 3ex 0 0 1em; + float: left; /* LTR */ + padding: 3ex 0 0 1em; /* LTR */ } - .language-switcher-locale-session a.active { color: #0062A0; } - .language-switcher-locale-session a.session-active { color: #000000; } diff --git a/modules/locale/locale.test b/modules/locale/locale.test index 42a6dbc48..3ae6d91a5 100644 --- a/modules/locale/locale.test +++ b/modules/locale/locale.test @@ -2137,6 +2137,11 @@ class LocaleMultilingualFieldsFunctionalTest extends DrupalWebTestCase { ); $this->drupalPost('admin/structure/types/manage/page', $edit, t('Save content type')); $this->assertRaw(t('The content type %type has been updated.', array('%type' => 'Basic page')), t('Basic page content type has been updated.')); + + // Make node body translatable. + $field = field_info_field('body'); + $field['translatable'] = TRUE; + field_update_field($field); } /** |