better match the output to the handcrafted version we shipped
Guido Günther
14 years ago
|
0 |
Fri May 15 19:08:22 CEST 2009 Guido Günther <agx@sigxcpu.org>
|
|
1 |
|
|
2 |
* etpo/lexer.l: better match the output to the handcrafted version we
|
|
3 |
shipped before.
|
|
4 |
|
0 | 5 |
Fri May 15 19:06:09 CEST 2009 Guido Günther <agx@sigxcpu.org>
|
1 | 6 |
|
2 | 7 |
Reduce number of translations by filtering the error messages
|
103 | 103 |
static void
|
104 | 104 |
header(void)
|
105 | 105 |
{
|
106 | |
const char *boilerplate = "const char *dummy = {\n";
|
|
106 |
const char *boilerplate = "#include <glib/gi18n.h>\n\nconst char *dummy[] = {\n";
|
107 | 107 |
printf("%s", boilerplate);
|
108 | 108 |
}
|
109 | 109 |
|
110 | 110 |
static void
|
111 | 111 |
tail(void)
|
112 | 112 |
{
|
113 | |
const char *boilerplate = "};\n";
|
|
113 |
const char *boilerplate = "\tNULL\n};\n";
|
114 | 114 |
printf("%s", boilerplate);
|
115 | 115 |
}
|
116 | 116 |
|
0 | 0 |
/* Generated by hand via "cd etpo; make update-etpo" from /tmp/krb5-1.6.dfsg.4~beta1/ */
|
1 | |
const char *dummy = {
|
|
1 |
#include <glib/gi18n.h>
|
|
2 |
|
|
3 |
const char *dummy[] = {
|
2 | 4 |
N_("ASN.1 failed call to system time library"), /* asn1_err.et:asn1:ASN1_BAD_TIMEFORMAT */
|
3 | 5 |
N_("ASN.1 structure is missing a required field"), /* asn1_err.et:asn1:ASN1_MISSING_FIELD */
|
4 | 6 |
N_("ASN.1 unexpected field number"), /* asn1_err.et:asn1:ASN1_MISPLACED_FIELD */
|
|
261 | 263 |
N_("Bad magic number for passwd_phrase_element"), /* kv5m_err.et:kv5m:KV5M_PASSWD_PHRASE_ELEMENT */
|
262 | 264 |
N_("Bad magic number for GSSAPI OID"), /* kv5m_err.et:kv5m:KV5M_GSS_OID */
|
263 | 265 |
N_("Bad magic number for GSSAPI QUEUE"), /* kv5m_err.et:kv5m:KV5M_GSS_QUEUE */
|
|
266 |
NULL
|
264 | 267 |
};
|