Skip to content

Conversation

@chrisbobbe
Copy link
Contributor

We already have comments saying the strings are UI strings that should be represented in messages_en.json. But this reinforces the point, and also lets you pass the kind of LocalizableText that is an object with .text and .values`.

(I plucked this tiny PR from some work I did while dealing with #5489 but that didn't make it into #5489.)

@chrisbobbe chrisbobbe requested a review from gnprice November 17, 2022 21:07
We already have comments saying the strings are UI strings that
should be represented in messages_en.json. But this reinforces the
point, and also lets you pass the kind of LocalizableText that is an
object with `.text` and `.values`.
@gnprice
Copy link
Member

gnprice commented Nov 19, 2022

Thanks! Looks good; merging, with a small punctuation/formatting fix in the commit message.

@gnprice gnprice force-pushed the pr-action-sheet-button-localizable-text branch from 27ddbc7 to 04d47b8 Compare November 19, 2022 00:10
@gnprice gnprice merged commit 04d47b8 into zulip:main Nov 19, 2022
@chrisbobbe chrisbobbe deleted the pr-action-sheet-button-localizable-text branch November 19, 2022 00:10
@chrisbobbe
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants