]> icculus.org git repositories - duncan/yast2-qt4.git/blob - testsuite/tests/ru1.ui
clicking packages work! so the package selector is now
[duncan/yast2-qt4.git] / testsuite / tests / ru1.ui
1
2 # ---------------------------------------------------------
3 #
4 #  Filename:    Ru1.ui
5 #
6 #  Purpose:     test cases for ui test
7 #
8 #  Creator:     jd@suse.de
9 #
10 #  Maintainer:  jd@suse.de
11 #
12 #  Remarks:     Always the user interaction is removed:
13 #                   any answer = UserInput();
14 #               Furthermore the tested action is set into a loop
15 #
16 # ---------------------------------------------------------
17
18 {  
19     SetCharset("ISO 8859-5");
20     any ok = `HBox(`Stretch(), `Pushbutton(`Id("ok"), "OK"), `Stretch());
21     any vbox = `VBox( 
22
23 // Main.cpp:112
24     `Label ("Copying system config file."),
25     `Label ( "Копирование Системной Конфугурации"),
26
27 // Main.cpp:231 Main.cpp:250 MenuAction.cpp:364 MenuAction.cpp:386 MenuAction.cpp:878
28     `Label ("DISMISS"),
29     `Label ( "ПРОДОЛЖИТЬ"),
30
31 // Main.cpp:235 MenuAction.cpp:371
32     `Label ("Yudit: information"),
33     `Label ( "Yudit: информация"),
34
35 // Main.cpp:254
36     `Label ("Yudit: error"),
37     `Label ( "Yudit: ошибка"),
38
39 // MainWidget.cpp:208
40     `Label ("File"),
41     `Label ( "Файл"),
42
43 // MainWidget.cpp:210
44     `Label ("Open..."),
45     `Label ( "Открыть..."),
46
47 // MainWidget.cpp:212
48     `Label ("Append..."),
49     `Label ( "Добавить..."),
50
51 // MainWidget.cpp:214
52     `Label ("Re-Load"),
53     `Label ( "Перезагрузить"),
54
55 // MainWidget.cpp:216
56     `Label ("New Window"),
57     `Label ( "Новое Окно"),
58
59 // MainWidget.cpp:219
60     `Label ("Save"),
61     `Label ( "Записать"),
62
63 // MainWidget.cpp:221
64     `Label ("Save As..."),
65     `Label ( "Записать В Файл..."),
66
67 // MainWidget.cpp:224 MainWidget.cpp:317
68     `Label ("Config"),
69     `Label ( "Конфигурация"),
70
71 // MainWidget.cpp:226
72     `Label ("Print..."),
73     `Label ( "Печать..."),
74
75 // MainWidget.cpp:229
76     `Label ("Close"),
77     `Label ( "Закрыть"),
78
79 // MainWidget.cpp:231
80     `Label ("Exit All"),
81     `Label ( "Конец Работы"),
82       ok
83      );
84
85     integer loop = 0;
86     while( loop < 10 )
87     {
88         ShowDialog( Dialog( vbox ));
89         any CurrentMap = QueryDialog( );
90         CloseDialog();
91
92         if( ( is( CurrentMap, map ) == false ) || 
93             ( size( CurrentMap ) != 0 ) ) return false;
94
95         loop = loop + 1;
96     }
97     return(  "If you get a warning next, something like" +
98               "WARNING: No font available with requested character set! #1" +
99               "please have a look at the installed fonts." +
100               "At the moment variable fonts are not installed"  );
101 }
102