I18n: extract and disambiguate a few messages

Disambiguate:
- Rename "Near" to "Proximity" as a particle event type, because using
  an adjective in this context is inconsistent and sounds
  strange (even in English IMO).

Extract:
- "Skip" (Geometry nodes Simulation node output socket)
- "Bake" (Directory path to geometry nodes bake files in the modifier
  UI)
- " (Recovered)" (File information in title bar)

Pull Request: https://projects.blender.org/blender/blender/pulls/112974
This commit is contained in:
Damien Picard 2023-09-19 15:13:25 +02:00 committed by Gitea
parent 5c76c7bf84
commit 52fcd5fdfd
4 changed files with 4 additions and 4 deletions

View File

@ -2429,7 +2429,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
static const EnumPropertyItem react_event_items[] = {
{PART_EVENT_DEATH, "DEATH", 0, "Death", ""},
{PART_EVENT_COLLIDE, "COLLIDE", 0, "Collision", ""},
{PART_EVENT_NEAR, "NEAR", 0, "Near", ""},
{PART_EVENT_NEAR, "NEAR", 0, "Proximity", ""},
{0, nullptr, 0, nullptr, nullptr},
};

View File

@ -1708,7 +1708,7 @@ static void internal_dependencies_panel_draw(const bContext * /*C*/, Panel *pane
uiLayout *col = uiLayoutColumn(layout, false);
uiLayoutSetPropSep(col, true);
uiLayoutSetPropDecorate(col, false);
uiItemR(col, ptr, "simulation_bake_directory", UI_ITEM_NONE, "Bake", ICON_NONE);
uiItemR(col, ptr, "simulation_bake_directory", UI_ITEM_NONE, IFACE_("Bake"), ICON_NONE);
geo_log::GeoTreeLog *tree_log = get_root_tree_log(*nmd);
if (tree_log == nullptr) {

View File

@ -789,7 +789,7 @@ static void node_declare_dynamic(const bNodeTree & /*node_tree*/,
const NodeGeometrySimulationOutput &storage = node_storage(node);
{
SocketDeclarationPtr skip_decl = std::make_unique<decl::Bool>();
skip_decl->name = "Skip";
skip_decl->name = N_("Skip");
skip_decl->identifier = skip_decl->name;
skip_decl->description = N_(
"Forward the output of the simulation input node directly to the output node and ignore "

View File

@ -494,7 +494,7 @@ void wm_window_title(wmWindowManager *wm, wmWindow *win)
"%s %s%s%s%.*s%s - Blender %s",
wm->file_saved ? "" : "*",
has_filepath ? filename : IFACE_("(Unsaved)"),
G_MAIN->recovered ? " (Recovered)" : "",
G_MAIN->recovered ? IFACE_(" (Recovered)") : "",
has_directory ? " [" : "",
has_directory ? int(filename - filepath) : 0,
has_directory ? filepath : "",