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/editor_node.cpp | |
| 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/editor_node.cpp')
| -rw-r--r-- | tools/editor/editor_node.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index f638f177e..a198789c6 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -4955,7 +4955,7 @@ Variant EditorNode::drag_files(const Vector<String>& p_files, Control *p_from){ if (p_files.size()>max_files) { Label* label=memnew( Label ); - label->set_text(vformat(TTR("%i more file(s)"), p_files.size()-max_files)); + label->set_text(vformat(TTR("%d more file(s)"), p_files.size()-max_files)); files->add_child(label); } @@ -4986,7 +4986,7 @@ Variant EditorNode::drag_files_and_dirs(const Vector<String>& p_files, Control * if (p_files.size()>max_files) { Label* label=memnew( Label ); - label->set_text(vformat(TTR("%i more file(s) or folder(s)"), p_files.size()-max_files)); + label->set_text(vformat(TTR("%d more file(s) or folder(s)"), p_files.size()-max_files)); files->add_child(label); } |
