phtize all the things
Summary: `pht`ize a whole bunch of strings in rP. Test Plan: Intense eyeballing. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: hach-que, Korvin, epriestley Differential Revision: https://secure.phabricator.com/D12797
This commit is contained in:
@@ -170,11 +170,11 @@ foreach ($input as $key => $line) {
|
||||
$line_number = $matches['line'];
|
||||
$path = $matches['path'];
|
||||
|
||||
check_string_value($context, 'Symbol context', $line_no, 128);
|
||||
check_string_value($name, 'Symbol name', $line_no, 128);
|
||||
check_string_value($type, 'Symbol type', $line_no, 12);
|
||||
check_string_value($lang, 'Symbol language', $line_no, 32);
|
||||
check_string_value($path, 'Path', $line_no, 512);
|
||||
check_string_value($context, pht('Symbol context'), $line_no, 128);
|
||||
check_string_value($name, pht('Symbol name'), $line_no, 128);
|
||||
check_string_value($type, pht('Symbol type'), $line_no, 12);
|
||||
check_string_value($lang, pht('Symbol language'), $line_no, 32);
|
||||
check_string_value($path, pht('Path'), $line_no, 512);
|
||||
|
||||
if (!strlen($path) || $path[0] != '/') {
|
||||
throw new Exception(
|
||||
@@ -226,4 +226,4 @@ if (count($symbols)) {
|
||||
commit_symbols($symbols, $repository, $no_purge);
|
||||
}
|
||||
|
||||
echo pht('Done.'), "\n";
|
||||
echo pht('Done.')."\n";
|
||||
|
||||
Reference in New Issue
Block a user