Subversion Repositories SvarDOS

Compare Revisions

No changes between revisions

Ignore whitespace Rev 1263 → Rev 1262

/localcfg/trunk/localcfg.lng
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Deleted: svn:mime-type
-application/octet-stream
\ No newline at end of property
/localcfg/trunk/deflang.c
File deleted
/localcfg/trunk/Makefile
2,16 → 2,32
# localcfg Makefile for OpenWatcom
#
 
SVARLANGVER=20230629
 
all: localcfg.com
 
localcfg.com: localcfg.c country.c deflang.c
*wcl -0 -y -cc -wx -mt -lr -zp1 -we -d0 -ox -I=svarlang.lib localcfg.c country.c deflang.c svarlang.lib/svarlngs.lib
*wcl -0 -y -cc -wx -mt -lr -zp1 -we -d0 -ox -I=svarlang.lib\tags\$SVARLANGVER localcfg.c country.c deflang.c svarlang.lib/tags/$SVARLANGVER/svarlngs.lib
del *.obj
upx --8086 -9 localcfg.com
 
deflang.c: nls_lang\*.txt
cd nls_lang
utf8tocp 850 br_utf8.txt > br.txt
utf8tocp 850 de_utf8.txt > de.txt
utf8tocp 850 fr_utf8.txt > fr.txt
utf8tocp maz pl_utf8.txt > pl.txt
utf8tocp 857 tr_utf8.txt > tr.txt
..\svarlang.lib\tags\$SVARLANGVER\tlumacz en br de fr pl tr > tlumacz.log
move /y out.lng ..\localcfg.lng
move /y deflang.c ..\
cd ..
 
clean: .SYMBOLIC
del *.obj
del *.com
del deflang.c
del localcfg.lng
 
release: localcfg.com .SYMBOLIC
mkdir appinfo
25,7 → 41,7
copy *.txt doc\localcfg
if exist localcfg.zip del localcfg.zip
zip -9rkDX -m localcfg.svp appinfo bin doc nls
zip -9rkDX localcfg.zip *.txt *.c *.h makefile svarlang.lib nls_lang
zip -9rkDX localcfg.zip *.txt *.c *.h makefile svarlang.lib\tags\$SVARLANGVER nls_lang
rmdir appinfo
rmdir bin
rmdir doc\localcfg
/localcfg/trunk/nls_lang/en_utf8.txt
File deleted
/localcfg/trunk/nls_lang/regen.bat
File deleted
/localcfg/trunk/nls_lang/en.txt
0,0 → 1,56
#
# LOCALCFG language file
#
# Language...: English
# Authors....: Mateusz Viste, Robert Riebisch
# Last update: 27 Feb 2022
#
 
### HELP SCREEN ###########################################################
 
0.0:version
0.1:creates or edits COUNTRY.SYS local preferences
0.2:usage: localcfg [drive:][path][COUNTRY.SYS] [options]
0.3:options:
 
0.10:/country:XX set the country code to XX (1=USA, 33=France, 48=Poland, etc)
0.11:/cp:XXX adapts country data for codepage XXX (example: '437')
0.12:/decim:X reconfigures the decimal symbol to be 'X'
0.13:/thous:X reconfigures the thousands symbol to be 'X'
0.14:/datesep:X sets the date separator to 'X' (for example '/')
0.15:/datefmt:X sets the date format, can be: MDY, DMY or YMD
0.16:/timesep:X sets the time separator to 'X' (for example ':')
0.17:/timefmt:X sets the time format: 0=12h with AM/PM or 1=24h
0.18:/curr:XXX sets the currency to XXX (a string of 1 to 4 characters)
0.19:/currpos:X sets the currency symbol position to X, where X is either
0.20: 0=currency precedes the value, 1=currency follows the value and
0.21: 2=currency replaces the decimal sign
0.22:/currspc:X space between the currency and the value (0=no, 1=yes)
0.23:/currprec:X currency's precision (number of decimal digits, 0..9)
0.24:/yesno:XY sets the 'Yes/No' letter to XY (default: YN)
 
0.50:If COUNTRY.SYS location is not provided, then localcfg tries loading it
0.51:from %DOSDIR%\CFG\COUNTRY.SYS
 
 
### INFO SCREEN ###########################################################
 
7.0:Country code.......:
7.1:Codepage...........:
7.2:Decimal separator..:
7.3:Thousands separator:
7.4:Date format........:
7.5:Time format........:
7.6:Yes/No characters..:
7.7:Currency example...:
 
7.9:Make sure that your CONFIG.SYS contains this directive:
 
### ERROR MESSAGES ########################################################
 
9.0:ERROR: file path can be provided only once
9.1:ERROR: bad path to file
9.2:ERROR: failed to read the file
9.3:ERROR: invalid parameter syntax
9.4:ERROR: the file is not a valid COUNTRY.SYS
9.5:ERROR: the file has not been created with LOCALCFG
/localcfg/trunk/svarlang.lib
1,0 → 0,0
link ../../svarlang.lib/tags/20230629
link ../../svarlang.lib