Follow-up Comment #8, task #16582 (group administration):

> I tried to add notices to .JSON files in _locales, but the WebExtensions
implementation of my browser doesn't accept comments specifically in the
locale-definitions.

The definition of JSON (RFC 8259) does not allow comments that start with //.
That is invalid syntax. Instead, the common way to add comments to a JSON file
is to add them in a property, with a name that will hopefully be ignored by
all software that processes this JSON file. For example:

{
    "manifest_version": 2,
    "copyright-notice": "Copyright (C) ...."
    ...
}




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/task/?16582>

_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to