After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 700966 - ExtensionSystem: allow translating names and descriptions
ExtensionSystem: allow translating names and descriptions
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-05-24 17:53 UTC by Giovanni Campagna
Modified: 2021-07-05 14:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ExtensionSystem: introduce a new format for extension metadata (5.05 KB, patch)
2013-05-24 17:53 UTC, Giovanni Campagna
none Details | Review

Description Giovanni Campagna 2013-05-24 17:53:47 UTC
It's 2013 and despite shipping GNOME all over the world, extensions.gnome.org
is English only. This is really bad.
On the other hand, it's impossible to get JSON to work with current tools
(intltool, gettext), so we need a new format for metadata. The obvious candidate
is GKeyFile, which is well-known, supported by intltool and by GLib/gjs.

I should point out that I don't want to break compatibility with the old
format, so metadata.json will be supported for the forseeable future.
Comment 1 Giovanni Campagna 2013-05-24 17:53:51 UTC
Created attachment 245257 [details] [review]
ExtensionSystem: introduce a new format for extension metadata

JSON is all nice and everything for internel protocols and structured
storage, but it's a real pain when you start adding translatable
fields. Instead, add a new format, extension.desktop, to supplant
metadata.json.

The format is as follows:
[Shell Extension]
UUID=string
Name=localestring
Comment=localestring
URL=string, optional
ShellVersion=stringlist
JSVersion=stringlist, optional

[Extra] (optional)
<anything, exposed as a string property on the metadata object>
Comment 2 GNOME Infrastructure Team 2021-07-05 14:24:12 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.