ArcdpsExtension
 
Loading...
Searching...
No Matches
ExtensionTranslations.h
Go to the documentation of this file.
1#pragma once
2
3#include <magic_enum/magic_enum.hpp>
4
5#include <array>
6
7namespace ArcdpsExtension {
58
59 constexpr auto EXTENSION_TRANSLATION_ENGLISH = std::to_array({
60 "Left", // ET_Left,
61 "Right", // ET_Right,
62 "Centered", // ET_Center,
63 "Standard", // ET_Unaligned,
64 "Manual", // ET_PositionManual,
65 "Screen Relative", // ET_PositionScreenRelative,
66 "Window Relative", // ET_PositionWindowRelative,
67 "Unknown", // ET_Unknown,
68 "Top-Left", // ET_CornerPositionTopLeft,
69 "Top-Right", // ET_CornerPositionTopRight,
70 "Bottom-Left", // ET_CornerPositionBottomLeft,
71 "Bottom-Right", // ET_CornerPositionBottomRight,
72 "Size to Content", // ET_SizingPolicySizeToContent,
73 "Size Content to Window", // ET_SizingPolicySizeContentToWindow,
74 "Manual Window Size", // ET_SizingPolicyManualWindowSize,
75 "KeyBind", // ET_KeyInputPopupName,
76 "Apply", // ET_ApplyButton,
77 "Cancel", // ET_CancelButton,
78 "A new update for the {} is available.", // ET_UpdateDesc,
79 "Current version", // ET_UpdateCurrentVersion,
80 "New Version", // ET_UpdateNewVersion,
81 "Open download page", // ET_UpdateOpenPage,
82 "Update automatically", // ET_UpdateAutoButton,
83 "Autoupdate in progress", // ET_UpdateInProgress,
84 "Autoupdate finished, restart your game to activate it.", // ET_UpdateRestartPending,
85 "Autoupdate error, please update manually.", // ET_UpdateError,
86 "Style", // ET_Style
87 "Title bar", // ET_TitleBar
88 "Background", // ET_Background
89 "Scrollbar", // ET_Scrollbar
90 "Padding", // ET_Padding
91 "Sizing Policy", // ET_SizingPolicy
92 "Appear as in option", // ET_AppearAsInOption
93 "Title bar", // ET_TitleBarText
94 "Shortcut", // ET_Shortcut
95 "Position", // ET_Position
96 "From anchor panel corner", // ET_FromAnchorPanelCorner
97 "This panel corner", // ET_ThisPanelCorner
98 "Anchor window", // ET_AnchorWindow
99 "Column Setup", // ET_ColumnSetup
100 "Show Columns based on map", // ET_ShowBasedOnMap
101 "Alternating Row Background", // ET_AlternatingRowBg
102 "Highlight hovered row", // ET_HighlightHoveredRow
103 "max displayed", // ET_MaxDisplayed
104 "Header Alignment", // ET_HeaderAlignment
105 "Column Alignment", // ET_ColumnAlignment
106 "Language", // ET_Language
107 "Show header with text instead of images", // ET_SettingsShowHeaderText
108 });
109
110 const auto EXTENSION_TRANSLATION_GERMAN = std::to_array({
111 "Links", // ET_Left,
112 "Rechts", // ET_Right,
113 "Zentriert", // ET_Center,
114 "Standard", // ET_Unaligned,
115 "Manuell", // ET_PositionManual,
116 "Relativ zum Bildschirm", // ET_PositionScreenRelative,
117 "Relativ zu einem anderen Fenster", // ET_PositionWindowRelative,
118 "Unbekannt", // ET_Unknown,
119 "Oben-Links", // ET_CornerPositionTopLeft,
120 "Oben-Rechts", // ET_CornerPositionTopRight,
121 "Unten-Links", // ET_CornerPositionBottomLeft,
122 "Unten-Rechts", // ET_CornerPositionBottomRight,
123 "Passe Fenster an Inhalt an", // ET_SizingPolicySizeToContent,
124 "Passe Inhalt an Fenster an", // ET_SizingPolicySizeContentToWindow,
125 (const char*) u8"Manuelle Fenstergröße", // ET_SizingPolicyManualWindowSize,
126 "Tastenbelegung", // ET_KeyInputPopupName,
127 "Anwenden", // ET_ApplyButton,
128 "Abbrechen", // ET_CancelButton,
129 "Eine neue Version für das {} ist verfügbar.", // ET_UpdateDesc,
130 "Aktuelle Version", // ET_UpdateCurrentVersion,
131 "Neue Version", // ET_UpdateNewVersion,
132 (const char*) u8"Öffne Download Seite", // ET_UpdateOpenPage,
133 "Automatisch Aktualisieren", // ET_UpdateAutoButton,
134 "Aktualisierung im Gange", // ET_UpdateInProgress,
135 "Aktualisierung beendet, starte das Spiel neu zum Aktivieren.", // ET_UpdateRestartPending,
136 "Aktualisierung fehlgeschlagen, bitte update manuell.", // ET_UpdateError,
137 "Style", // ET_Style
138 "Titelleiste", // ET_TitleBar
139 "Hintergrund", // ET_Background
140 "Scrollleiste", // ET_Scrollbar
141 "Padding", // ET_Padding
142 (const char*) u8"Größenregeln", // ET_SizingPolicy
143 "Optionstext", // ET_AppearAsInOption
144 "Titelleiste Text", // ET_TitleBarText
145 (const char*) u8"Tastenkürzel", // ET_Shortcut
146 "Position", // ET_Position
147 "Ecke des anzuheftenden Fensters", // ET_FromAnchorPanelCorner
148 "Ecke des aktuellen Fensters", // ET_ThisPanelCorner
149 "Anzuheftendes Fenster", // ET_AnchorWindow
150 "Spalteneinstellung", // ET_ColumnSetup
151 "Zeige Spalten basierend auf der aktuellen Karte.", // ET_ShowBasedOnMap
152 "Abwechselnder Zeilenhintergrund", // ET_AlternatingRowBg
153 "Markiere die aktuelle Zeile", // ET_HighlightHoveredRow
154 "Maximale Anzahl an Zeilen", // ET_MaxDisplayed
155 "Ausrichtung der Kopfzeile", // ET_HeaderAlignment
156 "Ausrichtung des Inhalts", // ET_ColumnAlignment
157 "Sprache", // ET_Language
158 "Zeige Text anstatt von Icons in der Kopfzeile", // ET_SettingsShowHeaderText
159 });
160
161 constexpr auto EXTENSION_TRANSLATION_FRENCH = std::to_array({
162 u8"Gauche", // ET_Left,
163 u8"Droit", // ET_Right,
164 u8"Centré", // ET_Center,
165 u8"Standard", // ET_Unaligned,
166 u8"Manuel", // ET_PositionManual,
167 u8"Écran Relatif", // ET_PositionScreenRelative,
168 u8"Fenêtre relative", // ET_PositionWindowRelative,
169 u8"Inconnu", // ET_Unknown,
170 u8"Coin supérieur gauche", // ET_CornerPositionTopLeft,
171 u8"Coin supérieur droit", // ET_CornerPositionTopRight,
172 u8"Coin inférieur gauche", // ET_CornerPositionBottomLeft,
173 u8"Coin inférieur droit", // ET_CornerPositionBottomRight,
174 u8"Taille par rapport au contenu", // ET_SizingPolicySizeToContent,
175 u8"Taille du contenu par rapport à la fenêtre", // ET_SizingPolicySizeContentToWindow,
176 u8"Taille de la fenêtre manuelle", // ET_SizingPolicyManualWindowSize,
177 u8"Lier les touches", // ET_KeyInputPopupName,
178 u8"Appliquer", // ET_ApplyButton,
179 u8"Annuler", // ET_CancelButton,
180 u8"Une nouvelle mise à jour pour le {} est disponible.", // ET_UpdateDesc,
181 u8"Version actuelle", // ET_UpdateCurrentVersion,
182 u8"Nouvelle version", // ET_UpdateNewVersion,
183 u8"Ouvrir la page de téléchargement", // ET_UpdateOpenPage,
184 u8"Mise à jour automatique", // ET_UpdateAutoButton,
185 u8"Mise à jour automatique en cours", // ET_UpdateInProgress,
186 u8"La mise à jour automatique est terminée, redémarrez votre jeu pour l'activer.", // ET_UpdateRestartPending,
187 u8"Erreur de mise à jour automatique, veuillez mettre à jour manuellement.", // ET_UpdateError,
188 u8"Style", // ET_Style
189 u8"Barre de titre", // ET_TitleBar
190 u8"Fond d'écran", // ET_Background
191 u8"Barre de défilement", // ET_Scrollbar
192 u8"Padding", // ET_Padding
193 u8"Règle de dimensionnement", // ET_SizingPolicy
194 u8"Apparaître comme dans l'option", // ET_AppearAsInOption
195 u8"Barre de titre", // ET_TitleBarText
196 u8"Raccourci", // ET_Shortcut
197 u8"Position", // ET_Position
198 u8"Depuis le coin du panneau d'ancrage", // ET_FromAnchorPanelCorner
199 u8"Ce coin de panneau", // ET_ThisPanelCorner
200 u8"Fenêtre d'ancrage", // ET_AnchorWindow
201 u8"Configuration des colonnes", // ET_ColumnSetup
202 u8"Afficher les colonnes en fonction de la carte", // ET_ShowBasedOnMap
203 u8"Fond à rangs alternés", // ET_AlternatingRowBg
204 u8"Mettre en surbrillance la ligne survolée", // ET_HighlightHoveredRow
205 u8"max affiché", // ET_MaxDisplayed
206 u8"Alignement de l'en-tête", // ET_HeaderAlignment
207 u8"Alignement des colonnes", // ET_ColumnAlignment
208 u8"Langue", // ET_Language
209 u8"Afficher l'en-tête avec du texte au lieu des images", // ET_SettingsShowHeaderText
210 });
211
212 constexpr auto EXTENSION_TRANSLATION_SPANISH = std::to_array({
213 u8"Izquierda", // ET_Left,
214 u8"Derecha", // ET_Right,
215 u8"Centrado", // ET_Center,
216 u8"Estándar", // ET_Unaligned,
217 u8"Manual", // ET_PositionManual,
218 u8"Relativo a la pantalla", // ET_PositionScreenRelative,
219 u8"Relativo a la ventana", // ET_PositionWindowRelative,
220 u8"Desconocido", // ET_Unknown,
221 u8"Arriba a la izquierda", // ET_CornerPositionTopLeft,
222 u8"Arriba a la derecha", // ET_CornerPositionTopRight,
223 u8"Abajo a la izquierda", // ET_CornerPositionBottomLeft,
224 u8"Abajo a la derecha", // ET_CornerPositionBottomRight,
225 u8"Tamaño al contenido", // ET_SizingPolicySizeToContent,
226 u8"Tamaño del contenido a la ventana", // ET_SizingPolicySizeContentToWindow,
227 u8"Tamaño de la ventana de Manuel", // ET_SizingPolicyManualWindowSize,
228 u8"Encuadernación de teclas", // ET_KeyInputPopupName,
229 u8"Aplicar", // ET_ApplyButton,
230 u8"Cancelar", // ET_CancelButton,
231 u8"Está disponible una nueva actualización para el {}.", // ET_UpdateDesc,
232 u8"Versión actual", // ET_UpdateCurrentVersion,
233 u8"Nueva versión", // ET_UpdateNewVersion,
234 u8"Abrir la página de descarga", // ET_UpdateOpenPage,
235 u8"Actualizar automáticamente", // ET_UpdateAutoButton,
236 u8"Actualización automática en curso", // ET_UpdateInProgress,
237 u8"La actualización automática ha finalizado, reinicia el juego para activarla.", // ET_UpdateRestartPending,
238 u8"Error de actualización automática, por favor, actualice manualmente.", // ET_UpdateError,
239 u8"Estilo", // ET_Style
240 u8"Barra de título", // ET_TitleBar
241 u8"Antecedentes", // ET_Background
242 u8"Barra de desplazamiento", // ET_Scrollbar
243 u8"Padding", // ET_Padding
244 u8"Política de tallas", // ET_SizingPolicy
245 u8"Aparecer como en la opción", // ET_AppearAsInOption
246 u8"Barra de título", // ET_TitleBarText
247 u8"Atajo", // ET_Shortcut
248 u8"Posición", // ET_Position
249 u8"Desde la esquina del panel de anclaje", // ET_FromAnchorPanelCorner
250 u8"Esta esquina del panel", // ET_ThisPanelCorner
251 u8"Ventana de anclaje", // ET_AnchorWindow
252 u8"Configuración de la columna", // ET_ColumnSetup
253 u8"Mostrar columnas basadas en el mapa", // ET_ShowBasedOnMap
254 u8"Fondo de filas alternas", // ET_AlternatingRowBg
255 u8"Resaltar la fila que se ha desplazado", // ET_HighlightHoveredRow
256 u8"máximo mostrado", // ET_MaxDisplayed
257 u8"Alineación de la cabecera", // ET_HeaderAlignment
258 u8"Alineación de columnas", // ET_ColumnAlignment
259 u8"Idioma", // ET_Language
260 u8"Mostrar la cabecera con texto en lugar de imágenes", // ET_SettingsShowHeaderText
261 });
262} // namespace ArcdpsExtension
263
264static_assert(ArcdpsExtension::EXTENSION_TRANSLATION_ENGLISH.size() == magic_enum::enum_count<ArcdpsExtension::ExtensionTranslation>());
Definition ArcdpsExtension.h:10
const auto EXTENSION_TRANSLATION_GERMAN
Definition ExtensionTranslations.h:110
constexpr auto EXTENSION_TRANSLATION_FRENCH
Definition ExtensionTranslations.h:161
constexpr auto EXTENSION_TRANSLATION_SPANISH
Definition ExtensionTranslations.h:212
constexpr auto EXTENSION_TRANSLATION_ENGLISH
Definition ExtensionTranslations.h:59
ExtensionTranslation
Definition ExtensionTranslations.h:8
@ ET_KeyInputPopupName
Definition ExtensionTranslations.h:24
@ ET_Shortcut
Definition ExtensionTranslations.h:43
@ ET_TitleBarText
Definition ExtensionTranslations.h:42
@ ET_SizingPolicy
Definition ExtensionTranslations.h:40
@ ET_UpdateOpenPage
Definition ExtensionTranslations.h:30
@ ET_ApplyButton
Definition ExtensionTranslations.h:25
@ ET_PositionScreenRelative
Definition ExtensionTranslations.h:14
@ ET_ShowBasedOnMap
Definition ExtensionTranslations.h:49
@ ET_HighlightHoveredRow
Definition ExtensionTranslations.h:51
@ ET_Position
Definition ExtensionTranslations.h:44
@ ET_Unknown
Definition ExtensionTranslations.h:16
@ ET_CornerPositionTopRight
Definition ExtensionTranslations.h:18
@ ET_Language
Definition ExtensionTranslations.h:55
@ ET_PositionManual
Definition ExtensionTranslations.h:13
@ ET_TitleBar
Definition ExtensionTranslations.h:36
@ ET_Padding
Definition ExtensionTranslations.h:39
@ ET_ColumnSetup
Definition ExtensionTranslations.h:48
@ ET_AlternatingRowBg
Definition ExtensionTranslations.h:50
@ ET_ThisPanelCorner
Definition ExtensionTranslations.h:46
@ ET_UpdateInProgress
Definition ExtensionTranslations.h:32
@ ET_SizingPolicySizeToContent
Definition ExtensionTranslations.h:21
@ ET_FromAnchorPanelCorner
Definition ExtensionTranslations.h:45
@ ET_CornerPositionTopLeft
Definition ExtensionTranslations.h:17
@ ET_AppearAsInOption
Definition ExtensionTranslations.h:41
@ ET_Right
Definition ExtensionTranslations.h:10
@ ET_CornerPositionBottomLeft
Definition ExtensionTranslations.h:19
@ ET_UpdateRestartPending
Definition ExtensionTranslations.h:33
@ ET_Center
Definition ExtensionTranslations.h:11
@ ET_UpdateError
Definition ExtensionTranslations.h:34
@ ET_Background
Definition ExtensionTranslations.h:37
@ ET_Style
Definition ExtensionTranslations.h:35
@ ET_UpdateCurrentVersion
Definition ExtensionTranslations.h:28
@ ET_AnchorWindow
Definition ExtensionTranslations.h:47
@ ET_CornerPositionBottomRight
Definition ExtensionTranslations.h:20
@ ET_SizingPolicyManualWindowSize
Definition ExtensionTranslations.h:23
@ ET_HeaderAlignment
Definition ExtensionTranslations.h:53
@ ET_Scrollbar
Definition ExtensionTranslations.h:38
@ ET_PositionWindowRelative
Definition ExtensionTranslations.h:15
@ ET_Unaligned
Definition ExtensionTranslations.h:12
@ ET_Left
Definition ExtensionTranslations.h:9
@ ET_SizingPolicySizeContentToWindow
Definition ExtensionTranslations.h:22
@ ET_SettingsShowHeaderText
Definition ExtensionTranslations.h:56
@ ET_MaxDisplayed
Definition ExtensionTranslations.h:52
@ ET_UpdateDesc
Definition ExtensionTranslations.h:27
@ ET_CancelButton
Definition ExtensionTranslations.h:26
@ ET_ColumnAlignment
Definition ExtensionTranslations.h:54
@ ET_UpdateNewVersion
Definition ExtensionTranslations.h:29
@ ET_UpdateAutoButton
Definition ExtensionTranslations.h:31