libexplain  1.4.D001
Functions
libexplain/buffer/gettext.c File Reference
#include <libexplain/buffer/gettext.h>
#include <libexplain/gettext.h>

Go to the source code of this file.

Functions

void explain_buffer_gettext (explain_string_buffer_t *sb, const char *text)
void explain_buffer_gettext_printf (explain_string_buffer_t *sb, const char *fmt,...)

Function Documentation

void explain_buffer_gettext ( explain_string_buffer_t sb,
const char *  str 
)

The explain_buffer_gettext function may be used to translate a string via gettext, and then print it on the given string buffer.

Parameters:
sbThe string buffer to print on.
strThe string to be localized and printed.

Definition at line 25 of file gettext.c.

void explain_buffer_gettext_printf ( explain_string_buffer_t sb,
const char *  fmt,
  ... 
)

Definition at line 32 of file gettext.c.