From 188b6fd3d0b7b740c302ac72b762165e8d42fba3 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Tue, 11 Jun 2024 17:42:56 +0200 Subject: [PATCH] Extensions: List of tags to be used for translation Internal module used for translation. Pull Request: https://projects.blender.org/blender/blender/pulls/123069 --- .../_bpy_internal/extensions/__init__.py | 3 + .../modules/_bpy_internal/extensions/tags.py | 57 +++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 scripts/modules/_bpy_internal/extensions/__init__.py create mode 100644 scripts/modules/_bpy_internal/extensions/tags.py diff --git a/scripts/modules/_bpy_internal/extensions/__init__.py b/scripts/modules/_bpy_internal/extensions/__init__.py new file mode 100644 index 00000000000..e566929148e --- /dev/null +++ b/scripts/modules/_bpy_internal/extensions/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2024 Blender Authors +# +# SPDX-License-Identifier: GPL-2.0-or-later diff --git a/scripts/modules/_bpy_internal/extensions/tags.py b/scripts/modules/_bpy_internal/extensions/tags.py new file mode 100644 index 00000000000..dbe774228c8 --- /dev/null +++ b/scripts/modules/_bpy_internal/extensions/tags.py @@ -0,0 +1,57 @@ +# SPDX-FileCopyrightText: 2024 Blender Authors +# +# SPDX-License-Identifier: GPL-2.0-or-later + +# The purpose of this list is to present the tags to be picked up by translation. +# Blender itself will show all the available tags from all the servers. + +# The initial list of tags are the ones used by Blender Extensions Platforms (https://extensions.blender.org). +# Other platforms can send PRs to extend this list further. + +tags = [ + { + "remote_url": "https://extensions.blender.org/api/v1/extensions", + "add-ons": { + '3D View', + 'Add Curve', + 'Add Mesh', + 'Animation', + 'Bake', + 'Camera', + 'Compositing', + 'Development', + 'Game Engine', + 'Geometry Nodes', + 'Grease Pencil', + 'Import-Export', + 'Lighting', + 'Material', + 'Modeling', + 'Mesh', + 'Node', + 'Object', + 'Paint', + 'Pipeline', + 'Physics', + 'Render', + 'Rigging', + 'Scene', + 'Sculpt', + 'Sequencer', + 'System', + 'Text Editor', + 'Tracking', + 'User Interface', + 'UV', + }, + "themes": { + 'Accessibility', + 'Colorful', + 'Dark', + 'High Contrast', + 'Inspired By', + 'Light', + 'Print', + }, + }, +]