Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
cc0ad0ad
Commit
cc0ad0ad
authored
Nov 04, 2013
by
Sebastian Ramacher
Browse files
Make a string translatable
parent
2ec8675b
Changes
2
Hide whitespace changes
Inline
Side-by-side
main.c
View file @
cc0ad0ad
...
@@ -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
;
...
...
zathura.c
View file @
cc0ad0ad
...
@@ -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
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment