diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-12-27 08:13:20 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-12-27 08:13:20 -0600 |
commit | 9b92536e6c51b66406d593745a938975e226f95e (patch) | |
tree | a40b0066dc774827f602f5e372c2f53656007553 /src/libr-i18n.h | |
download | libr-9b92536e6c51b66406d593745a938975e226f95e.tar.gz libr-9b92536e6c51b66406d593745a938975e226f95e.zip |
Initial import
Diffstat (limited to 'src/libr-i18n.h')
-rw-r--r-- | src/libr-i18n.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libr-i18n.h b/src/libr-i18n.h new file mode 100644 index 0000000..5b61546 --- /dev/null +++ b/src/libr-i18n.h @@ -0,0 +1,14 @@ +#ifndef __LIBR_I18N_H +#define __LIBR_I18N_H + +#include "libr.h" +#include "gettext.h" + +#define _(string) gettext(string) +/* for strings used in structures (must manually call gettext!): */ +#define N_(string) (string) + +int libr_i18n_autoload(const char *domain); +int libr_i18n_load(libr_file *handle, const char *domain); + +#endif /* __LIBR_I18N_H */ |