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

merge-requests/26/head
Dries Buytaert 2008-09-09 13:43:40 +00:00
parent 3ed8258ed7
commit 5ba4c53379
1 changed files with 1 additions and 0 deletions

View File

@ -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';