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

550 misuse of language in examples and i18n documentation #558

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ob_v3p0/common_credentials.lines
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Package SharedCredentialDataModels DataModel
Property fieldOfStudy String 0..1 "Category, subject, area of study, discipline, or general branch of knowledge. Examples include Business, Education, Psychology, and Technology."
Property humanCode String 0..1 "The code, generally human readable, associated with an achievement."
Property image Image 0..1 "An image representing the achievement."
Property @language LanguageCode 0..1 "The language of the achievement."
Property inLanguage LanguageCode 0..1 "The language of the achievement." "i:https://schema.org/inLanguage"
Property name String 1 "The name of the achievement." "i:https://schema.org/name"
Property otherIdentifier IdentifierEntry 0..* "A list of identifiers for the described entity."
Property related Related 0..* "The related property identifies another Achievement that should be considered the same for most purposes. It is primarily intended to identify alternate language editions or previous versions of Achievements."
Expand Down Expand Up @@ -137,7 +137,7 @@ Package SharedCredentialDataModels DataModel
Class Related Unordered false [] "Identifies a related achievement."
Property id URI 1 "The related achievement."
Property type IRI 1..* array-compacted "The value of the type property MUST be an unordered set. One of the items MUST be the IRI 'Related'."
Property @language LanguageCode 0..1 "The language of the related achievement."
Property inLanguage LanguageCode 0..1 "The language of the related achievement." "i:https://schema.org/inLanguage"
Property version String 0..1 "The version of the related achievement."
Mixin Extensions

Expand Down
9 changes: 9 additions & 0 deletions ob_v3p0/context-3.0.3.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
},
"version": {
"@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#version"
},
"inLanguage": {
"@id": "https://schema.org/inLanguage"
}
}
},
Expand Down Expand Up @@ -331,6 +334,9 @@
"type": "@type",
"version": {
"@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#version"
},
"inLanguage": {
"@id": "https://schema.org/inLanguage"
}
}
},
Expand Down Expand Up @@ -417,6 +423,9 @@
"@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#image",
"@type": "@id"
},
"inLanguage": {
"@id": "https://schema.org/inLanguage"
},
"name": {
"@id": "https://schema.org/name"
},
Expand Down
4 changes: 2 additions & 2 deletions ob_v3p0/impl/migrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ document, the full IRI `https://w3id.org/openbadges#BadgeClass` is used here).
{
"@context": "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json",
"type": ["Achievement", "https://w3id.org/openbadges#BadgeClass"],
"@language": "en",
"inLanguage": "en",
"id": "https://example.com/achievements/c3c1ea5b-9d6b-416d-ab7f-76da1df3e8d6"
...
"related": [
Expand All @@ -90,7 +90,7 @@ document, the full IRI `https://w3id.org/openbadges#BadgeClass` is used here).
{
"type": ["Related"],
"id": "https://example.com/achievements/c3c1ea5b-9d6b-416d-ab7f-76da1df3e8d6/es",
"@language": "es"
"inLanguage": "es"
}
]
}
Expand Down
Loading