Skip to content

Instantly share code, notes, and snippets.

@capnramses
Created March 12, 2017 14:24
Show Gist options
  • Save capnramses/a6e81a05738e7b813cf1cd0213c517a3 to your computer and use it in GitHub Desktop.
Save capnramses/a6e81a05738e7b813cf1cd0213c517a3 to your computer and use it in GitHub Desktop.
these are all my text strings at the moment.
i store them like this per language:
wchar_t* g_english_strings[] = {
[TEXT_STRING_NAME_OF_LANG] = L"English",
[TEXT_STRING_NEW_GAME] = L"New Game",
[TEXT_STRING_QUIT] = L"Quit",
[TEXT_STRING_OPTIONS] = L"Options",
[TEXT_STRING_HOST] = L"Host Game",
[TEXT_STRING_JOIN] = L"Join Game",
[TEXT_STRING_CANCEL] = L"Cancel",
[TEXT_STRING_START] = L"Start",
[TEXT_STRING_IP_ADDRESS] = L"IP Address",
[TEXT_STRING_CONNECTING] = L"Connecting..."
};
@ahmedalkabir
Copy link

ahmedalkabir commented Jul 7, 2018

@capnramses, I realized that I made mistake TEXT_STRING_JOIN so I edited you can check it in my last comment

@kerembaydogan
Copy link

wchar_t* g_english_strings[] = {
[TEXT_STRING_NAME_OF_LANG] = L"Türkçe",
[TEXT_STRING_NEW_GAME] = L"Yeni Oyun",
[TEXT_STRING_QUIT] = L"Çıkış",
[TEXT_STRING_OPTIONS] = L"Seçenekler",
[TEXT_STRING_HOST] = L"Oyun Kur",
[TEXT_STRING_JOIN] = L"Oyuna Katıl",
[TEXT_STRING_CANCEL] = L"İptal",
[TEXT_STRING_START] = L"Başlat",
[TEXT_STRING_IP_ADDRESS] = L"IP Adresi",
[TEXT_STRING_CONNECTING] = L"Bağlanıyor..."
};

@sblee518
Copy link

wchar_t* g_korean_strings[] = {
[TEXT_STRING_NAME_OF_LANG] = L"한글",
[TEXT_STRING_NEW_GAME] = L"새 게임",
[TEXT_STRING_QUIT] = L"나가기",
[TEXT_STRING_OPTIONS] = L"설정",
[TEXT_STRING_HOST] = L"게임 생성",
[TEXT_STRING_JOIN] = L"게임 참가",
[TEXT_STRING_CANCEL] = L"취소",
[TEXT_STRING_START] = L"시작",
[TEXT_STRING_IP_ADDRESS] = L"IP 주소",
[TEXT_STRING_CONNECTING] = L"연결중..."
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment