mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-11 21:09:56 -06:00
23.01
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
// LangUtils.h
|
||||
|
||||
#ifndef __LANG_UTILS_H
|
||||
#define __LANG_UTILS_H
|
||||
#ifndef ZIP7_INC_LANG_UTILS_H
|
||||
#define ZIP7_INC_LANG_UTILS_H
|
||||
|
||||
#include "../../../Common/Lang.h"
|
||||
|
||||
#include "../../../Windows/ResourceString.h"
|
||||
|
||||
#ifdef LANG
|
||||
|
||||
extern UString g_LangID;
|
||||
extern CLang g_Lang;
|
||||
|
||||
#ifdef Z7_LANG
|
||||
|
||||
struct CIDLangPair
|
||||
{
|
||||
@@ -17,11 +20,11 @@ struct CIDLangPair
|
||||
|
||||
void ReloadLang();
|
||||
void LoadLangOneTime();
|
||||
FString GetLangDirPrefix();
|
||||
|
||||
void LangSetDlgItemText(HWND dialog, UInt32 controlID, UInt32 langID);
|
||||
void LangSetDlgItems(HWND dialog, const UInt32 *ids, unsigned numItems);
|
||||
void LangSetDlgItems_Colon(HWND dialog, const UInt32 *ids, unsigned numItems);
|
||||
void LangSetDlgItems_RemoveColon(HWND dialog, const UInt32 *ids, unsigned numItems);
|
||||
void LangSetWindowText(HWND window, UInt32 langID);
|
||||
|
||||
UString LangString(UInt32 langID);
|
||||
@@ -37,4 +40,9 @@ inline void AddLangString(UString &s, UInt32 langID) { s += NWindows::MyLoadStri
|
||||
|
||||
#endif
|
||||
|
||||
FString GetLangDirPrefix();
|
||||
// bool LangOpen(CLang &lang, CFSTR fileName);
|
||||
|
||||
void Lang_GetShortNames_for_DefaultLang(AStringVector &names, unsigned &subLang);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user