From 2421517a89d2426cedce23247b295197f7912da0 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Thu, 11 Apr 2002 18:14:35 +0000 Subject: GetStandardReplacements(): If there's just one choice of language, return the lang description as a non-selectable string. --- Mailman/HTMLFormatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman/HTMLFormatter.py') diff --git a/Mailman/HTMLFormatter.py b/Mailman/HTMLFormatter.py index 592bf3fe2..1beb73aaa 100644 --- a/Mailman/HTMLFormatter.py +++ b/Mailman/HTMLFormatter.py @@ -360,7 +360,7 @@ class HTMLFormatter: # If only one language is enabled for this mailing list, omit the # language choice buttons. if len(self.GetAvailableLanguages()) == 1: - listlangs = '' + listlangs = Utils.GetLanguageDescr(self.preferred_language) else: listlangs = self.GetLangSelectBox(lang).Format() return { -- cgit v1.2.3-70-g09d2