Subversion Repositories SvarDOS

Rev

Rev 119 | Rev 128 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 119 Rev 123
Line 234... Line 234...
234
    "English",
234
    "English",
235
    "French",
235
    "French",
236
    "Italian",
236
    "Italian",
237
    "Polish",
237
    "Polish",
238
    "Russian",
238
    "Russian",
-
 
239
    "Slovene",
239
    "Turkish",
240
    "Turkish",
240
    NULL
241
    NULL
241
  };
242
  };
242
 
243
 
243
  newscreen(1);
244
  newscreen(1);
244
  msg = kittengets(1, 0, "Welcome to Svarog386");
245
  msg = kittengets(1, 0, "Welcome to Svarog386");
245
  x = 40 - (strlen(msg) >> 1);
246
  x = 40 - (strlen(msg) >> 1);
246
  video_putstring(4, x, COLOR_BODY[mono], msg, -1);
247
  video_putstring(4, x, COLOR_BODY[mono], msg, -1);
247
  video_putcharmulti(5, x, COLOR_BODY[mono], '=', strlen(msg), 1);
248
  video_putcharmulti(5, x, COLOR_BODY[mono], '=', strlen(msg), 1);
248
  putstringnls(8, -1, COLOR_BODY[mono], 1, 1, "Please select your language from the list below:");
249
  putstringnls(8, -1, COLOR_BODY[mono], 1, 1, "Please select your language from the list below:");
249
  choice = menuselect(11, -1, 8, langlist, -1);
250
  choice = menuselect(11, -1, 9, langlist, -1);
250
  if (choice < 0) return(MENUPREV);
251
  if (choice < 0) return(MENUPREV);
251
  /* populate locales with default values */
252
  /* populate locales with default values */
252
  memset(locales, 0, sizeof(struct slocales));
253
  memset(locales, 0, sizeof(struct slocales));
253
  switch (choice) {
254
  switch (choice) {
254
    case 1:
255
    case 1:
Line 270... Line 271...
270
      strcpy(locales->lang, "RU");
271
      strcpy(locales->lang, "RU");
271
      locales->keyboff = OFFLOC_RU;
272
      locales->keyboff = OFFLOC_RU;
272
      locales->keyblen = OFFLEN_RU;
273
      locales->keyblen = OFFLEN_RU;
273
      break;
274
      break;
274
    case 5:
275
    case 5:
-
 
276
      strcpy(locales->lang, "SI");
-
 
277
      locales->keyboff = OFFLOC_SI;
-
 
278
      locales->keyblen = OFFLEN_SI;
-
 
279
      break;
-
 
280
    case 6:
275
      strcpy(locales->lang, "TR");
281
      strcpy(locales->lang, "TR");
276
      locales->keyboff = OFFLOC_TR;
282
      locales->keyboff = OFFLOC_TR;
277
      locales->keyblen = OFFLEN_TR;
283
      locales->keyblen = OFFLEN_TR;
278
      break;
284
      break;
279
    default:
285
    default: