diff options
| author | Rémi Verschelde | 2016-05-21 16:34:56 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-05-21 16:34:56 +0200 |
| commit | be053e62860a6b9d712e6ece4cde025569ff2efb (patch) | |
| tree | 74da8d8fd753cffb9ec7009c2eee13741a0ffb3b /tools/editor/io_plugins | |
| parent | a65a66b2a3b44ae93258cbdab7388752d1a05fad (diff) | |
| download | godot-be053e62860a6b9d712e6ece4cde025569ff2efb.tar.gz godot-be053e62860a6b9d712e6ece4cde025569ff2efb.tar.zst godot-be053e62860a6b9d712e6ece4cde025569ff2efb.zip | |
i18n: Use %d instead of %i in vformat
Fixes #4742.
Diffstat (limited to 'tools/editor/io_plugins')
| -rw-r--r-- | tools/editor/io_plugins/editor_mesh_import_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/io_plugins/editor_mesh_import_plugin.cpp b/tools/editor/io_plugins/editor_mesh_import_plugin.cpp index 7341ccb99..9af7d8daa 100644 --- a/tools/editor/io_plugins/editor_mesh_import_plugin.cpp +++ b/tools/editor/io_plugins/editor_mesh_import_plugin.cpp @@ -362,7 +362,7 @@ Error EditorMeshImportPlugin::import(const String& p_path, const Ref<ResourceImp if (mesh->surface_get_name(i)!="") name=mesh->surface_get_name(i); else - name=vformat(TTR("Surface %i"),i+1); + name=vformat(TTR("Surface %d"),i+1); name_map[name]=mesh->surface_get_material(i); } @@ -498,7 +498,7 @@ Error EditorMeshImportPlugin::import(const String& p_path, const Ref<ResourceImp surf_tool->index(); mesh = surf_tool->commit(mesh); if (name=="") - name=vformat(TTR("Surface %i"),mesh->get_surface_count()-1); + name=vformat(TTR("Surface %d"),mesh->get_surface_count()-1); mesh->surface_set_name(mesh->get_surface_count()-1,name); name=""; surf_tool->clear(); |
