From a13f5453dea1aa61b4f7af1a9922522243e74523 Mon Sep 17 00:00:00 2001 From: Daniele Tonon Date: Mon, 18 Mar 2024 20:53:56 +0100 Subject: [PATCH] Use l tag for languages --- 52.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/52.md b/52.md index 9be0480c..12704ea0 100644 --- a/52.md +++ b/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 * `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 -* `languages` (optional) list - of [IETF language tags](https://en.wikipedia.org/wiki/IETF_language_tag) indicating the major languages used in the event +* `l` (optional, repeated) [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) indicating the language 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 * `t` (optional, repeated) hashtag to categorize calendar event * `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>", "", ""], // Languages - ["languages", "", ""] + ["l", ""] + ["l", ""] // Hashtags ["t", ""], @@ -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 * `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 -* `languages` (optional) list - of [IETF language tags](https://en.wikipedia.org/wiki/IETF_language_tag) indicating the major languages used in the event +* `l` (optional, repeated) [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) indicating the language 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 * `t` (optional, repeated) hashtag to categorize calendar event * `r` (optional, repeated) references / links to web pages, documents, video calls, recorded videos, etc. @@ -140,7 +139,8 @@ The following tags are deprecated: ["url", ""], // Languages - ["languages", "", ""] + ["l", ""] + ["l", ""] // Participants ["p", "<32-bytes hex of a pubkey>", "", ""],