Skip to content

Commit

Permalink
Set locale for CLI, and move issue reporting to Phabricator
Browse files Browse the repository at this point in the history
  • Loading branch information
samwilson committed Mar 3, 2017
1 parent 30bc569 commit 7cb7e2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ia-upload
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ require __DIR__ . '/vendor/autoload.php';
use IaUpload\Commands\JobsCommand;
use Symfony\Component\Console\Application;

setlocale( LC_ALL, 'en_US.UTF-8' );

$application = new Application();
$application->add( new JobsCommand() );
$application->run();
2 changes: 1 addition & 1 deletion views/template.twig
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
</div>
<footer class="text-center text-muted">
<p>
{{ 'site-explanation'|message('https://wikitech.wikimedia.org/wiki/Tool:IA_Upload', 'https://github.com/wikisource/ia-upload/issues')|raw }}
{{ 'site-explanation'|message('https://wikitech.wikimedia.org/wiki/Tool:IA_Upload', 'https://phabricator.wikimedia.org/maniphest/task/create/?projects=wikisource')|raw }}
</p>
</footer>
</body>
Expand Down

0 comments on commit 7cb7e2b

Please sign in to comment.