@b4n commented on this pull request.
> @@ -563,3 +555,38 @@ plugin_configure (GtkDialog *dialog)
return box1;
}
+
+/* Load module */
+G_MODULE_EXPORT void
+geany_load_module (GeanyPlugin *plugin)
+{
+ /* setup translation */
+ main_locale_init (LOCALEDIR, GETTEXT_PACKAGE);
+
+ /* metadata */
+ plugin->info->name = _("Web helper");
+ plugin->info->description = _("Display a preview web page that gets updated "
+ "upon document saving and provide web "
+ "analysis and debugging tools (aka Web "
+ "Inspector), all using WebKit.");
It definitely should, it should handle C string concatenation just fine -- but
I'll double check.
This said, so long as we don't update the translations from the sources, it's
not even a question (unless I messed up the final string by mistake) as `_()`
is a normal function that just gets a string as input, and tries to find the
relevant translation for the compiled and installed catalogues, so so long as
the input string is the same it's gonna be fine.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1455#discussion_r2167188814
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1455/review/[email protected]>