#696: the message "Please fill all mandatory fields" is now localized (done in English, French and German)

SVN:trunk[2671]
This commit is contained in:
Denis Flaven
2013-04-02 13:51:05 +00:00
parent 3d79e3fe8f
commit 51d9c30315
5 changed files with 5 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ class iTopWebPage extends NiceWebPage
$sSearchAny = addslashes(Dict::S('UI:SearchValue:Any'));
$sSearchNbSelected = addslashes(Dict::S('UI:SearchValue:NbSelected'));
$this->add_dict_entry('UI:FillAllMandatoryFields');
$bForceMenuPane = utils::ReadParam('force_menu_pane', null);
$sInitClosed = '';

View File

@@ -946,5 +946,6 @@ Wenn Aktionen mit Trigger verknüpft sind, bekommt jede Aktion eine Auftragsnumm
'DayOfWeek-Thursday' => 'Donnerstag',
'DayOfWeek-Friday' => 'Freitag',
'DayOfWeek-Saturday' => 'Samstag',
'UI:FillAllMandatoryFields' => 'Bitte füllen Sie alle Pflichtfelder',
));
?>

View File

@@ -1137,5 +1137,6 @@ When associated with a trigger, each action is given an "order" number, specifyi
'Class:ShortcutOQL+' => '',
'Class:ShortcutOQL/Attribute:oql' => 'Query',
'Class:ShortcutOQL/Attribute:oql+' => 'OQL defining the list of objects to search for',
'UI:FillAllMandatoryFields' => 'Please fill all mandatory fields.'
));
?>

View File

@@ -979,5 +979,6 @@ Lors de l\'association à un déclencheur, on attribue à chaque action un numé
'Class:ShortcutOQL+' => '',
'Class:ShortcutOQL/Attribute:oql' => 'Requête',
'Class:ShortcutOQL/Attribute:oql+' => 'Requête de définition de l\'ensemble des objets',
'UI:FillAllMandatoryFields' => 'Veuillez remplir tous les champs obligatoires.'
));
?>

View File

@@ -134,7 +134,7 @@ function CheckFields(sFormId, bDisplayAlert)
{
if (bDisplayAlert)
{
alert('Please fill-in all mandatory fields before continuing.');
alert(Dict.S('UI:FillAllMandatoryFields'));
}
$('#'+sFormId+' :submit').attr('disable', '');
$('#'+sFormId+' :button[type=submit]').attr('disable', '');