Submit handler for the file system settings form.
Clears the translation status when the Interface translations directory changes. Without a translations directory local po files in the directory should be ignored. The old translation status is no longer valid.
function locale_system_file_system_settings_submit(&$form, $form_state) {
if ($form['locale_translate_file_directory']['#default_value'] != $form_state['values']['locale_translate_file_directory']) {
locale_translation_clear_status();
}
}