• R/O
  • SSH
  • HTTPS

svardos: Commit


Commit MetaInfo

Revision624 (tree)
Time2022-02-05 06:01:54
Authormateuszviste

Log Message

INSTALL uses SvarLANG for translations now, instead of kitten

Change Summary

Incremental Difference

--- install/trunk/kitten/example.c (revision 623)
+++ install/trunk/kitten/example.c (nonexistent)
@@ -1,14 +0,0 @@
1-#include <stdio.h>
2-#include "kitten.h" /* kittenopen/kittengets */
3-
4-int main (void) {
5- char *s;
6-
7- kittenopen("example");
8-
9- s = kittengets(7, 4, "Failure writing to drive A:");
10- printf("%s\n", s);
11-
12- kittenclose();
13- return(0);
14-}
--- install/trunk/kitten/kitten.c (revision 623)
+++ install/trunk/kitten/kitten.c (nonexistent)
@@ -1,698 +0,0 @@
1-/* Functions that emulate UNIX catgets */
2-
3-/* Copyright (C) 1999,2000,2001 Jim Hall <jhall@freedos.org> */
4-/* Kitten version 2003 by Tom Ehlert, heavily modified by Eric Auer 2003 */
5-
6-/*
7- This library is free software; you can redistribute it and/or
8- modify it under the terms of the GNU Lesser General Public
9- License as published by the Free Software Foundation; either
10- version 2.1 of the License, or (at your option) any later version.
11-
12- This library is distributed in the hope that it will be useful,
13- but WITHOUT ANY WARRANTY; without even the implied warranty of
14- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15- Lesser General Public License for more details.
16-
17- You should have received a copy of the GNU Lesser General Public
18- License along with this library; if not, write to the Free Software
19- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20-*/
21-
22-#ifndef NO_KITTEN
23-
24-#include <stdio.h> /* sprintf */
25-#ifndef _MICROC_
26-#include <stdlib.h> /* getenv */
27-#include <string.h> /* strchr */
28-#include <dos.h>
29-#ifndef __PACIFIC__
30-#include <fcntl.h>
31-#else
32-#define O_RDONLY 0
33-#define O_TEXT 0
34-#endif
35-#else
36-#include <intr.h>
37-#include <file.h>
38-#define O_RDONLY READONLY
39-#define O_TEXT 0
40-#endif
41-/* assert we are running in small model */
42-/* else pointer below has to be done correctly */
43-/* char verify_small_pointers[sizeof(void*) == 2 ? 1 : -1]; */
44-
45-#include "kitten.h"
46-
47-char catcontents[8192];
48-
49-struct catstring
50-{
51- char key1;
52- char key2;
53- char *text;
54-};
55-
56-/* Micro-C does not support typedef */
57-#define catstring_t struct catstring
58-
59-catstring_t catpoints[128];
60-
61-
62-/* Local prototypes */
63-
64-int catread (char *catfile); /* Reads a catfile into the hash */
65-char *processEscChars (char *line); /* Converts c escape sequences to chars */
66-
67-int get_char (int file); /* not meant for external use */
68-/* external use would cause consistency problems if */
69-/* value or related file of the file handle changes */
70-
71-int mystrtoul (char *src, int base, int size);
72-
73-
74-/* Globals */
75-
76-nl_catd _kitten_catalog = 0; /* _kitten_catalog descriptor or 0 */
77-char catfile[128]; /* full path to _kitten_catalog */
78-
79-char getlbuf[8192]; /* read buffer for better speed */
80-char *getlp; /* current point in buffer */
81-int getlrem = -1; /* remaining bytes in buffer */
82-char lastcr = 0; /* for 2byte CR LF sequences */
83-
84-
85-#ifndef _MICROC_
86-#ifndef __DJGPP__
87-
88-/* DOS handle based file usage */
89-
90-int
91-dos_open (char *filename, int mode)
92-{
93- union REGS r;
94- struct SREGS s;
95-#ifndef __WATCOMC__
96- if (mode); /* mode ignored - readonly supported */
97-#endif
98- r.h.ah = 0x3d;
99- r.h.al = 0; /* read mode only supoported now !! */
100- r.x.dx = FP_OFF (filename);
101- s.ds = FP_SEG (filename);
102- intdosx (&r, &r, &s);
103- return ((r.x.cflag) ? -1 : (int) r.x.ax);
104-}
105-
106-
107-int
108-dos_read (int file, void *ptr, unsigned count)
109-{
110- union REGS r;
111- struct SREGS s;
112- r.h.ah = 0x3f;
113- r.x.bx = file;
114- r.x.cx = count;
115- r.x.dx = FP_OFF (ptr);
116- s.ds = FP_SEG (ptr);
117- intdosx (&r, &r, &s);
118- return ((r.x.cflag) ? 0 : r.x.ax);
119-}
120-
121-
122-int
123-dos_write (int file, void *ptr, unsigned count)
124-{
125- union REGS r;
126- struct SREGS s;
127- r.h.ah = 0x40;
128- r.x.bx = file;
129- r.x.cx = count;
130- r.x.dx = FP_OFF (ptr);
131- s.ds = FP_SEG (ptr);
132- intdosx (&r, &r, &s);
133- return ((r.x.cflag) ? 0 : r.x.ax);
134-}
135-
136-
137-void
138-dos_close (int file)
139-{
140- union REGS r;
141- r.h.ah = 0x3e;
142- r.x.bx = file;
143- intdos (&r, &r);
144-}
145-
146-#endif /*DJGPP*/
147-#endif /*Micro-C */
148-/* Functions */
149-/**
150- * On success, catgets() returns a pointer to an internal
151- * buffer area containing the null-terminated message string.
152- * On failure, catgets() returns the value 'message'.
153- */
154-char *
155-kittengets (int setnum, int msgnum, char *message)
156-{
157-/* In Micro-C, variables must be defined at the start of the
158- * function and may not be immediately assigned a value
159- */
160-#ifdef _MICROC_
161- int i;
162- i = 0;
163-#else
164- int i = 0;
165-#endif
166-
167- while ((catpoints[i].key1 != setnum) || (catpoints[i].key2 != msgnum))
168- {
169- if ((catpoints[i].text == NULL) || (i > 127)) /* at EOF */
170- return message;
171- i++;
172- }
173-
174- if (catpoints[i].text == NULL)
175- return message;
176- else
177- return (catpoints[i].text);
178-}
179-
180-
181-/**
182- * Initialize kitten for program (name).
183- */
184-
185-nl_catd
186-kittenopen (char *name)
187-{
188- /* catopen() returns a message _kitten_catalog descriptor *
189- * of type nl_catd on success. On failure, it returns -1. */
190-
191- char catlang[3]; /* from LANG environment var. */
192- char *nlsptr; /* ptr to NLSPATH */
193- char *lang; /* ptr to LANG */
194- int i;
195-#ifdef _MICROC_
196- char *tok;
197- int toklen;
198-#endif
199-
200- /* Open the _kitten_catalog file */
201- /* The value of `_kitten_catalog' will be set based on catread */
202-
203- if (_kitten_catalog)
204- { /* Already one open */
205- write (1, "cat already open\r\n", strlen ("cat already open\r\n"));
206- return (-1);
207- }
208-
209- for (i = 0; i < 128; i++)
210- catpoints[i].text = NULL;
211-
212- if (strchr (name, '\\'))
213- {
214- /* unusual case: 'name' is a filename */
215- write (1, "found \\\r\n", 9);
216- _kitten_catalog = catread (name);
217- if (_kitten_catalog)
218- return (_kitten_catalog);
219- }
220-
221- /* If the message _kitten_catalog file name does not contain a directory *
222- * separator, then we need to try to locate the message _kitten_catalog. */
223-
224- /* We will need the value of LANG, and may need a 2-letter abbrev of
225- LANG later on, so get it now. */
226-
227- lang = getenv ("LANG");
228-
229- if (lang == NULL)
230- {
231- /* printf("no lang= found\n"); *//* not fatal, though */
232- /* Return failure - we won't be able to locate the cat file */
233- return (-1);
234- }
235-
236- if ((strlen (lang) < 2) || ((strlen (lang) > 2) && (lang[2] != '-')))
237- {
238- /* Return failure - we won't be able to locate the cat file */
239- return (-1);
240- }
241-
242- memcpy (catlang, lang, 2);
243- /* we copy the full LANG value or the part before "-" if "-" found */
244- catlang[2] = '\0';
245-
246- /* step through NLSPATH */
247-
248- nlsptr = getenv ("NLSPATH");
249-
250- if (nlsptr == NULL)
251- {
252- /* printf("no NLSPATH= found\n"); *//* not fatal either */
253- /* Return failure - we won't be able to locate the cat file */
254- return (-1);
255- }
256-
257- catfile[0] = '\0';
258-
259- while (nlsptr && nlsptr[0])
260- {
261-#ifdef _MICROC_
262- tok = strchr (nlsptr, ';');
263-#else
264- char *tok = strchr (nlsptr, ';');
265- int toklen;
266-#endif
267-
268- if (tok == NULL)
269- toklen = strlen (nlsptr); /* last segment */
270- else
271- toklen = tok - nlsptr; /* segment terminated by ';' */
272-
273- /* catfile = malloc(toklen+1+strlen(name)+1+strlen(lang)+1); */
274- /* Try to find the _kitten_catalog file in each path from NLSPATH */
275-
276- if ((toklen + 6 + strlen (name)) > sizeof (catfile))
277- {
278- write (1, "NLSPATH overflow\r\n", strlen ("NLSPATH overflow\r\n"));
279- return 0; /* overflow in NLSPATH, should never happen */
280- }
281-
282- /* Rule #1: %NLSPATH%\%LANG%\cat */
283-
284- memcpy (catfile, nlsptr, toklen);
285- strcpy (catfile + toklen, "\\");
286- strcat (catfile, catlang);
287- strcat (catfile, "\\");
288- strcat (catfile, name);
289- _kitten_catalog = catread (catfile);
290- if (_kitten_catalog)
291- return (_kitten_catalog);
292-
293- /* Rule #2: %NLSPATH%\cat.%LANG% */
294-
295- /* memcpy(catfile, nlsptr, toklen); */
296- strcpy (catfile + toklen, "\\");
297- strcat (catfile, name);
298- strcat (catfile, ".");
299- strcat (catfile, catlang);
300- _kitten_catalog = catread (catfile);
301- if (_kitten_catalog)
302- return (_kitten_catalog);
303-
304- /* Grab next tok for the next while iteration */
305-
306- nlsptr = tok;
307- if (nlsptr)
308- nlsptr++;
309-
310- } /* while tok */
311-
312- /* We could not find it. Return failure. */
313-
314- return (-1);
315-}
316-
317-
318-/**
319- * Load a message catalog into memory.
320- */
321-
322-int
323-catread (char *catfile)
324-{
325- int file; /* pointer to the catfile */
326- int i;
327- char *where;
328- char *tok;
329-#ifdef _MICROC_
330- char *msg;
331- char *key;
332- int key1;
333- int key2;
334-#endif
335-
336- /* Get the whole catfile into a buffer and parse it */
337-
338- file = open (catfile, O_RDONLY | O_TEXT);
339- if (file < 0)
340- /* Cannot open the file. Return failure */
341- return 0;
342-
343- for (i = 0; i < 128; i++)
344- catpoints[i].text = NULL;
345-
346- for (i = 0; (unsigned int) i < sizeof (catcontents); i++)
347- catcontents[i] = '\0';
348-
349- /* Read the file into memory */
350- i = read (file, catcontents, sizeof (catcontents) - 1);
351-
352- if ((i == sizeof (catcontents) - 1) || (i < 1))
353- return 0; /* file was too big or too small */
354-
355- where = catcontents;
356- i = 0; /* catpoints entry */
357-
358- do
359- {
360-#ifndef _MICROC_
361- char *msg;
362- char *key;
363- int key1 = 0;
364- int key2 = 0;
365-#else
366- key1 = 0;
367- key2 = 0;
368-#endif
369-
370- tok = strchr (where, '\n');
371-
372- if (tok == NULL)
373- { /* done? */
374- close (file);
375- return 1; /* success */
376- }
377-
378- tok[0] = '\0'; /* terminate here */
379- tok--; /* guess: \r before \n */
380- if (tok[0] != '\r')
381- tok++; /* if not, go back */
382- else
383- {
384- tok[0] = '\0'; /* terminate here already */
385- tok++;
386- }
387- tok++; /* this is where the next line starts */
388-
389- if ((where[0] >= '0') && (where[0] <= '9') &&
390- ((msg = strchr (where, ':')) != NULL))
391- {
392- /* Skip everything which starts with # or with no digit */
393- /* Entries look like "1.2:This is a message" */
394-
395- msg[0] = '\0'; /* remove : */
396- msg++; /* go past the : */
397-
398- if ((key = strchr (where, '.')) != NULL)
399- {
400- key[0] = '\0'; /* turn . into terminator */
401- key++; /* go past the . */
402- key1 = mystrtoul (where, 10, strlen (where));
403- key2 = mystrtoul (key, 10, strlen (key));
404-
405- if ((key1 >= 0) && (key2 >= 0))
406- {
407- catpoints[i].key1 = key1;
408- catpoints[i].key2 = key2;
409- catpoints[i].text = processEscChars (msg);
410- if (catpoints[i].text == NULL) /* ESC parse error */
411- catpoints[i].text = msg;
412- i++; /* next entry! */
413- } /* valid keys */
414-
415- } /* . found */
416-
417- } /* : and digit found */
418-
419- where = tok; /* go to next line */
420-
421- }
422- while (1);
423-#ifdef __PACIFIC__
424- return 0;
425-#endif
426-}
427-
428-
429-void
430-kittenclose (void)
431-{
432- /* close a message _kitten_catalog */
433- _kitten_catalog = 0;
434-}
435-
436-
437-/**
438- * Parse a string that represents an unsigned integer.
439- * Returns -1 if an error is found. The first size
440- * chars of the string are parsed.
441- */
442-
443-int
444-mystrtoul (char *src, int base, int size)
445-{
446-#ifdef _MICROC_
447- int ret;
448- int digit;
449- int ch;
450- ret = 0;
451-#else
452- int ret = 0;
453-#endif
454-
455- for (; size > 0; size--)
456- {
457-#ifdef _MICROC_
458- ch = *src;
459-#else
460- int digit;
461- int ch = *src;
462-#endif
463- src++;
464-
465- if (ch >= '0' && ch <= '9')
466- digit = ch - '0';
467- else if (ch >= 'A' && ch <= 'Z')
468- digit = ch - 'A' + 10;
469- else if (ch >= 'a' && ch <= 'z')
470- digit = ch - 'a' + 10;
471- else
472- return -1;
473-
474- if (digit >= base)
475- return -1;
476-
477- ret = ret * base + digit;
478- } /* for */
479-
480- return ret;
481-}
482-
483-
484-/**
485- * Process strings, converting \n, \t, \v, \b, \r, \f, \\,
486- * \ddd, \xdd and \x0dd to actual chars.
487- * (Note: \x is an extension to support hexadecimal)
488- * This is used to allow the messages to use c escape sequences.
489- * Modifies the line in-place (always same size or shorter).
490- * Returns a pointer to input string.
491- */
492-
493-char *
494-processEscChars (char *line)
495-{
496- /* used when converting \xdd and \ddd (hex or octal) characters */
497- char ch;
498-#ifdef _MICROC_
499- char *src;
500- char *dst;
501- int chx;
502- src = line;
503- dst = line;
504-#else
505- char *src = line;
506- char *dst = line; /* possible as dst is shorter than src */
507-#endif
508-
509- if (line == NULL)
510- return line;
511-
512- /* cycle through copying characters, except when a \ is encountered. */
513- while (*src != '\0')
514- {
515- ch = *src;
516- src++;
517-
518- if (ch == '\\')
519- {
520- ch = *src; /* what follows slash? */
521- src++;
522-
523- switch (ch)
524- {
525- case '\\': /* a single slash */
526- *dst = '\\';
527- dst++;
528- break;
529- case 'n': /* a newline (linefeed) */
530- *dst = '\n';
531- dst++;
532- break;
533- case 'r': /* a carriage return */
534- *dst = '\r';
535- dst++;
536- break;
537- case 't': /* a horizontal tab */
538- *dst = '\t';
539- dst++;
540- break;
541- case 'v': /* a vertical tab */
542- *dst = '\v';
543- dst++;
544- break;
545- case 'b': /* a backspace */
546- *dst = '\b';
547- dst++;
548- break;
549- case 'a': /* alert */
550- *dst = '\a';
551- dst++;
552- break;
553- case 'f': /* formfeed */
554- *dst = '\f';
555- dst++;
556- break;
557- case 'x': /* extension supporting hex numbers \xdd or \x0dd */
558- {
559-#ifdef _MICROC_
560- chx = mystrtoul (src, 16, 2); /* get value */
561-#else
562- int chx = mystrtoul (src, 16, 2); /* get value */
563-#endif
564- if (chx >= 0)
565- { /* store character */
566- *dst = chx;
567- dst++;
568- src += 2;
569- }
570- else /* error so just store x (loose slash) */
571- {
572- *dst = *src;
573- dst++;
574- }
575- }
576- break;
577- default: /* just store letter (loose slash) or handle octal */
578- {
579-#ifdef _MICROC_
580- chx = mystrtoul (src, 8, 3); /* get value */
581-#else
582- int chx = mystrtoul (src, 8, 3); /* get value */
583-#endif
584- if (chx >= 0)
585- { /* store character */
586- *dst = chx;
587- dst++;
588- src += 3;
589- }
590- else
591- {
592- *dst = *src;
593- dst++;
594- }
595- }
596- break;
597- } /* switch */
598- } /* if backslash */
599- else
600- {
601- *dst = ch;
602- dst++;
603- }
604- } /* while */
605-
606- /* ensure '\0' terminated */
607- *dst = '\0';
608-
609- return line;
610-}
611-
612-
613-int
614-get_char (int file)
615-{
616-#ifdef _MICROC_
617- int rval;
618- rval = -1;
619-#else
620- int rval = -1;
621-#endif
622-
623- if (getlrem <= 0)
624- { /* (re)init buffer */
625- getlrem = read (file, getlbuf, sizeof (getlbuf));
626- if (getlrem <= 0)
627- return -1; /* fail: read error / EOF */
628- getlp = getlbuf; /* init pointer */
629- }
630-
631- if (getlrem > 0)
632- { /* consume byte from buffer */
633- rval = getlp[0];
634- getlp++;
635- getlrem--;
636- }
637-
638- return rval;
639-}
640-
641-
642-/**
643- * Read a line of text from file. You must call this with
644- * a null buffer or null size to flush buffers when you are
645- * done with a file before using it on the next file. Cannot
646- * be used for 2 files at the same time.
647- */
648-
649-int
650-get_line (int file, char *str, int size)
651-{
652- int ch;
653-#ifdef _MICROC_
654- int success;
655- success = 0;
656-#else
657- int success = 0;
658-#endif
659-
660- if ((size == 0) || (str == NULL))
661- { /* re-init get_line buffers */
662- getlp = getlbuf;
663- getlrem = -1;
664- lastcr = 0;
665- return 0;
666- }
667-
668- str[0] = '\0';
669-
670- while ((size > 0) && (success == 0))
671- {
672- ch = get_char (file);
673- if (ch < 0)
674- break; /* (can cause fail if no \n found yet) */
675-
676- if (ch == '\r')
677- ch = get_char (file); /* ignore \r */
678-
679- str[0] = ch;
680-
681- if ((ch == '\n') || (ch == '\r'))
682- { /* done? */
683- str[0] = '\0';
684- return 1; /* success */
685- }
686-
687- str++;
688- size--;
689-
690- } /* while */
691-
692- str[0] = '\0'; /* terminate buffer */
693-
694- return success;
695-
696-}
697-
698-#endif /*NO_KITTEN */
--- install/trunk/kitten/kitten.h (revision 623)
+++ install/trunk/kitten/kitten.h (nonexistent)
@@ -1,78 +0,0 @@
1-/* Functions that emulate UNIX catgets, some small DOS file functions */
2-
3-/* Copyright (C) 1999,2000 Jim Hall <jhall@freedos.org> */
4-/* Kitten version by Tom Ehlert, heavily modified by Eric Auer 2003 */
5-
6-/*
7- This library is free software; you can redistribute it and/or
8- modify it under the terms of the GNU Lesser General Public
9- License as published by the Free Software Foundation; either
10- version 2.1 of the License, or (at your option) any later version.
11-
12- This library is distributed in the hope that it will be useful,
13- but WITHOUT ANY WARRANTY; without even the implied warranty of
14- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15- Lesser General Public License for more details.
16-
17- You should have received a copy of the GNU Lesser General Public
18- License along with this library; if not, write to the Free Software
19- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20-*/
21-
22-
23-#ifndef _CATGETS_H
24-#define _CATGETS_H
25-
26-#ifdef __cplusplus
27-extern "C"
28-{
29-#endif
30-
31-#ifdef NO_KITTEN
32-
33-#define kittengets(x,y,z) (z)
34-#define kittenclose()
35-#define kittenopen(a)
36-
37-#else
38-
39-/* Data types */
40-
41-#define nl_catd int
42-
43-/* Functions */
44-
45-#define catgets(catalog, set,message_number,message) kittengets(set,message_number,message)
46-#define catopen(name,flag) kittenopen(name)
47-#define catclose(catalog) kittenclose()
48-
49-
50- char *kittengets (int set_number, int message_number, char *message);
51- nl_catd kittenopen (char *name);
52- void kittenclose (void);
53-
54- int get_line (int file, char *buffer, int size);
55-
56-#ifndef _MICROC_
57-#ifndef __DJGPP__
58-
59- int dos_open (char *filename, int mode);
60-#define open(filename,mode) dos_open(filename,mode)
61-
62- int dos_read (int file, void *ptr, unsigned count);
63-#define read(file, ptr, count) dos_read(file,ptr,count)
64-
65- int dos_write (int file, void *ptr, unsigned count);
66-#define write(file, ptr, count) dos_write(file,ptr,count)
67-
68- void dos_close (int file);
69-#define close(file) dos_close(file)
70-
71-#endif /*DJGPP*/
72-#endif /*Micro-C */
73-#endif /*NO_KITTEN */
74-#ifdef __cplusplus
75-}
76-#endif
77-
78-#endif /* _CATGETS_H */
--- install/trunk/nls/recompute.sh (revision 623)
+++ install/trunk/nls/recompute.sh (nonexistent)
@@ -1,41 +0,0 @@
1-#!/bin/sh
2-
3-utf8tocp 858 install.de.utf8 > install.de
4-if [ $? -ne 0 ] ; then
5- echo "ERROR! ABORTED!"; exit
6-fi
7-
8-utf8tocp 858 install.it.utf8 > install.it
9-if [ $? -ne 0 ] ; then
10- echo "ERROR! ABORTED!"; exit
11-fi
12-
13-utf8tocp maz install.pl.utf8 > install.pl
14-if [ $? -ne 0 ] ; then
15- echo "ERROR! ABORTED!"; exit
16-fi
17-
18-utf8tocp 858 install.fr.utf8 > install.fr
19-if [ $? -ne 0 ] ; then
20- echo "ERROR! ABORTED!"; exit
21-fi
22-
23-utf8tocp 852 install.si.utf8 > install.si
24-if [ $? -ne 0 ] ; then
25- echo "ERROR! ABORTED!"; exit
26-fi
27-
28-utf8tocp 858 install.sv.utf8 > install.sv
29-if [ $? -ne 0 ] ; then
30- echo "ERROR! ABORTED!"; exit
31-fi
32-
33-utf8tocp 857 install.tr.utf8 > install.tr
34-if [ $? -ne 0 ] ; then
35- echo "ERROR! ABORTED!"; exit
36-fi
37-
38-utf8tocp 866 install.ru.utf8 > install.ru
39-if [ $? -ne 0 ] ; then
40- echo "ERROR! ABORTED!"; exit
41-fi
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
--- install/trunk/nls/install.pl (revision 623)
+++ install/trunk/nls/install.pl (nonexistent)
@@ -1,47 +0,0 @@
1-#
2-# This is a localization file for the SvarDOS INSTALL program
3-#
4-# Language..: Polish
5-# Translator: Mateusz Viste
6-#
7-
8-### COMMON STUFF: TITLE BAR AND MULTIPLE CHOICE STRINGS ###
9-0.0:INSTALACJA SVARDOS
10-0.1:Instaluj SvarDOS
11-0.2:Wyjd¦ do DOS
12-0.3:Stw¢rz partycj‘ automatycznie
13-0.4:Uruchom narz‘dzie partycjonowania FDISK
14-0.5:Nacižnij dowolny klawisz...
15-0.7:Formatuj dysk %c:
16-# Every string below must be at most 78 characters long! (used in status bar)
17-0.10:G¢ra/D¢’ = Wyb¢r pozycji | Enter = Zatwierd¦ wyb¢r | ESC = Poprzedni ekran
18-0.11:G¢ra/D¢’ = Wyb¢r pozycji | Enter = Zatwierd¦ wyb¢r | ESC = Wyjd¦ do DOS
19-
20-### LANGUAGE SELECTION & KEYBOARD LAYOUT SCREENS ###
21-1.0:Witaj w systemie SvarDOS
22-1.1:Wybierz sw¢j j‘zyk z poni§szej listy:
23-1.5:SvarDOS wspiera r¢§ne uk’ady klawiatury. Wybierz uk’ad, kt¢ry ci odpowiada.
24-
25-### WELCOME SCREEN ###
26-2.0:Za chwil‘ rozpocznie si‘ instalacja systemu SvarDOS: bezp’atnego systemu operacyjnego opartego na j†drze FreeDOS, i kompatybilnego z MSDOS. SvarDOS zawiera mn¢stwo aplikacji dodatkowych.\n\nUWAGA: Ježli tw¢j komputer posiada ju§ inny system operacyjny, system ten mo§e nie zdo’a uruchomi si‘ po instalacji SvarDOS.
27-
28-### DISK SETUP ###
29-3.0:BœD: Nie wykryto dysku %c:. By mo§e tw¢j dysk powinien zosta najpierw spartycjonowany. Utw¢rz co najmniej jedn† partycj‘ na twoim dysku, aby SvarDOS m¢g’ zosta na ni† zainstalowany. SvarDOS wymaga co najmniej %d MiB miejsca.\n\nMo§esz skorzysta z narz‘dzia FDISK aby stworzy wymagan† partycj‘ r‘cznie, lub pozwoli instalatorowi stworzy j† automatycznie. Mo§esz tak§e wstrzyma instalacj‘ aby u§y jakiegokolwiek innego narz‘dzia do partycjonowania.
30-3.1:Tw¢j komputer zostanie teraz uruchomiony ponownie.
31-3.2:BœD: Dysk %c: jest nožnikiem wymiennym. Instalacja zatrzymana.
32-3.3:BœD: Dysk %c: zdaje si‘ nie by sformatowany.
33-3.4:BœD: Dysk %c: jest za ma’y! SvarDOS wymaga co najmniej %d MiB miejsca.
34-3.5:BœD: Dysk %c: nie jest pusty. SvarDOS mo§e by zainstalowany wy’†cznie na pustym dysku.\n\nMo§esz sformatowa dysk teraz, aby go opr¢§ni. Operacja ta sprawi jednak §e WSZYSTKIE OBECNE DANE ZOSTAN UTRACONE.
35-3.6:Za chwil‘ rozpocznie si‘ instalacja systemu SvarDOS na dysk %c:.
36-
37-### PACKAGES INSTALLATION ###
38-# example: "Installing package 4/50: FDISK"
39-4.0:Instalacja pakietu %d/%d: %s
40-4.1:*** Wœ£¡ DYSK ZAWIERAJCY POTRZEBNY PLIK I NACI˜NIJ DOWOLNY KLAWISZ ***
41-
42-### END SCREEN ###
43-5.0:Tw¢j komputer zostanie teraz uruchomiony ponownie.\nWyjmij dysk instalacyjny z nap‘du.
44-5.1:Instalacja SvarDOS jest zako¤czona. Prosz‘ zrestartowa teraz komputer.
45-
46-### LOG IN WELCOME TEXT ONCE SYSTEM IS INSTALLED ###
47-6.0:Witaj w systemie SvarDOS! Wpisz 'HELP' ježli potrzebujesz pomocy.
--- install/trunk/nls/install.tr (revision 623)
+++ install/trunk/nls/install.tr (nonexistent)
@@ -1,45 +0,0 @@
1-#
2-# This is a localization file for the SvarDOS INSTALL program
3-#
4-# Language..: Turkish
5-# Translator: anonymous
6-#
7-
8-### COMMON STUFF: TITLE BAR AND MULTIPLE CHOICE STRINGS ###
9-0.0:SVARDOS KURULUMU
10-0.1:SvarDOS'y kur
11-0.2:DOS'a ‡k
12-0.3:Disk b”lmn otomatik olarak oluŸtur
13-0.4:FDISK disk b”lm oluŸturma aracn ‡alŸtr
14-0.5:Herhangi bir tuŸa basn...
15-# Every string below must be at most 78 characters long! (used in status bar)
16-0.10:Yukar/AŸa§ = Unsur se‡ | Enter = Se‡imi do§rula | ESC = ™nceki ekran
17-0.11:Yukar/AŸa§ = Unsur se‡ | Enter = Se‡imi do§rula | ESC = Dos'a ‡k
18-
19-### LANGUAGE SELECTION & KEYBOARD LAYOUT SCREENS ###
20-1.0:SvarDOS'ya hoŸ geldiniz
21-1.1:Dilinizi aŸa§daki listeden se‡iniz:
22-1.5:SvarDOS de§iŸik lkelerde kullanlan klavye dzenlerini destekler. ˜stedi§iniz klavye dzenini se‡iniz.
23-
24-### WELCOME SCREEN ###
25-2.0:FreeDOS ‡ekirde§ine dayal, cretsiz ve MS-DOS uyumlu bir iŸletim sistemi olan SvarDOS'y kurmak zeresiniz. SvarDOS ‡eŸitli ‡nc parti uygulamalar sunar.\n\n˜KAZ: E§er PC'nizde baŸka bir iŸletim sistemi kuruluysa, bu sistem SvarDOS kurulduktan sonra baŸlamayabilir.
26-
27-### DISK SETUP ###
28-3.0:HATA: %c: srcs bulunamad. Belki sabit diskinizde ”nce b”lm oluŸturmanz gerekmektedir. Ltfen sabit diskinizde en az bir b”lm oluŸturun ki SvarDOS o b”lme kurulabilsin. SvarDOS'nn en az %d MiB disk alanna ihtiya‡ duydu§unu unutmayn.\n\nGerekli b”lm elle oluŸturmak i‡in FDISK b”lm oluŸturma aracn kullanabilir ya da kurulumun diskinizde otomatik olarak b”lm oluŸturmasna izin verebilirsiniz. BaŸka bir b”lm y”neticisi kullanmak i‡in kurulumu iptal de edebilirsiniz.
29-3.1:Bilgisayarnz Ÿimdi yeniden baŸlayacaktr.
30-3.2:HATA: %c: srcs ‡karlabilir bir cihazdr. Kurulum iptal edilmiŸtir.
31-3.3:HATA: %c: bi‡imlendirilmemiŸ g”zkmektedir.
32-3.4:HATA: %c: srcs yeteri kadar byk de§ildir! SvarDOS en az %d MiB boyutunda bir diske ihtiya‡ duyar.
33-3.5:HATA: %c: srcs boŸ de§ildir. SvarDOS, boŸ bir diske kurulmaldr.\n\nDiski boŸaltmak i‡in Ÿimdi bi‡imlendirebilirsiniz. Bununla beraber, bunun diskinizdeki TšM GšNCEL VER˜LER˜ S˜LECE¦˜N˜ unutmaynz.
34-3.6:SvarDOS'nn %c: srcsne kurulumu baŸlamak zeredir.
35-
36-### PACKAGES INSTALLATION ###
37-# example: "Installing package 4/50: FDISK"
38-4.0:žu paket kuruluyor: %d/%d: %s
39-
40-### END SCREEN ###
41-5.0:Bilgisayarnz Ÿimdi yeniden baŸlayacaktr.\nLtfen kurulum diskini srcnzden ‡karn.
42-5.1:SvarDOS kurulumu sona ermiŸtir. Please restart your computer now.
43-
44-### LOG IN WELCOME TEXT ONCE SYSTEM IS INSTALLED ###
45-6.0:SvarDOS'ya hoŸ geldiniz! Yardma ihtiyacnz varsa 'HELP' yaznz.
--- install/trunk/nls/de_utf8.txt (nonexistent)
+++ install/trunk/nls/de_utf8.txt (revision 624)
@@ -0,0 +1,51 @@
1+#
2+# This is a localization file for the SvarDOS INSTALL program
3+#
4+# Language..: German
5+# Translator: Jörg Jenderek, Robert Riebisch
6+#
7+
8+### COMMON STUFF: TITLE BAR AND MULTIPLE CHOICE STRINGS ###
9+0.0:SVARDOS INSTALLATION
10+0.1:SvarDOS installieren
11+0.2:Zurück zu DOS
12+0.3:Erstelle eine Partition automatisch
13+0.4:Partitionierungswerkzeug FDISK ausführen
14+0.5:Drücken Sie eine beliebige Taste...
15+0.7:Laufwerk %c: formatieren
16+# Every string below must be at most 78 characters long! (used in status bar)
17+0.10:Hoch/Runter=Eintrag wählen | Enter=Bestätigen | ESC=Vorheriger Bildschirm
18+0.11:Hoch/Runter=Eintrag wählen | Enter=Bestätigen | ESC=Zurück zu DOS
19+
20+### LANGUAGE SELECTION & KEYBOARD LAYOUT SCREENS ###
21+1.0:Willkommen bei SvarDOS
22+1.1:Bitte wählen Sie Ihre bevorzugte Sprache aus der folgenden Liste:
23+1.5:SvarDOS unterstützt verschiedene Tastaturlayouts. Wählen Sie das gewünschte Tastaturlayout aus.
24+
25+### WELCOME SCREEN ###
26+2.0:Sie sind dabei, SvarDOS zu installieren: ein freies und quelloffenes, MS-DOS-kompatibles Betriebssystem basierend auf FreeDOS. SvarDOS kommt mit einer Vielzahl von Anwendungen von Drittanbietern.\n\nWARNUNG: Wenn auf Ihrem PC bereits ein anderes Betriebssystem installiert ist, startet dieses möglicherweise nicht mehr, sobald SvarDOS installiert ist.
27+
28+### DISK SETUP ###
29+3.0:FEHLER: Laufwerk %c: konnte nicht gefunden werden. Vielleicht muss die Festplatte zuerst partitioniert werden. Bitte erstellen Sie mindestens eine primäre Partition auf Ihrer Festplatte, so dass SvarDOS darauf installiert werden kann. Beachten Sie, dass SvarDOS mindestens %d MiB des verfügbaren Speicherplatzes benötigt.\n\nSie können das Partitionierungswerkzeug FDISK verwenden, um die erforderliche Partition manuell zu erstellen, oder Sie können das Installationsprogramm die Festplatte automatisch partitionieren lassen. Sie können auch die Installation abbrechen, um einen anderen Partitionsmanager Ihrer Wahl zu verwenden.
30+3.1:Ihr Computer wird jetzt neu gestartet.
31+3.2:FEHLER: Laufwerk %c: ist ein Wechseldatenträger. Installation abgebrochen.
32+3.3:FEHLER: Laufwerk %c: scheint unformatiert zu sein.
33+3.4:FEHLER: Laufwerk %c: ist nicht groß genug! SvarDOS benötigt mindestens %d MiB.
34+3.5:FEHLER: Laufwerk %c: ist nicht leer. SvarDOS muss auf einem leeren Datenträger installiert werden.\n\nSie können den Datenträger jetzt formatieren, um ihn zu leeren. Beachten Sie jedoch, dass dies ALLE AKTUELLEN DATEN auf Ihrer Festplatte löscht.
35+3.6:Die Installation von SvarDOS auf Laufwerk %c: beginnt nun.
36+
37+### PACKAGES INSTALLATION ###
38+# example: "Installing package 4/50: FDISK"
39+4.0:Installiere Paket %d von %d: %s
40+4.1:*** LEGEN SIE DEN DATENTRÄGER, DER DIE BENÖTIGTE DATEI ENTHÄLT, EIN UND DRÜCKEN SIE EINE BELIEBIGE TASTE ***
41+
42+### END SCREEN ###
43+5.0:Ihr Computer wird jetzt neu gestartet.\nBitte entfernen Sie den Installationsdatenträger.
44+5.1:Installation von SvarDOS abgeschlossen. Bitte starten Sie Ihren Computer neu.
45+
46+### LOG IN WELCOME TEXT ONCE SYSTEM IS INSTALLED ###
47+6.0:Willkommen bei SvarDOS! Geben Sie 'HELP' ein, wenn Sie Hilfe benötigen.
48+
49+# Local Variables:
50+# coding:cp850-dos
51+# End:
--- install/trunk/nls/en_utf8.txt (nonexistent)
+++ install/trunk/nls/en_utf8.txt (revision 624)
@@ -0,0 +1,47 @@
1+#
2+# This is a localization file for the SvarDOS INSTALL program
3+#
4+# Language..: English
5+# Translator: Mateusz Viste
6+#
7+
8+### COMMON STUFF: TITLE BAR AND MULTIPLE CHOICE STRINGS ###
9+0.0:SVARDOS INSTALLATION
10+0.1:Install SvarDOS
11+0.2:Quit to DOS
12+0.3:Create a partition automatically
13+0.4:Run the FDISK partitioning tool
14+0.5:Press any key...
15+0.7:Format drive %c:
16+# Every string below must be at most 78 characters long! (used in status bar)
17+0.10:Up/Down = Select entry | Enter = Confirm choice | ESC = Previous screen
18+0.11:Up/Down = Select entry | Enter = Confirm choice | ESC = Quit to DOS
19+
20+### LANGUAGE SELECTION & KEYBOARD LAYOUT SCREENS ###
21+1.0:Welcome to SvarDOS
22+1.1:Please select your preferred language from the list below:
23+1.5:SvarDOS supports different keyboard layouts. Choose the keyboard layout that you want.
24+
25+### WELCOME SCREEN ###
26+2.0:You are about to install SvarDOS: a free, MS-DOS compatible operating system based on FreeDOS. SvarDOS comes with a variety of third-party applications.\n\nWARNING: If your PC has another operating system installed, this other system might be unable to boot once SvarDOS is installed.
27+
28+### DISK SETUP ###
29+3.0:ERROR: Drive %c: could not be found. Perhaps your hard disk needs to be partitioned first. Please create at least one primary partition on your hard disk, so SvarDOS can be installed on it. Note, that SvarDOS requires at least %d MiB of available disk space.\n\nYou can use the FDISK partitioning tool for creating the required partition manually, or you can let the installer partitioning your disk automatically. You can also abort the installation to use any other partition manager of your choice.
30+3.1:Your computer will reboot now.
31+3.2:ERROR: Drive %c: is a removable device. Installation aborted.
32+3.3:ERROR: Drive %c: seems to be unformated.
33+3.4:ERROR: Drive %c: is not big enough! SvarDOS requires a disk of at least %d MiB.
34+3.5:ERROR: Drive %c: is not empty. SvarDOS must be installed on an empty disk.\n\nYou can format the disk now, to make it empty. Note however, that this will ERASE ALL CURRENT DATA on your disk.
35+3.6:The installation of SvarDOS to %c: is about to begin.
36+
37+### PACKAGES INSTALLATION ###
38+# example: "Installing package 4/50: FDISK"
39+4.0:Installing package %d/%d: %s
40+4.1:*** INSERT THE DISK THAT CONTAINS THE REQUIRED FILE AND PRESS ANY KEY ***
41+
42+### END SCREEN ###
43+5.0:Your computer will reboot now.\nPlease remove the installation disk from your drive.
44+5.1:SvarDOS installation is over. Please restart your computer now.
45+
46+### LOG IN WELCOME TEXT ONCE SYSTEM IS INSTALLED ###
47+6.0:Welcome to SvarDOS! Type 'HELP' if you need help.
--- install/trunk/nls/fr_utf8.txt (nonexistent)
+++ install/trunk/nls/fr_utf8.txt (revision 624)
@@ -0,0 +1,45 @@
1+#
2+# This is a localization file for the SvarDOS INSTALL program
3+#
4+# Language..: French
5+# Translator: anonymous
6+#
7+
8+### COMMON STUFF: TITLE BAR AND MULTIPLE CHOICE STRINGS ###
9+0.0:INSTALLATION DE SVARDOS
10+0.1:Installer SvarDOS
11+0.2:Quitter vers DOS
12+0.3:Créer une partition automatiquement
13+0.4:Exécuter l'outil de partitionnement FDISK
14+0.5:Appuyez sur une touche quelconque...
15+# Every string below must be at most 78 characters long! (used in status bar)
16+0.10:Haut/Bas = Choisir l'élément | Entrée = Valider | Échap = Écran précédent
17+0.11:Haut/Bas = Choisir l'élément | Entrée = Valider | Échap = Quitter vers DOS
18+
19+### LANGUAGE SELECTION & KEYBOARD LAYOUT SCREENS ###
20+1.0:Bienvenue sur SvarDOS
21+1.1:Veuillez choisir votre langue sur la liste ci-dessous :
22+1.5:SvarDOS prend en charge différents claviers. Choisissez le clavier que vous préférez.
23+
24+### WELCOME SCREEN ###
25+2.0:Vous êtes sur le point d'installer SvarDOS : un système d'exploitation libre, compatible avec MS-DOS et basé sur le noyau FreeDOS. SvarDOS offre une multitude d'applications tierces.\n\nATTENTION : s'il y a un autre système d'exploitation installé sur votre PC, cet autre système pourrait ne plus démarrer une fois que SvarDOS sera installé.
26+
27+### DISK SETUP ###
28+3.0:ERREUR: le lecteur %c: n'a pu être trouvé. Peut-être que votre disque a d'abord besoin d'être partitionné. Veuillez créer au moins une partition sur votre disque dur pour que SvarDOS puisse y être installé. Notez que SvarDOS nécessite au moins %d Mio d'espace disque disponible.\n\nVous pouvez utiliser l'outil de partitionnement FDISK pour créer manuellement la partition nécessaire, ou bien vous pouvez laisser l'installeur partitionner votre disque automatiquement. Vous pouvez aussi annuler l'installation pour utiliser un autre outil.
29+3.1:Votre ordinateur va maintenant redémarrer.
30+3.2:ERREUR: le lecteur %c: est un périphérique amovible. Installation annulée.
31+3.3:ERREUR: le lecteur %c: ne semble pas être formaté.
32+3.4:ERREUR: le lecteur %c: n'a pas assez d'espace ! SvarDOS nécessite un disque d'au moins %d Mio.
33+3.5:ERREUR: le lecteur %c: n'est pas vide. SvarDOS doit être installé sur un disque vide.\n\nVous pouvez formater le disque maintenant afin de le vider. Veuillez noter cependant que cela EFFACERA TOUTES LES DONNÉES ACTUELLES de votre disque.
34+3.6:L'installation de SvarDOS sur %c: est sur le point de commencer.
35+
36+### PACKAGES INSTALLATION ###
37+# example: "Installing package 4/50: FDISK"
38+4.0:Installation du paquet %d/%d: %s
39+
40+### END SCREEN ###
41+5.0:Votre ordinateur va maintenant redémarrer.\nVeuillez enlever le disque d'installation de votre lecteur.
42+5.1:L'installation de SvarDOS est terminée. Veuillez svp redémarrer votre ordinateur.
43+
44+### LOG IN WELCOME TEXT ONCE SYSTEM IS INSTALLED ###
45+6.0:Bienvenue sur SvarDOS ! Tapez 'HELP' si vous avez besoin d'aide.
--- install/trunk/nls/it_utf8.txt (nonexistent)
+++ install/trunk/nls/it_utf8.txt (revision 624)
@@ -0,0 +1,47 @@
1+#
2+# This is a localization file for the SvarDOS INSTALL program
3+#
4+# Language..: Italian
5+# Codepage..: 850/858/437
6+# Translator: Roberto Mariottini
7+# Revision..: 2
8+#
9+
10+### COMMON STUFF: TITLE BAR AND MULTIPLE CHOICE STRINGS ###
11+0.0:INSTALLAZIONE DI SVARDOS
12+0.1:Installa SvarDOS
13+0.2:Esci al DOS
14+0.3:Crea automaticamente una partizione
15+0.4:Esegui lo strumento di partizionamento FDISK
16+0.5:Premi un tasto...
17+# Every string below must be at most 78 characters long! (used in status bar)
18+0.10:Su/Giù = Seleziona | Invio = Conferma la scelta | ESC = Precedente
19+0.11:Su/Giù = Seleziona | Invio = Conferma la scelta | ESC = Esci al DOS
20+
21+### LANGUAGE SELECTION & KEYBOARD LAYOUT SCREENS ###
22+1.0:Benvenuto in SvarDOS
23+1.1:Seleziona la lingua desiderata dalla lista seguente:
24+1.5:SvarDOS supporta le tastiere usate in paesi differenti. Scegli la tastiera che stai usando.
25+
26+### WELCOME SCREEN ###
27+2.0:Stai per installare SvarDOS: un sistema operativo libero, compatibile con MSDOS, basato sul kernel di FreeDOS. SvarDOS include una varietà di applicazioni di terze parti.\n\nATTENZIONE: Se il tuo PC ha già un altro sistema operativo installato, l'altro sistema operativo potrebbe non essere in grado di ripartire dopo aver installato SvarDOS.
28+
29+### DISK SETUP ###
30+3.0:ERRORE: L'unità %c: non è stata trovata. Forse perché l'hard disk deve essere prima partizionato. Occorre creare almeno una partizione sull'hard disk per poterci installare SvarDOS. Notare che SvarDOS richiede almeno %d MiB di spazio libero su disco.\n\nPuoi usare lo strumento di partizionamento FDISK per creare la partizione manualmente, o lasciare che il programma di installazione partizioni il disco automaticamente. Puoi anche annullare l'installazione per usare lo strumento di partizionamento che preferisci.
31+3.1:Il computer sarà ora riavviato.
32+3.2:ERRORE: L'unità %c: è un disco rimovibile. Installazione annullata.
33+3.3:ERRORE: L'unità %c: non sembra essere formattata.
34+3.4:ERRORE: L'unità %c: non è abbastanza capiente! SvarDOS richiede un disco di almeno %d MiB.
35+3.5:ERRORE: L'unità %c: non è vuota. SvarDOS deve essere installato su un disco vuoto.\n\nPuoi formattare il disco adesso, per svuotarlo. Nota che questa operazione CANCELLERA' TUTTI I DATI presenti sul disco.
36+3.6:L'installazione di SvarDOS in %c: sta per cominciare.
37+
38+### PACKAGES INSTALLATION ###
39+# example: "Installing package 4/50: FDISK"
40+4.0:Installazione del pacchetto %d/%d: %s
41+
42+### END SCREEN ###
43+5.0:Il computer sarà riavviato.\nRimuovere il disco di installazione dall'unità.
44+5.1:L'installazione di SvarDOS è terminata. Please restart your computer now.
45+
46+### LOG IN WELCOME TEXT ONCE SYSTEM IS INSTALLED ###
47+6.0:Benvenuto in SvarDOS! Scrivi 'HELP' se hai bisogno di aiuto.
--- install/trunk/nls/pl_utf8.txt (nonexistent)
+++ install/trunk/nls/pl_utf8.txt (revision 624)
@@ -0,0 +1,47 @@
1+#
2+# This is a localization file for the SvarDOS INSTALL program
3+#
4+# Language..: Polish
5+# Translator: Mateusz Viste
6+#
7+
8+### COMMON STUFF: TITLE BAR AND MULTIPLE CHOICE STRINGS ###
9+0.0:INSTALACJA SVARDOS
10+0.1:Instaluj SvarDOS
11+0.2:Wyjdź do DOS
12+0.3:Stwórz partycję automatycznie
13+0.4:Uruchom narzędzie partycjonowania FDISK
14+0.5:Naciśnij dowolny klawisz...
15+0.7:Formatuj dysk %c:
16+# Every string below must be at most 78 characters long! (used in status bar)
17+0.10:Góra/Dół = Wybór pozycji | Enter = Zatwierdź wybór | ESC = Poprzedni ekran
18+0.11:Góra/Dół = Wybór pozycji | Enter = Zatwierdź wybór | ESC = Wyjdź do DOS
19+
20+### LANGUAGE SELECTION & KEYBOARD LAYOUT SCREENS ###
21+1.0:Witaj w systemie SvarDOS
22+1.1:Wybierz swój język z poniższej listy:
23+1.5:SvarDOS wspiera różne układy klawiatury. Wybierz układ, który ci odpowiada.
24+
25+### WELCOME SCREEN ###
26+2.0:Za chwilę rozpocznie się instalacja systemu SvarDOS: bezpłatnego systemu operacyjnego opartego na jądrze FreeDOS, i kompatybilnego z MSDOS. SvarDOS zawiera mnóstwo aplikacji dodatkowych.\n\nUWAGA: Jeśli twój komputer posiada już inny system operacyjny, system ten może nie zdołać uruchomić się po instalacji SvarDOS.
27+
28+### DISK SETUP ###
29+3.0:BŁĄD: Nie wykryto dysku %c:. Być może twój dysk powinien zostać najpierw spartycjonowany. Utwórz co najmniej jedną partycję na twoim dysku, aby SvarDOS mógł zostać na nią zainstalowany. SvarDOS wymaga co najmniej %d MiB miejsca.\n\nMożesz skorzystać z narzędzia FDISK aby stworzyć wymaganą partycję ręcznie, lub pozwolić instalatorowi stworzyć ją automatycznie. Możesz także wstrzymać instalację aby użyć jakiegokolwiek innego narzędzia do partycjonowania.
30+3.1:Twój komputer zostanie teraz uruchomiony ponownie.
31+3.2:BŁĄD: Dysk %c: jest nośnikiem wymiennym. Instalacja zatrzymana.
32+3.3:BŁĄD: Dysk %c: zdaje się nie być sformatowany.
33+3.4:BŁĄD: Dysk %c: jest za mały! SvarDOS wymaga co najmniej %d MiB miejsca.
34+3.5:BŁĄD: Dysk %c: nie jest pusty. SvarDOS może być zainstalowany wyłącznie na pustym dysku.\n\nMożesz sformatować dysk teraz, aby go opróżnić. Operacja ta sprawi jednak że WSZYSTKIE OBECNE DANE ZOSTANĄ UTRACONE.
35+3.6:Za chwilę rozpocznie się instalacja systemu SvarDOS na dysk %c:.
36+
37+### PACKAGES INSTALLATION ###
38+# example: "Installing package 4/50: FDISK"
39+4.0:Instalacja pakietu %d/%d: %s
40+4.1:*** WŁÓŻ DYSK ZAWIERAJĄCY POTRZEBNY PLIK I NACIŚNIJ DOWOLNY KLAWISZ ***
41+
42+### END SCREEN ###
43+5.0:Twój komputer zostanie teraz uruchomiony ponownie.\nWyjmij dysk instalacyjny z napędu.
44+5.1:Instalacja SvarDOS jest zakończona. Proszę zrestartować teraz komputer.
45+
46+### LOG IN WELCOME TEXT ONCE SYSTEM IS INSTALLED ###
47+6.0:Witaj w systemie SvarDOS! Wpisz 'HELP' jeśli potrzebujesz pomocy.
--- install/trunk/nls/ru_utf8.txt (nonexistent)
+++ install/trunk/nls/ru_utf8.txt (revision 624)
@@ -0,0 +1,45 @@
1+#
2+# This is a localization file for the SvarDOS INSTALL program
3+#
4+# Language..: Russian
5+# Translator: Mateusz Viste
6+#
7+
8+### COMMON STUFF: TITLE BAR AND MULTIPLE CHOICE STRINGS ###
9+0.0:УСТАНОВКА SVARDOS
10+0.1:Установить SvarDOS
11+0.2:Выход в DOS
12+0.3:Создание раздела автоматически
13+0.4:Запуск FDISK
14+0.5:Нажмите любую кнопку...
15+# Every string below must be at most 78 characters long! (used in status bar)
16+0.10:Вверх/вниз = выбор входа | Enter = Подтвердить выбор | ESC = Предыдущий экран
17+0.11:Вверх/вниз = выбор входа | Enter = Подтвердить выбор | ESC = Выход в DOS
18+
19+### LANGUAGE SELECTION & KEYBOARD LAYOUT SCREENS ###
20+1.0:Добро пожаловать в SvarDOS
21+1.1:Пожалуйста, выберите язык из списка ниже:
22+1.5:SvarDOS поддерживает раскладки клавиатуры. Выберите раскладки клавиатуры вы хотите.
23+
24+### WELCOME SCREEN ###
25+2.0:Вы собираетесь установить SvarDOS: свободный, MSDOS-совместимая операционная система, основанная на ядре FreeDOS. SvarDOS поставляется с множеством сторонних пакетов.\n\nВНИМАНИЕ: Если ваш компьютер имеет другую операционную систему, это другая система может оказаться не в состоянии загрузиться после установки SvarDOS.
26+
27+### DISK SETUP ###
28+3.0:ОШИБКА: Диск %c: не может быть найден. Возможно, ваш диск должен первый быть разбит на разделы. Пожалуйста, создайте по крайней мере один раздел на диске, поэтому SvarDOS может быть установлен на нем. Обратите внимание, что SvarDOS требует по крайней мере %d МиБ свободного места на диске.\n\nВы можете использовать FDISK для создания требуемого раздела вручную, или вы можете позволить программе установки разбиения вашего диска автоматически. Вы также можете отменить установку использовать любой другой менеджер разделов по вашему выбору.
29+3.1:Ваш компьютер будет сейчас перезагружен.
30+3.2:ОШИБКА: Диск %c: является съемным. Установка прервана.
31+3.3:ОШИБКА: Диск %c:, кажется, не отформатирован.
32+3.4:ОШИБКА: Диск %c: слишком мал! SvarDOS требует диск не менее %d МиБ.
33+3.5:ОШИБКА: Диск %c: не является пустым. SvarDOS должен быть установлен на пустой диск.\n\nВы можете отформатировать диск сейчас, чтобы сделать его пустым. Отметим, однако, что это приведет к УДАЛЕНИЮ ВСЕХ ДАННЫХ на жестком диске.
34+3.6:Установка SvarDOS до %c: вот-вот начнется.
35+
36+### PACKAGES INSTALLATION ###
37+# example: "Installing package 4/50: FDISK"
38+4.0:Установка пакета %d/%d: %s
39+
40+### END SCREEN ###
41+5.0:Ваш компьютер будет сейчас перезагружен.\nПожалуйста, удалите установочный диск из дисковода.
42+5.1:Установка SvarDOS закончена. Please restart your computer now.
43+
44+### LOG IN WELCOME TEXT ONCE SYSTEM IS INSTALLED ###
45+6.0:Добро пожаловать в SvarDOS! Введите слово "HELP", если вам нужна помощь.
--- install/trunk/nls/si_utf8.txt (nonexistent)
+++ install/trunk/nls/si_utf8.txt (revision 624)
@@ -0,0 +1,45 @@
1+#
2+# This is a localization file for the SvarDOS INSTALL program
3+#
4+# Language..: Slovene
5+# Translator: Matej Horvat
6+#
7+
8+### COMMON STUFF: TITLE BAR AND MULTIPLE CHOICE STRINGS ###
9+0.0:NAMESTITEV SVARDOS
10+0.1:Namesti SvarDOS
11+0.2:Izhod v DOS
12+0.3:Samodejno ustvari particijo
13+0.4:Zaženi program za particioniranje FDISK
14+0.5:Pritisnite tipko...
15+# Every string below must be at most 78 characters long! (used in status bar)
16+0.10:Gor/dol = izbira | Enter = potrdi izbiro | Esc = prejšnji zaslon
17+0.11:Gor/dol = izbira | Enter = potrdi izbiro | Esc = izhod v DOS
18+
19+### LANGUAGE SELECTION & KEYBOARD LAYOUT SCREENS ###
20+1.0:Dobrodošli v SvarDOS!
21+1.1:Izberite svoj jezik s spodnjega seznama:
22+1.5:SvarDOS podpira razporede tipkovnic več držav. Izberite, katerega želite uporabljati.
23+
24+### WELCOME SCREEN ###
25+2.0:Ta program bo namestil SvarDOS - brezplačen in odprtokoden operacijski sistem, združljiv z MS-DOS, ki uporablja jedro projekta FreeDOS. SvarDOS vključuje veliko aplikacij tretjih oseb.\n\nOPOZORILO: Če ima računalnik že nameščen operacijski sistem, tega morda ne bo več mogoče zagnati, ko boste namestili SvarDOS.
26+
27+### DISK SETUP ###
28+3.0:NAPAKA: Pogon %c: ni bil najden. Morda je treba najprej ustvariti particijo na trdem disku. Prosimo, ustvarite vsaj eno particijo, da lahko namestite SvarDOS. Velika mora biti vsaj %d MB.\n\nUstvarite jo lahko sami s programom FDISK, lahko pa jo program za namestitev ustvari samodejno. Namestitev lahko tudi prekinete in uporabite svoj program za particioniranje.
29+3.1:Računalnik se bo zdaj ponovno zagnal.
30+3.2:NAPAKA: Pogon %c: je odstranljiv medij. Namestitev bo prekinjena.
31+3.3:NAPAKA: Pogon %c: ni formatiran.
32+3.4:NAPAKA: Pogon %c: je premajhen. SvarDOS zahteva vsaj %d MB prostora.
33+3.5:NAPAKA: Pogon %c: ni prazen. SvarDOS mora biti nameščen na prazen pogon.\n\nLahko ga formatirate in s tem izpraznite, vendar bo to IZBRISALO VSE PODATKE na njem.
34+3.6:Namestitev operacijskega sistema SvarDOS na pogon %c: se bo začela.
35+
36+### PACKAGES INSTALLATION ###
37+# example: "Installing package 4/50: FDISK"
38+4.0:Nameščanje paketa %d/%d: %s
39+
40+### END SCREEN ###
41+5.0:Računalnik se bo zdaj ponovno zagnal.\nProsimo, odstranite namestitveni medij.
42+5.1:SvarDOS je nameščen. Please restart your computer now.
43+
44+### LOG IN WELCOME TEXT ONCE SYSTEM IS INSTALLED ###
45+6.0:Dobrodošli v SvarDOS! Če potrebujete pomoč, vtipkajte HELP.
--- install/trunk/nls/sv_utf8.txt (nonexistent)
+++ install/trunk/nls/sv_utf8.txt (revision 624)
@@ -0,0 +1,79 @@
1+#
2+# This is a localization file for the SvarDOS INSTALL program
3+# Detta är en localiseringsfil för SvarDOSs INSTALLprogram
4+#
5+# Language..: Swedish
6+# Translator: Martin Strömberg
7+#
8+
9+### COMMON STUFF: TITLE BAR AND MULTIPLE CHOICE STRINGS ###
10+### GEMENSAMMA SAKER: TITLE-BAR AND MULTIPLA-VALSTRÄNGAR ###
11+#0.0:SVARDOS INSTALLATION
12+0.0:SVARDOS INSTALLATION
13+#0.1:Install SvarDOS
14+0.1:Installera SvarDOS
15+#0.2:Quit to DOS
16+0.2:Avsluta till DOS
17+#0.3:Create a partition automatically
18+0.3:Skapa en partition automatiskt
19+#0.4:Run the FDISK partitioning tool
20+0.4:Kör FDISK-partitioneringsverktyget
21+#0.5:Press any key...
22+0.5:Tryck på en tangent...
23+# Every string below must be at most 78 characters long! (used in status bar)
24+# Varje sträng nedan måste vara som mest 78 bokstäver lång (används i statusbaren)
25+#0.10:Up/Down = Select entry | Enter = Confirm choice | ESC = Previous screen
26+0.10:Upp/Ner = Välj rad | Enter = Bekräfta val | ESC = Föregående skärm
27+#0.11:Up/Down = Select entry | Enter = Confirm choice | ESC = Quit to DOS
28+0.11:Up/Down = Välj rad | Enter = Bekräfta val | ESC = Avsluta till DOS
29+
30+### LANGUAGE SELECTION & KEYBOARD LAYOUT SCREENS ###
31+### SPRÅKVAL & TANGENTBORDSLAYOUTSKÄRMAR ###
32+#1.0:Welcome to SvarDOS
33+1.0:Välkommen till SvarDOS
34+#1.1:Please select your preferred language from the list below:
35+1.1:Vänligen välj språket du vill använda från listan nedan:
36+#1.5:SvarDOS supports different keyboard layouts. Choose the keyboard layout that you want.
37+1.5:SvarDOS stödjer olika tangentbordslayouter. Välj tangentbordslayouten som du vill ha.
38+
39+### WELCOME SCREEN ###
40+### VÄLKOMSTSKÄRM ###
41+#2.0:You are about to install SvarDOS: a free, MS-DOS compatible operating system based on FreeDOS. SvarDOS comes with a variety of third-party applications.\n\nWARNING: If your PC has another operating system installed, this other system might be unable to boot once SvarDOS is installed.
42+2.0:Du ska just till att installera SvarDOS: ett fritt, MS-DOS-kompatibelt operativsystem baserat på FreeDOS. SvarDOS kommer med en samling olika tredjepartsapplikationer.\n\nVARNING: Om din PC har ett annat operativsystem intstallerat, kanske detta andra system inte kan boota när väl SvarDOS har installerats.
43+
44+### DISK SETUP ###
45+### DISKSETUP ###
46+#3.0:ERROR: Drive %c: could not be found. Perhaps your hard disk needs to be partitioned first. Please create at least one primary partition on your hard disk, so SvarDOS can be installed on it. Note, that SvarDOS requires at least %d MiB of available disk space.\n\nYou can use the FDISK partitioning tool for creating the required partition manually, or you can let the installer partitioning your disk automatically. You can also abort the installation to use any other partition manager of your choice.
47+3.0:FEL: Enhet %c: kunde inte hittas. Kanske din hårddisk behöver partitioneras först. Vänligen skapa minst en primär partition på din hårddisk, så SvarDOS kan installeras på den. N.B. att SvarDOS behöver minst %d MiB ledigt diskutrymme.\n\nDu kan använda FDISK-partitioneringsverktyget för att skapa den nödvändiga partitionen manuellt, eller så kan du låta installationsprogrammet partitioner din disk automatiskt. Du kan också avbryta installationen för att använda en annan valfri partitionsmanager.
48+#3.1:Your computer will reboot now.
49+3.1:Din dator kommer att boota om nu.
50+#3.2:ERROR: Drive %c: is a removable device. Installation aborted.
51+3.2:FEL: Enhet %c: är ett removable device. Installationen avbryts.
52+#3.3:ERROR: Drive %c: seems to be unformated. Do you wish to format it?
53+3.3:FEL: Enhet %c: verkar vara oformaterad.
54+#3.4:ERROR: Drive %c: is not big enough! SvarDOS requires a disk of at least %d MiB.
55+3.4:FEL: Enhet %c: är inte tillräckligt stor! SvarDOS behöver en disk som är minst %d MiB.
56+#3.5:ERROR: Drive %c: is not empty. SvarDOS must be installed on an empty disk.\n\nYou can format the disk now, to make it empty. Note however, that this will ERASE ALL CURRENT DATA on your disk.
57+3.5:FEL: Enhet %c: är inte tom. SvarDOS måste installeras på en tom disk.\n\nDu kan formatera disken nu, för att tömma den. N.B. detta kommer att RADERA ALLT NUVARANDE DATA på din disk.
58+#3.6:The installation of SvarDOS to %c: is about to begin.
59+3.6:Installationen av SvarDOS till %c: ska just börja.
60+
61+### PACKAGES INSTALLATION ###
62+### PAKETINSTALLATION ###
63+# example: "Installing package 4/50: FDISK"
64+# exempel: "Installerar paketet 4/50: FDISK"
65+#4.0:Installing package %d/%d: %s
66+4.0:Installerar paketet %d/%d: %s
67+
68+### END SCREEN ###
69+### AVSLUTNINGSSKÄRM ###
70+#(5.0:SvarDOS installation is over. Your computer will reboot now.\nPlease remove the installation disk from your drive.)
71+#5.0:Your computer will reboot now.\nPlease make sure to remove the installation media.
72+5.0:Din dator kommer att reboota nu.\nVänligen se till att ta bort installationsmediet.
73+#5.1:SvarDOS installation is over. Please restart your computer now.
74+5.1:SvarDOS-installationen är klar. Please restart your computer now.
75+
76+### LOG IN WELCOME TEXT ONCE SYSTEM IS INSTALLED ###
77+### LOGINVÄLKOMSTTEXT NÄR SYSTEMET ÄR INSTALLERAT ###
78+#6.0:Welcome to SvarDOS! Type 'HELP' if you need help.
79+6.0:Välkommen till SvarDOS! Skriv 'HELP' om du behöver hjälp.
--- install/trunk/nls/tr_utf8.txt (nonexistent)
+++ install/trunk/nls/tr_utf8.txt (revision 624)
@@ -0,0 +1,45 @@
1+#
2+# This is a localization file for the SvarDOS INSTALL program
3+#
4+# Language..: Turkish
5+# Translator: anonymous
6+#
7+
8+### COMMON STUFF: TITLE BAR AND MULTIPLE CHOICE STRINGS ###
9+0.0:SVARDOS KURULUMU
10+0.1:SvarDOS'yı kur
11+0.2:DOS'a çık
12+0.3:Disk bölümünü otomatik olarak oluştur
13+0.4:FDISK disk bölümü oluşturma aracını çalıştır
14+0.5:Herhangi bir tuşa basın...
15+# Every string below must be at most 78 characters long! (used in status bar)
16+0.10:Yukarı/Aşağı = Unsur seç | Enter = Seçimi doğrula | ESC = Önceki ekran
17+0.11:Yukarı/Aşağı = Unsur seç | Enter = Seçimi doğrula | ESC = Dos'a çık
18+
19+### LANGUAGE SELECTION & KEYBOARD LAYOUT SCREENS ###
20+1.0:SvarDOS'ya hoş geldiniz
21+1.1:Dilinizi aşağıdaki listeden seçiniz:
22+1.5:SvarDOS değişik ülkelerde kullanılan klavye düzenlerini destekler. İstediğiniz klavye düzenini seçiniz.
23+
24+### WELCOME SCREEN ###
25+2.0:FreeDOS çekirdeğine dayalı, ücretsiz ve MS-DOS uyumlu bir işletim sistemi olan SvarDOS'yı kurmak üzeresiniz. SvarDOS çeşitli üçüncü parti uygulamaları sunar.\n\nİKAZ: Eğer PC'nizde başka bir işletim sistemi kuruluysa, bu sistem SvarDOS kurulduktan sonra başlamayabilir.
26+
27+### DISK SETUP ###
28+3.0:HATA: %c: sürücüsü bulunamadı. Belki sabit diskinizde önce bölüm oluşturmanız gerekmektedir. Lütfen sabit diskinizde en az bir bölüm oluşturun ki SvarDOS o bölüme kurulabilsin. SvarDOS'nın en az %d MiB disk alanına ihtiyaç duyduğunu unutmayın.\n\nGerekli bölümü elle oluşturmak için FDISK bölüm oluşturma aracını kullanabilir ya da kurulumun diskinizde otomatik olarak bölüm oluşturmasına izin verebilirsiniz. Başka bir bölüm yöneticisi kullanmak için kurulumu iptal de edebilirsiniz.
29+3.1:Bilgisayarınız şimdi yeniden başlayacaktır.
30+3.2:HATA: %c: sürücüsü çıkarılabilir bir cihazdır. Kurulum iptal edilmiştir.
31+3.3:HATA: %c: biçimlendirilmemiş gözükmektedir.
32+3.4:HATA: %c: sürücüsü yeteri kadar büyük değildir! SvarDOS en az %d MiB boyutunda bir diske ihtiyaç duyar.
33+3.5:HATA: %c: sürücüsü boş değildir. SvarDOS, boş bir diske kurulmalıdır.\n\nDiski boşaltmak için şimdi biçimlendirebilirsiniz. Bununla beraber, bunun diskinizdeki TÜM GÜNCEL VERİLERİ SİLECEĞİNİ unutmayınız.
34+3.6:SvarDOS'nın %c: sürücüsüne kurulumu başlamak üzeredir.
35+
36+### PACKAGES INSTALLATION ###
37+# example: "Installing package 4/50: FDISK"
38+4.0:Şu paket kuruluyor: %d/%d: %s
39+
40+### END SCREEN ###
41+5.0:Bilgisayarınız şimdi yeniden başlayacaktır.\nLütfen kurulum diskini sürücünüzden çıkarın.
42+5.1:SvarDOS kurulumu sona ermiştir. Please restart your computer now.
43+
44+### LOG IN WELCOME TEXT ONCE SYSTEM IS INSTALLED ###
45+6.0:SvarDOS'ya hoş geldiniz! Yardıma ihtiyacınız varsa 'HELP' yazınız.
--- install/trunk/deflang.c (nonexistent)
+++ install/trunk/deflang.c (revision 624)
@@ -0,0 +1,135 @@
1+/* THIS FILE HAS BEEN AUTOGENERATE BY TLUMACZ (PART OF THE SVARLANG LIBRARY) */
2+const unsigned short svarlang_memsz = 4212u;
3+char svarlang_mem[4212] = {
4+0,0,21,0,83,86,65,82,68,79,83,32,73,78,83,84,
5+65,76,76,65,84,73,79,78,0,1,0,16,0,73,110,115,
6+116,97,108,108,32,83,118,97,114,68,79,83,0,2,0,12,
7+0,81,117,105,116,32,116,111,32,68,79,83,0,3,0,33,
8+0,67,114,101,97,116,101,32,97,32,112,97,114,116,105,116,
9+105,111,110,32,97,117,116,111,109,97,116,105,99,97,108,108,
10+121,0,4,0,32,0,82,117,110,32,116,104,101,32,70,68,
11+73,83,75,32,112,97,114,116,105,116,105,111,110,105,110,103,
12+32,116,111,111,108,0,5,0,17,0,80,114,101,115,115,32,
13+97,110,121,32,107,101,121,46,46,46,0,7,0,17,0,70,
14+111,114,109,97,116,32,100,114,105,118,101,32,37,99,58,0,
15+10,0,72,0,85,112,47,68,111,119,110,32,61,32,83,101,
16+108,101,99,116,32,101,110,116,114,121,32,124,32,69,110,116,
17+101,114,32,61,32,67,111,110,102,105,114,109,32,99,104,111,
18+105,99,101,32,124,32,69,83,67,32,61,32,80,114,101,118,
19+105,111,117,115,32,115,99,114,101,101,110,0,11,0,68,0,
20+85,112,47,68,111,119,110,32,61,32,83,101,108,101,99,116,
21+32,101,110,116,114,121,32,124,32,69,110,116,101,114,32,61,
22+32,67,111,110,102,105,114,109,32,99,104,111,105,99,101,32,
23+124,32,69,83,67,32,61,32,81,117,105,116,32,116,111,32,
24+68,79,83,0,0,1,19,0,87,101,108,99,111,109,101,32,
25+116,111,32,83,118,97,114,68,79,83,0,1,1,59,0,80,
26+108,101,97,115,101,32,115,101,108,101,99,116,32,121,111,117,
27+114,32,112,114,101,102,101,114,114,101,100,32,108,97,110,103,
28+117,97,103,101,32,102,114,111,109,32,116,104,101,32,108,105,
29+115,116,32,98,101,108,111,119,58,0,5,1,87,0,83,118,
30+97,114,68,79,83,32,115,117,112,112,111,114,116,115,32,100,
31+105,102,102,101,114,101,110,116,32,107,101,121,98,111,97,114,
32+100,32,108,97,121,111,117,116,115,46,32,67,104,111,111,115,
33+101,32,116,104,101,32,107,101,121,98,111,97,114,100,32,108,
34+97,121,111,117,116,32,116,104,97,116,32,121,111,117,32,119,
35+97,110,116,46,0,0,2,29,1,89,111,117,32,97,114,101,
36+32,97,98,111,117,116,32,116,111,32,105,110,115,116,97,108,
37+108,32,83,118,97,114,68,79,83,58,32,97,32,102,114,101,
38+101,44,32,77,83,45,68,79,83,32,99,111,109,112,97,116,
39+105,98,108,101,32,111,112,101,114,97,116,105,110,103,32,115,
40+121,115,116,101,109,32,98,97,115,101,100,32,111,110,32,70,
41+114,101,101,68,79,83,46,32,83,118,97,114,68,79,83,32,
42+99,111,109,101,115,32,119,105,116,104,32,97,32,118,97,114,
43+105,101,116,121,32,111,102,32,116,104,105,114,100,45,112,97,
44+114,116,121,32,97,112,112,108,105,99,97,116,105,111,110,115,
45+46,92,110,92,110,87,65,82,78,73,78,71,58,32,73,102,
46+32,121,111,117,114,32,80,67,32,104,97,115,32,97,110,111,
47+116,104,101,114,32,111,112,101,114,97,116,105,110,103,32,115,
48+121,115,116,101,109,32,105,110,115,116,97,108,108,101,100,44,
49+32,116,104,105,115,32,111,116,104,101,114,32,115,121,115,116,
50+101,109,32,109,105,103,104,116,32,98,101,32,117,110,97,98,
51+108,101,32,116,111,32,98,111,111,116,32,111,110,99,101,32,
52+83,118,97,114,68,79,83,32,105,115,32,105,110,115,116,97,
53+108,108,101,100,46,0,0,3,246,1,69,82,82,79,82,58,
54+32,68,114,105,118,101,32,37,99,58,32,99,111,117,108,100,
55+32,110,111,116,32,98,101,32,102,111,117,110,100,46,32,80,
56+101,114,104,97,112,115,32,121,111,117,114,32,104,97,114,100,
57+32,100,105,115,107,32,110,101,101,100,115,32,116,111,32,98,
58+101,32,112,97,114,116,105,116,105,111,110,101,100,32,102,105,
59+114,115,116,46,32,80,108,101,97,115,101,32,99,114,101,97,
60+116,101,32,97,116,32,108,101,97,115,116,32,111,110,101,32,
61+112,114,105,109,97,114,121,32,112,97,114,116,105,116,105,111,
62+110,32,111,110,32,121,111,117,114,32,104,97,114,100,32,100,
63+105,115,107,44,32,115,111,32,83,118,97,114,68,79,83,32,
64+99,97,110,32,98,101,32,105,110,115,116,97,108,108,101,100,
65+32,111,110,32,105,116,46,32,78,111,116,101,44,32,116,104,
66+97,116,32,83,118,97,114,68,79,83,32,114,101,113,117,105,
67+114,101,115,32,97,116,32,108,101,97,115,116,32,37,100,32,
68+77,105,66,32,111,102,32,97,118,97,105,108,97,98,108,101,
69+32,100,105,115,107,32,115,112,97,99,101,46,92,110,92,110,
70+89,111,117,32,99,97,110,32,117,115,101,32,116,104,101,32,
71+70,68,73,83,75,32,112,97,114,116,105,116,105,111,110,105,
72+110,103,32,116,111,111,108,32,102,111,114,32,99,114,101,97,
73+116,105,110,103,32,116,104,101,32,114,101,113,117,105,114,101,
74+100,32,112,97,114,116,105,116,105,111,110,32,109,97,110,117,
75+97,108,108,121,44,32,111,114,32,121,111,117,32,99,97,110,
76+32,108,101,116,32,116,104,101,32,105,110,115,116,97,108,108,
77+101,114,32,112,97,114,116,105,116,105,111,110,105,110,103,32,
78+121,111,117,114,32,100,105,115,107,32,97,117,116,111,109,97,
79+116,105,99,97,108,108,121,46,32,89,111,117,32,99,97,110,
80+32,97,108,115,111,32,97,98,111,114,116,32,116,104,101,32,
81+105,110,115,116,97,108,108,97,116,105,111,110,32,116,111,32,
82+117,115,101,32,97,110,121,32,111,116,104,101,114,32,112,97,
83+114,116,105,116,105,111,110,32,109,97,110,97,103,101,114,32,
84+111,102,32,121,111,117,114,32,99,104,111,105,99,101,46,0,
85+1,3,31,0,89,111,117,114,32,99,111,109,112,117,116,101,
86+114,32,119,105,108,108,32,114,101,98,111,111,116,32,110,111,
87+119,46,0,2,3,62,0,69,82,82,79,82,58,32,68,114,
88+105,118,101,32,37,99,58,32,105,115,32,97,32,114,101,109,
89+111,118,97,98,108,101,32,100,101,118,105,99,101,46,32,73,
90+110,115,116,97,108,108,97,116,105,111,110,32,97,98,111,114,
91+116,101,100,46,0,3,3,41,0,69,82,82,79,82,58,32,
92+68,114,105,118,101,32,37,99,58,32,115,101,101,109,115,32,
93+116,111,32,98,101,32,117,110,102,111,114,109,97,116,101,100,
94+46,0,4,3,80,0,69,82,82,79,82,58,32,68,114,105,
95+118,101,32,37,99,58,32,105,115,32,110,111,116,32,98,105,
96+103,32,101,110,111,117,103,104,33,32,83,118,97,114,68,79,
97+83,32,114,101,113,117,105,114,101,115,32,97,32,100,105,115,
98+107,32,111,102,32,97,116,32,108,101,97,115,116,32,37,100,
99+32,77,105,66,46,0,5,3,191,0,69,82,82,79,82,58,
100+32,68,114,105,118,101,32,37,99,58,32,105,115,32,110,111,
101+116,32,101,109,112,116,121,46,32,83,118,97,114,68,79,83,
102+32,109,117,115,116,32,98,101,32,105,110,115,116,97,108,108,
103+101,100,32,111,110,32,97,110,32,101,109,112,116,121,32,100,
104+105,115,107,46,92,110,92,110,89,111,117,32,99,97,110,32,
105+102,111,114,109,97,116,32,116,104,101,32,100,105,115,107,32,
106+110,111,119,44,32,116,111,32,109,97,107,101,32,105,116,32,
107+101,109,112,116,121,46,32,78,111,116,101,32,104,111,119,101,
108+118,101,114,44,32,116,104,97,116,32,116,104,105,115,32,119,
109+105,108,108,32,69,82,65,83,69,32,65,76,76,32,67,85,
110+82,82,69,78,84,32,68,65,84,65,32,111,110,32,121,111,
111+117,114,32,100,105,115,107,46,0,6,3,54,0,84,104,101,
112+32,105,110,115,116,97,108,108,97,116,105,111,110,32,111,102,
113+32,83,118,97,114,68,79,83,32,116,111,32,37,99,58,32,
114+105,115,32,97,98,111,117,116,32,116,111,32,98,101,103,105,
115+110,46,0,0,4,29,0,73,110,115,116,97,108,108,105,110,
116+103,32,112,97,99,107,97,103,101,32,37,100,47,37,100,58,
117+32,37,115,0,1,4,74,0,42,42,42,32,73,78,83,69,
118+82,84,32,84,72,69,32,68,73,83,75,32,84,72,65,84,
119+32,67,79,78,84,65,73,78,83,32,84,72,69,32,82,69,
120+81,85,73,82,69,68,32,70,73,76,69,32,65,78,68,32,
121+80,82,69,83,83,32,65,78,89,32,75,69,89,32,42,42,
122+42,0,0,5,85,0,89,111,117,114,32,99,111,109,112,117,
123+116,101,114,32,119,105,108,108,32,114,101,98,111,111,116,32,
124+110,111,119,46,92,110,80,108,101,97,115,101,32,114,101,109,
125+111,118,101,32,116,104,101,32,105,110,115,116,97,108,108,97,
126+116,105,111,110,32,100,105,115,107,32,102,114,111,109,32,121,
127+111,117,114,32,100,114,105,118,101,46,0,1,5,64,0,83,
128+118,97,114,68,79,83,32,105,110,115,116,97,108,108,97,116,
129+105,111,110,32,105,115,32,111,118,101,114,46,32,80,108,101,
130+97,115,101,32,114,101,115,116,97,114,116,32,121,111,117,114,
131+32,99,111,109,112,117,116,101,114,32,110,111,119,46,0,0,
132+6,50,0,87,101,108,99,111,109,101,32,116,111,32,83,118,
133+97,114,68,79,83,33,32,84,121,112,101,32,39,72,69,76,
134+80,39,32,105,102,32,121,111,117,32,110,101,101,100,32,104,
135+101,108,112,46,0,0,0,0,0,0};
--- install/trunk/install.c (revision 623)
+++ install/trunk/install.c (revision 624)
@@ -1,10 +1,9 @@
11 /*
22 * SVARDOS INSTALL PROGRAM
3- * Copyright (C) 2021 Mateusz Viste
43 *
54 * PUBLISHED UNDER THE TERMS OF THE MIT LICENSE
65 *
7- * COPYRIGHT (C) 2016-2021 MATEUSZ VISTE, ALL RIGHTS RESERVED.
6+ * COPYRIGHT (C) 2016-2022 MATEUSZ VISTE, ALL RIGHTS RESERVED.
87 *
98 * Permission is hereby granted, free of charge, to any person obtaining a
109 * copy of this software and associated documentation files (the "Software"),
@@ -34,7 +33,7 @@
3433 #include <string.h> /* memcpy() */
3534 #include <unistd.h>
3635
37-#include "kitten\kitten.h"
36+#include "svarlang.lib\svarlang.h"
3837
3938 #include "input.h"
4039 #include "video.h"
@@ -65,7 +64,7 @@
6564
6665 struct slocales {
6766 char lang[4];
68- char *keybcode;
67+ const char *keybcode;
6968 unsigned int codepage;
7069 int egafile;
7170 int keybfile;
@@ -85,7 +84,7 @@
8584
8685
8786 /* outputs a string to screen with taking care of word wrapping. returns amount of lines. */
88-static int putstringwrap(int y, int x, unsigned short attr, char *s) {
87+static int putstringwrap(int y, int x, unsigned short attr, const char *s) {
8988 int linew, lincount;
9089 linew = 80;
9190 if (x >= 0) linew -= (x << 1);
@@ -114,8 +113,9 @@
114113
115114 /* an NLS wrapper around video_putstring(), also performs line wrapping when
116115 * needed. returns the amount of lines that were output */
117-static int putstringnls(int y, int x, unsigned short attr, int nlsmaj, int nlsmin, char *s) {
118- s = kittengets(nlsmaj, nlsmin, s);
116+static int putstringnls(int y, int x, unsigned short attr, int nlsmaj, int nlsmin) {
117+ const char *s = svarlang_str(nlsmaj, nlsmin);
118+ if (s == NULL) s = "";
119119 return(putstringwrap(y, x, attr, s));
120120 }
121121
@@ -151,7 +151,7 @@
151151 }
152152
153153
154-static int menuselect(int ypos, int xpos, int height, char **list, int listlen) {
154+static int menuselect(int ypos, int xpos, int height, const char **list, int listlen) {
155155 int i, offset = 0, res = 0, count, width = 0;
156156 /* count how many positions there is, and check their width */
157157 for (count = 0; (list[count] != NULL) && (count != listlen); count++) {
@@ -218,23 +218,23 @@
218218 }
219219
220220 static void newscreen(int statusbartype) {
221- char *msg;
222- msg = kittengets(0, 0, "SVARDOS INSTALLATION");
221+ const char *msg;
222+ msg = svarlang_strid(0x00); /* "SVARDOS INSTALLATION" */
223223 video_putcharmulti(0, 0, COLOR_TITLEBAR[mono], ' ', 80, 1);
224224 video_putstring(0, 40 - (strlen(msg) >> 1), COLOR_TITLEBAR[mono], msg, -1);
225225 video_clear(COLOR_BODY[mono], 80, -80);
226226 switch (statusbartype) {
227227 case 1:
228- msg = kittengets(0, 11, "Up/Down = Select entry | Enter = Validate your choice | ESC = Quit to DOS");
228+ msg = svarlang_strid(0x000B); /* "Up/Down = Select entry | Enter = Validate your choice | ESC = Quit to DOS" */
229229 break;
230230 case 2:
231- msg = kittengets(0, 5, "Press any key...");
231+ msg = svarlang_strid(0x0005); /* "Press any key..." */
232232 break;
233233 case 3:
234234 msg = "";
235235 break;
236236 default:
237- msg = kittengets(0, 10, "Up/Down = Select entry | Enter = Validate your choice | ESC = Previous screen");
237+ msg = svarlang_strid(0x000A); /* "Up/Down = Select entry | Enter = Validate your choice | ESC = Previous screen" */
238238 break;
239239 }
240240 video_putchar(24, 0, COLOR_TITLEBAR[mono], ' ');
@@ -244,7 +244,7 @@
244244
245245 /* fills a slocales struct accordingly to the value of its keyboff member */
246246 static void kblay2slocal(struct slocales *locales) {
247- char *m;
247+ const char *m;
248248 for (m = kblayouts[locales->keyboff]; *m != 0; m++); /* skip layout name */
249249 m++;
250250 /* skip keyb code and copy it to locales.keybcode */
@@ -259,8 +259,8 @@
259259
260260 static int selectlang(struct slocales *locales) {
261261 int choice, x;
262- char *msg;
263- char *langlist[] = {
262+ const char *msg;
263+ const char *langlist[] = {
264264 "English",
265265 "French",
266266 "German",
@@ -274,11 +274,11 @@
274274 };
275275
276276 newscreen(1);
277- msg = kittengets(1, 0, "Welcome to SvarDOS");
277+ msg = svarlang_strid(0x0100); /* "Welcome to SvarDOS" */
278278 x = 40 - (strlen(msg) >> 1);
279279 video_putstring(4, x, COLOR_BODY[mono], msg, -1);
280280 video_putcharmulti(5, x, COLOR_BODY[mono], '=', strlen(msg), 1);
281- putstringnls(8, -1, COLOR_BODY[mono], 1, 1, "Please select your language from the list below:");
281+ putstringnls(8, -1, COLOR_BODY[mono], 1, 1); /* "Please select your language from the list below:" */
282282 choice = menuselect(11, -1, 11, langlist, -1);
283283 if (choice < 0) return(MENUPREV);
284284 /* populate locales with default values */
@@ -341,7 +341,7 @@
341341 int menuheight, choice;
342342 if (locales->keyblen == 1) return(MENUNEXT); /* do not ask for keyboard layout if only one is available for given language */
343343 newscreen(0);
344- putstringnls(5, 1, COLOR_BODY[mono], 1, 5, "SvarDOS supports different keyboard layouts. Choose the keyboard layout that you want.");
344+ putstringnls(5, 1, COLOR_BODY[mono], 1, 5); /* "SvarDOS supports different keyboard layouts */
345345 menuheight = locales->keyblen + 2;
346346 if (menuheight > 13) menuheight = 13;
347347 choice = menuselect(10, -1, menuheight, &(kblayouts[locales->keyboff]), locales->keyblen);
@@ -356,11 +356,12 @@
356356 /* returns 0 if installation must proceed, non-zero otherwise */
357357 static int welcomescreen(void) {
358358 int c;
359- char *choice[] = {"Install SvarDOS to disk", "Quit to DOS", NULL};
360- choice[0] = kittengets(0, 1, choice[0]);
361- choice[1] = kittengets(0, 2, choice[1]);
359+ const char *choice[3];
360+ choice[0] = svarlang_strid(0x0001);
361+ choice[1] = svarlang_strid(0x0002);
362+ choice[2] = NULL;
362363 newscreen(0);
363- putstringnls(4, 1, COLOR_BODY[mono], 2, 0, "You are about to install SvarDOS: a free, MSDOS-compatible operating system based on the FreeDOS kernel. SvarDOS targets 386+ computers and comes with a variety of third-party applications.\n\nWARNING: If your PC has another operating system installed, this other system might be unable to boot once SvarDOS is installed.");
364+ putstringnls(4, 1, COLOR_BODY[mono], 2, 0); /* "You are about to install SvarDOS */
364365 c = menuselect(13, -1, 4, choice, -1);
365366 if (c < 0) return(MENUPREV);
366367 if (c == 0) return(MENUNEXT);
@@ -463,12 +464,13 @@
463464 for (;;) {
464465 driveremovable = isdriveremovable(selecteddrive);
465466 if (driveremovable < 0) {
466- char *list[] = { "Create a partition automatically", "Run the FDISK partitioning tool", "Quit to DOS", NULL};
467+ const char *list[4];
467468 newscreen(0);
468- list[0] = kittengets(0, 3, list[0]);
469- list[1] = kittengets(0, 4, list[1]);
470- list[2] = kittengets(0, 2, list[2]);
471- snprintf(buff, sizeof(buff), kittengets(3, 0, "ERROR: Drive %c: could not be found. Perhaps your hard disk needs to be partitioned first. Please create at least one partition on your hard disk, so SvarDOS can be installed on it. Note, that SvarDOS requires at least %d MiB of available disk space.\n\nYou can use the FDISK partitioning tool for creating the required partition manually, or you can let the installer partitioning your disk automatically. You can also abort the installation to use any other partition manager of your choice."), cselecteddrive, SVARDOS_DISK_REQ);
469+ list[0] = svarlang_str(0, 3); /* Create a partition automatically */
470+ list[1] = svarlang_str(0, 4); /* Run the FDISK tool */
471+ list[2] = svarlang_str(0, 2); /* Quit to DOS */
472+ list[3] = NULL;
473+ snprintf(buff, sizeof(buff), svarlang_strid(0x0300), cselecteddrive, SVARDOS_DISK_REQ); /* "ERROR: Drive %c: could not be found. Note, that SvarDOS requires at least %d MiB of available disk space */
472474 switch (menuselect(6 + putstringwrap(4, 1, COLOR_BODY[mono], buff), -1, 5, list, -1)) {
473475 case 0:
474476 sprintf(buff, "FDISK /AUTO %d", driveid);
@@ -490,16 +492,16 @@
490492 sprintf(buff, "FDISK /AMBR %d", driveid);
491493 system(buff); /* writes BOOT.MBR into actual MBR */
492494 newscreen(2);
493- putstringnls(10, 10, COLOR_BODY[mono], 3, 1, "Your computer will reboot now.");
494- putstringnls(12, 10, COLOR_BODY[mono], 0, 5, "Press any key...");
495+ putstringnls(10, 10, COLOR_BODY[mono], 3, 1); /* "Your computer will reboot now." */
496+ putstringnls(12, 10, COLOR_BODY[mono], 0, 5); /* "Press any key..." */
495497 input_getkey();
496498 reboot();
497499 return(MENUQUIT);
498500 } else if (driveremovable > 0) {
499501 newscreen(2);
500- snprintf(buff, sizeof(buff), kittengets(3, 2, "ERROR: Drive %c: is a removable device. Installation aborted."), cselecteddrive);
502+ snprintf(buff, sizeof(buff), svarlang_strid(0x0302), cselecteddrive); /* "ERROR: Drive %c: is a removable device */
501503 video_putstring(9, 1, COLOR_BODY[mono], buff, -1);
502- putstringnls(11, 2, COLOR_BODY[mono], 0, 5, "Press any key...");
504+ putstringnls(11, 2, COLOR_BODY[mono], 0, 5); /* "Press any key..." */
503505 return(MENUQUIT);
504506 }
505507 /* if not formatted, propose to format it right away (try to create a directory) */
@@ -507,14 +509,14 @@
507509 if (mkdir(buff) == 0) {
508510 rmdir(buff);
509511 } else {
510- char *list[3];
512+ const char *list[3];
511513 newscreen(0);
512- snprintf(buff, sizeof(buff), kittengets(3, 3, "ERROR: Drive %c: seems to be unformated. Do you wish to format it?"), cselecteddrive);
514+ snprintf(buff, sizeof(buff), svarlang_str(3, 3), cselecteddrive); /* "ERROR: Drive %c: seems to be unformated. Do you wish to format it?") */
513515 video_putstring(7, 1, COLOR_BODY[mono], buff, -1);
514516
515- snprintf(buff, sizeof(buff), kittengets(0, 7, "Format drive %c:"), cselecteddrive);
517+ snprintf(buff, sizeof(buff), svarlang_strid(0x0007), cselecteddrive); /* "Format drive %c:" */
516518 list[0] = buff;
517- list[1] = kittengets(0, 2, "Quit to DOS");
519+ list[1] = svarlang_strid(0x0002); /* "Quit to DOS" */
518520 list[2] = NULL;
519521
520522 choice = menuselect(12, -1, 4, list, -1);
@@ -531,9 +533,9 @@
531533 if (ds < SVARDOS_DISK_REQ) {
532534 int y = 9;
533535 newscreen(2);
534- snprintf(buff, sizeof(buff), kittengets(3, 4, "ERROR: Drive %c: is not big enough! SvarDOS requires a disk of at least %d MiB."), cselecteddrive, SVARDOS_DISK_REQ);
536+ snprintf(buff, sizeof(buff), svarlang_strid(0x0304), cselecteddrive, SVARDOS_DISK_REQ); /* "ERROR: Drive %c: is not big enough! SvarDOS requires a disk of at least %d MiB." */
535537 y += putstringwrap(y, 1, COLOR_BODY[mono], buff);
536- putstringnls(++y, 1, COLOR_BODY[mono], 0, 5, "Press any key...");
538+ putstringnls(++y, 1, COLOR_BODY[mono], 0, 5); /* "Press any key..." */
537539 input_getkey();
538540 return(MENUQUIT);
539541 }
@@ -540,14 +542,14 @@
540542 /* is the disk empty? */
541543 newscreen(0);
542544 if (diskempty(selecteddrive) != 0) {
543- char *list[3];
545+ const char *list[3];
544546 int y = 6;
545- snprintf(buff, sizeof(buff), kittengets(3, 5, "ERROR: Drive %c: is not empty. SvarDOS must be installed on an empty disk.\n\nYou can format the disk now, to make it empty. Note however, that this will ERASE ALL CURRENT DATA on your disk."), cselecteddrive);
547+ snprintf(buff, sizeof(buff), svarlang_strid(0x0305), cselecteddrive); /* "ERROR: Drive %c: not empty" */
546548 y += putstringwrap(y, 1, COLOR_BODY[mono], buff);
547549
548- snprintf(buff, sizeof(buff), kittengets(0, 7, "Format drive %c:"), cselecteddrive);
550+ snprintf(buff, sizeof(buff), svarlang_strid(0x0007), cselecteddrive); /* "Format drive %c:" */
549551 list[0] = buff;
550- list[1] = kittengets(0, 2, "Quit to DOS");
552+ list[1] = svarlang_strid(0x0002); /* "Quit to DOS" */
551553 list[2] = NULL;
552554
553555 choice = menuselect(++y, -1, 4, list, -1);
@@ -560,10 +562,11 @@
560562 continue;
561563 } else {
562564 /* final confirmation */
563- char *list[] = { "Install SvarDOS", "Quit to DOS", NULL};
564- list[0] = kittengets(0, 1, list[0]);
565- list[1] = kittengets(0, 2, list[1]);
566- snprintf(buff, sizeof(buff), kittengets(3, 6, "The installation of SvarDOS to %c: is about to begin."), cselecteddrive);
565+ const char *list[3];
566+ list[0] = svarlang_strid(0x0001); /* Install SvarDOS */
567+ list[1] = svarlang_strid(0x0002); /* Quit to DOS */
568+ list[2] = NULL;
569+ snprintf(buff, sizeof(buff), svarlang_strid(0x0306), cselecteddrive); /* "The installation of SvarDOS to %c: is about to begin." */
567570 video_putstring(7, -1, COLOR_BODY[mono], buff, -1);
568571 choice = menuselect(10, -1, 4, list, -1);
569572 if (choice < 0) return(MENUPREV);
@@ -655,7 +658,7 @@
655658 fprintf(fd, "REM CTMOUSE\r\n");
656659 fprintf(fd, "\r\n");
657660 fprintf(fd, "ECHO.\r\n");
658- fprintf(fd, "ECHO %s\r\n", kittengets(6, 0, "Welcome to SvarDOS! Type 'HELP' if you need help."));
661+ fprintf(fd, "ECHO %s\r\n", svarlang_strid(0x0600)); /* "Welcome to SvarDOS!" */
659662 fclose(fd);
660663 /*** CREATE DIRECTORY FOR CONFIGURATION FILES ***/
661664 snprintf(buff, sizeof(buff), "%c:\\SVARDOS", targetdrv);
@@ -749,13 +752,13 @@
749752 while (*pkgptr == 0) pkgptr++;
750753 if (*pkgptr == 0xff) break;
751754 /* install the package */
752- snprintf(buff, sizeof(buff), kittengets(4, 0, "Installing package %d/%d: %s"), i+1, pkglistlen, pkgptr);
755+ snprintf(buff, sizeof(buff), svarlang_strid(0x0400), i+1, pkglistlen, pkgptr); /* "Installing package %d/%d: %s" */
753756 strcat(buff, " ");
754757 video_putstringfix(10, 1, COLOR_BODY[mono], buff, sizeof(buff));
755758 /* wait for new diskette if package not found */
756759 snprintf(buff, sizeof(buff), "%c:\\%s.zip", srcdrv, pkgptr);
757760 while (fileexists(buff) != 0) {
758- putstringnls(12, 1, COLOR_BODY[mono], 4, 1, "*** INSERT THE DISK THAT CONTAINS THE REQUIRED FILE AND PRESS ANY KEY ***");
761+ putstringnls(12, 1, COLOR_BODY[mono], 4, 1); /* "INSERT THE DISK THAT CONTAINS THE REQUIRED FILE AND PRESS ANY KEY" */
759762 input_getkey();
760763 video_putstringfix(12, 1, COLOR_BODY[mono], "", 80); /* erase the 'insert disk' message */
761764 }
@@ -785,7 +788,7 @@
785788 /* print out the "installation over" message */
786789 fprintf(fd, "ECHO.\r\n"
787790 "ECHO %s\r\n"
788- "ECHO.\r\n", kittengets(5, 1, "SvarDOS installation is over. Please restart your computer now."));
791+ "ECHO.\r\n", svarlang_strid(0x0501)); /* "SvarDOS installation is over. Please restart your computer now" */
789792 fclose(fd);
790793
791794 /* prepare a dummy autoexec.bat that will call temp\postinst.bat */
@@ -807,8 +810,8 @@
807810 static void finalreboot(void) {
808811 int y = 9;
809812 newscreen(2);
810- y += putstringnls(y, 1, COLOR_BODY[mono], 5, 0, "Your computer will reboot now.\nPlease remove the installation disk from your drive.");
811- putstringnls(++y, 1, COLOR_BODY[mono], 0, 5, "Press any key...");
813+ y += putstringnls(y, 1, COLOR_BODY[mono], 5, 0); /* "Your computer will reboot now.\nPlease remove the installation disk from your drive" */
814+ putstringnls(++y, 1, COLOR_BODY[mono], 0, 5); /* "Press any key..." */
812815 input_getkey();
813816 reboot();
814817 }
@@ -862,15 +865,11 @@
862865 /* init screen and detect mono status */
863866 mono = video_init();
864867
865- kittenopen("INSTALL"); /* load initial NLS support */
866-
867868 SelectLang:
868869 action = selectlang(&locales); /* welcome to svardos, select your language */
869870 if (action != MENUNEXT) goto Quit;
870- setenv("LANG", locales.lang, 1);
871871 loadcp(&locales);
872- kittenclose(); /* reload NLS with new language */
873- kittenopen("INSTALL"); /* NLS support */
872+ svarlang_load("INSTALL", locales.lang, ".\\"); /* NLS support */
874873 action = selectkeyb(&locales); /* what keyb layout should we use? */
875874 if (action == MENUQUIT) goto Quit;
876875 if (action == MENUPREV) goto SelectLang;
@@ -889,7 +888,6 @@
889888 finalreboot(); /* remove the CD and reboot */
890889
891890 Quit:
892- kittenclose(); /* close NLS support */
893891 video_clear(0x0700, 0, 0);
894892 video_movecursor(0, 0);
895893 return(0);
--- install/trunk/keylay.h (revision 623)
+++ install/trunk/keylay.h (revision 624)
@@ -1,5 +1,5 @@
11 /* DO NOT EDIT THIS FILE, IT IS AUTO-GENERATED BY LOCALES.EXE */
2-char *kblayouts[] = {
2+const char *kblayouts[] = {
33 /****** EN ******/
44 "English (US)\0en\0\1\265\0\0\0\0",
55 "English (UK)\0uk\0\1\265\0\1\0\0",
--- install/trunk/locales.c (revision 623)
+++ install/trunk/locales.c (revision 624)
@@ -46,7 +46,7 @@
4646 if (lastcountry[0] != 0) {
4747 fprintf(fdoff, "#define OFFLEN_%s %d\r\n", lastcountry, curoffset - curcountryoffset);
4848 } else {
49- fprintf(fdkeyb, "char *kblayouts[] = {\r\n");
49+ fprintf(fdkeyb, "const char *kblayouts[] = {\r\n");
5050 }
5151 /* open new one, if any */
5252 if (countrycode[0] != 0) {
--- build.sh (revision 623)
+++ build.sh (revision 624)
@@ -152,8 +152,8 @@
152152
153153
154154 # prepare the content of the boot (install) floppy
155-cp "install/install.com" "$FLOPROOT/"
156-cp "install/nls/"install.?? "$FLOPROOT/"
155+cp "install/trunk/install.com" "$FLOPROOT/"
156+cp "install/trunk/install.lng" "$FLOPROOT/"
157157 cp -r "$CUSTFILES/floppy/"* "$FLOPROOT/"
158158 unzip -Cj packages/cpidos.zip 'cpi/ega*.cpx' -d "$FLOPROOT/"
159159 unzip -Cj packages/command.zip bin/command.com -d "$FLOPROOT/"
@@ -184,7 +184,7 @@
184184 DOSEMUDIR='dosemu-prep-files'
185185 mkdir "$DOSEMUDIR"
186186 # INSTALL.BAT
187-echo 'IF NOT EXIST C:\TMP\NUL MKDIR C:\TMP' >> "$DOSEMUDIR/install.bat"
187+echo 'IF NOT EXIST C:\TEMP\NUL MKDIR C:\TEMP' >> "$DOSEMUDIR/install.bat"
188188 echo 'mkdir %DOSDIR%' >> "$DOSEMUDIR/install.bat"
189189 echo 'mkdir %DOSDIR%\cfg' >> "$DOSEMUDIR/install.bat"
190190 echo 'ECHO # pkg config file - specifies locations where packages should be installed >> %DOSDIR%\cfg\pkg.cfg' >> "$DOSEMUDIR/install.bat"
@@ -221,7 +221,7 @@
221221 echo 'SET DOSDIR=C:\SVARDOS' >> "$DOSEMUDIR/autoexec.bat"
222222 echo 'SET WATTCP.CFG=%DOSDIR%\CFG' >> "$DOSEMUDIR/autoexec.bat"
223223 echo 'SET DIRCMD=/p/ogne' >> "$DOSEMUDIR/autoexec.bat"
224-echo 'SET TEMP=C:\TMP' >> "$DOSEMUDIR/autoexec.bat"
224+echo 'SET TEMP=C:\TEMP' >> "$DOSEMUDIR/autoexec.bat"
225225 echo 'PATH %DOSDIR%\BIN' >> "$DOSEMUDIR/autoexec.bat"
226226 echo "" >> "$DOSEMUDIR/autoexec.bat"
227227 echo "REM *** this is a one-time setup script used only during first initialization ***" >> "$DOSEMUDIR/autoexec.bat"
Show on old repository browser