Make a string translatable

This commit is contained in:
Sebastian Ramacher 2013-11-04 19:57:23 +01:00
parent 2ec8675bec
commit cc0ad0ad64
2 changed files with 2 additions and 2 deletions

2
main.c
View File

@ -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;

View File

@ -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);
} }