Subversion Repositories Kolibri OS

Rev

Rev 5665 | Rev 6642 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. if lang eq ru
  2.   label2:
  3.       db   'Выключить       Ядро',0
  4.   label3:
  5.       db   'Перезапуск     Отмена',0
  6.   label4:
  7.       db   'Сохранить настройки (Ctrl-S)',0
  8.  
  9. else if lang eq ge
  10.   label2:
  11.       db   ' Beenden       Kernel',0
  12.   label3:
  13.       db   ' Neustart    Abbrechen',0
  14.   label4:
  15.       db   'Save your settings (Ctrl-S)',0
  16.  
  17. else if lang eq it
  18.   label2:
  19.       db   '  Spegni       Kernel',0
  20.   label3:
  21.       db   ' Riavvio      Annulla',0
  22.   label4:
  23.       db   'Salva impostazioni (Ctrl-S)',0
  24.  
  25. else
  26.   label2:
  27.       db   'Power off      Kernel',0
  28.   label3:
  29.       db   ' Restart       Cancel',0
  30.   label4:
  31.       db   'Save your settings (Ctrl-S)',0
  32.  
  33. end if
  34.  
  35.   label5:
  36.       db   ' (End)                     (Home)',0
  37.   label6:
  38.       db   '(Enter)                    (Esc)',0
  39.  
  40. rdsave:
  41.         dd  7,0,hide,0,0
  42.         db  '/sys/rdsave',0
  43. ;---------------------------------------------------------------------
  44. ;Lib_DATA
  45. ;Всегда соблюдать последовательность в имени.
  46. system_dir_Boxlib       db '/sys/lib/box_lib.obj',0
  47. system_dir_libini       db '/sys/lib/libini.obj',0
  48. ;---------------------------------------------------------------------
  49. head_f_i:
  50. head_f_l        db 'System error',0
  51.  
  52. err_message_found_lib1  db 'box_lib.obj - Not found!',0
  53. err_message_found_lib2  db 'libini.obj - Not found!',0
  54.  
  55. err_message_import1     db 'box_lib.obj - Wrong import!',0
  56. err_message_import2     db 'libini.obj - Wrong import!',0
  57. ;---------------------------------------------------------------------
  58. l_libs_start:
  59.  
  60. library01  l_libs system_dir_Boxlib+9, cur_dir_path, library_path, system_dir_Boxlib, \
  61. err_message_found_lib1, head_f_l, Box_lib_import, err_message_import1, head_f_i
  62.  
  63. library02  l_libs system_dir_libini+9, cur_dir_path, library_path, system_dir_libini, \
  64. err_message_found_lib2, head_f_l, libini_import, err_message_import2, head_f_i
  65.  
  66. end_l_libs:
  67. ;---------------------------------------------------------------------
  68. align 4
  69. Box_lib_import:
  70. init_checkbox2    dd      aInit_checkbox2
  71. check_box_draw2   dd      aCheck_box_draw2
  72. check_box_mouse2  dd      aCheck_box_mouse2
  73. ;version_ch2       dd      aVersion_ch2
  74.                   dd 0
  75.                   dd 0
  76. aInit_checkbox2   db 'init_checkbox2',0
  77. aCheck_box_draw2  db 'check_box_draw2',0
  78. aCheck_box_mouse2 db 'check_box_mouse2',0
  79. ;aVersion_ch2      db 'version_ch2',0
  80. ;---------------------------------------------------------------------
  81. align 4
  82. libini_import:
  83. init_lib     dd a_init
  84. ini_get_int  dd aini_get_int
  85. ini_set_int  dd aini_set_int
  86.              dd 0
  87.              dd 0
  88. a_init       db 'lib_init',0
  89. aini_get_int db 'ini_get_int',0
  90. aini_set_int db 'ini_set_int',0
  91. ;---------------------------------------------------------------------
  92.  
  93. check1 check_box2 20 shl 16 +12,108 shl 16 +12,6,0xffffff,0,0,label4,ch_flag_middle
  94.  
  95. hide        db 'h',0
  96. asettings   db 'settings',0
  97. aautosave   db 'autosave',0
  98. ini_file db  '/sys/settings/rdsave.ini',0
  99.  
  100. color1 dd 0x6068a0
  101. color2 dd 0xFFFFFF
  102. color3 dd 0xe4dfe1
  103.  
  104. color4 dd 0x990022
  105. color5 dd 0xaa7700
  106. color6 dd 0x777777
  107. color7 dd 0x007700
  108.  
  109. color8 dd 0x81FFFFFF
  110. color9 dd 0x80FFFFFF
  111.  
  112. If fade=1
  113.  
  114. color21 dd 0x01505890
  115. color22 dd 0xbfbfbf
  116. color23 dd 0xa49fa1
  117.  
  118. color24 dd 0x590011
  119. color25 dd 0x593700
  120. color26 dd 0x373737
  121. color27 dd 0x003700
  122.  
  123. color28 dd 0x90bfbfbf
  124.  
  125. else
  126.  
  127. if lang eq ru
  128.   label7:
  129.       db   'Сохранение образа...',0
  130. else
  131.   label7:
  132.       db   'Saving RAM-drive...',0
  133. end if
  134.  
  135. end if
  136.