mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-08 19:32:39 +08:00
update language files
This commit is contained in:
parent
73a624a6a2
commit
92838aa63b
@ -55,7 +55,12 @@
|
||||
config or language file, and pressing ESC key will
|
||||
close these dialog boxes. (Wengier)
|
||||
- Command "CONFIG -wl" will show the name of language
|
||||
file being written to. (Wengier)
|
||||
file being written to (if there is a language file
|
||||
loaded then "CONFIG -wl" alone will write to it),
|
||||
and command "CONFIG -ln" will show current language
|
||||
name (if any), or you can use command "CONFIG -ln
|
||||
<lang_name> -wl <lang_file>" to specify a language
|
||||
name when writting to a language file. (Wengier)
|
||||
- Added special properties to CONFIG command such as
|
||||
"hostos", "programdir", "workdir", "configdir", and
|
||||
"userconfigdir" so that commands like "CONFIG -GET
|
||||
|
@ -81,7 +81,7 @@ Writing config file %s◙
|
||||
Written to language file %s◙
|
||||
.
|
||||
:PROGRAM_CONFIG_USAGE
|
||||
The DOSBox-X command-line configuration utility. Supported options:◙-wc (or -writeconf) without parameter: Writes to primary loaded config file.◙-wc (or -writeconf) with filename: Writes file to the config directory.◙-wl (or -writelang) with filename: Writes the current language strings.◙-wcp [filename] Writes file to program directory (dosbox-x.conf or filename).◙-wcd Writes to the default config file in the config directory.◙-all, -mod Use with -wc, -wcp, or -wcd to write ALL or only modified options.◙-wcboot, -wcpboot, or -wcdboot will reboot DOSBox-X after writing the file.◙-bootconf (or -bc) reboots with specified config file (or primary loaded file).◙-norem Use this with -wc, -wcp, or -wcd to not write config option remarks.◙-l Lists DOSBox-X's configuration parameters.◙-h, -help, -? Shows this help; add the word "sections" for a list of sections.◙-h, -help, -? section / property Shows info on a specific section or property.◙-axclear Clears the [autoexec] section.◙-axadd [line] Adds a line to the [autoexec] section.◙-axtype Prints the content of the [autoexec] section.◙-avistart, -avistop Starts or stops AVI recording.◙-securemode Enables secure mode where features like mounting will be disabled.◙-startmapper Starts the DOSBox-X mapper editor.◙-gui Starts the graphical configuration tool.◙-get "section property" returns the value of the property (also to %%CONFIG%%).◙-set (-setf for force) "section property=value" sets the value of the property.◙
|
||||
The DOSBox-X command-line configuration utility. Supported options:◙-wc (or -writeconf) without parameter: Writes to primary loaded config file.◙-wc (or -writeconf) with filename: Writes file to the config directory.◙-wl (or -writelang) with filename: Writes the current language strings.◙-ln (or -langname) Displays (without arguments) or specifies the language name.◙-wcp [filename] Writes file to program directory (dosbox-x.conf or filename).◙-wcd Writes to the default config file in the config directory.◙-all, -mod Use with -wc, -wcp, or -wcd to write ALL or only modified options.◙-wcboot, -wcpboot, or -wcdboot will reboot DOSBox-X after writing the file.◙-bootconf (or -bc) reboots with specified config file (or primary loaded file).◙-norem Use this with -wc, -wcp, or -wcd to not write config option remarks.◙-l Lists DOSBox-X's configuration parameters.◙-h, -help, -? Shows this help; add the word "sections" for a list of sections.◙-h, -help, -? section / property Shows info on a specific section or property.◙-axclear Clears the [autoexec] section.◙-axadd [line] Adds a line to the [autoexec] section.◙-axtype Prints the content of the [autoexec] section.◙-avistart, -avistop Starts or stops AVI recording.◙-securemode Enables secure mode where features like mounting will be disabled.◙-startmapper Starts the DOSBox-X mapper editor.◙-gui Starts the graphical configuration tool.◙-get "section property" returns the value of the property (also to %%CONFIG%%).◙-set (-setf for force) "section property=value" sets the value of the property.◙
|
||||
.
|
||||
:PROGRAM_CONFIG_HLP_PROPHLP
|
||||
Purpose of property "%s" (contained in section "%s"):◙%s◙◙Possible Values: %s◙Default value: %s◙Current value: %s◙
|
||||
@ -3281,6 +3281,9 @@ Mapper "Send special key": Ctrl+Break
|
||||
:MENU:sendkey_mapper_cad
|
||||
Mapper "Send special key": Ctrl+Alt+Del
|
||||
.
|
||||
:MENU:wheel_none
|
||||
Do not convert to arrow keys
|
||||
.
|
||||
:MENU:wheel_updown
|
||||
Convert to up/down arrows
|
||||
.
|
||||
@ -3290,8 +3293,17 @@ Convert to left/right arrows
|
||||
:MENU:wheel_pageupdown
|
||||
Convert to PgUp/PgDn keys
|
||||
.
|
||||
:MENU:wheel_none
|
||||
Do not convert to arrow keys
|
||||
:MENU:wheel_ctrlupdown
|
||||
Convert to Ctrl+up/down arrows
|
||||
.
|
||||
:MENU:wheel_ctrlleftright
|
||||
Convert to Ctrl+left/right arrows
|
||||
.
|
||||
:MENU:wheel_ctrlpageupdown
|
||||
Convert to Ctrl+PgUp/PgDn keys
|
||||
.
|
||||
:MENU:wheel_ctrlwz
|
||||
Convert to Ctrl+W/Z keys
|
||||
.
|
||||
:MENU:wheel_guest
|
||||
Enable for guest systems also
|
||||
|
@ -86,6 +86,7 @@ Utilidad de configuración por comandos de DOSBox-X. Opciones admitidas:
|
||||
-wc (o -writeconf) sin parámetro: Escribe en archivo primario config cargado.
|
||||
-wc (o -writeconf) con nombre de archivo: Escribe archivo al dir. de config.
|
||||
-wl (o -writelang) con nombre de archivo: Escribe cadenas del idioma actual.
|
||||
-ln (o -langname) Muestra (sin argumentos) o especifica el nombre del idioma.
|
||||
-wcp [archivo] Escribe config al dir. de DosBox-X dosbox-x.conf o "archivo"
|
||||
-wcd Escribe en el archivo de config por defecto del directorio de config.
|
||||
-all con -wc -wcp o -wcd para escribir TODAS las opciones en archivo config.
|
||||
@ -3639,6 +3640,9 @@ Mapeador "Enviar tecla especial": Ctrl+C (Ctrl+Break)
|
||||
:MENU:sendkey_mapper_cad
|
||||
Mapeador "Enviar tecla especial": Ctrl+Alt+Supr
|
||||
.
|
||||
:MENU:wheel_none
|
||||
No convertir a cursores
|
||||
.
|
||||
:MENU:wheel_updown
|
||||
Convertir a cursores arriba / abajo
|
||||
.
|
||||
@ -3648,8 +3652,17 @@ Convertir a cursores izquierda / derecha
|
||||
:MENU:wheel_pageupdown
|
||||
Convertir a teclas RePag / AvPag
|
||||
.
|
||||
:MENU:wheel_none
|
||||
No convertir a cursores
|
||||
:MENU:wheel_ctrlupdown
|
||||
Convertir a Ctrl+cursores arriba / abajo
|
||||
.
|
||||
:MENU:wheel_ctrlleftright
|
||||
Convertir a Ctrl+cursores izquierda / derecha
|
||||
.
|
||||
:MENU:wheel_ctrlpageupdown
|
||||
Convertir a Ctrl+teclas RePag / AvPag
|
||||
.
|
||||
:MENU:wheel_ctrlwz
|
||||
Convertir a Ctrl+teclas W/Z
|
||||
.
|
||||
:MENU:wheel_guest
|
||||
Habilitar también para sistemas invitados
|
||||
|
@ -105,6 +105,7 @@ DOSBox-X コマンドライン設定ユーティリティ 設定可能なオプ
|
||||
-wc (or -writeconf) パラメータなしの場合: primary loaded fileに書き込み。
|
||||
-wc (or -writeconf) ファイル名: ファイルを設定用ディレクトリに書き出す。
|
||||
-wl (or -writelang) ファイル名: 現在の language stringsを書き出す。
|
||||
-ln (or -langname) (引数なしで) 表示するか、言語名を指定します。
|
||||
-wcp [ファイル名] プログラムディレクトリに書出す(dosbox-x.conf / ファイル名)
|
||||
-wcd 設定用ディレクトリにデフォルト設定ファイルを書き出す。
|
||||
-all -wc, -wcp, -wcd と組み合わせ、設定ファイルに全てのオプションを書き出す。
|
||||
@ -4113,17 +4114,29 @@ Mapper "特殊キーを送信": Ctrl+Break
|
||||
:MENU:sendkey_mapper_cad
|
||||
Mapper "特殊キーを送信": Ctrl+Alt+Del
|
||||
.
|
||||
:MENU:wheel_none
|
||||
カーソルキーに変換しない
|
||||
.
|
||||
:MENU:wheel_updown
|
||||
カーソル上下に変換
|
||||
.
|
||||
:MENU:wheel_leftright
|
||||
カーソル左右に変換
|
||||
|
||||
.
|
||||
:MENU:wheel_pageupdown
|
||||
PgUp/PgDn キーに変換
|
||||
.
|
||||
:MENU:wheel_none
|
||||
カーソルキーに変換しない
|
||||
:MENU:wheel_ctrlupdown
|
||||
カーソルCtrl+上下に変換
|
||||
.
|
||||
:MENU:wheel_ctrlleftright
|
||||
カーソルCtrl+左右に変換
|
||||
.
|
||||
:MENU:wheel_ctrlpageupdown
|
||||
Ctrl+PgUp/PgDn キーに変換
|
||||
.
|
||||
:MENU:wheel_ctrlwz
|
||||
Ctrl+W/Z キーに変換
|
||||
.
|
||||
:MENU:wheel_guest
|
||||
ゲストシステムにも適用
|
||||
|
@ -106,6 +106,7 @@ DOSBox-X 命令行配置工具. 支持的选项为:
|
||||
-wc (或 -writeconf) 不带参数: 写入加载的主配置文件.
|
||||
-wc (或 -writeconf) 加文件名: 写入配置目录中的配置文件.
|
||||
-wl (或 -writelang) 加文件名: 将文字写入语言文件.
|
||||
-ln (或 -langname) 显示 (不带参数) 或指定语言名称.
|
||||
-wcp [文件名] 将配置文件写入程序目录 (dosbox-x.conf 或指定文件名).
|
||||
-wcd 写入配置目录中的默认配置文件.
|
||||
-all, -mod 与 -wc, -wcp, 或 -wcd 一起使用以写入所有/修改过的配置选项.
|
||||
@ -4118,6 +4119,9 @@ Mapper "输入特殊键": Ctrl+Break
|
||||
:MENU:sendkey_mapper_cad
|
||||
Mapper "输入特殊键": Ctrl+Alt+Del
|
||||
.
|
||||
:MENU:wheel_none
|
||||
不进行转换
|
||||
.
|
||||
:MENU:wheel_updown
|
||||
转换为上下箭头
|
||||
.
|
||||
@ -4127,8 +4131,17 @@ Mapper "输入特殊键": Ctrl+Alt+Del
|
||||
:MENU:wheel_pageupdown
|
||||
转换为 PgUp/PgDn 键
|
||||
.
|
||||
:MENU:wheel_none
|
||||
不进行转换
|
||||
:MENU:wheel_ctrlupdown
|
||||
转换为 Ctrl+上下箭头
|
||||
.
|
||||
:MENU:wheel_ctrlleftright
|
||||
转换为 Ctrl+左右箭头
|
||||
.
|
||||
:MENU:wheel_ctrlpageupdown
|
||||
转换为 Ctrl+PgUp/PgDn 键
|
||||
.
|
||||
:MENU:wheel_ctrlwz
|
||||
转换为 Ctrl+W/Z 键
|
||||
.
|
||||
:MENU:wheel_guest
|
||||
启动客户系统时亦启用
|
||||
|
@ -48,6 +48,7 @@ typedef struct {
|
||||
|
||||
Bitu call_program;
|
||||
extern const char *modifier;
|
||||
extern std::string langname;
|
||||
extern int enablelfn, paste_speed, wheel_key, freesizecap, wpType, wpVersion, wpBG, wpFG, lastset, blinkCursor;
|
||||
extern bool dos_kernel_disabled, force_nocachedir, wpcolon, lockmount, enable_config_as_shell_commands, load, winrun, winautorun, startcmd, startwait, startquiet, mountwarning, wheel_guest, clipboard_dosapi, noremark_save_state, force_load_state, sync_time, manualtime, showbold, showital, showline, showsout, char512, printfont, dbcs_sbcs, autoboxdraw, halfwidthkana;
|
||||
|
||||
@ -574,7 +575,8 @@ void CONFIG::Run(void) {
|
||||
"-avistart","-avistop",
|
||||
"-startmapper",
|
||||
"-get", "-set", "-setf",
|
||||
"-writelang", "-wl", "-securemode", "-setup", "-all", "-mod", "-norem", "-errtest", "-gui", NULL };
|
||||
"-writelang", "-wl", "-langname", "-ln",
|
||||
"-securemode", "-setup", "-all", "-mod", "-norem", "-errtest", "-gui", NULL };
|
||||
enum prs {
|
||||
P_NOMATCH, P_NOPARAMS, // fixed return values for GetParameterFromList
|
||||
P_RESTART,
|
||||
@ -586,7 +588,7 @@ void CONFIG::Run(void) {
|
||||
P_REC_AVI_START, P_REC_AVI_STOP,
|
||||
P_START_MAPPER,
|
||||
P_GETPROP, P_SETPROP, P_SETFORCE,
|
||||
P_WRITELANG, P_WRITELANG2,
|
||||
P_WRITELANG, P_WRITELANG2, P_LANGNAME, P_LANGNAME2,
|
||||
P_SECURE, P_SETUP, P_ALL, P_MOD, P_NOREM, P_ERRTEST, P_GUI
|
||||
} presult = P_NOMATCH;
|
||||
|
||||
@ -624,6 +626,14 @@ void CONFIG::Run(void) {
|
||||
GUI_Run(false);
|
||||
break;
|
||||
|
||||
case P_LANGNAME: case P_LANGNAME2:
|
||||
if (pvars.size() < 1) {
|
||||
WriteOut("%s\n", langname.c_str());
|
||||
return;
|
||||
} else
|
||||
langname=pvars[0];
|
||||
break;
|
||||
|
||||
case P_ERRTEST:
|
||||
exit_status = 1;
|
||||
WriteExitStatus();
|
||||
@ -1646,6 +1656,7 @@ void PROGRAMS_Init() {
|
||||
"-wc (or -writeconf) without parameter: Writes to primary loaded config file.\n"\
|
||||
"-wc (or -writeconf) with filename: Writes file to the config directory.\n"\
|
||||
"-wl (or -writelang) with filename: Writes the current language strings.\n"\
|
||||
"-ln (or -langname) Displays (without arguments) or specifies the language name.\n"\
|
||||
"-wcp [filename] Writes file to program directory (dosbox-x.conf or filename).\n"\
|
||||
"-wcd Writes to the default config file in the config directory.\n"\
|
||||
"-all, -mod Use with -wc, -wcp, or -wcd to write ALL or only modified options.\n"\
|
||||
|
2
update-en-translation
Normal file
2
update-en-translation
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
src/dosbox-x -defaultconf -defaultdir . -silent -c 'config -ln "English (United States)" -wl contrib/translations/en/en_US.lng' || exit 1
|
Loading…
x
Reference in New Issue
Block a user