Page MenuHomePhorge

Rebrand: Add "path" entries to PlatformSymbols
ClosedPublic

Authored by avivey on Jul 10 2023, 20:42.

Details

Summary

Ref T15006. Change a few places that were mentioning phabricator path.

Test Plan

Mk1 eyeball on each effected page.

Diff Detail

Repository
rP Phorge
Branch
rebrand2
Lint
Lint Errors
Unit
Test Failures
Build Status
Buildable 663
Build 663: arc lint + arc unit

Unit TestsFailed

TimeTest
17 msDiffusionServeControllerTestCase::testHandleRequest
EXCEPTION (RuntimeException): preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated #0 [internal function]: PhutilErrorHandler::handleError(8192, '...', '...', 70) #1 /home/avivey/devtools/phabricator/src/applications/repository/query/PhabricatorRepositoryQuery.php(70): preg_match('...', NULL)
2 msPhabricatorAnchorTestCase::testAnchors
8 assertions passed.
605 msPhabricatorCelerityTestCase::testCelerityMaps
1 assertion passed.
87 msPhabricatorConduitTestCase::testConduitMethods
1 assertion passed.
0 msPhabricatorInfrastructureTestCase::testApplicationsInstalled
1 assertion passed.
View Full Test Results (1 Failed · 22 Passed · 1 Skipped)

Event Timeline

avivey requested review of this revision.Jul 10 2023, 20:42
src/infrastructure/markup/markuprule/PhutilRemarkupEvalRule.php
71

I wonder why the original author proposed to use pht() here.

Maybe to allow message override (?)

Yeah why not. asd

Premising that if we do not use pht() we are losing string-overriding support. It's weird but maybe our glorious Evan P. wanted to override "phorge/" with → "AHAHAHAHAHALOLPHORGE/". Maybe this could be re-introduced in the future adding a function like getPlatformClientNameLocalized() and getPlatformClientPathLocalized().

This revision is now accepted and ready to land.Aug 15 2023, 07:55

I don't understand why the pht was there - it's a "path", why would it be translated?

Maybe to be it consistent with "super-rebranded-product/" :D I don't know