Commit 5ba4c533 authored by Dries's avatar Dries
Browse files

- Patch #305920 by Gabor: invlidate JavaScript language cache when a string is edited.

parent 3ed8258e
......@@ -856,6 +856,7 @@ function locale_translate_edit_form_submit($form, &$form_state) {
drupal_set_message(t('The string has been saved.'));
// Clear locale cache.
_locale_invalidate_js();
cache_clear_all('locale:', 'cache', TRUE);
$form_state['redirect'] = 'admin/build/translate/search';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment