mirror of
				https://git.openwrt.org/project/luci.git
				synced 2025-11-01 06:21:40 +08:00 
			
		
		
		
	luci-mod-network: consistent language in static cfg
I've tried to make this more consistent by using "for" to describe values that are assigned to the host by the DHCP server and "of" to describe values that are provided by the host to the DHCP server. Signed-off-by: David Härdeman <david@hardeman.nu>
This commit is contained in:
		 David Härdeman
					David Härdeman
				
			
				
					committed by
					
						 Paul Donald
						Paul Donald
					
				
			
			
				
	
			
			
			 Paul Donald
						Paul Donald
					
				
			
						parent
						
							46daebe715
						
					
				
				
					commit
					b5ee911ee5
				
			| @ -738,7 +738,7 @@ return view.extend({ | ||||
|  | ||||
| 		so = ss.option(form.Value, 'name', | ||||
| 			_('Hostname'), | ||||
| 			_('Optional hostname to assign')); | ||||
| 			_('The hostname for this host (optional).')); | ||||
| 		so.validate = validateHostname; | ||||
| 		so.rmempty  = true; | ||||
| 		so.write = function(section, value) { | ||||
| @ -800,8 +800,7 @@ return view.extend({ | ||||
| 			so.value(mac, hint ? '%s (%s)'.format(mac, hint) : mac); | ||||
| 		}); | ||||
|  | ||||
| 		so = ss.option(form.Value, 'ip', _('IPv4 address'), | ||||
| 			_('The IP address to be used for this host, or <em>ignore</em> to ignore any DHCP request from this host.')); | ||||
| 		so = ss.option(form.Value, 'ip', _('IPv4 address'), _('The IPv4 address for this host, or <em>ignore</em> to ignore DHCP requests from this host.')); | ||||
| 		so.value('ignore', _('Ignore')); | ||||
| 		so.datatype = 'or(ip4addr,"ignore")'; | ||||
| 		so.validate = function(section, value) { | ||||
| @ -866,7 +865,7 @@ return view.extend({ | ||||
|  | ||||
| 		so = ss.option(form.DynamicList, 'tag', | ||||
| 			_('Tag'), | ||||
| 			_('Assign new, freeform tags to this entry.')); | ||||
| 			_('Additional tags for this host.')); | ||||
|  | ||||
| 		so = ss.option(form.DynamicList, 'match_tag', | ||||
| 			_('Match Tag'), | ||||
|  | ||||
		Reference in New Issue
	
	Block a user