You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
Modified editor strings to be translatable in the future
This commit is contained in:
@@ -239,7 +239,7 @@ void CallDialog::set_object(Object *p_object,StringName p_selected) {
|
||||
return_value->clear();
|
||||
|
||||
_update_method_list();
|
||||
method_label->set_text("Method List For ' "+p_object->get_type()+" ':");
|
||||
method_label->set_text(TTR("Method List For ' ")+p_object->get_type()+" ':");
|
||||
}
|
||||
|
||||
CallDialog::CallDialog() {
|
||||
@@ -253,7 +253,7 @@ CallDialog::CallDialog() {
|
||||
call->set_anchor( MARGIN_BOTTOM, ANCHOR_END );
|
||||
call->set_begin( Point2( 70, 29 ) );
|
||||
call->set_end( Point2( 15, 15 ) );
|
||||
call->set_text("Call");
|
||||
call->set_text(TTR("Call"));
|
||||
|
||||
add_child(call);
|
||||
|
||||
@@ -262,7 +262,7 @@ CallDialog::CallDialog() {
|
||||
cancel->set_anchor( MARGIN_BOTTOM, ANCHOR_END );
|
||||
cancel->set_begin( Point2( 15, 29 ) );
|
||||
cancel->set_end( Point2( 70, 15 ) );
|
||||
cancel->set_text("Close");
|
||||
cancel->set_text(TTR("Close"));
|
||||
|
||||
add_child(cancel);
|
||||
|
||||
@@ -291,21 +291,21 @@ CallDialog::CallDialog() {
|
||||
add_child(property_editor);
|
||||
method_label = memnew( Label );
|
||||
method_label->set_pos( Point2( 15,25) );
|
||||
method_label->set_text("Method List:");
|
||||
method_label->set_text(TTR("Method List:"));
|
||||
|
||||
add_child(method_label);
|
||||
|
||||
Label *label = memnew( Label );
|
||||
label->set_anchor_and_margin( MARGIN_LEFT, ANCHOR_RATIO, 0.53 );
|
||||
label->set_anchor_and_margin( MARGIN_TOP, ANCHOR_BEGIN, 25 );
|
||||
label->set_text("Arguments:");
|
||||
label->set_text(TTR("Arguments:"));
|
||||
|
||||
add_child(label);
|
||||
|
||||
return_label = memnew( Label );
|
||||
return_label->set_anchor_and_margin( MARGIN_LEFT, ANCHOR_RATIO, 0.53 );
|
||||
return_label->set_anchor_and_margin( MARGIN_TOP, ANCHOR_END, 85 );
|
||||
return_label->set_text("Return:");
|
||||
return_label->set_text(TTR("Return:"));
|
||||
|
||||
add_child(return_label);
|
||||
|
||||
@@ -323,7 +323,7 @@ CallDialog::CallDialog() {
|
||||
|
||||
label->set_begin( Point2( 15,54) );
|
||||
label->set_end( Point2( 16,44) );
|
||||
label->set_text("Parameters:");
|
||||
label->set_text(TTR("Parameters:"));
|
||||
|
||||
add_child(label);
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user