diff options
| author | Rémi Verschelde | 2016-05-21 11:34:19 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-05-21 11:34:19 +0200 |
| commit | 436debb0450baffc44956523b8277ecf1a477b7a (patch) | |
| tree | 7da06093df103b151358db1f4b1395aeef67df15 /tools/editor/plugins/sample_editor_plugin.cpp | |
| parent | 2b29e7ba6ff20f81dc512c14fbb0153d1ef6a201 (diff) | |
| parent | 00d8f8604476b525869787f0962bf41b4b591061 (diff) | |
| download | godot-436debb0450baffc44956523b8277ecf1a477b7a.tar.gz godot-436debb0450baffc44956523b8277ecf1a477b7a.tar.zst godot-436debb0450baffc44956523b8277ecf1a477b7a.zip | |
Merge pull request #4733 from akien-mga/pr-i18n-proofreading
i18n: Proofreading of all strings
Diffstat (limited to 'tools/editor/plugins/sample_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/sample_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/sample_editor_plugin.cpp b/tools/editor/plugins/sample_editor_plugin.cpp index 8c5036b42..733e894ba 100644 --- a/tools/editor/plugins/sample_editor_plugin.cpp +++ b/tools/editor/plugins/sample_editor_plugin.cpp @@ -328,7 +328,7 @@ void SampleEditor::_update_sample() { return; //bye or unsupported generate_preview_texture(sample,peakdisplay); - info_label->set_text(TTR("Length: ")+itos(sample->get_length())+" frames ("+String::num(sample->get_length()/(float)sample->get_mix_rate(),2)+" s), "+(sample->get_format()==Sample::FORMAT_PCM16?"16 Bits, ":"8 bits, ")+(sample->is_stereo()?"Stereo.":"Mono.")); + info_label->set_text(TTR("Length:")+" "+vformat(TTR("%i frames"), sample->get_length())+" ("+String::num(sample->get_length()/(float)sample->get_mix_rate(),2)+" s), "+(sample->get_format()==Sample::FORMAT_PCM16?TTR("16 Bits"):TTR("8 Bits"))+", "+(sample->is_stereo()?TTR("Stereo"):TTR("Mono"))+"."); library->add_sample("default",sample); } |
