Commit 81e5d60a authored by Sebastian Ramacher's avatar Sebastian Ramacher

Make strings in cmd_save and cmd_savef translateable.

parent 9f31c38c
......@@ -238,9 +238,9 @@ cmd_save(girara_session_t* session, girara_list_t* argument_list)
if (girara_list_size(argument_list) == 1) {
if (document_save(zathura, girara_list_nth(argument_list, 0), true) == true) {
girara_notify(session, GIRARA_INFO, "Document saved.");
girara_notify(session, GIRARA_INFO, _("Document saved."));
} else {
girara_notify(session, GIRARA_INFO, "Failed to save document.");
girara_notify(session, GIRARA_INFO, _("Failed to save document."));
}
} else {
girara_notify(session, GIRARA_ERROR, _("Invalid number of arguments."));
......@@ -264,9 +264,9 @@ cmd_savef(girara_session_t* session, girara_list_t* argument_list)
if (girara_list_size(argument_list) == 1) {
if (document_save(zathura, girara_list_nth(argument_list, 0), true) == true) {
girara_notify(session, GIRARA_INFO, "Document saved.");
girara_notify(session, GIRARA_INFO, _("Document saved."));
} else {
girara_notify(session, GIRARA_INFO, "Failed to save document.");
girara_notify(session, GIRARA_INFO, _("Failed to save document."));
}
} else {
girara_notify(session, GIRARA_ERROR, _("Invalid number of arguments."));
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-05 09:33+0100\n"
"POT-Creation-Date: 2012-03-05 12:24+0100\n"
"PO-Revision-Date: 2012-03-04 17:77+0100\n"
"Last-Translator: Sebastian Ramacher <s.ramacher@gmx.at>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -82,6 +82,14 @@ msgstr ""
msgid "No open document."
msgstr ""
#: ../commands.c:241 ../commands.c:267
msgid "Document saved."
msgstr ""
#: ../commands.c:243 ../commands.c:269
msgid "Failed to save document."
msgstr ""
#: ../commands.c:246 ../commands.c:272
msgid "Invalid number of arguments."
msgstr ""
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-05 09:33+0100\n"
"POT-Creation-Date: 2012-03-05 12:24+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -82,6 +82,14 @@ msgstr ""
msgid "No open document."
msgstr ""
#: ../commands.c:241 ../commands.c:267
msgid "Document saved."
msgstr ""
#: ../commands.c:243 ../commands.c:269
msgid "Failed to save document."
msgstr ""
#: ../commands.c:246 ../commands.c:272
msgid "Invalid number of arguments."
msgstr ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment