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

allow multiple values for some properties if language differs #189

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

haansn08
Copy link

This PR allows some properties (namely NAME, SUMMARY, DESCRIPTION and LOCATION) to be localized.

Here is an example item from a shopping list localized in German and Japanese which the current validator recognizes as invalid since the SUMMARY property is found twice. The logic in this PR counts the languages separately.

BEGIN:VTODO
DTSTAMP:20230916T091036Z
STATUS:COMPLETED
SUMMARY;LANGUAGE=de:Milch
SUMMARY;LANGUAGE=ja:牛乳
END:VTODO

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.

1 participant