diff options
author | Damien Picard <pioverfour> | 2022-09-05 16:25:34 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-09-05 16:29:20 +0300 |
commit | dead26b5778b8bebd642884f11a254edd31c11bc (patch) | |
tree | da0ff617e2bb2968b930a79501e9917d6ad0741f /source/blender/editors/io/io_alembic.c | |
parent | f70cf451edf23a608c09a8b4ed0cabdc3360e00c (diff) |
I18n: translate untitled file names
When saving, the default file name is "untitled" regardless of
selected language. This can be translated, like many graphical
applications do.
This applies to:
- blend file
- alembic file
- collada file
- obj file
- usd file
- rendered image
- grease pencil export
- subtitles export
- other Python exports through ExportHelper
Reviewed By: mont29
Differential Revision: https://developer.blender.org/D15868
Diffstat (limited to 'source/blender/editors/io/io_alembic.c')
-rw-r--r-- | source/blender/editors/io/io_alembic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/io/io_alembic.c b/source/blender/editors/io/io_alembic.c index a7e906b8109..dd35279e0d6 100644 --- a/source/blender/editors/io/io_alembic.c +++ b/source/blender/editors/io/io_alembic.c @@ -80,7 +80,7 @@ static int wm_alembic_export_invoke(bContext *C, wmOperator *op, const wmEvent * char filepath[FILE_MAX]; if (BKE_main_blendfile_path(bmain)[0] == '\0') { - BLI_strncpy(filepath, "untitled", sizeof(filepath)); + BLI_strncpy(filepath, DATA_("untitled"), sizeof(filepath)); } else { BLI_strncpy(filepath, BKE_main_blendfile_path(bmain), sizeof(filepath)); |