Project

General

Profile

« Previous | Next » 

Revision addc0439

Added by Renato Botelho almost 15 years ago

Fix quotes to use %N$X on gettext calls

View differences:

etc/inc/interfaces.inc
1113 1113
					*/
1114 1114
				}
1115 1115
				if(!is_ipaddr($gateways[$pid])){
1116
					log_error(sprintf(gettext("Could not get a PPTP/L2TP Remote IP address from %1$s for %2$s in interfaces_ppps_configure."), $dhcp_gateway, $gway));
1116
					log_error(sprintf(gettext('Could not get a PPTP/L2TP Remote IP address from %1$s for %2$s in interfaces_ppps_configure.'), $dhcp_gateway, $gway));
1117 1117
					return 0;
1118 1118
				}
1119 1119
				break;
......
1737 1737
	if($vip['password'] != "")
1738 1738
		$password = " pass \"" . $vip_password . "\"";
1739 1739

  
1740
	log_error(sprintf(gettext("Found carpdev interface %1$s on top of interface %2$s"), $vip['interface'], $interface));
1740
	log_error(sprintf(gettext('Found carpdev interface %1$s on top of interface %2$s'), $vip['interface'], $interface));
1741 1741
	if (empty($vip['interface']))
1742 1742
		return;
1743 1743

  
......
1853 1853
		// example:  wlan2
1854 1854
		exec("/sbin/ifconfig wlan create wlandev {$baseif} {$mode} bssid 2>&1", $out, $ret);
1855 1855
		if($ret <> 0) {
1856
			log_error(sprintf(gettext("Failed to clone interface %1$s with error code %2$s, output %3$s"), $baseif, $ret, $out[0]));
1856
			log_error(sprintf(gettext('Failed to clone interface %1$s with error code %2$s, output %3$s'), $baseif, $ret, $out[0]));
1857 1857
			return false;
1858 1858
		}
1859 1859
		$newif = trim($out[0]);
......
2397 2397
				" link " . escapeshellarg($random_mac));
2398 2398
			$wancfg['spoofmac'] = $random_mac;
2399 2399
			write_config();
2400
			file_notice("MAC Address altered", sprintf(gettext("The INVALID MAC address (ff:ff:ff:ff:ff:ff) on interface %1$s has been automatically replaced with %2$s"), $realif, $random_mac), "Interfaces");
2400
			file_notice("MAC Address altered", sprintf(gettext('The INVALID MAC address (ff:ff:ff:ff:ff:ff) on interface %1$s has been automatically replaced with %2$s'), $realif, $random_mac), "Interfaces");
2401 2401
		}
2402 2402
	}
2403 2403

  

Also available in: Unified diff