I18n: extract and disambiguate a few messages #114159

Merged
Bastien Montagne merged 1 commits from pioverfour/blender:dp_disambiguate into main 2023-11-07 18:09:07 +01:00

1 Commits

Author SHA1 Message Date
Damien Picard 4a838cfd05 I18n: extract and disambiguate a few messages
buildbot/vexp-code-patch-coordinator Build done. Details
Extract:
- "Attribute", when creating a new attribute with
  `GEOMETRY_OT_attribute_add()`: make the default name in the operator
  a null string, and set it to "Attribute" translated inside an invoke
  method instead.
- Also for new attributes, from `BKE_id_attribute_calc_unique_name()`,
  for instance to create a default vertex color layer when going into
  Vertex Paint mode: use `DATA_()` instead of `IFACE_()`, since it
  represents user data.

Disambiguate:
- "Weight" can be the thickness of font glyphs.
- "Mark as Asset" and "Clear Asset" are operator names already
  extracted using the Operator context. They were recently added to a
  manual translation in the UI, but the existing one can be reused.
- "Second" as a time unit in the context of frame snapping.

Some messages reported by Satoshi Yamasaki in #43295.
2023-10-30 19:55:12 +01:00