Commit cc0ad0ad authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

Make a string translatable

parent 2ec8675b
...@@ -111,7 +111,7 @@ main(int argc, char* argv[]) ...@@ -111,7 +111,7 @@ main(int argc, char* argv[])
zathura_set_argv(zathura, argv); zathura_set_argv(zathura, argv);
/* Init zathura */ /* Init zathura */
if(zathura_init(zathura) == false) { if (zathura_init(zathura) == false) {
girara_error("Could not initialize zathura."); girara_error("Could not initialize zathura.");
zathura_free(zathura); zathura_free(zathura);
return -1; return -1;
......
...@@ -483,7 +483,7 @@ document_info_open(gpointer data) ...@@ -483,7 +483,7 @@ document_info_open(gpointer data)
file = prepare_document_open_from_stdin(document_info->zathura); file = prepare_document_open_from_stdin(document_info->zathura);
if (file == NULL) { if (file == NULL) {
girara_notify(document_info->zathura->ui.session, GIRARA_ERROR, girara_notify(document_info->zathura->ui.session, GIRARA_ERROR,
"Could not read file from stdin and write it to a temporary file."); _("Could not read file from stdin and write it to a temporary file."));
} else { } else {
document_info->zathura->stdin_support.file = g_strdup(file); document_info->zathura->stdin_support.file = g_strdup(file);
} }
......
Supports Markdown
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