X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fgettext.c;fp=webcit%2Fgettext.c;h=ba4b5f37feb3f74912242b16fc503ca93ce9f7e0;hb=a4ec41fd6e5840659d79f265aca66669df3c341a;hp=d687588336935dc355171d037356f96cbaa7830f;hpb=a5674792eabb60a64631c455e7f217275544dad2;p=citadel.git diff --git a/webcit/gettext.c b/webcit/gettext.c index d68758833..ba4b5f37f 100644 --- a/webcit/gettext.c +++ b/webcit/gettext.c @@ -427,10 +427,11 @@ void initialize_locales(void) { #endif /* ENABLE_NLS */ - void TmplGettext(StrBuf *Target, WCTemplputParams *TP) { - StrBufAppendBufPlain(Target, _(TP->Tokens->Params[0]->Start), -1, 0); + const char *Text = _(TP->Tokens->Params[0]->Start); + + StrBufAppendTemplateStr(Target, TP, Text, 1); }