remove expendable variable declaration on Sections
This commit is contained in:
		
							parent
							
								
									acfc3cc1a2
								
							
						
					
					
						commit
						8f135f6dfc
					
				| @ -1,6 +1,6 @@ | |||||||
| return function(form, uci) | return function(form, uci) | ||||||
| 	if uci:get_bool("autoupdater", "settings", "enabled") then | 	if uci:get_bool("autoupdater", "settings", "enabled") then | ||||||
| 		local s = form:section( | 		form:section( | ||||||
| 			Section, nil, | 			Section, nil, | ||||||
| 			translate('This node will automatically update its firmware when a new version is available.') | 			translate('This node will automatically update its firmware when a new version is available.') | ||||||
| 		) | 		) | ||||||
|  | |||||||
| @ -28,7 +28,7 @@ end | |||||||
| 
 | 
 | ||||||
| local f = Form(translate("WLAN")) | local f = Form(translate("WLAN")) | ||||||
| 
 | 
 | ||||||
| local s = f:section(Section, nil, translate( | f:section(Section, nil, translate( | ||||||
| 	"You can enable or disable your node's client and mesh network " | 	"You can enable or disable your node's client and mesh network " | ||||||
| 	.. "SSIDs here. Please don't disable the mesh network without " | 	.. "SSIDs here. Please don't disable the mesh network without " | ||||||
| 	.. "a good reason, so other nodes can mesh with yours.<br /><br />" | 	.. "a good reason, so other nodes can mesh with yours.<br /><br />" | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user