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

Adding a prefix when date is uncertain #41

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

cgalarza
Copy link
Contributor

@cgalarza cgalarza commented Dec 5, 2024

For uncertain dates, we'd like to support displaying something like, "possibly 2002". Approximate dates have a prefix and suffix, so I followed that example. I am not sure what the best way to test this is, let me know if you have any advice on that front. Thanks!

@cgalarza cgalarza marked this pull request as draft December 5, 2024 19:21
@cgalarza cgalarza changed the title Adding a prefix when date is uncertain. Adding a prefix when date is uncertain Dec 5, 2024
@cgalarza cgalarza marked this pull request as ready for review December 5, 2024 20:58
@corylown
Copy link
Owner

corylown commented Dec 7, 2024

@cgalarza thank you for this proposed contribution. I'm happy to include this change and will release a new version once it's merged. Before I merge it, could you please add translation entries for uncertain_date_prefix for the other languages as well? This will help anyone wanting to use these languages to understand the options that are available to them. I'm not sure of a good way to test this since the default translation is empty.

@cgalarza
Copy link
Contributor Author

cgalarza commented Dec 9, 2024

@corylown Whoops! I should have remembered to do that. I added in those translations. Just a heads up that I have another change/request in the works, in case you want to hold off on doing a release until after. Thanks for your help!

@corylown corylown merged commit db3b63b into corylown:main Dec 9, 2024
@cgalarza cgalarza deleted the adding-prefix-when-date-uncertain branch December 10, 2024 15:24
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