Backend messages and field descriptions that reach the UI lose their em-dashes
Per the Microcopy rule: size and duration errors, the flavor errors, run parameter errors, the Resources field descriptions, 401/409/400 details, secret errors, the websocket node description and its on_connect setting. The generated client follows. Claude-Session: https://claude.ai/code/session_01SSi5AvZ7pFmySK8zy3NPMh
This commit is contained in:
@@ -299,7 +299,7 @@ def resolve_flavor(wanted: Resources) -> Resources:
|
||||
row = session.get(Flavor, wanted.flavor)
|
||||
if row is None:
|
||||
raise UnknownFlavor(
|
||||
f"flavor '{wanted.flavor}' does not exist — `fluksio flavors` lists them"
|
||||
f"flavor '{wanted.flavor}' does not exist. `fluksio flavors` lists them"
|
||||
)
|
||||
# Built fresh rather than copied, so the flavor-and-numbers check runs on
|
||||
# the result and this cannot quietly produce something invalid.
|
||||
|
||||
Reference in New Issue
Block a user