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:
@@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
echo "Migrating task dependencies to edges...\n";
|
||||
echo pht('Migrating task dependencies to edges...')."\n";
|
||||
$table = new ManiphestTask();
|
||||
$table->openTransaction();
|
||||
|
||||
foreach (new LiskMigrationIterator($table) as $task) {
|
||||
$id = $task->getID();
|
||||
echo "Task {$id}: ";
|
||||
echo pht('Task %d: ', $id);
|
||||
|
||||
$deps = $task->getAttachedPHIDs(ManiphestTaskPHIDType::TYPECONST);
|
||||
if (!$deps) {
|
||||
@@ -22,8 +22,8 @@ foreach (new LiskMigrationIterator($table) as $task) {
|
||||
$dep);
|
||||
}
|
||||
$editor->save();
|
||||
echo "OKAY\n";
|
||||
echo pht('OKAY')."\n";
|
||||
}
|
||||
|
||||
$table->saveTransaction();
|
||||
echo "Done.\n";
|
||||
echo pht('Done.')."\n";
|
||||
|
||||
Reference in New Issue
Block a user