mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
Use l tag for languages
This commit is contained in:
parent
0050e17b4c
commit
a13f5453de
12
52.md
12
52.md
|
@ -32,8 +32,7 @@ The list of tags are as follows:
|
||||||
* `address` (optional) address of the calendar event following ISO 19160:2015 and splitting the elements in the array; the country is specified in ISO 3166
|
* `address` (optional) address of the calendar event following ISO 19160:2015 and splitting the elements in the array; the country is specified in ISO 3166
|
||||||
* `place` (optional) name of the place of the calendar event. e.g. university, building, business, public space
|
* `place` (optional) name of the place of the calendar event. e.g. university, building, business, public space
|
||||||
* `g` (optional) [geohash](https://en.wikipedia.org/wiki/Geohash) to associate calendar event with a searchable physical location
|
* `g` (optional) [geohash](https://en.wikipedia.org/wiki/Geohash) to associate calendar event with a searchable physical location
|
||||||
* `languages` (optional) list
|
* `l` (optional, repeated) [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) indicating the language used in the event
|
||||||
of [IETF language tags](https://en.wikipedia.org/wiki/IETF_language_tag) indicating the major languages used in the event
|
|
||||||
* `p` (optional, repeated) 32-bytes hex pubkey of a participant, optional recommended relay URL, and participant's role in the meeting
|
* `p` (optional, repeated) 32-bytes hex pubkey of a participant, optional recommended relay URL, and participant's role in the meeting
|
||||||
* `t` (optional, repeated) hashtag to categorize calendar event
|
* `t` (optional, repeated) hashtag to categorize calendar event
|
||||||
* `r` (optional, repeated) references / links to web pages, documents, video calls, recorded videos, etc.
|
* `r` (optional, repeated) references / links to web pages, documents, video calls, recorded videos, etc.
|
||||||
|
@ -68,7 +67,8 @@ The following tags are deprecated:
|
||||||
["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "<role>"],
|
["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "<role>"],
|
||||||
|
|
||||||
// Languages
|
// Languages
|
||||||
["languages", "<lang>", "<lang>"]
|
["l", "<lang>"]
|
||||||
|
["l", "<lang>"]
|
||||||
|
|
||||||
// Hashtags
|
// Hashtags
|
||||||
["t", "<tag>"],
|
["t", "<tag>"],
|
||||||
|
@ -103,8 +103,7 @@ The list of tags are as follows:
|
||||||
* `place` (recommended if `type` is _onsite_) name of the place of the calendar event. e.g. university, building, business, public space
|
* `place` (recommended if `type` is _onsite_) name of the place of the calendar event. e.g. university, building, business, public space
|
||||||
* `g` (optional) [geohash](https://en.wikipedia.org/wiki/Geohash) to associate calendar event with a searchable physical location
|
* `g` (optional) [geohash](https://en.wikipedia.org/wiki/Geohash) to associate calendar event with a searchable physical location
|
||||||
* `url` (recommended if `type` is _online_) the url where the user can access the calendar event; it can be a nostr:naddr1xxx (preferably a NIP-53 event) or an http(s)://xxx endpoint
|
* `url` (recommended if `type` is _online_) the url where the user can access the calendar event; it can be a nostr:naddr1xxx (preferably a NIP-53 event) or an http(s)://xxx endpoint
|
||||||
* `languages` (optional) list
|
* `l` (optional, repeated) [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) indicating the language used in the event
|
||||||
of [IETF language tags](https://en.wikipedia.org/wiki/IETF_language_tag) indicating the major languages used in the event
|
|
||||||
* `p` (optional, repeated) 32-bytes hex pubkey of a participant, optional recommended relay URL, and participant's role in the meeting
|
* `p` (optional, repeated) 32-bytes hex pubkey of a participant, optional recommended relay URL, and participant's role in the meeting
|
||||||
* `t` (optional, repeated) hashtag to categorize calendar event
|
* `t` (optional, repeated) hashtag to categorize calendar event
|
||||||
* `r` (optional, repeated) references / links to web pages, documents, video calls, recorded videos, etc.
|
* `r` (optional, repeated) references / links to web pages, documents, video calls, recorded videos, etc.
|
||||||
|
@ -140,7 +139,8 @@ The following tags are deprecated:
|
||||||
["url", "<nostr:naddr1xxx or a http(s)://xxx>"],
|
["url", "<nostr:naddr1xxx or a http(s)://xxx>"],
|
||||||
|
|
||||||
// Languages
|
// Languages
|
||||||
["languages", "<lang>", "<lang>"]
|
["l", "<lang>"]
|
||||||
|
["l", "<lang>"]
|
||||||
|
|
||||||
// Participants
|
// Participants
|
||||||
["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "<role>"],
|
["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "<role>"],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user