1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Mark all module names for translation and include needed header files.

This commit is contained in:
Laurent MONIN 2007-03-21 11:01:06 +01:00 committed by Witold Filipczyk
parent 36ce51f912
commit a4f1b7e489
15 changed files with 25 additions and 15 deletions

View File

@ -990,7 +990,7 @@ bind_config_string(struct string *file)
}
struct module kbdbind_module = struct_module(
/* name: */ "Keyboard Bindings",
/* name: */ N_("Keyboard Bindings"),
/* options: */ NULL,
/* hooks: */ NULL,
/* submodules: */ NULL,

View File

@ -21,6 +21,7 @@
#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"
@ -357,7 +358,7 @@ done_documents(struct module *module)
}
struct module document_module = struct_module(
/* name: */ "Document",
/* name: */ N_("Document"),
/* options: */ NULL,
/* hooks: */ NULL,
/* submodules: */ NULL,

View File

@ -238,7 +238,7 @@ see_eval_boolback(struct ecmascript_interpreter *interpreter,
}
struct module see_module = struct_module(
/* name: */ "SEE",
/* name: */ N_("SEE"),
/* options: */ NULL,
/* events: */ NULL,
/* submodules: */ NULL,

View File

@ -312,7 +312,7 @@ spidermonkey_eval_boolback(struct ecmascript_interpreter *interpreter,
}
struct module spidermonkey_module = struct_module(
/* name: */ "SpiderMonkey",
/* name: */ N_("SpiderMonkey"),
/* options: */ NULL,
/* events: */ NULL,
/* submodules: */ NULL,

View File

@ -329,7 +329,7 @@ get_invalid_auth_entry(void)
}
struct module auth_module = struct_module(
/* name: */ "Authentication",
/* name: */ N_("Authentication"),
/* options: */ NULL,
/* hooks: */ NULL,
/* submodules: */ NULL,

View File

@ -6,13 +6,14 @@
#include "elinks.h"
#include "intl/gettext/libintl.h"
#include "main/module.h"
#include "scripting/guile/core.h"
#include "scripting/guile/hooks.h"
struct module guile_scripting_module = struct_module(
/* name: */ "Guile",
/* name: */ N_("Guile"),
/* options: */ NULL,
/* events: */ guile_scripting_hooks,
/* submodules: */ NULL,

View File

@ -6,13 +6,14 @@
#include "elinks.h"
#include "intl/gettext/libintl.h"
#include "main/module.h"
#include "scripting/lua/core.h"
#include "scripting/lua/hooks.h"
struct module lua_scripting_module = struct_module(
/* name: */ "Lua",
/* name: */ N_("Lua"),
/* options: */ NULL,
/* hooks: */ lua_scripting_hooks,
/* submodules: */ NULL,

View File

@ -6,13 +6,14 @@
#include "elinks.h"
#include "intl/gettext/libintl.h"
#include "main/module.h"
#include "scripting/perl/core.h"
#include "scripting/perl/hooks.h"
struct module perl_scripting_module = struct_module(
/* name: */ "Perl",
/* name: */ N_("Perl"),
/* options: */ NULL,
/* hooks: */ perl_scripting_hooks,
/* submodules: */ NULL,

View File

@ -8,13 +8,14 @@
#include "elinks.h"
#include "intl/gettext/libintl.h"
#include "main/module.h"
#include "scripting/python/core.h"
#include "scripting/python/hooks.h"
struct module python_scripting_module = struct_module(
/* name: */ "Python",
/* name: */ N_("Python"),
/* options: */ NULL,
/* hooks: */ python_scripting_hooks,
/* submodules: */ NULL,

View File

@ -6,13 +6,14 @@
#include "elinks.h"
#include "intl/gettext/libintl.h"
#include "main/module.h"
#include "scripting/ruby/core.h"
#include "scripting/ruby/hooks.h"
struct module ruby_scripting_module = struct_module(
/* name: */ "Ruby",
/* name: */ N_("Ruby"),
/* options: */ NULL,
/* events: */ ruby_scripting_hooks,
/* submodules: */ NULL,

View File

@ -6,13 +6,14 @@
#include "elinks.h"
#include "intl/gettext/libintl.h"
#include "main/module.h"
#include "scripting/smjs/core.h"
#include "scripting/smjs/hooks.h"
struct module smjs_scripting_module = struct_module(
/* name: */ "Spidermonkey ECMAScript",
/* name: */ N_("Spidermonkey ECMAScript"),
/* options: */ NULL,
/* events: */ smjs_scripting_hooks,
/* submodules: */ NULL,

View File

@ -11,6 +11,7 @@
#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"
@ -1125,7 +1126,7 @@ done_screen(struct terminal_screen *screen)
}
struct module terminal_screen_module = struct_module(
/* name: */ "Terminal Screen",
/* name: */ N_("Terminal Screen"),
/* options: */ NULL,
/* hooks: */ NULL,
/* submodules: */ NULL,

View File

@ -380,7 +380,7 @@ static struct module *terminal_submodules[] = {
};
struct module terminal_module = struct_module(
/* name: */ "Terminal",
/* name: */ N_("Terminal"),
/* options: */ NULL,
/* hooks: */ NULL,
/* submodules: */ terminal_submodules,

View File

@ -10,6 +10,7 @@
#include "elinks.h"
#include "document/view.h"
#include "intl/gettext/libintl.h"
#include "main/module.h"
#include "protocol/uri.h"
#include "util/memory.h"
@ -151,7 +152,7 @@ done_marks(struct module *xxx)
}
struct module viewer_marks_module = struct_module(
/* name: */ "Marks",
/* name: */ N_("Marks"),
/* options: */ NULL,
/* hooks: */ NULL,
/* submodules: */ NULL,

View File

@ -8,6 +8,7 @@
#include "config/kbdbind.h"
#include "config/options.h"
#include "intl/gettext/libintl.h"
#include "main/module.h"
#include "main/timer.h"
#include "terminal/event.h"
@ -84,7 +85,7 @@ done_timer(struct module *module)
}
struct module timer_module = struct_module(
/* name: */ "Timer",
/* name: */ N_("Timer"),
/* options: */ NULL,
/* hooks: */ NULL,
/* submodules: */ NULL,