Skip to content

Commit 7279db8

Browse files
committed
error message
1 parent 3e99fd2 commit 7279db8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/textual/css/_help_text.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ def offset_single_axis_help_text(property_name: str) -> HelpText:
772772

773773

774774
def position_help_text(property_name: str) -> HelpText:
775-
"""Help text to show when the user supplies the wrong value for position.,
775+
"""Help text to show when the user supplies the wrong value for position.
776776
777777
Args:
778778
property_name: The name of the property.
@@ -783,7 +783,7 @@ def position_help_text(property_name: str) -> HelpText:
783783
return HelpText(
784784
summary=f"Invalid value for [i]{property_name}[/]",
785785
bullets=[
786-
Bullet(f"Valid scalar units are {friendly_list(VALID_POSITION)}"),
786+
Bullet(f"Valid values are {friendly_list(VALID_POSITION)}"),
787787
],
788788
)
789789

0 commit comments

Comments
 (0)