-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(notice-comment): fix various copy issues #4497
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
lang/zh-Hans.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls correct the translations
lang/zh-Hant.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please correct the translations
@@ -27,7 +27,9 @@ const NoticeActorName = ({ | |||
className={styles.displayName} | |||
data-test-id={TEST_ID.NOTICE_USER_DISPLAY_NAME} | |||
> | |||
{user.displayName} | |||
{user.displayName && user.displayName.length > 20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can use MAX_USER_DISPLAY_NAME_LENGTH
from utils/enums
instead
also fixes PR-13 re: #4497
50ea1b7
to
ce547fc
Compare
@robertu7 Sorry the translation bit passed through, prolly cuz I missed it after it changed after the i18n check or something. Ready for review again! |
re: #4460