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: 1.3 | |
15 | ******************************** | |
16 | * | |
17 | * - 1.3: Move translations to libretro_core_options_intl.h | |
18 | * - libretro_core_options_intl.h includes BOM and utf-8 | |
19 | * fix for MSVC 2010-2013 | |
20 | * - Added HAVE_NO_LANGEXTRA flag to disable translations | |
21 | * on platforms/compilers without BOM support | |
22 | * - 1.2: Use core options v1 interface when | |
23 | * RETRO_ENVIRONMENT_GET_CORE_OPTIONS_VERSION is >= 1 | |
24 | * (previously required RETRO_ENVIRONMENT_GET_CORE_OPTIONS_VERSION == 1) | |
25 | * - 1.1: Support generation of core options v0 retro_core_option_value | |
26 | * arrays containing options with a single value | |
27 | * - 1.0: First commit | |
28 | */ | |
29 | ||
30 | #ifdef __cplusplus | |
31 | extern "C" { | |
32 | #endif | |
33 | ||
34 | /* | |
35 | ******************************** | |
36 | * Core Option Definitions | |
37 | ******************************** | |
38 | */ | |
39 | ||
40 | /* RETRO_LANGUAGE_JAPANESE */ | |
41 | ||
42 | /* RETRO_LANGUAGE_FRENCH */ | |
43 | ||
44 | struct retro_core_option_definition option_defs_fr[] = { | |
45 | { | |
46 | "mycore_region", /* key must match option_defs_us entry */ | |
47 | "Région de la console", /* translated description */ | |
48 | "Spécifiez la région d'origine du système.", /* translated sublabel */ | |
49 | { | |
50 | { "auto", "Auto" }, /* value must match option_defs_us entry */ | |
51 | { "ntsc-j", "Japon" }, /* > only value_label should be translated */ | |
52 | { "ntsc-u", "Amérique" }, | |
53 | { "pal", "L'Europe" }, | |
54 | { NULL, NULL }, | |
55 | }, | |
56 | NULL /* default_value is taken from option_defs_us -> can set to NULL here */ | |
57 | }, | |
58 | { | |
59 | "mycore_video_scale", | |
60 | "Échelle vidéo", | |
61 | "Définir le facteur d'échelle vidéo interne.", | |
62 | { | |
63 | { NULL, NULL }, /* If value_labels do not require translation (e.g. numbers), values may be omitted */ | |
64 | }, | |
65 | NULL | |
66 | }, | |
67 | { | |
68 | "mycore_overclock", | |
69 | "Réduire le ralentissement", | |
70 | "Activer l'overclocking du processeur (non sécurisé).", | |
71 | { | |
72 | { NULL, NULL }, /* 'enabled' and 'disabled' values should not be translated */ | |
73 | }, | |
74 | NULL | |
75 | }, | |
76 | { NULL, NULL, NULL, {{0}}, NULL }, | |
77 | }; | |
78 | ||
79 | /* RETRO_LANGUAGE_SPANISH */ | |
80 | ||
81 | /* RETRO_LANGUAGE_GERMAN */ | |
82 | ||
83 | /* RETRO_LANGUAGE_ITALIAN */ | |
84 | ||
85 | /* RETRO_LANGUAGE_DUTCH */ | |
86 | ||
87 | /* RETRO_LANGUAGE_PORTUGUESE_BRAZIL */ | |
88 | ||
89 | /* RETRO_LANGUAGE_PORTUGUESE_PORTUGAL */ | |
90 | ||
91 | /* RETRO_LANGUAGE_RUSSIAN */ | |
92 | ||
93 | /* RETRO_LANGUAGE_KOREAN */ | |
94 | ||
95 | /* RETRO_LANGUAGE_CHINESE_TRADITIONAL */ | |
96 | ||
97 | /* RETRO_LANGUAGE_CHINESE_SIMPLIFIED */ | |
98 | ||
99 | /* RETRO_LANGUAGE_ESPERANTO */ | |
100 | ||
101 | /* RETRO_LANGUAGE_POLISH */ | |
102 | ||
103 | /* RETRO_LANGUAGE_VIETNAMESE */ | |
104 | ||
105 | /* RETRO_LANGUAGE_ARABIC */ | |
106 | ||
107 | /* RETRO_LANGUAGE_GREEK */ | |
108 | ||
109 | /* RETRO_LANGUAGE_TURKISH */ | |
110 | ||
111 | /* RETRO_LANGUAGE_SLOVAK */ | |
112 | ||
113 | /* RETRO_LANGUAGE_PERSIAN */ | |
114 | ||
115 | /* RETRO_LANGUAGE_HEBREW */ | |
116 | ||
117 | /* RETRO_LANGUAGE_ASTURIAN */ | |
118 | ||
119 | /* RETRO_LANGUAGE_FINNISH */ | |
120 | ||
121 | #ifdef __cplusplus | |
122 | } | |
123 | #endif | |
124 | ||
125 | #endif |