summaryrefslogtreecommitdiff
path: root/tools/editor/io_plugins
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-05-21 16:34:56 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-05-21 16:34:56 +0200
commitbe053e62860a6b9d712e6ece4cde025569ff2efb (patch)
tree74da8d8fd753cffb9ec7009c2eee13741a0ffb3b /tools/editor/io_plugins
parenta65a66b2a3b44ae93258cbdab7388752d1a05fad (diff)
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.cpp4
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 7341ccb99f..9af7d8daa5 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();