From be053e62860a6b9d712e6ece4cde025569ff2efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 21 May 2016 16:34:56 +0200 Subject: i18n: Use %d instead of %i in vformat Fixes #4742. --- tools/editor/io_plugins/editor_mesh_import_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/editor/io_plugins') 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 Refsurface_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 Refindex(); 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(); -- cgit v1.2.3