1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-28 01:35:32 +00:00

Don't mark undisplayed names of modules for translation.

Exclude unneeded header files.  This partially reverts commit
90980a944e, with permission.
This commit is contained in:
Kalle Olavi Niemitalo 2007-03-23 00:51:56 +02:00 committed by Kalle Olavi Niemitalo
parent 48fd725c40
commit 443db69980
4 changed files with 17 additions and 7 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,