1 /*  RetroArch - A frontend for libretro.
2  *  Copyright (C) 2011-2017 - Daniel De Matteis
3  *
4  *  RetroArch is free software: you can redistribute it and/or modify it under the terms
5  *  of the GNU General Public License as published by the Free Software Found-
6  *  ation, either version 3 of the License, or (at your option) any later version.
7  *
8  *  RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
9  *  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10  *  PURPOSE.  See the GNU General Public License for more details.
11  *
12  *  You should have received a copy of the GNU General Public License along with RetroArch.
13  *  If not, see <http://www.gnu.org/licenses/>.
14  */
15 
16 #include <stdio.h>
17 #include <stdint.h>
18 #include <stddef.h>
19 
20 #include <compat/strl.h>
21 #include <string/stdstring.h>
22 
23 #include "../msg_hash.h"
24 #include "../configuration.h"
25 #include "../verbosity.h"
26 
27 #if defined(_MSC_VER) && !defined(_XBOX) && (_MSC_VER >= 1500 && _MSC_VER < 1900)
28 #if (_MSC_VER >= 1700)
29 /* https://support.microsoft.com/en-us/kb/980263 */
30 #pragma execution_character_set("utf-8")
31 #endif
32 #pragma warning(disable:4566)
33 #endif
34 
msg_hash_get_help_chs_enum(enum msg_hash_enums msg,char * s,size_t len)35 int msg_hash_get_help_chs_enum(enum msg_hash_enums msg, char *s, size_t len)
36 {
37    settings_t      *settings = config_get_ptr();
38 
39    if (msg <= MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_END &&
40          msg >= MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN)
41    {
42       unsigned idx = msg - MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN;
43 
44       switch (idx)
45       {
46          case RARCH_FAST_FORWARD_KEY:
47             snprintf(s, len,
48                   "在快进和正常速度之间切换。"
49                   );
50             break;
51          case RARCH_FAST_FORWARD_HOLD_KEY:
52             snprintf(s, len,
53                   "按住来快进。 \n"
54                   " \n"
55                   "放开按键来取消快进。"
56                   );
57             break;
58          case RARCH_SLOWMOTION_HOLD_KEY:
59             snprintf(s, len,
60                   "按住并以慢动作运行。");
61             break;
62          case RARCH_PAUSE_TOGGLE:
63             snprintf(s, len,
64                   "在暂停和非暂停状态间切换。");
65             break;
66          case RARCH_FRAMEADVANCE:
67             snprintf(s, len,
68                   "在暂停时,运行一帧。");
69             break;
70          case RARCH_SHADER_NEXT:
71             snprintf(s, len,
72                   "应用文件夹中的后一个渲染器特效。");
73             break;
74          case RARCH_SHADER_PREV:
75             snprintf(s, len,
76                   "应用文件夹中的前一个渲染器特效。");
77             break;
78          case RARCH_CHEAT_INDEX_PLUS:
79          case RARCH_CHEAT_INDEX_MINUS:
80          case RARCH_CHEAT_TOGGLE:
81             snprintf(s, len,
82                   "金手指。");
83             break;
84          case RARCH_RESET:
85             snprintf(s, len,
86                   "重启游戏。");
87             break;
88          case RARCH_SCREENSHOT:
89             snprintf(s, len,
90                   "截图。");
91             break;
92          case RARCH_MUTE:
93             snprintf(s, len,
94                   "静音/取消静音。");
95             break;
96          case RARCH_OSK:
97             snprintf(s, len,
98                   "显示/隐藏屏显键盘。");
99             break;
100          case RARCH_ENABLE_HOTKEY:
101             snprintf(s, len,
102                   "启用其他热键。 \n"
103                   " \n"
104                   "If this hotkey is bound to either\n"
105                   "a keyboard, joybutton or joyaxis, \n"
106                   "all other hotkeys will be enabled only \n"
107                   "if this one is held at the same time. \n"
108                   " \n"
109                   "This is useful for RETRO_KEYBOARD centric \n"
110                   "implementations which query a large area of \n"
111                   "the keyboard, where it is not desirable that \n"
112                   "hotkeys get in the way. \n"
113                   " \n"
114                   "Alternatively, all hotkeys for keyboard \n"
115                   "could be disabled by the user.");
116             break;
117          case RARCH_VOLUME_UP:
118             snprintf(s, len,
119                   "提高音量。");
120             break;
121          case RARCH_VOLUME_DOWN:
122             snprintf(s, len,
123                   "降低音量。");
124             break;
125          case RARCH_OVERLAY_NEXT:
126             snprintf(s, len,
127                   "切换到下一个屏幕图层。将会循环选择。");
128             break;
129          case RARCH_DISK_EJECT_TOGGLE:
130             snprintf(s, len,
131                   "切换光盘弹出状态。 \n"
132                   " \n"
133                   "用于多光盘游戏。 ");
134             break;
135          case RARCH_DISK_NEXT:
136          case RARCH_DISK_PREV:
137             snprintf(s, len,
138                   "切换下一张光盘。弹出光盘后才能使用。 \n"
139                   " \n"
140                   "再次切换光盘弹出状态完成换盘。");
141             break;
142          case RARCH_GRAB_MOUSE_TOGGLE:
143             snprintf(s, len,
144                   "鼠标捕获开关 \n"
145                   " \n"
146                   "当鼠标捕获开启时,RetroArch将会隐藏鼠标指针,并 \n"
147                   "使之控制在窗口中。这使得一些依靠鼠标相对位置的程 \n"
148                   "序能更好运行。");
149             break;
150          case RARCH_MENU_TOGGLE:
151             snprintf(s, len, "切换菜单显示。");
152             break;
153          case RARCH_LOAD_STATE_KEY:
154             snprintf(s, len,
155                   "加载即时存档。");
156             break;
157          case RARCH_FULLSCREEN_TOGGLE_KEY:
158             snprintf(s, len,
159                   "切换到全屏模式。");
160             break;
161          case RARCH_QUIT_KEY:
162             snprintf(s, len,
163                   "用于正常退出 RetroArch 的按键 \n"
164                   " \n"
165                   "使用任何强制手段来退出RetroArch(如发送SIGKILL) \n"
166                   "可能导致系统无法正确存储数据。"
167 #ifdef __unix__
168                   "\n在类Unix系统上,SIGINT/SIGTERM信号能够保证正常 \n"
169                   "关闭程序。"
170 #endif
171                   "");
172             break;
173          case RARCH_STATE_SLOT_PLUS:
174          case RARCH_STATE_SLOT_MINUS:
175             snprintf(s, len,
176                   "即时存档栏位 \n"
177                   "\n"
178                   "当选择0号栏位时,即时存档将以*.state命名(或其他 \n"
179                   "在命令行中定义的名称)。 \n"
180                   "\n"
181                   "当栏位不为0时,路径将会设为<path><d>,其中<d> \n"
182                   "是栏位的编号。");
183             break;
184          case RARCH_SAVE_STATE_KEY:
185             snprintf(s, len,
186                   "保存即时存档。");
187             break;
188          case RARCH_REWIND:
189             snprintf(s, len,
190                   "按住按钮来回溯 \n"
191                   " \n"
192                   "必须先启用回溯倒带功能。");
193             break;
194          case RARCH_BSV_RECORD_TOGGLE:
195             snprintf(s, len,
196                   "在录制和非录制模式切换。");
197             break;
198          default:
199             if (string_is_empty(s))
200                strlcpy(s, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_INFORMATION_AVAILABLE), len);
201             break;
202       }
203 
204       return 0;
205    }
206 
207    switch (msg)
208    {
209       case MENU_ENUM_LABEL_ACCOUNTS_RETRO_ACHIEVEMENTS:
210          snprintf(s, len, "你的登陆信息 \n"
211                "Retro成就账号。 \n"
212                " \n"
213                "访问 retroachievements.org 并注册 \n"
214                "以获取一个免费账号。 \n"
215                " \n"
216                "在你注册以后, 你需要 \n"
217                "在RetroArch输入你的 \n"
218                "账号以及密码。");
219          break;
220       case MENU_ENUM_LABEL_CHEEVOS_USERNAME:
221          snprintf(s, len, "你的Retro成就账号的用户名。");
222          break;
223       case MENU_ENUM_LABEL_CHEEVOS_PASSWORD:
224          snprintf(s, len, "你的Retro成就账号的密码。");
225          break;
226       case MENU_ENUM_LABEL_USER_LANGUAGE:
227          snprintf(s, len, "变更菜单和提示消息的语言设定, \n"
228                " \n"
229                "需要重新启动才能生效。 \n"
230                " \n"
231                "注意:部分语言的翻译并不完全。 \n"
232                " \n"
233                "若一个语言尚未翻译,则会恢复英文显示。");
234          break;
235       case MENU_ENUM_LABEL_VIDEO_FONT_PATH:
236          snprintf(s, len, "改变屏显文字的字体。");
237          break;
238       case MENU_ENUM_LABEL_GAME_SPECIFIC_OPTIONS:
239          snprintf(s, len, "自动加载各游戏单独设定的选项。");
240          break;
241       case MENU_ENUM_LABEL_AUTO_OVERRIDES_ENABLE:
242          snprintf(s, len, "自动加载覆盖配置。");
243          break;
244       case MENU_ENUM_LABEL_AUTO_REMAPS_ENABLE:
245          snprintf(s, len, "自动加载自定义键位文件。");
246          break;
247       case MENU_ENUM_LABEL_SORT_SAVESTATES_ENABLE:
248          snprintf(s, len, "在即时存档的文件名前面加上核心名称 \n"
249                "来进行排序。");
250          break;
251       case MENU_ENUM_LABEL_SORT_SAVEFILES_ENABLE:
252          snprintf(s, len, "在游戏存档的文件名前面加上核心名称 \n"
253                "来进行排序。");
254          break;
255       case MENU_ENUM_LABEL_RESUME_CONTENT:
256          snprintf(s, len, "关闭菜单,返回游戏。");
257          break;
258       case MENU_ENUM_LABEL_RESTART_CONTENT:
259          snprintf(s, len, "从头开始游戏。");
260          break;
261       case MENU_ENUM_LABEL_CLOSE_CONTENT:
262          snprintf(s, len, "完全关闭游戏。");
263          break;
264       case MENU_ENUM_LABEL_UNDO_LOAD_STATE:
265          snprintf(s, len, "如果你不慎读错了即时存档,\n"
266                "使用此命令来撤销。");
267          break;
268       case MENU_ENUM_LABEL_UNDO_SAVE_STATE:
269          snprintf(s, len, "如果你不慎覆盖了即时存档,\n"
270                "使用此命令来撤销。");
271          break;
272       case MENU_ENUM_LABEL_TAKE_SCREENSHOT:
273          snprintf(s, len, "创建一份截图。\n"
274                " \n"
275                "截图文件将会存放在 \n"
276                "截图文件夹之中.");
277          break;
278       case MENU_ENUM_LABEL_ADD_TO_FAVORITES:
279          snprintf(s, len, "添加到收藏夹.");
280          break;
281       case MENU_ENUM_LABEL_RUN:
282          snprintf(s, len, "启动游戏.");
283          break;
284       case MENU_ENUM_LABEL_INFORMATION:
285          snprintf(s, len, "显示本游戏的额外 \n"
286                "元数据信息.");
287          break;
288       case MENU_ENUM_LABEL_FILE_BROWSER_CONFIG:
289          snprintf(s, len, "配置文件.");
290          break;
291       case MENU_ENUM_LABEL_FILE_BROWSER_COMPRESSED_ARCHIVE:
292          snprintf(s, len, "压缩归档文件.");
293          break;
294       case MENU_ENUM_LABEL_FILE_BROWSER_RECORD_CONFIG:
295          snprintf(s, len, "记录配置文件.");
296          break;
297       case MENU_ENUM_LABEL_FILE_BROWSER_CURSOR:
298          snprintf(s, len, "数据库指针文件。");
299          break;
300       case MENU_ENUM_LABEL_FILE_CONFIG:
301          snprintf(s, len, "配置文件.");
302          break;
303       case MENU_ENUM_LABEL_SCAN_THIS_DIRECTORY:
304          snprintf(s, len,
305                "选择本项以扫描当前 \n"
306                "文件夹中的游戏。");
307          break;
308       case MENU_ENUM_LABEL_USE_THIS_DIRECTORY:
309          snprintf(s, len,
310                "选择本文件夹作为指定文件夹。");
311          break;
312       case MENU_ENUM_LABEL_CONTENT_DATABASE_DIRECTORY:
313          snprintf(s, len,
314                "游戏数据库文件夹。 \n"
315                " \n"
316                "到游戏数据库文件夹的路径。");
317          break;
318       case MENU_ENUM_LABEL_THUMBNAILS_DIRECTORY:
319          snprintf(s, len,
320                "缩略图文件夹。 \n"
321                " \n"
322                "用以存放缩略图。");
323          break;
324       case MENU_ENUM_LABEL_LIBRETRO_INFO_PATH:
325          snprintf(s, len,
326                "模拟器核心信息文件夹。 \n"
327                " \n"
328                "用于搜索libretro核心信息 \n"
329                "的文件夹。");
330          break;
331       case MENU_ENUM_LABEL_PLAYLIST_DIRECTORY:
332          snprintf(s, len,
333                "运行列表文件夹. \n"
334                " \n"
335                "保存所有播放列表到 \n"
336                "此文件夹。");
337          break;
338       case MENU_ENUM_LABEL_DUMMY_ON_CORE_SHUTDOWN:
339          snprintf(s, len,
340                "某些libretro核心可能会 \n"
341                "支持关机特性。 \n"
342                " \n"
343                "If this option is left disabled, \n"
344                "selecting the shutdown procedure \n"
345                "would trigger RetroArch being shut \n"
346                "down. \n"
347                " \n"
348                "Enabling this option will load a \n"
349                "dummy core instead so that we remain \n"
350                "inside the menu and RetroArch won't \n"
351                "shutdown.");
352          break;
353       case MENU_ENUM_LABEL_CHECK_FOR_MISSING_FIRMWARE:
354          snprintf(s, len,
355                "某些核心可能需要固件或 BIOS 文件。 \n"
356                " \n"
357                "如果禁用此选项,即使没有固件或 BIOS"
358                "也会尝试强行加载。 \n");
359          break;
360       case MENU_ENUM_LABEL_PARENT_DIRECTORY:
361          snprintf(s, len,
362                "回到上级文件夹。");
363          break;
364       case MENU_ENUM_LABEL_FILE_BROWSER_SHADER_PRESET:
365          snprintf(s, len,
366                "渲染器预设文件。");
367          break;
368       case MENU_ENUM_LABEL_FILE_BROWSER_SHADER:
369          snprintf(s, len,
370                "渲染器文件。");
371          break;
372       case MENU_ENUM_LABEL_FILE_BROWSER_REMAP:
373          snprintf(s, len,
374                "控制自定义键位文件。");
375          break;
376       case MENU_ENUM_LABEL_FILE_BROWSER_CHEAT:
377          snprintf(s, len,
378                "金手指文件。");
379          break;
380       case MENU_ENUM_LABEL_FILE_BROWSER_OVERLAY:
381          snprintf(s, len,
382                "图层文件。");
383          break;
384       case MENU_ENUM_LABEL_FILE_BROWSER_RDB:
385          snprintf(s, len,
386                "数据库文件。");
387          break;
388       case MENU_ENUM_LABEL_FILE_BROWSER_FONT:
389          snprintf(s, len,
390                "TrueType 字体文件。");
391          break;
392       case MENU_ENUM_LABEL_FILE_BROWSER_PLAIN_FILE:
393          snprintf(s, len,
394                "普通文件。");
395          break;
396       case MENU_ENUM_LABEL_FILE_BROWSER_MOVIE_OPEN:
397          snprintf(s, len,
398                "视频 \n"
399                " \n"
400                "选择文件并使用视频播放器打开。");
401          break;
402       case MENU_ENUM_LABEL_FILE_BROWSER_MUSIC_OPEN:
403          snprintf(s, len,
404                "音乐 \n"
405                " \n"
406                "选择文件并使用音乐播放器打开。");
407          break;
408       case MENU_ENUM_LABEL_FILE_BROWSER_IMAGE:
409          snprintf(s, len,
410                "图片文件。");
411          break;
412       case MENU_ENUM_LABEL_FILE_BROWSER_IMAGE_OPEN_WITH_VIEWER:
413          snprintf(s, len,
414                "图片 \n"
415                " \n"
416                "选择文件并使用图片浏览器打开。");
417          break;
418       case MENU_ENUM_LABEL_FILE_BROWSER_CORE_SELECT_FROM_COLLECTION:
419          snprintf(s, len,
420                "Libretro 核心 \n"
421                " \n"
422                "选中核心将会使其关联至游戏。");
423          break;
424       case MENU_ENUM_LABEL_FILE_BROWSER_CORE:
425          snprintf(s, len,
426                "Libretro 核心 \n"
427                " \n"
428                "选择该文件使 RetroArch 加载该核心。");
429          break;
430       case MENU_ENUM_LABEL_FILE_BROWSER_DIRECTORY:
431          snprintf(s, len,
432                "文件夹 \n"
433                " \n"
434                "选择并打开该文件夹。");
435          break;
436       case MENU_ENUM_LABEL_CACHE_DIRECTORY:
437          snprintf(s, len,
438                "缓存文件夹 \n"
439                " \n"
440                "被 RetroArch 解压的游戏内容会临时存放到这个文 \n"
441                "件夹。");
442          break;
443       case MENU_ENUM_LABEL_HISTORY_LIST_ENABLE:
444          snprintf(s, len,
445                "若开启,所有在 RetroArch 中加载过的文件 \n"
446                "都会自动的放入最近使用历史列表中。");
447          break;
448       case MENU_ENUM_LABEL_RGUI_BROWSER_DIRECTORY:
449          snprintf(s, len,
450                "文件浏览器文件夹 \n"
451                " \n"
452                "设置文件浏览器的初始文件夹。");
453          break;
454       case MENU_ENUM_LABEL_INPUT_POLL_TYPE_BEHAVIOR:
455          snprintf(s, len,
456                "影响输入轮询过程在 RetroArch 中的执行方式。 \n"
457                " \n"
458                "稍早 - 输入轮询过程将在帧生成之前执行。 \n"
459                "正常 - 输入轮询过程将在被请求时执行。 \n"
460                "稍晚 - 输入轮询过程将在每一帧的首次请求时执行。 \n"
461                " \n"
462                "依据设置的不同,设置为「稍早」或「稍晚」可以获得 \n"
463                "较低的延迟。 \n"
464                "当在进行在线游戏时,不管设置的值如何,都只会启用 \n"
465                "正常模式进行输入轮询过程。"
466                );
467          break;
468       case MENU_ENUM_LABEL_INPUT_DESCRIPTOR_HIDE_UNBOUND:
469          snprintf(s, len,
470                "隐藏不被核心使用的输入描述。");
471          break;
472       case MENU_ENUM_LABEL_VIDEO_REFRESH_RATE:
473          snprintf(s, len,
474                "显示器的视频刷新率。 \n"
475                "可被用来计算一个合适的音频输入率。");
476          break;
477       case MENU_ENUM_LABEL_VIDEO_FORCE_SRGB_DISABLE:
478          snprintf(s, len,
479                "禁用 sRGB 帧缓冲支持。\n"
480                "\n"
481                "某些在 Windows 上的 Intel OpenGL 驱动 \n"
482                "对 sRGB 帧缓冲支持存在问题, \n"
483                "需要启用此选项以禁用帧缓冲。");
484          break;
485       case MENU_ENUM_LABEL_AUDIO_ENABLE:
486          snprintf(s, len,
487                "启用音频输出。");
488          break;
489       case MENU_ENUM_LABEL_AUDIO_SYNC:
490          snprintf(s, len,
491                "同步音频(推荐)。");
492          break;
493       case MENU_ENUM_LABEL_AUDIO_LATENCY:
494          snprintf(s, len,
495                "音频延迟(单位:毫秒) \n"
496                "如果设置太低,音频驱动可能 \n"
497                "并不支持,从而不会生效。");
498          break;
499       case MENU_ENUM_LABEL_VIDEO_ALLOW_ROTATE:
500          snprintf(s, len,
501                "允许核心自行设置屏幕旋转角度,\n"
502                "若关闭,旋转请求将不会得到执行。\n"
503                "需要旋转显示器的用户请设置此选项。\n");
504          break;
505       case MENU_ENUM_LABEL_INPUT_DESCRIPTOR_LABEL_SHOW:
506          snprintf(s, len,
507                "显示由核心设置的输入设备硬件信息,而非默认。");
508          break;
509       case MENU_ENUM_LABEL_CONTENT_HISTORY_SIZE:
510          snprintf(s, len,
511                "在历史记录中最多保存的游戏个数。");
512          break;
513       case MENU_ENUM_LABEL_VIDEO_WINDOWED_FULLSCREEN:
514          snprintf(s, len,
515                "使用无边框全屏替代普通全屏模式。");
516          break;
517       case MENU_ENUM_LABEL_VIDEO_FONT_SIZE:
518          snprintf(s, len,
519                "屏显信息的字体大小。");
520          break;
521       case MENU_ENUM_LABEL_SAVESTATE_AUTO_INDEX:
522          snprintf(s, len,
523                "每次储存即时存档时,都在新的栏位储存, \n"
524                "以避免覆盖原有的即时存档。 \n"
525                "每次运行游戏时,都会定位到最新的 \n"
526                "即时存档栏位。");
527          break;
528       case MENU_ENUM_LABEL_FPS_SHOW:
529          snprintf(s, len,
530                "显示/隐藏帧数");
531          break;
532       case MENU_ENUM_LABEL_VIDEO_FONT_ENABLE:
533          snprintf(s, len,
534                "显示/隐藏屏显信息.");
535          break;
536       case MENU_ENUM_LABEL_VIDEO_MESSAGE_POS_X:
537       case MENU_ENUM_LABEL_VIDEO_MESSAGE_POS_Y:
538          snprintf(s, len,
539                "提示消息在屏幕上显示的位置,\n"
540                "数值范围为0.0至1.0。");
541          break;
542       case MENU_ENUM_LABEL_INPUT_OVERLAY_ENABLE:
543          snprintf(s, len,
544                "显示/隐藏当前按下的键位。");
545          break;
546       case MENU_ENUM_LABEL_INPUT_OVERLAY_HIDE_IN_MENU:
547          snprintf(s, len,
548                "在进入菜单时,不显示当前按下的键位。");
549          break;
550       case MENU_ENUM_LABEL_OVERLAY_PRESET:
551          snprintf(s, len,
552                "Path to input overlay.");
553          break;
554       case MENU_ENUM_LABEL_OVERLAY_OPACITY:
555          snprintf(s, len,
556                "图层透明度。");
557          break;
558       case MENU_ENUM_LABEL_INPUT_BIND_TIMEOUT:
559          snprintf(s, len,
560                "绑定键位时的等待时间(单位:秒)");
561          break;
562       case MENU_ENUM_LABEL_INPUT_BIND_HOLD:
563          snprintf(s, len,
564                "绑定键位所需要按下的时间(单位:秒)");
565          break;
566       case MENU_ENUM_LABEL_OVERLAY_SCALE:
567          snprintf(s, len,
568                "图层放大比例。");
569          break;
570       case MENU_ENUM_LABEL_AUDIO_OUTPUT_RATE:
571          snprintf(s, len,
572                "音频输出采样率。");
573          break;
574       case MENU_ENUM_LABEL_VIDEO_SHARED_CONTEXT:
575          snprintf(s, len,
576                "Set to true if hardware-rendered cores \n"
577                "should get their private context. \n"
578                "Avoids having to assume hardware state changes \n"
579                "inbetween frames."
580                );
581          break;
582       case MENU_ENUM_LABEL_CORE_LIST:
583          snprintf(s, len,
584                "加载内核. \n"
585                " \n"
586                "Browse for a libretro core \n"
587                "implementation. Where the browser \n"
588                "starts depends on your Core Directory \n"
589                "path. If blank, it will start in root. \n"
590                " \n"
591                "If Core Directory is a directory, the menu \n"
592                "will use that as top folder. If Core \n"
593                "Directory is a full path, it will start \n"
594                "in the folder where the file is.");
595          break;
596       case MENU_ENUM_LABEL_VALUE_MENU_ENUM_CONTROLS_PROLOG:
597          snprintf(s, len,
598                "你可以使用下述的方式通过游戏控制\n"
599                "器或者键盘来对菜单进行控制:\n"
600                " \n"
601                );
602          break;
603       case MENU_ENUM_LABEL_WELCOME_TO_RETROARCH:
604          snprintf(s, len,
605                "欢迎来到 RetroArch\n"
606                );
607          break;
608       case MENU_ENUM_LABEL_VALUE_HELP_AUDIO_VIDEO_TROUBLESHOOTING_DESC:
609          {
610             /* Work around C89 limitations */
611             char u[501];
612             const char * t =
613                   "RetroArch 依赖于一种独特的音频/视频同步形式,\n"
614                   "需要根据显示器的刷新率对其进行校准,以获得最佳\n"
615                   "性能。\n"
616                   " \n"
617                   "如果你的音频出现任何噼啪声或图像撕裂,通常意味\n"
618                   "着你需要调整设置。下面是调整方法:\n"
619                   " \n";
620             snprintf(u, sizeof(u), /* can't inline this due to the printf arguments */
621                   "a) 在「%s」 ->「%s」中开启\n"
622                   "「多线程渲染」。在这种模式下,刷新率不会发生变\n"
623                   "化、帧率会提高,但是画面可能不那么流畅。\n"
624                   "b) 在「%s」 -> 「%s」, 查看\n"
625                   "「%s」。令其运行 2048 帧后,按 OK 键。",
626                   msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SETTINGS),
627                   msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_SETTINGS),
628                   msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SETTINGS),
629                   msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_SETTINGS),
630                   msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_REFRESH_RATE_AUTO));
631             strlcpy(s, t, len);
632             strlcat(s, u, len);
633          }
634          break;
635       case MENU_ENUM_LABEL_VALUE_HELP_SCANNING_CONTENT_DESC:
636          snprintf(s, len,
637                "若要扫描游戏内容,请访问菜单「%s」\n"
638                "并选择「%s」或者「%s」。\n"
639                "\n"
640                "文件将会同数据库中的条目进行对比。\n"
641                "若文件匹配某个条目,则它会被加入戏列表中。\n"
642                "\n"
643                "你可以无需每次都打开文件浏览器,而可以直接\n"
644                "通过菜单项「%s」->「%s」 来访\n"
645                "问这些游戏内容。\n"
646                " \n"
647                "注意:不是所有核心的游戏内容都支持扫描录入。"
648                ,
649                msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ADD_CONTENT_LIST),
650                msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SCAN_DIRECTORY),
651                msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SCAN_FILE),
652                msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST),
653                msg_hash_to_str(MENU_ENUM_LABEL_VALUE_PLAYLISTS_TAB)
654                );
655          break;
656       case MENU_ENUM_LABEL_VALUE_EXTRACTING_PLEASE_WAIT:
657          snprintf(s, len,
658                "欢迎使用 RetroArch\n"
659                "\n"
660                "正在解压必要文件, 请稍等。\n"
661                "这可能需要一点时间……\n"
662                );
663          break;
664       case MENU_ENUM_LABEL_INPUT_DRIVER:
665          {
666             const char *lbl = settings ? settings->arrays.input_driver : NULL;
667 
668             if (string_is_equal(lbl, msg_hash_to_str(MENU_ENUM_LABEL_INPUT_DRIVER_UDEV)))
669                snprintf(s, len,
670                      "udev Input driver. \n"
671                      " \n"
672                      "This driver can run without X. \n"
673                      " \n"
674                      "It uses the recent evdev joypad API \n"
675                      "for joystick support. It supports \n"
676                      "hotplugging and force feedback (if \n"
677                      "supported by device). \n"
678                      " \n"
679                      "The driver reads evdev events for keyboard \n"
680                      "support. It also supports keyboard callback, \n"
681                      "mice and touchpads. \n"
682                      " \n"
683                      "By default in most distros, /dev/input nodes \n"
684                      "are root-only (mode 600). You can set up a udev \n"
685                      "rule which makes these accessible to non-root."
686                      );
687             else if (string_is_equal(lbl, msg_hash_to_str(MENU_ENUM_LABEL_INPUT_DRIVER_LINUXRAW)))
688                snprintf(s, len,
689                      "linuxraw Input driver. \n"
690                      " \n"
691                      "This driver requires an active TTY. Keyboard \n"
692                      "events are read directly from the TTY which \n"
693                      "makes it simpler, but not as flexible as udev. \n" "Mice, etc, are not supported at all. \n"
694                      " \n"
695                      "This driver uses the older joystick API \n"
696                      "(/dev/input/js*).");
697             else
698                snprintf(s, len,
699                      "Input driver.\n"
700                      " \n"
701                      "Depending on video driver, it might \n"
702                      "force a different input driver.");
703          }
704          break;
705       case MENU_ENUM_LABEL_LOAD_CONTENT_LIST:
706          snprintf(s, len,
707                "加载游戏内容 \n"
708                "通过浏览来加载游戏内容。 \n"
709                " \n"
710                "你需要同时提供一个「核心」和游戏内容 \n"
711                "文件才能启动并加载游戏内容。 \n"
712                " \n"
713                "设置「文件浏览器文件夹」可以指定以哪个 \n"
714                "位置为文件浏览器的默认文件夹以方便加载。 \n"
715                "若没有设置,默认以根目录为基准。 \n"
716                " \n"
717                "文件浏览器会以上次加载的核心所支持的 \n"
718                "扩展名进行过滤,并使用该核心来加载 \n"
719                "游戏内容。"
720                );
721          break;
722       case MENU_ENUM_LABEL_LOAD_CONTENT_HISTORY:
723          snprintf(s, len,
724                "从历史记录中加载游戏内容。 \n"
725                " \n"
726                "每当你加载一个游戏时,它和所使用的核心 \n"
727                "将被保存到历史记录中。 \n"
728                " \n"
729                "历史记录文件和 RetroArch 设置文件在同一个 \n"
730                "文件夹中。如果 RetroArch 启动时没有找到 \n"
731                "历史记录文件,主菜单中将不会显示历史记录。"
732                );
733          break;
734       case MENU_ENUM_LABEL_VIDEO_DRIVER:
735          {
736             const char *video_driver = settings->arrays.video_driver;
737 
738             snprintf(s, len,
739                   "当前视频驱动.");
740 
741             if (string_is_equal(video_driver, "gl"))
742             {
743                snprintf(s, len,
744                      "OpenGL视频驱动. \n"
745                      " \n"
746                      "This driver allows libretro GL cores to  \n"
747                      "be used in addition to software-rendered \n"
748                      "core implementations.\n"
749                      " \n"
750                      "Performance for software-rendered and \n"
751                      "libretro GL core implementations is \n"
752                      "dependent on your graphics card's \n"
753                      "underlying GL driver).");
754             }
755             else if (string_is_equal(video_driver, "sdl2"))
756             {
757                snprintf(s, len,
758                      "SDL 2 视频驱动.\n"
759                      " \n"
760                      "This is an SDL 2 software-rendered video \n"
761                      "driver.\n"
762                      " \n"
763                      "Performance for software-rendered libretro \n"
764                      "core implementations is dependent \n"
765                      "on your platform SDL implementation.");
766             }
767             else if (string_is_equal(video_driver, "sdl1"))
768             {
769                snprintf(s, len,
770                      "SDL 视频驱动.\n"
771                      " \n"
772                      "This is an SDL 1.2 software-rendered video \n"
773                      "driver.\n"
774                      " \n"
775                      "Performance is considered to be suboptimal. \n"
776                      "Consider using it only as a last resort.");
777             }
778             else if (string_is_equal(video_driver, "d3d"))
779             {
780                snprintf(s, len,
781                      "Direct3D 视频驱动. \n"
782                      " \n"
783                      "Performance for software-rendered cores \n"
784                      "is dependent on your graphic card's \n"
785                      "underlying D3D driver).");
786             }
787             else if (string_is_equal(video_driver, "exynos"))
788             {
789                snprintf(s, len,
790                      "Exynos-G2D 视频驱动. \n"
791                      " \n"
792                      "This is a low-level Exynos video driver. \n"
793                      "Uses the G2D block in Samsung Exynos SoC \n"
794                      "for blit operations. \n"
795                      " \n"
796                      "Performance for software rendered cores \n"
797                      "should be optimal.");
798             }
799             else if (string_is_equal(video_driver, "drm"))
800             {
801                snprintf(s, len,
802                      "Plain DRM 视频驱动. \n"
803                      " \n"
804                      "This is a low-level video driver using. \n"
805                      "libdrm for hardware scaling using \n"
806                      "GPU overlays.");
807             }
808             else if (string_is_equal(video_driver, "sunxi"))
809             {
810                snprintf(s, len,
811                      "Sunxi-G2D 视频驱动. \n"
812                      " \n"
813                      "This is a low-level Sunxi video driver. \n"
814                      "Uses the G2D block in Allwinner SoCs.");
815             }
816          }
817          break;
818       case MENU_ENUM_LABEL_AUDIO_DSP_PLUGIN:
819          snprintf(s, len,
820                "音频DSP插件.\n"
821                " Processes audio before it's sent to \n"
822                "the driver."
823                );
824          break;
825       case MENU_ENUM_LABEL_AUDIO_RESAMPLER_DRIVER:
826          {
827             const char *lbl = settings ? settings->arrays.audio_resampler : NULL;
828 
829             if (string_is_equal(lbl, msg_hash_to_str(MENU_ENUM_LABEL_AUDIO_RESAMPLER_DRIVER_SINC)))
830                strlcpy(s,
831                      "Windowed SINC implementation.", len);
832             else if (string_is_equal(lbl, msg_hash_to_str(MENU_ENUM_LABEL_AUDIO_RESAMPLER_DRIVER_CC)))
833                strlcpy(s,
834                      "Convoluted Cosine implementation.", len);
835             else if (string_is_empty(s))
836                strlcpy(s, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_INFORMATION_AVAILABLE), len);
837          }
838          break;
839       case MENU_ENUM_LABEL_VIDEO_SHADER_PRESET:
840          snprintf(s, len,
841                "载入预设渲染器. \n"
842                " \n"
843                " Load a "
844 #ifdef HAVE_CG
845                "Cg"
846 #endif
847 #ifdef HAVE_GLSL
848 #ifdef HAVE_CG
849                "/"
850 #endif
851                "GLSL"
852 #endif
853 #ifdef HAVE_HLSL
854 #if defined(HAVE_CG) || defined(HAVE_HLSL)
855                "/"
856 #endif
857                "HLSL"
858 #endif
859                " 预设文件夹. \n"
860                "The menu shader menu is updated accordingly. \n"
861                " \n"
862                "If the CGP uses scaling methods which are not \n"
863                "simple, (i.e. source scaling, same scaling \n"
864                "factor for X/Y), the scaling factor displayed \n"
865                "in the menu might not be correct."
866                );
867          break;
868       case MENU_ENUM_LABEL_VIDEO_SHADER_SCALE_PASS:
869          snprintf(s, len,
870                "Scale for this pass. \n"
871                " \n"
872                "The scale factor accumulates, i.e. 2x \n"
873                "for first pass and 2x for second pass \n"
874                "will give you a 4x total scale. \n"
875                " \n"
876                "If there is a scale factor for last \n"
877                "pass, the result is stretched to \n"
878                "screen with the filter specified in \n"
879                "'Default Filter'. \n"
880                " \n"
881                "If 'Don't Care' is set, either 1x \n"
882                "scale or stretch to fullscreen will \n"
883                "be used depending if it's not the last \n"
884                "pass or not."
885                );
886          break;
887       case MENU_ENUM_LABEL_VIDEO_SHADER_NUM_PASSES:
888          snprintf(s, len,
889                "Shader Passes. \n"
890                " \n"
891                "RetroArch allows you to mix and match various \n"
892                "shaders with arbitrary shader passes, with \n"
893                "custom hardware filters and scale factors. \n"
894                " \n"
895                "This option specifies the number of shader \n"
896                "passes to use. If you set this to 0, and use \n"
897                "Apply Shader Changes, you use a 'blank' shader. \n"
898                " \n"
899                "The Default Filter option will affect the \n"
900                "stretching filter.");
901          break;
902       case MENU_ENUM_LABEL_VIDEO_SHADER_PARAMETERS:
903          snprintf(s, len,
904                "Shader Parameters. \n"
905                " \n"
906                "Modifies current shader directly. Will not be \n"
907                "saved to CGP/GLSLP preset file.");
908          break;
909       case MENU_ENUM_LABEL_VIDEO_SHADER_PRESET_PARAMETERS:
910          snprintf(s, len,
911                "Shader Preset Parameters. \n"
912                " \n"
913                "Modifies shader preset currently in menu."
914                );
915          break;
916       case MENU_ENUM_LABEL_VIDEO_SHADER_PASS:
917          snprintf(s, len,
918                "Path to shader. \n"
919                " \n"
920                "All shaders must be of the same \n"
921                "type (i.e. CG, GLSL or HLSL). \n"
922                " \n"
923                "Set Shader Directory to set where \n"
924                "the browser starts to look for \n"
925                "shaders."
926                );
927          break;
928       case MENU_ENUM_LABEL_CONFIGURATION_SETTINGS:
929          snprintf(s, len,
930                "Determines how configuration files \n"
931                "are loaded and prioritized.");
932          break;
933       case MENU_ENUM_LABEL_CONFIG_SAVE_ON_EXIT:
934          snprintf(s, len,
935                "Saves config to disk on exit.\n"
936                "Useful for menu as settings can be\n"
937                "modified. Overwrites the config.\n"
938                " \n"
939                "#include's and comments are not \n"
940                "preserved. \n"
941                " \n"
942                "By design, the config file is \n"
943                "considered immutable as it is \n"
944                "likely maintained by the user, \n"
945                "and should not be overwritten \n"
946                "behind the user's back."
947 #if defined(RARCH_CONSOLE) || defined(RARCH_MOBILE)
948                "\nThis is not not the case on \n"
949                "consoles however, where \n"
950                "looking at the config file \n"
951                "manually isn't really an option."
952 #endif
953                );
954          break;
955       case MENU_ENUM_LABEL_SHOW_HIDDEN_FILES:
956          snprintf(s, len, "显示隐藏文件和文件夹。");
957          break;
958       case MENU_ENUM_LABEL_VIDEO_SHADER_FILTER_PASS:
959          snprintf(s, len,
960                "Hardware filter for this pass. \n"
961                " \n"
962                "If 'Don't Care' is set, 'Default \n"
963                "Filter' will be used."
964                );
965          break;
966       case MENU_ENUM_LABEL_AUTOSAVE_INTERVAL:
967          snprintf(s, len,
968                "Autosaves the non-volatile SRAM \n"
969                "at a regular interval.\n"
970                " \n"
971                "This is disabled by default unless set \n"
972                "otherwise. The interval is measured in \n"
973                "seconds. \n"
974                " \n"
975                "A value of 0 disables autosave.");
976          break;
977       case MENU_ENUM_LABEL_INPUT_BIND_DEVICE_TYPE:
978          snprintf(s, len,
979                "输入设备类型. \n"
980                " \n"
981                "Picks which device type to use. This is \n"
982                "relevant for the libretro core itself."
983                );
984          break;
985       case MENU_ENUM_LABEL_LIBRETRO_LOG_LEVEL:
986          snprintf(s, len,
987                "设置Libretro核心的日志输出级别 \n"
988                "(GET_LOG_INTERFACE). \n"
989                "\n"
990                "If a log level issued by a libretro \n"
991                "core is below libretro_log level, it \n"
992                "is ignored.\n"
993                "\n"
994                "DEBUG logs are always ignored unless \n"
995                "verbose mode is activated (--verbose).\n"
996                "\n"
997                "调试 = 0\n"
998                "提示 = 1\n"
999                "警告 = 2\n"
1000                "错误 = 3"
1001                );
1002          break;
1003       case MENU_ENUM_LABEL_STATE_SLOT_INCREASE:
1004       case MENU_ENUM_LABEL_STATE_SLOT_DECREASE:
1005          snprintf(s, len,
1006                "即时存档栏位\n"
1007                "\n"
1008                "当选择0号栏位时,即时存档将以*.state命名(或其他 \n"
1009                "在命令行中定义的名称)。 \n"
1010                "\n"
1011                "当栏位不为0时,路径将会设为<path><d>,其中<d> \n"
1012                "是栏位的编号。");
1013          break;
1014       case MENU_ENUM_LABEL_SHADER_APPLY_CHANGES:
1015          snprintf(s, len,
1016                "应用渲染器更改。 \n"
1017                " \n"
1018                "当你修改渲染器设置后,执行此选项 \n"
1019                "以应用更改。 \n"
1020                " \n"
1021                "渲染器可能非常耗费资源, \n"
1022                "因此必须单独进行设置。 \n"
1023                " \n"
1024                "应用渲染器更改后,渲染器设置将被 \n"
1025                "保存到 Shader 文件夹下的文件中 \n"
1026                "(扩展名为 .cgp 或 .glslp)。 \n"
1027                "即使退出 RetroArch,该文件也会被保留。"
1028                );
1029          break;
1030       case MENU_ENUM_LABEL_MENU_TOGGLE:
1031          snprintf(s, len,
1032                "切换菜单。");
1033          break;
1034       case MENU_ENUM_LABEL_GRAB_MOUSE_TOGGLE:
1035          snprintf(s, len,
1036                "切换鼠标抓取。\n"
1037                " \n"
1038                "When mouse is grabbed, RetroArch hides the \n"
1039                "mouse, and keeps the mouse pointer inside \n"
1040                "the window to allow relative mouse input to \n"
1041                "work better.");
1042          break;
1043       case MENU_ENUM_LABEL_DISK_NEXT:
1044          snprintf(s, len,
1045                "切换下一张光盘。弹出光盘后才能使用。 \n"
1046                " \n"
1047                "再次切换光盘弹出状态完成换盘。");
1048          break;
1049       case MENU_ENUM_LABEL_VIDEO_FILTER:
1050 #ifdef HAVE_FILTERS_BUILTIN
1051          snprintf(s, len,
1052                "CPU-based video filter.");
1053 #else
1054          snprintf(s, len,
1055                "CPU-based video filter.\n"
1056                " \n"
1057                "Path to a dynamic library.");
1058 #endif
1059          break;
1060       case MENU_ENUM_LABEL_AUDIO_DEVICE:
1061          snprintf(s, len,
1062                "Override the default audio device \n"
1063                "the audio driver uses.\n"
1064                "This is driver dependent. E.g.\n"
1065 #ifdef HAVE_ALSA
1066                " \n"
1067                "ALSA 需要一个PCM设备."
1068 #endif
1069 #ifdef HAVE_OSS
1070                " \n"
1071                "OSS 需要一个路径 (例如. /dev/dsp)."
1072 #endif
1073 #ifdef HAVE_JACK
1074                " \n"
1075                "JACK wants portnames (e.g. system:playback1\n"
1076                ",system:playback_2)."
1077 #endif
1078 #ifdef HAVE_RSOUND
1079                " \n"
1080                "RSound 需要 RSound 服务器的 IP 地址。 \n"
1081 #endif
1082                );
1083          break;
1084       case MENU_ENUM_LABEL_DISK_EJECT_TOGGLE:
1085          snprintf(s, len,
1086                "切换光盘弹出状态。\n"
1087                " \n"
1088                "用于多光盘游戏。");
1089          break;
1090       case MENU_ENUM_LABEL_ENABLE_HOTKEY:
1091          snprintf(s, len,
1092                "启用其他热键。\n"
1093                " \n"
1094                " If this hotkey is bound to either keyboard, \n"
1095                "joybutton or joyaxis, all other hotkeys will \n"
1096                "be disabled unless this hotkey is also held \n"
1097                "at the same time. \n"
1098                " \n"
1099                "This is useful for RETRO_KEYBOARD centric \n"
1100                "implementations which query a large area of \n"
1101                "the keyboard, where it is not desirable that \n"
1102                "hotkeys get in the way.");
1103          break;
1104       case MENU_ENUM_LABEL_REWIND_ENABLE:
1105          snprintf(s, len,
1106                "启用回溯倒带功能。\n"
1107                " \n"
1108                "这可能会严重影响性能, \n"
1109                "所以默认设置为关闭。");
1110          break;
1111       case MENU_ENUM_LABEL_LIBRETRO_DIR_PATH:
1112          snprintf(s, len,
1113                "核心文件夹。 \n"
1114                " \n"
1115                "放置 Libretro 核心的文件夹。");
1116          break;
1117       case MENU_ENUM_LABEL_VIDEO_REFRESH_RATE_AUTO:
1118          snprintf(s, len,
1119                "自动匹配刷新率。\n"
1120                " \n"
1121                "The accurate refresh rate of our monitor (Hz).\n"
1122                "This is used to calculate audio input rate with \n"
1123                "the formula: \n"
1124                " \n"
1125                "audio_input_rate = game input rate * display \n"
1126                "refresh rate / game refresh rate\n"
1127                " \n"
1128                "If the implementation does not report any \n"
1129                "values, NTSC defaults will be assumed for \n"
1130                "compatibility.\n"
1131                " \n"
1132                "This value should stay close to 60Hz to avoid \n"
1133                "large pitch changes. If your monitor does \n"
1134                "not run at 60Hz, or something close to it, \n"
1135                "disable VSync, and leave this at its default.");
1136          break;
1137       case MENU_ENUM_LABEL_VIDEO_ROTATION:
1138          snprintf(s, len,
1139                "Forces a certain rotation \n"
1140                "of the screen.\n"
1141                " \n"
1142                "The rotation is added to rotations which\n"
1143                "the libretro core sets (see Video Allow\n"
1144                "Rotate).");
1145          break;
1146       case MENU_ENUM_LABEL_VIDEO_SCALE:
1147          snprintf(s, len,
1148                "全屏分辨率。\n"
1149                " \n"
1150                "如果设置为 0,则使用设备默认分辨率。\n");
1151          break;
1152       case MENU_ENUM_LABEL_FASTFORWARD_RATIO:
1153          snprintf(s, len,
1154                "快进速度。\n"
1155                " \n"
1156                "开启快进模式时的最大运行速度倍数。\n"
1157                " \n"
1158                "例如 60fps 的游戏开启 5 倍速 就是 300 fps。\n"
1159                " \n"
1160                "RetroArch 会尽可能保证快进时不超过该速度,\n"
1161                "但不会特别精确。");
1162          break;
1163       case MENU_ENUM_LABEL_VIDEO_MONITOR_INDEX:
1164          snprintf(s, len,
1165                "指定输出显示器。\n"
1166                " \n"
1167                "(默认 0)表示不指定显示器,\n"
1168                "1 表示使用 1 号显示器,以此类推。");
1169          break;
1170       case MENU_ENUM_LABEL_VIDEO_CROP_OVERSCAN:
1171          snprintf(s, len,
1172                "Forces cropping of overscanned \n"
1173                "frames.\n"
1174                " \n"
1175                "Exact behavior of this option is \n"
1176                "core-implementation specific.");
1177          break;
1178       case MENU_ENUM_LABEL_VIDEO_SCALE_INTEGER:
1179          snprintf(s, len,
1180                "只放大整数倍。\n"
1181                "\n"
1182                "基础分辨率与游戏、宽高比有关。\n"
1183                "\n"
1184                "如果「保持宽高比」选项未开启,\n"
1185                "不保证宽高放大倍数相同。");
1186          break;
1187       case MENU_ENUM_LABEL_AUDIO_VOLUME:
1188          snprintf(s, len,
1189                "音量增益(分贝)。\n"
1190                " \n"
1191                "0 表示正常音量。\n"
1192                "Gain can be controlled in runtime with Input\n"
1193                "Volume Up / Input Volume Down.");
1194          break;
1195       case MENU_ENUM_LABEL_AUDIO_RATE_CONTROL_DELTA:
1196          snprintf(s, len,
1197                "Audio rate control.\n"
1198                " \n"
1199                "Setting this to 0 disables rate control.\n"
1200                "Any other value controls audio rate control \n"
1201                "delta.\n"
1202                " \n"
1203                "Defines how much input rate can be adjusted \n"
1204                "dynamically.\n"
1205                " \n"
1206                " Input rate is defined as: \n"
1207                " input rate * (1.0 +/- (rate control delta))");
1208          break;
1209       case MENU_ENUM_LABEL_AUDIO_MAX_TIMING_SKEW:
1210          snprintf(s, len,
1211                "Maximum audio timing skew.\n"
1212                " \n"
1213                "Defines the maximum change in input rate.\n"
1214                "You may want to increase this to enable\n"
1215                "very large changes in timing, for example\n"
1216                "running PAL cores on NTSC displays, at the\n"
1217                "cost of inaccurate audio pitch.\n"
1218                " \n"
1219                " Input rate is defined as: \n"
1220                " input rate * (1.0 +/- (max timing skew))");
1221          break;
1222       case MENU_ENUM_LABEL_OVERLAY_NEXT:
1223          snprintf(s, len,
1224                "Toggles to next overlay.\n"
1225                " \n"
1226                "Wraps around.");
1227          break;
1228       case MENU_ENUM_LABEL_LOG_VERBOSITY:
1229          snprintf(s, len,
1230                "Enable or disable verbosity level \n"
1231                "of frontend.");
1232          break;
1233       case MENU_ENUM_LABEL_VOLUME_UP:
1234          snprintf(s, len,
1235                "调高音量。");
1236          break;
1237       case MENU_ENUM_LABEL_VOLUME_DOWN:
1238          snprintf(s, len,
1239                "降低音量。");
1240          break;
1241       case MENU_ENUM_LABEL_VIDEO_DISABLE_COMPOSITION:
1242          snprintf(s, len,
1243                "Forcibly disable composition.\n"
1244                "Only valid on Windows Vista/7 for now.");
1245          break;
1246       case MENU_ENUM_LABEL_PERFCNT_ENABLE:
1247          snprintf(s, len,
1248                "启用或关闭前端 \n"
1249                "性能计数。");
1250          break;
1251       case MENU_ENUM_LABEL_SYSTEM_DIRECTORY:
1252          snprintf(s, len,
1253                "系统文件夹。 \n"
1254                " \n"
1255                "Sets the 'system' directory.\n"
1256                "Cores can query for this\n"
1257                "directory to load BIOSes, \n"
1258                "system-specific configs, etc.");
1259          break;
1260       case MENU_ENUM_LABEL_SAVESTATE_AUTO_SAVE:
1261       case MENU_ENUM_LABEL_SAVESTATE_AUTO_LOAD:
1262          snprintf(s, len,
1263                "在 RetroArch 退出时 \n"
1264                "自动保存即时存档。\n"
1265                " \n"
1266                "如果自动读档选项已打开,\n"
1267                "每次运行游戏时还会读取该存档。");
1268          break;
1269       case MENU_ENUM_LABEL_VIDEO_THREADED:
1270          snprintf(s, len,
1271                "使用独立线程来处理视频。\n"
1272                " \n"
1273                "虽然可能提升游戏速度,但也可能"
1274                "增加延迟或导致图像卡顿。");
1275          break;
1276       case MENU_ENUM_LABEL_VIDEO_VSYNC:
1277          snprintf(s, len,
1278                "视频垂直同步.\n");
1279          break;
1280       case MENU_ENUM_LABEL_VIDEO_HARD_SYNC:
1281          snprintf(s, len,
1282                "尝试硬件同步CPU和GPU。\n"
1283                " \n"
1284                "可以减少潜在的性能开销。");
1285          break;
1286       case MENU_ENUM_LABEL_REWIND_GRANULARITY:
1287          snprintf(s, len,
1288                "每次回溯的帧数\n"
1289                " \n"
1290                "通过一次回溯多帧来提升回溯的速度。");
1291          break;
1292       case MENU_ENUM_LABEL_SCREENSHOT:
1293          snprintf(s, len,
1294                "截图。");
1295          break;
1296       case MENU_ENUM_LABEL_VIDEO_FRAME_DELAY:
1297          snprintf(s, len,
1298                "Sets how many milliseconds to delay\n"
1299                "after VSync before running the core.\n"
1300                "\n"
1301                "Can reduce latency at the cost of\n"
1302                "higher risk of stuttering.\n"
1303                " \n"
1304                "Maximum is 15.");
1305          break;
1306       case MENU_ENUM_LABEL_VIDEO_HARD_SYNC_FRAMES:
1307          snprintf(s, len,
1308                "Sets how many frames CPU can \n"
1309                "run ahead of GPU when using 'GPU \n"
1310                "Hard Sync'.\n"
1311                " \n"
1312                "Maximum is 3.\n"
1313                " \n"
1314                " 0: Syncs to GPU immediately.\n"
1315                " 1: Syncs to previous frame.\n"
1316                " 2: Etc ...");
1317          break;
1318       case MENU_ENUM_LABEL_VIDEO_BLACK_FRAME_INSERTION:
1319          snprintf(s, len,
1320                "在每帧之间插入一帧黑屏。\n"
1321                " \n"
1322                "120 Hz 显示器开启此选项运行 \n"
1323                "60 Hz 游戏可以避免重影。 \n"
1324                " \n"
1325                "图像刷新率仍应按照 60 Hz 显示器 \n"
1326                "来进行设置。(除以 2) \n");
1327          break;
1328       case MENU_ENUM_LABEL_RGUI_SHOW_START_SCREEN:
1329          snprintf(s, len,
1330                "Show startup screen in menu.\n"
1331                "Is automatically set to false when seen\n"
1332                "for the first time.\n"
1333                " \n"
1334                "This is only updated in config if\n"
1335                "'Save Configuration on Exit' is enabled.\n");
1336          break;
1337       case MENU_ENUM_LABEL_VIDEO_FULLSCREEN:
1338          snprintf(s, len, "Toggles fullscreen.");
1339          break;
1340       case MENU_ENUM_LABEL_BLOCK_SRAM_OVERWRITE:
1341          snprintf(s, len,
1342                "Block SRAM from being overwritten \n"
1343                "when loading save states.\n"
1344                " \n"
1345                "Might potentially lead to buggy games.");
1346          break;
1347       case MENU_ENUM_LABEL_PAUSE_NONACTIVE:
1348          snprintf(s, len,
1349                "切换窗口时暂停游戏。");
1350          break;
1351       case MENU_ENUM_LABEL_VIDEO_GPU_SCREENSHOT:
1352          snprintf(s, len,
1353                "使用 GPU 输出来进行截图(如果可能的话)。");
1354          break;
1355       case MENU_ENUM_LABEL_SCREENSHOT_DIRECTORY:
1356          snprintf(s, len,
1357                "截图文件夹 \n"
1358                " \n"
1359                "用于保存截图的文件夹。"
1360                );
1361          break;
1362       case MENU_ENUM_LABEL_VIDEO_SWAP_INTERVAL:
1363          snprintf(s, len,
1364                "VSync Swap Interval.\n"
1365                " \n"
1366                "Uses a custom swap interval for VSync. Set this \n"
1367                "to effectively halve monitor refresh rate.");
1368          break;
1369       case MENU_ENUM_LABEL_SAVEFILE_DIRECTORY:
1370          snprintf(s, len,
1371                "游戏存档文件夹。 \n"
1372                " \n"
1373                "所有游戏存档都保存在此文件夹。 \n"
1374                "常见的游戏存档格式有 \n"
1375                ".srm, .bsv, .rt, .psrm 等\n"
1376                " \n"
1377                "此选项可能被特定命令行选项覆盖。");
1378          break;
1379       case MENU_ENUM_LABEL_SAVESTATE_DIRECTORY:
1380          snprintf(s, len,
1381                "即时存档文件夹. \n"
1382                " \n"
1383                "所有即时存档 (.state 文件) 都 \n"
1384                "保存在此文件夹。 \n"
1385                " \n"
1386                "此选项可能被特定命令行选项覆盖。");
1387          break;
1388       case MENU_ENUM_LABEL_ASSETS_DIRECTORY:
1389          snprintf(s, len,
1390                "Assets Directory. \n"
1391                " \n"
1392                "This location is queried by default when \n"
1393                "menu interfaces try to look for loadable \n"
1394                "assets, etc.");
1395          break;
1396       case MENU_ENUM_LABEL_DYNAMIC_WALLPAPERS_DIRECTORY:
1397          snprintf(s, len,
1398                "动态壁纸文件夹 \n"
1399                " \n"
1400                "保存用于主界面的、依据游戏内容变化的动态壁纸。");
1401          break;
1402       case MENU_ENUM_LABEL_SLOWMOTION_RATIO:
1403          snprintf(s, len,
1404                "减速比例"
1405                " \n"
1406                "减速游戏时,速度将被降低的倍数。");
1407          break;
1408       case MENU_ENUM_LABEL_INPUT_TURBO_PERIOD:
1409          snprintf(s, len,
1410                "Turbo period.\n"
1411                " \n"
1412                "Describes the period of which turbo-enabled\n"
1413                "buttons toggle.\n"
1414                " \n"
1415                "Numbers are described in frames."
1416                );
1417          break;
1418       case MENU_ENUM_LABEL_INPUT_DUTY_CYCLE:
1419          snprintf(s, len,
1420                "Duty cycle.\n"
1421                " \n"
1422                "Describes how long the period of a turbo-enabled\n"
1423                "should be.\n"
1424                " \n"
1425                "Numbers are described in frames."
1426                );
1427          break;
1428       case MENU_ENUM_LABEL_INPUT_TOUCH_ENABLE:
1429          snprintf(s, len, "启用触摸屏支持。");
1430          break;
1431       case MENU_ENUM_LABEL_INPUT_PREFER_FRONT_TOUCH:
1432          snprintf(s, len, "使用前触摸屏,而非后触摸屏。");
1433          break;
1434       case MENU_ENUM_LABEL_MOUSE_ENABLE:
1435          snprintf(s, len, "在菜单中,启用鼠标。");
1436          break;
1437       case MENU_ENUM_LABEL_POINTER_ENABLE:
1438          snprintf(s, len, "在菜单中,启用触摸屏。");
1439          break;
1440       case MENU_ENUM_LABEL_MENU_WALLPAPER:
1441          snprintf(s, len, "菜单壁纸图片的路径。");
1442          break;
1443       case MENU_ENUM_LABEL_NAVIGATION_WRAPAROUND:
1444          snprintf(s, len,
1445                "Wrap-around to beginning and/or end \n"
1446                "if boundary of list is reached \n"
1447                "horizontally and/or vertically.");
1448          break;
1449       case MENU_ENUM_LABEL_PAUSE_LIBRETRO:
1450          snprintf(s, len,
1451                "如果关闭此选项,打开菜单时 \n"
1452                "游戏仍会后台运行。");
1453          break;
1454       case MENU_ENUM_LABEL_SUSPEND_SCREENSAVER_ENABLE:
1455          snprintf(s, len,
1456                "Suspends the screensaver. Is a hint that \n"
1457                "does not necessarily have to be \n"
1458                "honored by the video driver.");
1459          break;
1460       case MENU_ENUM_LABEL_NETPLAY_MODE:
1461          snprintf(s, len,
1462                "开启:联网时为客户端模式。\n"
1463                "关闭:联网时为服务器模式。");
1464          break;
1465       case MENU_ENUM_LABEL_NETPLAY_DELAY_FRAMES:
1466          snprintf(s, len,
1467                "联网时延迟的帧数。 \n"
1468                " \n"
1469                "提升数值将改善游戏表现, \n"
1470                "但延迟也会增加。");
1471          break;
1472       case MENU_ENUM_LABEL_NETPLAY_CHECK_FRAMES:
1473          snprintf(s, len,
1474                "The frequency in frames with which netplay \n"
1475                "will verify that the host and client are in \n"
1476                "sync. \n"
1477                " \n"
1478                "With most cores, this value will have no \n"
1479                "visible effect and can be ignored. With \n"
1480                "nondeterminstic cores, this value determines \n"
1481                "how often the netplay peers will be brought \n"
1482                "into sync. With buggy cores, setting this \n"
1483                "to any non-zero value will cause severe \n"
1484                "performance issues. Set to zero to perform \n"
1485                "no checks. This value is only used on the \n"
1486                "netplay host. \n");
1487          break;
1488       case MENU_ENUM_LABEL_VIDEO_MAX_SWAPCHAIN_IMAGES:
1489          snprintf(s, len,
1490                "Maximum amount of swapchain images. This \n"
1491                "can tell the video driver to use a specific \n"
1492                "video buffering mode. \n"
1493                " \n"
1494                "Single buffering - 1\n"
1495                "Double buffering - 2\n"
1496                "Triple buffering - 3\n"
1497                " \n"
1498                "Setting the right buffering mode can have \n"
1499                "a big impact on latency.");
1500          break;
1501       case MENU_ENUM_LABEL_VIDEO_SMOOTH:
1502          snprintf(s, len,
1503                "用双线性过滤使图像平滑。 \n"
1504                "如果你使用了渲染器,请关闭它。");
1505          break;
1506       case MENU_ENUM_LABEL_VIDEO_CTX_SCALING:
1507          snprintf(s, len,
1508 #ifdef HAVE_ODROIDGO2
1509                "RGA scaling and bicubic filtering. May break widgets."
1510 #else
1511                "Hardware context scaling (if available)."
1512 #endif
1513          );
1514          break;
1515       case MENU_ENUM_LABEL_TIMEDATE_ENABLE:
1516          snprintf(s, len,
1517                "在菜单中显示当前日期和时间。");
1518          break;
1519       case MENU_ENUM_LABEL_CORE_ENABLE:
1520          snprintf(s, len,
1521                "在菜单中显示当前运行的核心名称。");
1522          break;
1523       case MENU_ENUM_LABEL_NETPLAY_ENABLE_HOST:
1524          snprintf(s, len,
1525                "启用联机游戏(服务器模式)。");
1526          break;
1527       case MENU_ENUM_LABEL_NETPLAY_ENABLE_CLIENT:
1528          snprintf(s, len,
1529                "启用联机游戏(客户端模式)。");
1530          break;
1531       case MENU_ENUM_LABEL_NETPLAY_DISCONNECT:
1532          snprintf(s, len,
1533                "断开当前网络连接。");
1534          break;
1535       case MENU_ENUM_LABEL_NETPLAY_SETTINGS:
1536          snprintf(s, len,
1537                "联机游戏设置。");
1538          break;
1539       case MENU_ENUM_LABEL_NETPLAY_LAN_SCAN_SETTINGS:
1540          snprintf(s, len,
1541                "在局域网中搜索并加入联机游戏服务器。");
1542          break;
1543       case MENU_ENUM_LABEL_DYNAMIC_WALLPAPER:
1544          snprintf(s, len,
1545                "在不同的环境下加载不同的壁纸。");
1546          break;
1547       case MENU_ENUM_LABEL_CORE_UPDATER_BUILDBOT_URL:
1548          snprintf(s, len,
1549                "URL to core updater directory on the \n"
1550                "Libretro buildbot.");
1551          break;
1552       case MENU_ENUM_LABEL_BUILDBOT_ASSETS_URL:
1553          snprintf(s, len,
1554                "URL to assets updater directory on the \n"
1555                "Libretro buildbot.");
1556          break;
1557       case MENU_ENUM_LABEL_INPUT_REMAP_BINDS_ENABLE:
1558          snprintf(s, len,
1559                "if enabled, overrides the input binds \n"
1560                "with the remapped binds set for the \n"
1561                "current core.");
1562          break;
1563       case MENU_ENUM_LABEL_OVERLAY_DIRECTORY:
1564          snprintf(s, len,
1565                "Overlay Directory. \n"
1566                " \n"
1567                "Defines a directory where overlays are \n"
1568                "kept for easy access.");
1569          break;
1570       case MENU_ENUM_LABEL_INPUT_MAX_USERS:
1571          snprintf(s, len,
1572                "RetroArch 支持的最大用户数量。");
1573          break;
1574       case MENU_ENUM_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE:
1575          snprintf(s, len,
1576                "下载后自动解压。");
1577          break;
1578       case MENU_ENUM_LABEL_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE:
1579          snprintf(s, len,
1580                "Filter files being shown by \n"
1581                "supported extensions.");
1582          break;
1583       case MENU_ENUM_LABEL_NETPLAY_NICKNAME:
1584          snprintf(s, len,
1585                "你的 RetroArch 用户名,用于联机游戏。");
1586          break;
1587       case MENU_ENUM_LABEL_NETPLAY_TCP_UDP_PORT:
1588          snprintf(s, len,
1589                "服务器的端口。 \n"
1590                "TCP 或 UDP 端口均可。");
1591          break;
1592       case MENU_ENUM_LABEL_NETPLAY_SPECTATOR_MODE_ENABLE:
1593          snprintf(s, len,
1594                "启用或禁用网络对战的观战模式。");
1595          break;
1596       case MENU_ENUM_LABEL_NETPLAY_IP_ADDRESS:
1597          snprintf(s, len,
1598                "服务器的地址。");
1599          break;
1600       case MENU_ENUM_LABEL_STDIN_CMD_ENABLE:
1601          snprintf(s, len,
1602                "启用标准命令行输入。");
1603          break;
1604       case MENU_ENUM_LABEL_UI_COMPANION_START_ON_BOOT:
1605          snprintf(s, len,
1606                "Start User Interface companion driver \n"
1607                "on boot (if available).");
1608          break;
1609       case MENU_ENUM_LABEL_MENU_DRIVER:
1610          snprintf(s, len, "Menu driver to use.");
1611          break;
1612       case MENU_ENUM_LABEL_INPUT_MENU_ENUM_TOGGLE_GAMEPAD_COMBO:
1613          snprintf(s, len,
1614                "切换菜单的按键。 \n"
1615                " \n"
1616                "0 - 无 \n"
1617                "1 - 同时按下 L + R + Y + D-Pad \n"
1618                "2 - 同时按下 L3 + R3 \n"
1619                "3 - 同时按下 Start + Select ");
1620          break;
1621       case MENU_ENUM_LABEL_INPUT_ALL_USERS_CONTROL_MENU:
1622          snprintf(s, len, "允许任何玩家打开菜单。");
1623          break;
1624       case MENU_ENUM_LABEL_INPUT_AUTODETECT_ENABLE:
1625          snprintf(s, len,
1626                "启用自动配置按键。\n"
1627                " \n"
1628                "RetroArch 将尝试自动配置手柄按键, \n"
1629                "和即插即用模式。");
1630          break;
1631       case MENU_ENUM_LABEL_CAMERA_ALLOW:
1632          snprintf(s, len,
1633                "允许或禁止核心调用摄像头。");
1634          break;
1635       case MENU_ENUM_LABEL_LOCATION_ALLOW:
1636          snprintf(s, len,
1637                "允许或禁止核心调用定位系统(GPS)。");
1638          break;
1639       case MENU_ENUM_LABEL_TURBO:
1640          snprintf(s, len,
1641                "Turbo enable.\n"
1642                " \n"
1643                "Holding the turbo while pressing another \n"
1644                "button will let the button enter a turbo \n"
1645                "mode where the button state is modulated \n"
1646                "with a periodic signal. \n"
1647                " \n"
1648                "The modulation stops when the button \n"
1649                "itself (not turbo button) is released.");
1650          break;
1651       case MENU_ENUM_LABEL_OSK_ENABLE:
1652          snprintf(s, len,
1653                "启用或禁用屏幕软键盘。");
1654          break;
1655       case MENU_ENUM_LABEL_AUDIO_MUTE:
1656          snprintf(s, len,
1657                "静音或恢复声音。");
1658          break;
1659       case MENU_ENUM_LABEL_REWIND:
1660          snprintf(s, len,
1661                "按住按钮来回溯 \n"
1662                " \n"
1663                "必须先启用回溯倒带功能。");
1664          break;
1665       case MENU_ENUM_LABEL_EXIT_EMULATOR:
1666          snprintf(s, len,
1667                "正常退出 RetroArch。"
1668 #if !defined(RARCH_MOBILE) && !defined(RARCH_CONSOLE)
1669                "\nKilling it in any hard way (SIGKILL, \n"
1670                "etc) will terminate without saving\n"
1671                "RAM, etc. On Unix-likes,\n"
1672                "SIGINT/SIGTERM allows\n"
1673                "a clean deinitialization."
1674 #endif
1675                );
1676          break;
1677       case MENU_ENUM_LABEL_LOAD_STATE:
1678          snprintf(s, len,
1679                "读取即时存档。");
1680          break;
1681       case MENU_ENUM_LABEL_SAVE_STATE:
1682          snprintf(s, len,
1683                "保存即时存档。");
1684          break;
1685       case MENU_ENUM_LABEL_CHEAT_INDEX_PLUS:
1686          snprintf(s, len,
1687                "下一个金手指。");
1688          break;
1689       case MENU_ENUM_LABEL_CHEAT_INDEX_MINUS:
1690          snprintf(s, len,
1691                "前一个金手指。");
1692          break;
1693       case MENU_ENUM_LABEL_SHADER_PREV:
1694          snprintf(s, len,
1695                "应用文件夹中的前一个渲染器特效。");
1696          break;
1697       case MENU_ENUM_LABEL_SHADER_NEXT:
1698          snprintf(s, len,
1699                "应用文件夹中的后一个渲染器特效。");
1700          break;
1701       case MENU_ENUM_LABEL_RESET:
1702          snprintf(s, len,
1703                "重启游戏。");
1704          break;
1705       case MENU_ENUM_LABEL_PAUSE_TOGGLE:
1706          snprintf(s, len,
1707                "在暂停和非暂停状态间切换。");
1708          break;
1709       case MENU_ENUM_LABEL_CHEAT_TOGGLE:
1710          snprintf(s, len,
1711                "切换金手指启用状态。");
1712          break;
1713       case MENU_ENUM_LABEL_HOLD_FAST_FORWARD:
1714          snprintf(s, len,
1715                "按下按键快进,松开按键恢复正常。");
1716          break;
1717       case MENU_ENUM_LABEL_SLOWMOTION_HOLD:
1718          snprintf(s, len,
1719                "按下按键减速,松开按键恢复正常。");
1720          break;
1721       case MENU_ENUM_LABEL_FRAME_ADVANCE:
1722          snprintf(s, len,
1723                "游戏暂停时,运行一帧。");
1724          break;
1725       case MENU_ENUM_LABEL_BSV_RECORD_TOGGLE:
1726          snprintf(s, len,
1727                "切换是否处于录像状态。");
1728          break;
1729       case MENU_ENUM_LABEL_L_X_PLUS:
1730       case MENU_ENUM_LABEL_L_X_MINUS:
1731       case MENU_ENUM_LABEL_L_Y_PLUS:
1732       case MENU_ENUM_LABEL_L_Y_MINUS:
1733       case MENU_ENUM_LABEL_R_X_PLUS:
1734       case MENU_ENUM_LABEL_R_X_MINUS:
1735       case MENU_ENUM_LABEL_R_Y_PLUS:
1736       case MENU_ENUM_LABEL_R_Y_MINUS:
1737          snprintf(s, len,
1738                "Axis for analog stick (DualShock-esque).\n"
1739                " \n"
1740                "Bound as usual, however, if a real analog \n"
1741                "axis is bound, it can be read as a true analog.\n"
1742                " \n"
1743                "Positive X axis is right. \n"
1744                "Positive Y axis is down.");
1745          break;
1746       case MENU_ENUM_LABEL_VALUE_WHAT_IS_A_CORE_DESC:
1747          snprintf(s, len,
1748                "RetroArch 本身并不能做什么事情。 \n"
1749                " \n"
1750                "如果想在上面干点什么,你需要向它加载 \n"
1751                "一个程序。\n"
1752                " \n"
1753                "我们把这样的程序叫做「Libretro 核心」, \n"
1754                "简称「核心」。 \n"
1755                " \n"
1756                "你可以从「加载核心」菜单中选择一个核心。 \n"
1757                " \n"
1758 #ifdef HAVE_NETWORKING
1759                "你可以通过以下几种方法来获取核心: \n"
1760                "一、通过访问菜单项「%s」 \n"
1761                " -> 「%s」来下载;\n"
1762                " \n"
1763                "二、手动将其移入核心文件夹中,访问文件\n"
1764                "夹设置找到你的「%s」。",
1765                msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ONLINE_UPDATER),
1766                msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CORE_UPDATER_LIST),
1767                msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LIBRETRO_DIR_PATH)
1768 #else
1769                "你可以通过手动将核心移入文件夹中来添加它们, \n"
1770                "访问文件夹设置找到你的「%s」。",
1771                msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LIBRETRO_DIR_PATH)
1772 #endif
1773                );
1774          break;
1775       case MENU_ENUM_LABEL_VALUE_HELP_CHANGE_VIRTUAL_GAMEPAD_DESC:
1776          snprintf(s, len,
1777                "你可以通过「%s」->「%s」更改虚拟按键。\n"
1778                " \n"
1779                "从那里你可以改变虚拟按键的样式、大小和不透\n"
1780                "明度。\n"
1781                " \n"
1782                "注意:默认情况下,在菜单中虚拟按键是隐藏的。\n"
1783                "如果您想在菜单中显示,可以将「%s」\n"
1784                "设置为 OFF 。",
1785                msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SETTINGS),
1786                msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OVERLAY_SETTINGS),
1787                msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_OVERLAY_HIDE_IN_MENU)
1788                );
1789          break;
1790       default:
1791          if (string_is_empty(s))
1792             strlcpy(s, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_INFORMATION_AVAILABLE), len);
1793          return -1;
1794    }
1795 
1796    return 0;
1797 }
1798 
msg_hash_to_str_chs(enum msg_hash_enums msg)1799 const char *msg_hash_to_str_chs(enum msg_hash_enums msg)
1800 {
1801    switch (msg)
1802    {
1803 #include "msg_hash_chs.h"
1804 
1805       default:
1806 #if 0
1807          RARCH_LOG("Unimplemented: [%d]\n", msg);
1808 #endif
1809          break;
1810    }
1811 
1812    return "null";
1813 }
1814 
msg_hash_get_wideglyph_str_chs(void)1815 const char *msg_hash_get_wideglyph_str_chs(void)
1816 {
1817    return "菜";
1818 }
1819