aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/property_editor.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2016-05-21 16:34:56 +0200
committerRémi Verschelde2016-05-21 16:34:56 +0200
commitbe053e62860a6b9d712e6ece4cde025569ff2efb (patch)
tree74da8d8fd753cffb9ec7009c2eee13741a0ffb3b /tools/editor/property_editor.cpp
parenta65a66b2a3b44ae93258cbdab7388752d1a05fad (diff)
downloadgodot-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/property_editor.cpp')
-rw-r--r--tools/editor/property_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp
index 587f6f19f..64dccbe29 100644
--- a/tools/editor/property_editor.cpp
+++ b/tools/editor/property_editor.cpp
@@ -1732,7 +1732,7 @@ CustomPropertyEditor::CustomPropertyEditor() {
add_child(checks20[i]);
checks20[i]->hide();
checks20[i]->connect("pressed",this,"_action_pressed",make_binds(i));
- checks20[i]->set_tooltip(vformat(TTR("Bit %i, val %i."), i, 1<<i));
+ checks20[i]->set_tooltip(vformat(TTR("Bit %d, val %i."), i, 1<<i));
}
text_edit = memnew( TextEdit );