Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix : Resource name case in confirm for multi-language #4957

Merged
merged 9 commits into from
Jun 22, 2020

Conversation

JulienMattiussi
Copy link
Contributor

Closes #4783

Issue

Resources names are always set to lower case in confirm messages and it doesn't match with all language synxates (ie : in German, names should be capitalized)

Solution

Allow to force case in translation file

Documentation

Capture d’écran de 2020-06-19 10-35-26

@JulienMattiussi JulienMattiussi added the RFR Ready For Review label Jun 19, 2020
@djhi djhi added this to the 3.6.2 milestone Jun 19, 2020
@djhi
Copy link
Collaborator

djhi commented Jun 19, 2020

Nice. It's a new feature though and should probably be merged on next

@JulienMattiussi JulienMattiussi changed the title Resource name case in confirm Fix : Resource name case in confirm Jun 19, 2020
@JulienMattiussi JulienMattiussi changed the title Fix : Resource name case in confirm Fix : Resource name case in confirm for multi-language Jun 19, 2020
@@ -40,6 +40,7 @@ const customEnglishMessages: TranslationMessages = {
resources: {
customers: {
name: 'Customer |||| Customers',
forcedCaseName: 'Customer |||| Customers',
Copy link
Member

Choose a reason for hiding this comment

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

I don't understand why you add these translations, they should not be necessary.

JulienMattiussi and others added 4 commits June 22, 2020 09:22
Co-authored-by: Francois Zaninotto <francois@marmelab.com>
Co-authored-by: Francois Zaninotto <francois@marmelab.com>
Co-authored-by: Francois Zaninotto <francois@marmelab.com>
@fzaninotto fzaninotto merged commit d5a24d2 into master Jun 22, 2020
@fzaninotto fzaninotto deleted the resource-name-case-in-confirm branch June 22, 2020 09:50
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lowercased delete names
3 participants