From: Fletcher T. Penney Date: Wed, 25 Jan 2017 00:03:41 +0000 (-0500) Subject: FIXED: Refactor i18n.h to allow disabling X-Git-Tag: 0.1.1a^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec1f8b65a2485666b0f5b4149050712d9ab4a084;p=multimarkdown FIXED: Refactor i18n.h to allow disabling --- diff --git a/src/i18n.h b/src/i18n.h index 1a489df..c52b68b 100644 --- a/src/i18n.h +++ b/src/i18n.h @@ -95,6 +95,9 @@ static inline const char * Translate(unsigned long x, int l) { } +#endif + + // Based on ISO 639-1 names // https://en.wikipedia.org/wiki/ISO_639-1 enum lc_languages { @@ -114,7 +117,4 @@ static inline short i18n_language_from_string(const char * l) { return 0; } - -#endif - #endif