]> granicus.if.org Git - multimarkdown/commitdiff
FIXED: Refactor i18n.h to allow disabling
authorFletcher T. Penney <fletcher@fletcherpenney.net>
Wed, 25 Jan 2017 00:03:41 +0000 (19:03 -0500)
committerFletcher T. Penney <fletcher@fletcherpenney.net>
Wed, 25 Jan 2017 00:03:41 +0000 (19:03 -0500)
src/i18n.h

index 1a489dfa9a68e6dabc3555201f0b877ff4b269d4..c52b68b39b2ea52337f9fe2bdc99dcb1f2597ad6 100644 (file)
@@ -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