diff options
Diffstat (limited to 'src/schemes')
-rw-r--r-- | src/schemes/about/version.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/schemes/about/version.c b/src/schemes/about/version.c index df30c8c..1619dfe 100644 --- a/src/schemes/about/version.c +++ b/src/schemes/about/version.c @@ -29,6 +29,7 @@ #include <webkit2/webkit2.h> #include "../../application.h" +#include "../../i18n.h" #include "../../utils/html.h" #include "../about.h" @@ -42,7 +43,7 @@ mq_about_version_response(MqApplication G_GNUC_UNUSED *application, gchar *title; gchar *document; - title = g_strdup_printf("About %s", PACKAGE_NAME); + title = g_strdup_printf(_("About %s"), PACKAGE_NAME); document = mq_html_document(title, NULL, NULL, mq_html_notebook(FALSE, "notebook1", 0, mq_html_container("div", NULL, @@ -51,22 +52,22 @@ mq_about_version_response(MqApplication G_GNUC_UNUSED *application, PACKAGE_VERSION_GIT, NULL)), /* TODO: Comments */ /* TODO: Web site link */ - mq_html_p("Copyright © 2017 " - "Patrick McDermott"), - mq_html_p("This program comes with " + mq_html_p(_("Copyright © 2017 " + "Patrick McDermott")), + mq_html_p(_("This program comes with " "ABSOLUTELY NO WARRANTY. " - "See the license text for details."), + "See the license text for details.")), NULL), - "About", + _("About"), mq_html_container("div", NULL, - mq_html_h3("Authors"), + mq_html_h3(_("Authors")), mq_html_p("Patrick McDermott " "<pj@pehjota.net>"), NULL), - "Credits", + _("Credits"), mq_html_input_iframe("mq-about:resources/" "gpl-3.0-standalone.html"), - "License", + _("License"), NULL), NULL); g_free(title); |