Add missing strings for quiesce VM, SMB fields

This commit is contained in:
Brian Federle 2013-12-18 13:09:42 -08:00
parent 8a623d884c
commit 894d215f1b
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

@ -569,7 +569,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

@ -14481,14 +14481,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
@ -14496,7 +14496,7 @@
isHidden: true
},
smbDomain: {
label: 'SMB Domain',
label: 'label.smb.domain',
validation: {
required: true
},
@ -15851,20 +15851,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

@ -1746,14 +1746,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
@ -1761,7 +1761,7 @@
isHidden: true
},
smbDomain: {
label: 'SMB Domain',
label: 'label.smb.domain',
validation: {
required: true
},