I18n: extract and disambiguate a few messages #119065

Merged
Bastien Montagne merged 11 commits from pioverfour/blender:dp_disambiguate into main 2024-04-15 12:02:29 +02:00
Member

Extract

  • Statuses for the external text editor
  • Newly created enum node item
  • Newly created plane track data
  • Newly created custom orientation data
  • Operator names in drag and drop menu (need to use operator's
    translation context)
  • GN attribute statistic node inputs

Disambiguate

  • Single-letter colors: A and B can mean Alpha and Blue, or simply A
    and B as in two operands in an operation
  • Dissolve: issue reported by Tamar Mebonia in #43295
  • Translate in the User Preferences. This introduces a new
    BLT_I18NCONTEXT_EDITOR_PREFERENCES ("Preferences") translation
    context
  • Planar (reported by deathblood)
    This one is incomplete, because there is currently no way to
    disambiguate presets or GN fields. I don't see how either could be
    achieved cleanly.
    The former would need to define the context inside the preset and
    evaluate the file prior to showing it in the presets menu, which
    sound bad.
    The latter would need to introduce an additional string inside
    FieldInputs, which would be controversial given how little it
    would be used.

Remove

  • Unused translation iface_("%s") in toolbar
  • Remove obsolete N_() tags in a few node descriptions.
Extract - Statuses for the external text editor - Newly created enum node item - Newly created plane track data - Newly created custom orientation data - Operator names in drag and drop menu (need to use operator's translation context) - GN attribute statistic node inputs Disambiguate - Single-letter colors: A and B can mean Alpha and Blue, or simply A and B as in two operands in an operation - Dissolve: issue reported by Tamar Mebonia in #43295 - Translate in the User Preferences. This introduces a new BLT_I18NCONTEXT_EDITOR_PREFERENCES ("Preferences") translation context - Planar (reported by deathblood) This one is incomplete, because there is currently no way to disambiguate presets or GN fields. I don't see how either could be achieved cleanly. The former would need to define the context inside the preset and evaluate the file prior to showing it in the presets menu, which sound bad. The latter would need to introduce an additional string inside `FieldInput`s, which would be controversial given how little it would be used. Remove - Unused translation `iface_("%s")` in toolbar - Remove obsolete N_() tags in a few node descriptions.
Damien Picard added the
Module
User Interface
Interest
Translations
labels 2024-03-04 22:08:39 +01:00
Damien Picard requested review from Bastien Montagne 2024-03-04 22:09:04 +01:00
Damien Picard force-pushed dp_disambiguate from 1d47cfb106 to 5505b42714 2024-03-14 18:28:26 +01:00 Compare
pioverfour changed target branch from blender-v4.1-release to main 2024-03-14 18:31:45 +01:00
Damien Picard added 2 commits 2024-03-22 01:04:11 +01:00
44deb16e26 I18n: extract another message
Extract
- Operator names in drag and drop menu (need to use operator's
  translation context).
Damien Picard added 2 commits 2024-04-05 19:53:55 +02:00
bb5e9bc3d5 Disambiguate one more message
- Planar (reported by deathblood)
  This one is incomplete, because there is currently no way to
  disambiguate either presets or GN fields. I don't see how either
  could be achieved cleanly.
  The former would need to define the context inside the preset and
  evaluate the file prior to showing it in the presets menu, which
  sound bad.
  The latter would need to introduce an additional string inside
  `FieldInput`s, which would be controversial given how little it
  would be used.
Damien Picard added 3 commits 2024-04-07 17:51:53 +02:00
4f27acb489 Disambiguate single-letter colors
- A and B can mean Alpha and Blue, or simply A and B as in two
  operands in an operation.
Damien Picard added 1 commit 2024-04-12 21:50:20 +02:00
Damien Picard added 2 commits 2024-04-15 00:45:30 +02:00
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
75aa618514
Extract GN attribute statistic node inputs
Cleanup:
- Remove obsolete N_() tags in a few node descriptions.

@blender-bot build

@blender-bot build
Bastien Montagne approved these changes 2024-04-15 12:01:40 +02:00
Bastien Montagne left a comment
Owner

LGTM, thanks (and sorry for the delay in handling this one!)

LGTM, thanks (and sorry for the delay in handling this one!)
Bastien Montagne merged commit c306677119 into main 2024-04-15 12:02:29 +02:00
Bastien Montagne deleted branch dp_disambiguate 2024-04-15 12:02:32 +02:00
Author
Member

No problem :)

No problem :)
Sign in to join this conversation.
No reviewers
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
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#119065
No description provided.