--- pgp/src/language.h 2018/04/24 16:37:53 1.1.1.1 +++ pgp/src/language.h 2018/04/24 16:45:22 1.1.1.6 @@ -3,31 +3,19 @@ * Include file for PGP foreign language translation facility */ - -/* Strings with PSTR() around them are found by automatic tools and put +/* + * Strings with LANG() around them are found by automatic tools and put * into the special text file to be translated into foreign languages. - * PSTR () (note the space between 'R' and '(') should be used if there + * LANG () (note the space between 'G' and '(') should be used if there * is no string to be extracted (eg. prototype). */ -extern char *PSTR (char *s); - -extern char language[]; /* language selector prefix for string file */ +extern char *LANG (char *s); -/* Internal/External representation conversion macros for conversion of - * user ID's (will be implemented in a future release of PGP, now they - * are just dummies) +/* + * Use the dummy macro _LANG for strings that should be extracted, but + * shouldn't be processed by the LANG function (eg. array initializers). */ -#define INTERNAL(s) /* String to internal string (at same place) */ -#define EXTERNAL(s) s /* String to external string */ - -extern char INT_C(char c); /* Char to internal char */ -extern char EXT_C(char c); /* Char to external char */ +#define _LANG(x) x -/* Plaintext files import/export conversion modes */ - -#define NO_CONV 0 /* No conversion needed */ -#define INT_CONV 1 /* Convert text to internal representation */ -#define EXT_CONV 2 /* Convert text to external representation */ - -extern int CONVERSION; /* Global var to rule copyfiles */ +extern char language[]; /* language selector prefix for string file */