Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
dba2c775a1
@ -283,10 +283,10 @@ class Advisor
|
||||
$ruleLine = 1;
|
||||
$j++;
|
||||
$rules[$j] = array( 'name' => $match[1]);
|
||||
$lines[$j] = array( 'name' => $i);
|
||||
$lines[$j] = array( 'name' => $i + 1);
|
||||
if (isset($match[3])) {
|
||||
$rules[$j]['precondition'] = $match[3];
|
||||
$lines[$j]['precondition'] = $i;
|
||||
$lines[$j]['precondition'] = $i + 1;
|
||||
}
|
||||
} else {
|
||||
$errors[] = 'Invalid rule declaration on line '.($i+1);
|
||||
@ -310,7 +310,7 @@ class Advisor
|
||||
continue;
|
||||
}
|
||||
$rules[$j][$ruleSyntax[$ruleLine]] = chop(substr($line, 1));
|
||||
$lines[$j][$ruleSyntax[$ruleLine]] = $i;
|
||||
$lines[$j][$ruleSyntax[$ruleLine]] = $i + 1;
|
||||
$ruleLine += 1;
|
||||
}
|
||||
|
||||
|
||||
448
po/be@latin.po
448
po/be@latin.po
File diff suppressed because it is too large
Load Diff
642
po/en_GB.po
642
po/en_GB.po
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
448
po/pt_BR.po
448
po/pt_BR.po
File diff suppressed because it is too large
Load Diff
448
po/sr@latin.po
448
po/sr@latin.po
File diff suppressed because it is too large
Load Diff
448
po/uz@latin.po
448
po/uz@latin.po
File diff suppressed because it is too large
Load Diff
448
po/zh_CN.po
448
po/zh_CN.po
File diff suppressed because it is too large
Load Diff
448
po/zh_TW.po
448
po/zh_TW.po
File diff suppressed because it is too large
Load Diff
@ -18,7 +18,7 @@ xgettext \
|
||||
`find . -name '*.php' -not -path './test/*' -not -path './po/*' | sort`
|
||||
|
||||
# Generate PHP code for advisor rules
|
||||
php ./scripts/advisor2php >> po/phpmyadmin.pot
|
||||
php ./scripts/advisor2po >> po/phpmyadmin.pot
|
||||
|
||||
ver=`sed -n "/PMA_VERSION', '/ s/.*PMA_VERSION', '\(.*\)'.*/\1/p" libraries/Config.class.php`
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user