The new extension system introduces tags, similar to categories from legacy add-ons, and permissions. A hardcoded list is supported for each, available in the docs: - https://docs.blender.org/manual/en/dev/advanced/extensions/tags.html - https://developer.blender.org/docs/features/extensions/schema/ This change allows extraction of these new metadata to the translation files. In order to disambiguate the new messages, tags use the new "Script" translation context. Permissions are lower case, so there is a low risk of collision, and they use the default context. While the tags are defined per-platform, with extensions.blender.org being the only one available currently, they are extracted as a single list. Pull Request: https://projects.blender.org/blender/blender/pulls/123150
17 lines
424 B
Python
17 lines
424 B
Python
# SPDX-FileCopyrightText: 2024 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# The purpose of this list is to present the permissions to be picked up by translation.
|
|
|
|
# The initial list of permissions is the one defined in the manifest schema
|
|
# (https://developer.blender.org/docs/features/extensions/schema/).
|
|
|
|
permissions = [
|
|
"camera",
|
|
"clipboard",
|
|
"files",
|
|
"microphone",
|
|
"network",
|
|
]
|