diff --git a/src/config/kbdbind.c b/src/config/kbdbind.c index 90812780..6a58773e 100644 --- a/src/config/kbdbind.c +++ b/src/config/kbdbind.c @@ -989,7 +989,10 @@ bind_config_string(struct string *file) } struct module kbdbind_module = struct_module( - /* name: */ N_("Keyboard Bindings"), + /* Because this module is listed in main_modules rather than + * in builtin_modules, its name does not appear in the user + * interface and so need not be translatable. */ + /* name: */ "Keyboard Bindings", /* options: */ NULL, /* hooks: */ NULL, /* submodules: */ NULL, diff --git a/src/document/document.c b/src/document/document.c index 7dc6b6c1..9c0d4d75 100644 --- a/src/document/document.c +++ b/src/document/document.c @@ -21,7 +21,6 @@ #include "document/html/renderer.h" #include "document/options.h" #include "document/refresh.h" -#include "intl/gettext/libintl.h" #include "main/module.h" #include "main/object.h" #include "protocol/uri.h" @@ -343,7 +342,10 @@ done_documents(struct module *module) } struct module document_module = struct_module( - /* name: */ N_("Document"), + /* Because this module is listed in main_modules rather than + * in builtin_modules, its name does not appear in the user + * interface and so need not be translatable. */ + /* name: */ "Document", /* options: */ NULL, /* hooks: */ NULL, /* submodules: */ NULL, diff --git a/src/terminal/screen.c b/src/terminal/screen.c index 3ab77d47..0c762fa3 100644 --- a/src/terminal/screen.c +++ b/src/terminal/screen.c @@ -11,7 +11,6 @@ #include "config/options.h" #include "intl/charsets.h" -#include "intl/gettext/libintl.h" #include "main/module.h" #include "osdep/ascii.h" #include "osdep/osdep.h" @@ -1126,7 +1125,11 @@ done_screen(struct terminal_screen *screen) } struct module terminal_screen_module = struct_module( - /* name: */ N_("Terminal Screen"), + /* Because this module is a submodule of terminal_module, + * which is listed main_modules rather than in builtin_modules, + * its name does not appear in the user interface and + * so need not be translatable. */ + /* name: */ "Terminal Screen", /* options: */ NULL, /* hooks: */ NULL, /* submodules: */ NULL, diff --git a/src/terminal/terminal.c b/src/terminal/terminal.c index 45456565..befaa0a1 100644 --- a/src/terminal/terminal.c +++ b/src/terminal/terminal.c @@ -16,7 +16,6 @@ #include "bookmarks/bookmarks.h" #include "config/options.h" -#include "intl/gettext/libintl.h" #include "main/main.h" #include "main/module.h" #include "main/object.h" @@ -380,7 +379,10 @@ static struct module *terminal_submodules[] = { }; struct module terminal_module = struct_module( - /* name: */ N_("Terminal"), + /* Because this module is listed in main_modules rather than + * in builtin_modules, its name does not appear in the user + * interface and so need not be translatable. */ + /* name: */ "Terminal", /* options: */ NULL, /* hooks: */ NULL, /* submodules: */ terminal_submodules,