Add missing strings for quiesce VM, SMB fields

This commit is contained in:
Brian Federle 2013-12-18 13:09:42 -08:00
parent 2e91cbe1ae
commit 34174bbcbb
6 changed files with 19 additions and 11 deletions

View File

@ -14,6 +14,10 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
label.quiesce.vm=Quiesce VM
label.smb.username=SMB Username
label.smb.password=SMB Password
label.smb.domain=SMB Domain
label.hypervisors=Hypervisors
label.home=Home
label.sockets=Sockets

View File

@ -25,6 +25,10 @@ under the License.
<% long now = System.currentTimeMillis(); %>
<script type="text/javascript">
dictionary = {
'label.quiesce.vm': '<fmt:message key="label.quiesce.vm" />',
'label.smb.username': '<fmt:message key="label.smb.username" />',
'label.smb.password': '<fmt:message key="label.smb.password" />',
'label.smb.domain': '<fmt:message key="label.smb.domain" />',
'label.hypervisors': '<fmt:message key="label.hypervisors" />',
'label.home': '<fmt:message key="label.home" />',
'label.sockets': '<fmt:message key="label.sockets" />',

View File

@ -43,7 +43,7 @@
isChecked: false
},
quiescevm: {
label: 'Quiesce VM',
label: 'label.quiesce.vm',
isBoolean: true,
isChecked: false
}

View File

@ -576,7 +576,7 @@
desc: 'message.action.take.snapshot',
fields: {
quiescevm: {
label: 'Quiesce VM',
label: 'label.quiesce.vm',
isBoolean: true,
isHidden: function(args) {
var hidden = true;

View File

@ -15040,14 +15040,14 @@
//SMB
smbUsername: {
label: 'SMB Username',
label: 'label.smb.username',
validation: {
required: true
},
isHidden: true
},
smbPassword: {
label: 'SMB Password',
label: 'label.smb.password',
isPassword: true,
validation: {
required: true
@ -15055,7 +15055,7 @@
isHidden: true
},
smbDomain: {
label: 'SMB Domain',
label: 'label.smb.domain',
validation: {
required: true
},
@ -16410,20 +16410,20 @@
//SMB (begin)
smbUsername: {
label: 'SMB Username',
label: 'label.smb.username',
validation: {
required: true
}
},
smbPassword: {
label: 'SMB Password',
label: 'label.smb.password',
isPassword: true,
validation: {
required: true
}
},
smbDomain: {
label: 'SMB Domain',
label: 'label.smb.domain',
validation: {
required: true
}

View File

@ -1747,14 +1747,14 @@
//SMB
smbUsername: {
label: 'SMB Username',
label: 'label.smb.username',
validation: {
required: true
},
isHidden: true
},
smbPassword: {
label: 'SMB Password',
label: 'label.smb.password',
isPassword: true,
validation: {
required: true
@ -1762,7 +1762,7 @@
isHidden: true
},
smbDomain: {
label: 'SMB Domain',
label: 'label.smb.domain',
validation: {
required: true
},