Minor - Rename language variable

pull/2487/head
Yannick Warnier 7 years ago
parent 1948879ccf
commit 1538a5aa60
  1. 2
      main/work/edit.php
  2. 2
      main/work/upload.php
  3. 2
      main/work/upload_from_template.php
  4. 2
      main/work/work.lib.php

@ -273,7 +273,7 @@ if ($form->validate()) {
Security::clear_token();
} else {
// Bad token or can't add works
Display::addFlash(Display::return_message(get_lang('IsNotPosibleSaveTheDocument'), 'error'));
Display::addFlash(Display::return_message(get_lang('ImpossibleToSaveTheDocument'), 'error'));
}
$script = 'work_list.php';

@ -125,7 +125,7 @@ if ($form->validate()) {
} else {
// Bad token or can't add works
Display::addFlash(
Display::return_message(get_lang('IsNotPosibleSaveTheDocument'), 'error')
Display::return_message(get_lang('ImpossibleToSaveTheDocument'), 'error')
);
}
}

@ -110,7 +110,7 @@ if ($form->validate()) {
exit;
} else {
// Bad token or can't add works
Display::addFlash(Display::return_message(get_lang('IsNotPosibleSaveTheDocument'), 'error'));
Display::addFlash(Display::return_message(get_lang('ImpossibleToSaveTheDocument'), 'error'));
}
}

@ -4105,7 +4105,7 @@ function processWorkForm(
if ($showFlashMessage) {
Display::addFlash(
Display::return_message(
$message ? $message : get_lang('IsNotPosibleSaveTheDocument'),
$message ? $message : get_lang('ImpossibleToSaveTheDocument'),
'error'
)
);

Loading…
Cancel
Save