mirror of
https://github.com/godotengine/godot.git
synced 2025-11-03 15:11:19 +00:00
Modified editor strings to be translatable in the future
This commit is contained in:
parent
c7e8def446
commit
567cb691ec
96 changed files with 2135 additions and 2103 deletions
|
|
@ -328,7 +328,7 @@ void SampleEditor::_update_sample() {
|
|||
return; //bye or unsupported
|
||||
|
||||
generate_preview_texture(sample,peakdisplay);
|
||||
info_label->set_text("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: ")+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."));
|
||||
|
||||
library->add_sample("default",sample);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue