Nodes: make node searches use both translated and original names #108681
No reviewers
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#108681
Loading…
Reference in New Issue
No description provided.
Delete Branch "lictex/blender:search"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
makes the english name of nodes always available for add node search & drag link search, regardless of the interface language
typing a name with IMEs isnt that fast. when using searching as a shortcut, some interface lang (like chinese) users might be slower than an english user
(however to avoid bloating the ui, the english name wont show up. so users might not be able to directly find out what english name of a node is.. consider this is a somewhat advanced operation i think its acceptable)
also a rcs request about this: https://blender.community/c/rightclickselect/sFcbbc
This makes sense, but there are a few issues:
IFACE_()
) were removed, so these messages are no longer extracted to the .po files after applying this PR, and they become untranslatable:To fix this, the translation macros can be replaced by simple extraction macros
N_()
, or new extraction regexes can be introduced foradd_item()
, in the same style as6d39ba7b41
.think they should work well now
functions like
add_item()
however seem to be difficult to match by regexes, as some more complex args are there (like closures)..Looks better, but some markers are now useless.
N()
is only useful with a literal inside, so it has no effect on things likeN_(item->name)
,N_(name.c_str())
, etc.(There is still an issue with the "Ceil" from vector maths, but it was already there before and can be fixed separately.)
This is a fairly big change to our UI, think it needs design validation from the UI team first. Among other questions, I would expect such issue to be present in any type of search menu over items with translated names? This is also not really needed in many languages (all the roman-based one e.g.) I believe, so probably would need to be an opt-in option, maybe with default ON in case detected language of the user matches a certain set of these?
Checkout
From your project repository, check out a new branch and test the changes.