Skip to content

Commit fd72bb5

Browse files
committed
translations: Split language_names to multiple lines to reduce the odds of merge conflicts
1 parent 79a4491 commit fd72bb5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/retro-go/translations.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#include "rg_localization.h"
22

3-
static const char *language_names[RG_LANG_MAX] = {"English", "Francais", "German"};
3+
static const char *language_names[RG_LANG_MAX] = {
4+
[RG_LANG_EN] = "English",
5+
[RG_LANG_FR] = "Francais",
6+
[RG_LANG_DE] = "German",
7+
};
48

59
static const char *translations[][RG_LANG_MAX] =
610
{

0 commit comments

Comments
 (0)