From 10830ec23b30015ebfa5ef6e5d1186b247ddc3ff Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Tue, 28 Mar 2017 23:46:54 -0500 Subject: [PATCH] Added translation marker macro for strings in libslic3r. It's just there to tag strings for poedit to pick up. --- xs/src/libslic3r/libslic3r.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xs/src/libslic3r/libslic3r.h b/xs/src/libslic3r/libslic3r.h index 50b4241de..94b8141de 100644 --- a/xs/src/libslic3r/libslic3r.h +++ b/xs/src/libslic3r/libslic3r.h @@ -32,6 +32,8 @@ void confess_at(const char *file, int line, const char *func, const char *pat, . #define STDMOVE(WHAT) (WHAT) #endif +// dummy macro to mark strings for translation for gettext/poedit +#define __TRANS(s) s namespace Slic3r { constexpr auto SLIC3R_VERSION = "1.3.0-dev";