fix: send origin meta text to application
This commit is contained in:
parent
2be9cf21ae
commit
8d7546ad5b
@ -66,6 +66,8 @@
|
|||||||
#define REGISTER_TRANS_READER() \
|
#define REGISTER_TRANS_READER() \
|
||||||
GFAppRegisterTranslatorReader(GFGetModuleID(), TranslatorDataReader)
|
GFAppRegisterTranslatorReader(GFGetModuleID(), TranslatorDataReader)
|
||||||
|
|
||||||
|
#define GC_TR(text) QT_TRANSLATE_NOOP("GTrC", text)
|
||||||
|
|
||||||
#define CONCATENATE_DETAIL(x, y) x##y
|
#define CONCATENATE_DETAIL(x, y) x##y
|
||||||
#define CONCATENATE(x, y) CONCATENATE_DETAIL(x, y)
|
#define CONCATENATE(x, y) CONCATENATE_DETAIL(x, y)
|
||||||
#define GTRC_TR(name, src) CONCATENATE(GTrC_, name)::tr(src)
|
#define GTRC_TR(name, src) CONCATENATE(GTrC_, name)::tr(src)
|
||||||
|
@ -78,7 +78,7 @@ auto GFRegisterModule() -> int {
|
|||||||
|
|
||||||
GFUIMountEntry(DUP("AboutDialogTabs"),
|
GFUIMountEntry(DUP("AboutDialogTabs"),
|
||||||
QMapToMetaDataArray({
|
QMapToMetaDataArray({
|
||||||
{"TabTitle", GTrC::tr("GnuPG")},
|
{"TabTitle", GC_TR("GnuPG")},
|
||||||
}),
|
}),
|
||||||
1, GnupgTabFactory);
|
1, GnupgTabFactory);
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ auto GFRegisterModule() -> int {
|
|||||||
|
|
||||||
GFUIMountEntry(DUP("AboutDialogTabs"),
|
GFUIMountEntry(DUP("AboutDialogTabs"),
|
||||||
QMapToMetaDataArray({
|
QMapToMetaDataArray({
|
||||||
{"TabTitle", GTrC::tr("Update")},
|
{"TabTitle", GC_TR("Update")},
|
||||||
}),
|
}),
|
||||||
1, UpdateTabFactory);
|
1, UpdateTabFactory);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user