From 84fafecfcb76c62ea35245cc42ea2dca4b3b6036 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Mon, 22 Mar 2004 19:09:12 +0000 Subject: [PATCH] PO gettext support from debian --- src/names.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/names.h b/src/names.h index 79013db7..ad932803 100644 --- a/src/names.h +++ b/src/names.h @@ -37,7 +37,7 @@ * appear at fixed offsets into the file. Don't make HOWMANY * too high unless you have a very fast CPU. * - * $Id: names.h,v 1.23 2003/10/14 19:29:55 christos Exp $ + * $Id: names.h,v 1.24 2004/03/22 19:09:12 christos Exp $ */ /* @@ -60,6 +60,7 @@ #define L_HTML 11 /* HTML */ #define L_BCPL 12 /* BCPL */ #define L_M4 13 /* M4 */ +#define L_PO 14 /* PO */ static const struct { const char *human; @@ -71,7 +72,7 @@ static const struct { { "make commands", "text/x-makefile" }, { "PL/1 program", "text/x-pl1" }, { "assembler program", "text/x-asm" }, - { "English", "text/plain, English" }, + { "English", "text/plain" }, { "Pascal program", "text/x-pascal" }, { "mail", "text/x-mail" }, { "news", "text/x-news" }, @@ -79,6 +80,7 @@ static const struct { { "HTML document", "text/html", }, { "BCPL program", "text/x-bcpl" }, { "M4 macro language pre-processor", "text/x-m4" }, + { "PO (gettext message catalogue)", "text/x-po" }, { "cannot happen error on names.h/types", "error/x-error" }, { 0, 0} }; @@ -125,6 +127,7 @@ static struct names { } names[] = { /* These must be sorted by eye for optimal hit rate */ /* Add to this list only after substantial meditation */ + {"msgid", L_PO}, {"dnl", L_M4}, {"import", L_JAVA}, {"\"libhdr\"", L_BCPL}, -- 2.40.0