From efc64d1bd5eb51194355873f867d41fae01ead74 Mon Sep 17 00:00:00 2001 From: William Kendrick Date: Thu, 23 Jul 2009 20:27:03 +0000 Subject: [PATCH] pt_PT -> pt --- docs/CHANGES.txt | 2 ++ src/i18n.c | 6 +++--- src/i18n.h | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index 887d294b6..394008ce1 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -24,6 +24,8 @@ $Id$ Nikolay Parukhin Sergei Popov + * Portuguese now using plain "pt" locale (vs. always specifying "_PT") + * Songhay translation Abdoul Cisse diff --git a/src/i18n.c b/src/i18n.c index 0f02ee186..0c592bdc2 100644 --- a/src/i18n.c +++ b/src/i18n.c @@ -25,7 +25,7 @@ $Id$ - June 14, 2002 - October 26, 2008 + June 14, 2002 - July 23, 2009 */ #include @@ -110,7 +110,7 @@ const char *lang_prefixes[NUM_LANGS] = { "oj", "pl", "pt_BR", - "pt_PT", + "pt", "ro", "ru", "rw", @@ -538,7 +538,7 @@ void show_lang_usage(FILE * f, const char *const prg) /* oc */ " occitan\n" /* oj */ " ojibwe ojibway\n" /* pl */ " polish polski\n" -/* pt_PT */ " portuguese portugues\n" +/* pt */ " portuguese portugues\n" /* ro */ " romanian\n" /* ru */ " russian russkiy\n" /* gd */ " scottish scottish-gaelic ghaidhlig\n" diff --git a/src/i18n.h b/src/i18n.h index 41fe47a45..1cfa8f80f 100644 --- a/src/i18n.h +++ b/src/i18n.h @@ -25,7 +25,7 @@ $Id$ - June 14, 2002 - January 23, 2009 + June 14, 2002 - July 23, 2009 */ @@ -96,7 +96,7 @@ enum LANG_OJ, /* Ojibway */ LANG_PL, /* Polish */ LANG_PT_BR, /* Portuguese (Brazilian) */ - LANG_PT_PT, /* Portuguese (Portugal) */ + LANG_PT, /* Portuguese */ LANG_RO, /* Romanian */ LANG_RU, /* Russian */ LANG_RW, /* Kinyarwanda */