mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 03:03:47 +01:00
Make a string translatable
This commit is contained in:
parent
2ec8675bec
commit
cc0ad0ad64
2
main.c
2
main.c
@ -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)
|
|||||||
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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user