mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	CLOUDSTACK-9267: String is not localized on create instance wizards.
Fixed the hard coded string. Added _l() to dictioanry keys.
This commit is contained in:
		
							parent
							
								
									e5ef9336e1
								
							
						
					
					
						commit
						f2d3cc893c
					
				@ -6051,7 +6051,7 @@
 | 
			
		||||
                                            var items = [];
 | 
			
		||||
                                            items.push({
 | 
			
		||||
                                                id: '',
 | 
			
		||||
                                                description: 'label.none'
 | 
			
		||||
                                                description: _l('label.none')
 | 
			
		||||
                                            });
 | 
			
		||||
                                            items.push({
 | 
			
		||||
                                                id: 'modp1024',
 | 
			
		||||
@ -6119,7 +6119,7 @@
 | 
			
		||||
                                            var items = [];
 | 
			
		||||
                                            items.push({
 | 
			
		||||
                                                id: '',
 | 
			
		||||
                                                description: 'label.none'
 | 
			
		||||
                                                description: _l('label.none')
 | 
			
		||||
                                            });
 | 
			
		||||
                                            items.push({
 | 
			
		||||
                                                id: 'modp1024',
 | 
			
		||||
@ -6400,7 +6400,7 @@
 | 
			
		||||
                                            var items = [];
 | 
			
		||||
                                            items.push({
 | 
			
		||||
                                                id: '',
 | 
			
		||||
                                                description: 'label.none'
 | 
			
		||||
                                                description: _l('label.none')
 | 
			
		||||
                                            });
 | 
			
		||||
                                            items.push({
 | 
			
		||||
                                                id: 'modp1024',
 | 
			
		||||
@ -6468,7 +6468,7 @@
 | 
			
		||||
                                            var items = [];
 | 
			
		||||
                                            items.push({
 | 
			
		||||
                                                id: '',
 | 
			
		||||
                                                description: 'label.none'
 | 
			
		||||
                                                description: _l('label.none')
 | 
			
		||||
                                            });
 | 
			
		||||
                                            items.push({
 | 
			
		||||
                                                id: 'modp1024',
 | 
			
		||||
 | 
			
		||||
@ -372,7 +372,7 @@
 | 
			
		||||
 | 
			
		||||
                                                $select.addClass('selected').append(
 | 
			
		||||
                                                    $('<div>').addClass('hypervisor')
 | 
			
		||||
                                                    .append($('<label>').html('Hypervisor:'))
 | 
			
		||||
                                                    .append($('<label>').html(_l('label.hypervisor') + ':'))
 | 
			
		||||
                                                    .append($('<select>').attr({
 | 
			
		||||
                                                        name: 'hypervisorid'
 | 
			
		||||
                                                    }))
 | 
			
		||||
 | 
			
		||||
@ -706,7 +706,7 @@
 | 
			
		||||
     */
 | 
			
		||||
    var addProject = function() {
 | 
			
		||||
        pageElems.newProjectForm().dialog({
 | 
			
		||||
            title: 'label.new.project',
 | 
			
		||||
            title: _l('label.new.project'),
 | 
			
		||||
            closeOnEscape: false,
 | 
			
		||||
            width: 760
 | 
			
		||||
        }).closest('.ui-dialog').overlay();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user