e_intl: Fix formatting

NB: No functional changes
This commit is contained in:
Christopher Michael 2020-09-17 12:14:20 -04:00
parent 9f33fbf62e
commit 595babc0eb
1 changed files with 17 additions and 17 deletions

View File

@ -3,33 +3,33 @@
# if E_INTERNAL # if E_INTERNAL
# ifdef HAVE_GETTEXT # ifdef HAVE_GETTEXT
#define _(str) gettext(str) # define _(str) gettext(str)
#define d_(str, dom) dgettext(PACKAGE dom, str) # define d_(str, dom) dgettext(PACKAGE dom, str)
#define P_(str, str_p, n) ngettext(str, str_p, n) # define P_(str, str_p, n) ngettext(str, str_p, n)
#define dP_(str, str_p, n, dom) dngettext(PACKAGE dom, str, str_p, n) # define dP_(str, str_p, n, dom) dngettext(PACKAGE dom, str, str_p, n)
# else # else
#define _(str) (str) # define _(str) (str)
#define d_(str, dom) (str) # define d_(str, dom) (str)
#define P_(str, str_p, n) (str_p) # define P_(str, str_p, n) (str_p)
#define dP_(str, str_p, n, dom) (str_p) # define dP_(str, str_p, n, dom) (str_p)
# endif # endif
/* These macros are used to just mark strings for translation, this is useful /* These macros are used to just mark strings for translation, this is useful
* for string lists which are not dynamically allocated * for string lists which are not dynamically allocated
*/ */
#define N_(str) (str) # define N_(str) (str)
#define NP_(str, str_p) str, str_p # define NP_(str, str_p) str, str_p
# endif # endif
# endif # endif
typedef struct _E_Locale_Parts E_Locale_Parts; typedef struct _E_Locale_Parts E_Locale_Parts;
# else #else
#ifndef E_INTL_H # ifndef E_INTL_H
#define E_INTL_H # define E_INTL_H
#define E_INTL_LOC_CODESET 1 << 0 # define E_INTL_LOC_CODESET 1 << 0
#define E_INTL_LOC_REGION 1 << 1 # define E_INTL_LOC_REGION 1 << 1
#define E_INTL_LOC_MODIFIER 1 << 2 # define E_INTL_LOC_MODIFIER 1 << 2
#define E_INTL_LOC_LANG 1 << 3 # define E_INTL_LOC_LANG 1 << 3
struct _E_Locale_Parts struct _E_Locale_Parts
{ {