Page MenuHomePhabricator

Fix a pht string
ClosedPublic

Authored by joshuaspence on Jun 15 2015, 6:07 AM.
Tags
None
Referenced Files
F14063204: D13292.diff
Mon, Nov 18, 5:15 PM
F14060300: D13292.id32146.diff
Mon, Nov 18, 12:28 AM
F14055826: D13292.id.diff
Sat, Nov 16, 4:05 PM
F14019180: D13292.id32147.diff
Tue, Nov 5, 9:41 PM
F14019179: D13292.id32146.diff
Tue, Nov 5, 9:41 PM
F14019178: D13292.id.diff
Tue, Nov 5, 9:41 PM
F14016522: D13292.diff
Mon, Nov 4, 9:57 AM
F14005266: D13292.diff
Sun, Oct 27, 10:17 AM
Subscribers

Details

Reviewers
epriestley
chad
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rP2d5f3d9e5aff: Fix a pht string
Summary

This translation string is wrong and causes the following warning when running unit tests:

[2015-06-15 16:03:41] ERROR 2: vsprintf(): Too few arguments at [/home/joshua/workspace/github.com/phacility/libphutil/src/internationalization/PhutilTranslator.php:95]
arcanist(head=master, ref.master=956bfa701c36), phabricator(head=master, ref.master=80f11427e576), phutil(head=master, ref.master=3ff84448a916)
  #0 vsprintf(string, array) called at [<phutil>/src/internationalization/PhutilTranslator.php:95]
  #1 PhutilTranslator::translate(string)
  #2 call_user_func_array(array, array) called at [<phutil>/src/internationalization/pht.php:17]
  #3 pht(string) called at [<phabricator>/src/applications/auth/controller/PhabricatorAuthStartController.php:75]
  #4 PhabricatorAuthStartController::handleRequest(AphrontRequest) called at [<phabricator>/src/aphront/AphrontController.php:69]
  #5 AphrontController::delegateToController(PhabricatorAuthStartController) called at [<phabricator>/src/applications/base/controller/PhabricatorController.php:213]
  #6 PhabricatorController::willBeginExecution() called at [<phabricator>/src/applications/base/controller/__tests__/PhabricatorAccessControlTestCase.php:270]
  #7 PhabricatorAccessControlTestCase::checkAccess(string, PhabricatorTestController, AphrontRequest, array, array) called at [<phabricator>/src/applications/base/controller/__tests__/PhabricatorAccessControlTestCase.php:112]
  #8 PhabricatorAccessControlTestCase::testControllerAccessControls()
  #9 call_user_func_array(array, array) called at [<arcanist>/src/unit/engine/phutil/PhutilTestCase.php:492]
  #10 PhutilTestCase::run() called at [<arcanist>/src/unit/engine/PhutilUnitTestEngine.php:65]
  #11 PhutilUnitTestEngine::run() called at [<arcanist>/src/workflow/ArcanistUnitWorkflow.php:186]
  #12 ArcanistUnitWorkflow::run() called at [<arcanist>/scripts/arcanist.php:382]
Test Plan

arc lint

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Fix a pht string.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
chad added a reviewer: chad.
This revision is now accepted and ready to land.Jun 15 2015, 7:16 AM
This revision was automatically updated to reflect the committed changes.