client/bin/pack/locale_gr/locale/gr/ui/passworddialog.py

166 lines
2.7 KiB
Python
Raw Normal View History

import uiScriptLocale
window = {
"name" : "PasswordDialog",
"x" : 0,
"y" : 0,
"style" : ("movable", "float",),
"width" : 250,
2023-07-21 21:55:58 +03:00
"height" : 150,
"children" :
(
{
"name" : "board",
"type" : "board",
"x" : 0,
"y" : 0,
"width" : 250,
2023-07-21 21:55:58 +03:00
"height" : 150,
"children" :
(
#<23><><EFBFBD><EFBFBD>
{
"name" : "Desc1",
"type" : "text",
"x" : 250/2,
"y" : 30,
"text" : uiScriptLocale.PASSWORD_DESC_1,
"text_horizontal_align":"center"
},
#<23><><EFBFBD><EFBFBD>2
{
"name" : "Desc2",
"type" : "text",
"x" : 250/2,
"y" : 42,
"text" : uiScriptLocale.PASSWORD_DESC_2,
"text_horizontal_align":"center"
},
## Title
{
"name" : "titlebar",
"type" : "titlebar",
"style" : ("attach",),
"x" : 8,
"y" : 8,
"width" : 234,
"color" : "gray",
"children" :
(
{
"name" : "TitleName",
"type" : "text",
"x" : 234/2,
"y" : 3,
"text" : uiScriptLocale.PASSWORD_TITLE,
"text_horizontal_align":"center"
},
),
},
## Password Slot
{
"name" : "password_slot",
"type" : "image",
"x" : 0,
"y" : 56,
"horizontal_align" : "center",
"image" : "d:/ymir work/ui/public/Parameter_Slot_02.sub",
"children" :
(
{
"name" : "password_value",
"type" : "editline",
"x" : 3,
"y" : 3,
"width" : 60,
"height" : 18,
"input_limit" : 6,
"secret_flag" : 1,
},
),
},
2023-07-21 21:55:58 +03:00
{
"name" : "Desc3",
"type" : "text",
"x" : 250/2,
"y" : 80,
"text" : uiScriptLocale.PASSWORD_DESC_3,
"text_horizontal_align":"center"
},
{
"name" : "Desc4",
"type" : "text",
"x" : 250/2,
"y" : 92,
2023-07-21 21:55:58 +03:00
"text" : uiScriptLocale.PASSWORD_DESC_4,
"text_horizontal_align":"center"
},
{
"name" : "Desc5",
"type" : "text",
"x" : 250/2,
"y" : 104,
"text" : uiScriptLocale.PASSWORD_DESC_5,
"text_horizontal_align":"center"
},
## Button
{
"name" : "accept_button",
"type" : "button",
"x" : 250/2 - 61 - 5,
2023-07-21 21:55:58 +03:00
"y" : 120,
"text" : uiScriptLocale.OK,
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
},
{
"name" : "cancel_button",
"type" : "button",
"x" : 250/2 + 5,
2023-07-21 21:55:58 +03:00
"y" : 120,
"text" : uiScriptLocale.CANCEL,
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
},
),
},
),
}