chore: use translations for calendar days #3895
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use translated day of week values for calendar as per issue (#3879)
Design decisions:
Used the existing translations but some of these are 3 char translations vs the 2 char strings that are currently used in the calendar. e.g. English was
Mo
for Monday but after translating the value isMon
. From testing this looks to not be an issue for most languages. I did notice Hindi has no spaces, but need to evaluate if this can be fixed with a translation update or if CSS needs to be used for just a select view languagesEnglish
![image](https://private-user-images.githubusercontent.com/5203347/365422708-54b05b9f-fd08-42d2-b689-82928bd25a25.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNjcwMjgsIm5iZiI6MTczOTM2NjcyOCwicGF0aCI6Ii81MjAzMzQ3LzM2NTQyMjcwOC01NGIwNWI5Zi1mZDA4LTQyZDItYjY4OS04MjkyOGJkMjVhMjUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMTMyNTI4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NGQyOGE1ZGY5NjA1YWE4MDdjNWZhMjlkZDVmNTZkNDJiZjIyZDU4YWJlODg4M2FlYTcxZWY4NWYyOGZhZWY1MyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.s-SZmHBSUOJ4EhWEnIz14is0N7DxCIYad85vshZv0Tc)
Spanish
![image](https://private-user-images.githubusercontent.com/5203347/365422855-4eb8b84f-b11c-40d6-ae6f-f7e8e6a5a785.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNjcwMjgsIm5iZiI6MTczOTM2NjcyOCwicGF0aCI6Ii81MjAzMzQ3LzM2NTQyMjg1NS00ZWI4Yjg0Zi1iMTFjLTQwZDYtYWU2Zi1mN2U4ZTZhNWE3ODUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMTMyNTI4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9N2NiYzhiZGZmMWYzNDE4ODJkZGVjYTc3YmU2NTA5NDNiMTkzN2ZlMGNkYjM0ZTYyNzU4MjM0OTgwMDBkODhlMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.-HY5AwMvyattCMEtNHNgVIyiB00LNYbrhwccs-C1zPc)
German
![image](https://private-user-images.githubusercontent.com/5203347/365422784-2f4e50f7-e02e-4d00-8129-579575fab1c7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNv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