added [lang] ezc function for returning a localized string
This commit is contained in:
@@ -381,6 +381,15 @@ void winix_is_htmx_request(Info & i)
|
||||
}
|
||||
|
||||
|
||||
void lang(Info & i)
|
||||
{
|
||||
i.res = !i.par.empty();
|
||||
|
||||
if( i.res )
|
||||
i.out << locale.Get(i.par);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
} // namespace
|
||||
|
Reference in New Issue
Block a user