From: Fletcher T. Penney Date: Thu, 19 Jan 2017 22:19:26 +0000 (-0500) Subject: CHANGED: Rename internationalization file X-Git-Tag: 0.1.1a^2~21^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66a284e3f8def6399d30f827f159385f06f59681;p=multimarkdown CHANGED: Rename internationalization file --- diff --git a/src/html.c b/src/html.c index 57d4dfe..37f758a 100644 --- a/src/html.c +++ b/src/html.c @@ -60,7 +60,7 @@ #include "d_string.h" #include "html.h" #include "libMultiMarkdown.h" -#include "localization.h" +#include "i18n.h" #include "parser.h" #include "token.h" #include "scanners.h" diff --git a/src/localization.h b/src/i18n.h similarity index 82% rename from src/localization.h rename to src/i18n.h index 9f87259..a6f09af 100644 --- a/src/localization.h +++ b/src/i18n.h @@ -2,9 +2,9 @@ MultiMarkdown 6 -- MultiMarkdown - lightweight markup processor. - @file localization.h + @file i18n.h - @brief + @brief Provide rudimentary ability to provide translation string functionality. @author Fletcher T. Penney @@ -19,8 +19,8 @@ */ -#ifndef LOCALIZATION_MULTIMARKDOWN_6_H -#define LOCALIZATION_MULTIMARKDOWN_6_H +#ifndef I18N_MULTIMARKDOWN_6_H +#define I18N_MULTIMARKDOWN_6_H #include @@ -33,14 +33,14 @@ #define kNumberOfStrings 3 #define kLanguage 0 -//#define LOCALIZATION_DISABLED +//#define I18N_DISABLED // Hash function from http://lolengine.net/blog/2011/12/20/cpp-constant-string-hash // via http://stackoverflow.com/questions/2826559/compile-time-preprocessor-hashing-of-string -#ifdef LOCALIZATION_DISABLED +#ifdef I18N_DISABLED #define LC(x) x #else #define H1(s,i,x) (x*65599u+(uint8_t)s[(i)