Коммит 32d85704 создал по автору dron5's avatar dron5
Просмотр файлов

Устранение ошибок

владелец ecbf95b0
[gd_scene load_steps=5 format=2]
[gd_scene load_steps=8 format=2]
[ext_resource path="res://cyrTheme.tres" type="Theme" id=1]
[ext_resource path="res://message.gd" type="Script" id=2]
[ext_resource path="res://Button.gd" type="Script" id=3]
[ext_resource path="res://HTTPRequest.gd" type="Script" id=4]
[sub_resource type="GDScript" id=1]
script/source = "extends Button
func _pressed():
TranslationServer.set_locale(\"ru_RU\")"
[sub_resource type="GDScript" id=2]
script/source = "extends Button
func _pressed():
TranslationServer.set_locale(\"en_SU\")"
[sub_resource type="GDScript" id=3]
script/source = "extends Button
func _pressed():
TranslationServer.set_locale(\"eo_XX\")"
[node name="auth_menu" type="Node2D"]
position = Vector2( 1.05264, 15.7895 )
[node name="login" type="Label" parent="."]
margin_left = 248.708
margin_top = 230.384
margin_right = 305.708
margin_bottom = 258.384
margin_left = 250.0
margin_top = 230.0
margin_right = 302.0
margin_bottom = 258.0
theme = ExtResource( 1 )
text = "login"
align = 1
valign = 1
uppercase = true
[node name="password" type="Label" parent="."]
margin_left = 251.754
margin_left = 250.0
margin_top = 274.63
margin_right = 335.754
margin_right = 337.0
margin_bottom = 304.63
theme = ExtResource( 1 )
text = "password"
align = 1
valign = 1
uppercase = true
[node name="your_login" type="LineEdit" parent="."]
margin_left = 380.0
......@@ -55,8 +73,34 @@ margin_left = 450.0
margin_top = 330.0
margin_right = 570.0
margin_bottom = 363.0
theme = ExtResource( 1 )
text = "LogIn"
script = ExtResource( 3 )
[node name="HTTPRequest" type="HTTPRequest" parent="Button"]
script = ExtResource( 4 )
[node name="ru" type="Button" parent="."]
margin_left = 950.0
margin_top = 3.0
margin_right = 985.0
margin_bottom = 26.0
text = "ru"
script = SubResource( 1 )
[node name="en" type="Button" parent="."]
margin_left = 850.0
margin_top = 3.0
margin_right = 885.0
margin_bottom = 26.0
text = "en"
script = SubResource( 2 )
[node name="eo" type="Button" parent="."]
margin_left = 900.0
margin_top = 3.0
margin_right = 935.0
margin_bottom = 26.0
text = "eo"
script = SubResource( 3 )
[connection signal="request_completed" from="Button/HTTPRequest" to="Button/HTTPRequest" method="_on_HTTPRequest_request_completed"]
......@@ -23,6 +23,10 @@ config/icon="res://icon.png"
Global="*res://global.gd"
[locale]
translations=PoolStringArray( "res://locale/en.po", "res://locale/ru_RU.po", "res://locale/eo_XX.po" )
[rendering]
environment/default_environment="res://default_env.tres"
Поддерживает Markdown
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать