summaryrefslogtreecommitdiff
path: root/includes/locale.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/locale.inc')
-rw-r--r--includes/locale.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index aeb114878..c52a7299b 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -625,8 +625,11 @@ function locale_translate_import_form() {
);
$form['import']['mode'] = array('#type' => 'radios',
'#title' => t('Mode'),
- '#default_value' => 'overwrite',
- '#options' => array(LOCALE_IMPORT_OVERWRITE => t('Strings in the uploaded file replace existing ones, new ones are added'), LOCALE_IMPORT_KEEP => t('Existing strings are kept, only new strings are added')),
+ '#default_value' => LOCALE_IMPORT_KEEP,
+ '#options' => array(
+ LOCALE_IMPORT_OVERWRITE => t('Strings in the uploaded file replace existing ones, new ones are added'),
+ LOCALE_IMPORT_KEEP => t('Existing strings are kept, only new strings are added')
+ ),
);
$form['import']['submit'] = array('#type' => 'submit', '#value' => t('Import'));
$form['#attributes']['enctype'] = 'multipart/form-data';