From ac3d8ab9c5547c0f9affa5090d74151439d96b4b Mon Sep 17 00:00:00 2001 From: Timothy Hatcher Date: Thu, 19 Aug 2021 17:23:02 -0700 Subject: [PATCH 1/4] Add the and prose. Fixes issue #60. --- index.bs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/index.bs b/index.bs index 8a97b1b1..1b37e75f 100644 --- a/index.bs +++ b/index.bs @@ -66,7 +66,9 @@ This key must be present. ### Key `name` -This key must be present. +Name of the extension used in the browser’s user interface. This should be the full name used to identify the extension. See [[#key-short_name]] about declaring a shorter name for some user interface contexts. + +This key must be present. This property can be localized. ### Key `version` @@ -166,7 +168,9 @@ This key may be present. ### Key `short_name` -This key may be present. +Short name of the extension used in the browser’s user interface when the [name](#key-name) is too long. If `short_name` is not included, `name` will be used and may be truncated by the browser if needed. + +This key may be present. This property can be localized. ### Key `storage` From 6610b39f407b9fa88425471e9ac5075668b542ab Mon Sep 17 00:00:00 2001 From: Timothy Hatcher Date: Tue, 31 Aug 2021 16:40:34 -0700 Subject: [PATCH 2/4] Apply tweaked wording for `name` Co-authored-by: Simeon Vincent --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 1b37e75f..2ce56271 100644 --- a/index.bs +++ b/index.bs @@ -168,7 +168,7 @@ This key may be present. ### Key `short_name` -Short name of the extension used in the browser’s user interface when the [name](#key-name) is too long. If `short_name` is not included, `name` will be used and may be truncated by the browser if needed. +The short name of the extension. This value should be used in contexts where [`name`](#key-name) is too long to use in full. If `short_name` is not provided, manifest consumers should use a truncated version of `name`. This key may be present. This property can be localized. From f4a787fa67df8ae612596ac83af00174b6369fed Mon Sep 17 00:00:00 2001 From: Timothy Hatcher Date: Tue, 31 Aug 2021 16:41:51 -0700 Subject: [PATCH 3/4] Apply suggestion for `name` description. Co-authored-by: Simeon Vincent --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 2ce56271..487abc57 100644 --- a/index.bs +++ b/index.bs @@ -66,7 +66,7 @@ This key must be present. ### Key `name` -Name of the extension used in the browser’s user interface. This should be the full name used to identify the extension. See [[#key-short_name]] about declaring a shorter name for some user interface contexts. +Name of the extension used in the browser’s user interface. This should be the full name used to identify the extension. See also `short_name` key. This key must be present. This property can be localized. From 27d3ee8496d8475d503ddb910171da9db77ba4e4 Mon Sep 17 00:00:00 2001 From: Timothy Hatcher Date: Tue, 31 Aug 2021 16:47:18 -0700 Subject: [PATCH 4/4] Use a markdown link instead. Co-authored-by: Simeon Vincent --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 487abc57..5574ab8b 100644 --- a/index.bs +++ b/index.bs @@ -66,7 +66,7 @@ This key must be present. ### Key `name` -Name of the extension used in the browser’s user interface. This should be the full name used to identify the extension. See also `short_name` key. +Name of the extension used in the browser’s user interface. This should be the full name used to identify the extension. See also [`short_name` key](#key-short_name). This key must be present. This property can be localized.