Skip to content
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

fix: translate phone input placeholder and message #1424

Open
wants to merge 1 commit into
base: feat/adminjs-v7
Choose a base branch
from

Conversation

DiogoAbu
Copy link

The edit component of phone property was missing translations.

The edit component of phone property was missing translations.
@@ -27,6 +31,8 @@ const Edit: FC<EditPropertyProps> = (props) => {
name: property.path,
required: property.isRequired,
}}
searchPlaceholder={translateLabel('search', resource.id)}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use translateMessage for placeholder too, translateLabel is mostly used for translating some headers.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also add translations to the core translations for all languages? We usually just use https://www.deepl.com/en/translator for this

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