mirror of https://github.com/apache/cloudstack.git
Fix some message labels
This commit is contained in:
parent
14142363a1
commit
2f26cf87b6
|
|
@ -40,7 +40,7 @@ label.suspend.project=Suspend Project
|
|||
message.suspend.project=Are you sure you want to suspend this project?
|
||||
state.Suspended=Suspended
|
||||
label.edit.project.details=Edit project details
|
||||
label.new.project
|
||||
label.new.project=New Project
|
||||
state.Active=Active
|
||||
state.Disabled=Disabled
|
||||
label.projects=Projects
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@
|
|||
.click();
|
||||
|
||||
// Validation
|
||||
$.extend($.validator.messages, { required: 'label.required' });
|
||||
$.extend($.validator.messages, { required: _l('label.required') });
|
||||
|
||||
// Check for pending project invitations
|
||||
cloudStack.projects.invitationCheck({
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
(function($, cloudStack, _l) {
|
||||
(function($, cloudStack) {
|
||||
cloudStack.dialog = {
|
||||
/**
|
||||
* Error message form
|
||||
|
|
@ -275,7 +275,7 @@
|
|||
}
|
||||
|
||||
$input.data('validation-rules', field.validation);
|
||||
$('<label>').addClass('error').appendTo($value).html('*' + _l('required'));
|
||||
$('<label>').addClass('error').appendTo($value).html('*' + _l('label.required'));
|
||||
});
|
||||
|
||||
$form.find('select').trigger('change');
|
||||
|
|
@ -417,4 +417,4 @@
|
|||
});
|
||||
}
|
||||
};
|
||||
})(window.jQuery, window.cloudStack, window._l);
|
||||
})(window.jQuery, window.cloudStack);
|
||||
|
|
|
|||
Loading…
Reference in New Issue