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

add proper i18n for titles of new records #2609

Merged
merged 2 commits into from Feb 1, 2022

Conversation

nebulon42
Copy link
Contributor

Description

Splitting of i18n in action verb and object name singular caused wrong grammar on some languages with more morphologic grammar. This PR fixes that by reversing the splitting and introducing one translation string for each of the new object form titles.

Related JIRA Ticket or GitHub Issue

Fixes #2584

How Has This Been Tested?

visual testing

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have read the CONTRIBUTING document.
  • I have authority to submit this code.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@nebulon42 nebulon42 marked this pull request as draft January 14, 2022 20:41
@nebulon42 nebulon42 marked this pull request as ready for review January 14, 2022 20:49
@nebulon42
Copy link
Contributor Author

I don't see how the test failure should be related to my changes but I'm not 100% sure.

quoideneuf
quoideneuf previously approved these changes Feb 1, 2022
@quoideneuf quoideneuf merged commit 2b3d379 into archivesspace:master Feb 1, 2022
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.

i18n: Splitting up i18n enabled text into parts leads to incorrect grammar in languages such as German
2 participants