Subversion Repositories Kolibri OS

Rev

Rev 7049 | Rev 7793 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7049 Rev 7590
Line 32... Line 32...
32
	#define T_CAUTION_TITLE "…„“…†„…ˆ…"
32
	#define T_CAUTION_TITLE "…„“…†„…ˆ…"
33
	#define T_CAUTION_PARAGRAPH "“áâ ­®¢ª  ¤®¯®«­¨â¥«ì­ëå ¤à ©¢¥à®¢ ¬®¦¥â ­ ­¥á⨠¢à¥¤ áâ ¡¨«ì­®á⨠®¯¥à æ¨®­­®© á¨áâ¥¬ë ¨ ¯®â¥­æ¨ «ì­® ¯à¨¢¥á⨠ª ¯®àç¥ ®¡®à㤮¢ ­¨ï."
33
	#define T_CAUTION_PARAGRAPH "“áâ ­®¢ª  ¤®¯®«­¨â¥«ì­ëå ¤à ©¢¥à®¢ ¬®¦¥â ­ ­¥á⨠¢à¥¤ áâ ¡¨«ì­®á⨠®¯¥à æ¨®­­®© á¨áâ¥¬ë ¨ ¯®â¥­æ¨ «ì­® ¯à¨¢¥á⨠ª ¯®àç¥ ®¡®à㤮¢ ­¨ï."
34
	#define T_ASSEPT_RISK "Ÿ ¯à¨­¨¬ î à¨áª"
34
	#define T_ASSEPT_RISK "Ÿ ¯à¨­¨¬ î à¨áª"
35
	#define T_README "Readme"
35
	#define T_README "Readme"
36
	#define T_INSTALL "“áâ ­®¢¨âì"
36
	#define T_INSTALL "“áâ ­®¢¨âì"
-
 
37
	char description_name[] = "description_ru";
37
#else
38
#else
38
	#define WINDOW_TITLE "Driver Installer"
39
	#define WINDOW_TITLE "Driver Installer"
39
	#define T_CAUTION_TITLE "CAUTION"
40
	#define T_CAUTION_TITLE "CAUTION"
40
	#define T_CAUTION_PARAGRAPH "Installing additional drivers can be harmful to the stability of the operation system and potentionally can harm hardware."
41
	#define T_CAUTION_PARAGRAPH "Installing additional drivers can be harmful to the stability of the operation system and potentionally can harm hardware."
41
	#define T_ASSEPT_RISK "I accept the risk"
42
	#define T_ASSEPT_RISK "I accept the risk"
42
	#define T_README "Readme"
43
	#define T_README "Readme"
43
	#define T_INSTALL "Install"
44
	#define T_INSTALL "Install"
-
 
45
	char description_name[] = "description_en";
44
#endif
46
#endif
Line 45... Line 47...
45
 
47
 
46
#define BUTTON_ID_ASSEPT_RISK 10
48
#define BUTTON_ID_ASSEPT_RISK 10
47
#define BUTTON_ID_README 11
49
#define BUTTON_ID_README 11
Line 178... Line 180...
178
 
180
 
179
 
181
 
180
void GetCurrentSectionData()
182
void GetCurrentSectionData()
181
{
-
 
182
	dword section_name = ini_sections.get(select_list.cur_y);
-
 
183
	dword description_name;
183
{
184
	if (GetSystemLanguage() == SYS_LANG_RUS) description_name = "description_ru"; else description_name = "description_en";
184
	dword section_name = ini_sections.get(select_list.cur_y);
185
	ini_get_str stdcall (#drvinf_path, section_name, "ver", #cur_version, sizeof(cur_version), 0);
185
	ini_get_str stdcall (#drvinf_path, section_name, "ver", #cur_version, sizeof(cur_version), 0);
186
	ini_get_str stdcall (#drvinf_path, section_name, description_name, #cur_description, sizeof(cur_description), 0);
186
	ini_get_str stdcall (#drvinf_path, section_name, #description_name, #cur_description, sizeof(cur_description), 0);
187
	ini_get_str stdcall (#drvinf_path, section_name, "readme", #cur_readme_path, sizeof(cur_readme_path), 0);
187
	ini_get_str stdcall (#drvinf_path, section_name, "readme", #cur_readme_path, sizeof(cur_readme_path), 0);
Line 188... Line 188...
188
	ini_get_str stdcall (#drvinf_path, section_name, "install", #cur_install_path, sizeof(cur_install_path), 0);
188
	ini_get_str stdcall (#drvinf_path, section_name, "install", #cur_install_path, sizeof(cur_install_path), 0);