mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05: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:
parent
ac818c4837
commit
13acf06876
@ -990,7 +990,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,
|
||||
|
@ -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"
|
||||
@ -358,7 +357,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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user