Commit | Line | Data |
---|---|---|
3719602c PC |
1 | #ifndef LIBRETRO_CORE_OPTIONS_INTL_H__ |
2 | #define LIBRETRO_CORE_OPTIONS_INTL_H__ | |
3 | ||
4 | #if defined(_MSC_VER) && (_MSC_VER >= 1500 && _MSC_VER < 1900) | |
5 | /* https://support.microsoft.com/en-us/kb/980263 */ | |
6 | #pragma execution_character_set("utf-8") | |
7 | #pragma warning(disable:4566) | |
8 | #endif | |
9 | ||
10 | #include <libretro.h> | |
11 | ||
12 | /* | |
13 | ******************************** | |
14 | * VERSION: 2.0 | |
15 | ******************************** | |
16 | * | |
17 | * - 2.0: Add support for core options v2 interface | |
18 | * - 1.3: Move translations to libretro_core_options_intl.h | |
19 | * - libretro_core_options_intl.h includes BOM and utf-8 | |
20 | * fix for MSVC 2010-2013 | |
21 | * - Added HAVE_NO_LANGEXTRA flag to disable translations | |
22 | * on platforms/compilers without BOM support | |
23 | * - 1.2: Use core options v1 interface when | |
24 | * RETRO_ENVIRONMENT_GET_CORE_OPTIONS_VERSION is >= 1 | |
25 | * (previously required RETRO_ENVIRONMENT_GET_CORE_OPTIONS_VERSION == 1) | |
26 | * - 1.1: Support generation of core options v0 retro_core_option_value | |
27 | * arrays containing options with a single value | |
28 | * - 1.0: First commit | |
29 | */ | |
30 | ||
31 | #ifdef __cplusplus | |
32 | extern "C" { | |
33 | #endif | |
34 | ||
35 | /* | |
36 | ******************************** | |
37 | * Core Option Definitions | |
38 | ******************************** | |
39 | */ | |
40 | ||
41 | /* RETRO_LANGUAGE_JAPANESE */ | |
42 | ||
43 | /* RETRO_LANGUAGE_FRENCH */ | |
44 | ||
45 | struct retro_core_option_v2_category option_cats_fr[] = { | |
46 | { | |
47 | "video", /* key must match option_cats_us entry */ | |
48 | "Vidéo", /* translated category description */ | |
49 | "Configurez les options d'affichage." /* translated category sublabel */ | |
50 | }, | |
51 | { | |
52 | "hacks", | |
53 | "Avancée", | |
54 | "Options affectant les performances et la précision de l'émulation de bas niveau." | |
55 | }, | |
56 | { NULL, NULL, NULL }, | |
57 | }; | |
58 | ||
59 | struct retro_core_option_v2_definition option_defs_fr[] = { | |
60 | { | |
61 | "mycore_region", /* key must match option_defs_us entry */ | |
62 | "Région de la console", /* translated description */ | |
63 | NULL, | |
64 | "Spécifiez la région d'origine du système.", /* translated sublabel */ | |
65 | NULL, | |
66 | NULL, /* category key is taken from option_defs_us | |
67 | * -> can set to NULL here */ | |
68 | { | |
69 | { "auto", "Auto" }, /* value must match option_defs_us entry */ | |
70 | { "ntsc-j", "Japon" }, /* > only value_label should be translated */ | |
71 | { "ntsc-u", "Amérique" }, | |
72 | { "pal", "L'Europe" }, | |
73 | { NULL, NULL }, | |
74 | }, | |
75 | NULL /* default_value is taken from option_defs_us | |
76 | * -> can set to NULL here */ | |
77 | }, | |
78 | { | |
79 | "mycore_video_scale", | |
80 | "Vidéo > Échelle", /* translated description */ | |
81 | "Échelle", /* translated 'categorised' description */ | |
82 | "Définir le facteur d'échelle vidéo interne.", | |
83 | NULL, | |
84 | NULL, | |
85 | { | |
86 | { NULL, NULL }, /* If value_labels do not require translation (e.g. numbers), values may be omitted */ | |
87 | }, | |
88 | NULL | |
89 | }, | |
90 | { | |
91 | "mycore_overclock", | |
92 | "Avancé > Réduire le ralentissement", | |
93 | "Réduire le ralentissement", | |
94 | "L'activation de « Avancé > Réduire le ralentissement » réduira la précision.", /* translated sublabel */ | |
95 | "L'activation de « Réduire le ralentissement » réduira la précision.", /* translated 'categorised' | |
96 | * sublabel */ | |
97 | NULL, | |
98 | { | |
99 | { NULL, NULL }, /* 'enabled' and 'disabled' values should not be translated */ | |
100 | }, | |
101 | NULL | |
102 | }, | |
103 | { NULL, NULL, NULL, NULL, NULL, NULL, {{0}}, NULL }, | |
104 | }; | |
105 | ||
106 | struct retro_core_options_v2 options_fr = { | |
107 | option_cats_fr, | |
108 | option_defs_fr | |
109 | }; | |
110 | ||
111 | /* RETRO_LANGUAGE_SPANISH */ | |
112 | ||
113 | /* RETRO_LANGUAGE_GERMAN */ | |
114 | ||
115 | /* RETRO_LANGUAGE_ITALIAN */ | |
116 | ||
117 | /* RETRO_LANGUAGE_DUTCH */ | |
118 | ||
119 | /* RETRO_LANGUAGE_PORTUGUESE_BRAZIL */ | |
120 | ||
121 | /* RETRO_LANGUAGE_PORTUGUESE_PORTUGAL */ | |
122 | ||
123 | /* RETRO_LANGUAGE_RUSSIAN */ | |
124 | ||
125 | /* RETRO_LANGUAGE_KOREAN */ | |
126 | ||
127 | /* RETRO_LANGUAGE_CHINESE_TRADITIONAL */ | |
128 | ||
129 | /* RETRO_LANGUAGE_CHINESE_SIMPLIFIED */ | |
130 | ||
131 | /* RETRO_LANGUAGE_ESPERANTO */ | |
132 | ||
133 | /* RETRO_LANGUAGE_POLISH */ | |
134 | ||
135 | /* RETRO_LANGUAGE_VIETNAMESE */ | |
136 | ||
137 | /* RETRO_LANGUAGE_ARABIC */ | |
138 | ||
139 | /* RETRO_LANGUAGE_GREEK */ | |
140 | ||
141 | /* RETRO_LANGUAGE_TURKISH */ | |
142 | ||
143 | /* RETRO_LANGUAGE_SLOVAK */ | |
144 | ||
145 | /* RETRO_LANGUAGE_PERSIAN */ | |
146 | ||
147 | /* RETRO_LANGUAGE_HEBREW */ | |
148 | ||
149 | /* RETRO_LANGUAGE_ASTURIAN */ | |
150 | ||
151 | /* RETRO_LANGUAGE_FINNISH */ | |
152 | ||
153 | #ifdef __cplusplus | |
154 | } | |
155 | #endif | |
156 | ||
157 | #endif |