From cffef417bb9e0a231968c5fbadca8e5141a65083 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 26 Nov 1998 03:58:57 +0000 Subject: Internationalization support via GNU gettext(). svn path=/trunk/; revision=2208 --- design-notes.html | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) (limited to 'design-notes.html') diff --git a/design-notes.html b/design-notes.html index fe4a511c..2e7a55da 100644 --- a/design-notes.html +++ b/design-notes.html @@ -10,7 +10,7 @@
Back to Fetchmail Home Page To Site Map -$Date: 1998/11/22 18:28:43 $ +$Date: 1998/11/26 03:58:51 $

Design Notes On Fetchmail

@@ -237,13 +237,13 @@ careful to preserve.

for the most common case can be much simpler and more robust.

  • - The multidrop handing does not rely on doing the equivalent of passing - the message to sendmail -oem -t. Instead, it explicitly mines members - of a specified set of local usernames out of the header.

    + The multidrop handing does not rely on doing the equivalent of + passing the message to sendmail -oem -t. Instead, it explicitly mines + members of a specified set of local usernames out of the header.

  • - We do not attempt delivery to multidrop mailboxes in the presence of DNS - errors. Before each multidrop poll we probe DNS to see if we have a + We do not attempt delivery to multidrop mailboxes in the presence + of DNS errors. Before each multidrop poll we probe DNS to see if we have a nameserver handy. If not, the poll is skipped. If DNS crashes during a poll, the error return from the next nameserver lookup aborts message delivery and ends the poll. The daemon mode will then quietly spin until @@ -299,6 +299,18 @@ in a system's libc, but we can just include that source file if the day comes when we want to support IPv6 without the inet6-apps library. It just makes life easier.

    +

    Internationalization

    + +Internationalization is handled using GNU gettext (see the file +ABOUT_NLS in the source distribution). This places some +minor constraints on the code.

    + +Strings that must be subject to translation should be wrapped with _() +or N_() -- the former in functuib arguments, the latter in static +initializers and other non-function-argument contexts.

    + +To test the support +

    Checklist for Adding Options

    Adding a control option is not complicated in principle, but there are @@ -516,7 +528,7 @@ all shaped the design in one way or another.

    Back to Fetchmail Home Page To Site Map -$Date: 1998/11/22 18:28:43 $ +$Date: 1998/11/26 03:58:51 $

    Eric S. Raymond <esr@snark.thyrsus.com>
    -- cgit v1.2.3