11 lines
247 B
C
11 lines
247 B
C
#ifndef GUICOMMON_H
|
|
#define GUICOMMON_H
|
|
|
|
#include "base/str.h"
|
|
|
|
#include "base/gettext.h"
|
|
// Qt requires strings from gettext to be in UTF-8 encoding.
|
|
#define _(string) (str::convert(gettext(string), str::localcharset(), "UTF-8").c_str())
|
|
|
|
#endif
|