1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 17:22:42 +01:00
phorge-phorge/src/applications/daemon
epriestley a7c008708d Correct a mangled translation string in "bin/phd log --id X"
Summary:
Ref T13210. See PHI930. This translation is wrong: the parameter is a comma-separated list as a string, but the USEnglish translation provides alternatives. We can't select among alternatives based on a random string (it isn't a plurality value to let us select "chair" vs "chairs", and isn't a gender value to let us select "his profile" vs "her profile") so we get an error.

But the string itself is also misleading, since "bin/phd log --id A --id B --id C" will say "none of these are valid" if //any// of them are invalid.

Instead, just tell the user explicitly about the first problem.

Test Plan:
  - Ran `bin/phd log --id` with good (got logs) and bad IDs (got sensible error).
  - Ran `bin/phd log` with any logs (got logs) and (simluated) without any logs (got error).

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13210

Differential Revision: https://secure.phabricator.com/D19755
2018-10-26 06:13:18 -07:00
..
application Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
controller Fix typo in "button" 2018-06-08 15:09:07 -07:00
event Remove daemon envHash and envInfo 2015-11-11 08:54:45 +11:00
garbagecollector Add a "lock log" for debugging where locks are being held 2018-03-05 17:55:34 -08:00
management Correct a mangled translation string in "bin/phd log --id X" 2018-10-26 06:13:18 -07:00
query Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
storage Add a "lock log" for debugging where locks are being held 2018-03-05 17:55:34 -08:00
view Separate button CSS classes 2017-06-05 20:14:34 +00:00