mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 10:55:59 +01:00
Translate fields in cmd_info
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
a85074614d
commit
a91108b078
1 changed files with 9 additions and 9 deletions
18
commands.c
18
commands.c
|
@ -158,15 +158,15 @@ cmd_info(girara_session_t* session, girara_list_t* UNUSED(argument_list))
|
||||||
zathura_document_information_type_t field;
|
zathura_document_information_type_t field;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct meta_field meta_fields[] = {
|
const struct meta_field meta_fields[] = {
|
||||||
{ "Title", ZATHURA_DOCUMENT_INFORMATION_TITLE },
|
{ _("Title"), ZATHURA_DOCUMENT_INFORMATION_TITLE },
|
||||||
{ "Author", ZATHURA_DOCUMENT_INFORMATION_AUTHOR },
|
{ _("Author"), ZATHURA_DOCUMENT_INFORMATION_AUTHOR },
|
||||||
{ "Subject", ZATHURA_DOCUMENT_INFORMATION_SUBJECT },
|
{ _("Subject"), ZATHURA_DOCUMENT_INFORMATION_SUBJECT },
|
||||||
{ "Keywords", ZATHURA_DOCUMENT_INFORMATION_KEYWORDS },
|
{ _("Keywords"), ZATHURA_DOCUMENT_INFORMATION_KEYWORDS },
|
||||||
{ "Creator", ZATHURA_DOCUMENT_INFORMATION_CREATOR },
|
{ _("Creator"), ZATHURA_DOCUMENT_INFORMATION_CREATOR },
|
||||||
{ "Producer", ZATHURA_DOCUMENT_INFORMATION_PRODUCER },
|
{ _("Producer"), ZATHURA_DOCUMENT_INFORMATION_PRODUCER },
|
||||||
{ "Creation date", ZATHURA_DOCUMENT_INFORMATION_CREATION_DATE },
|
{ _("Creation date"), ZATHURA_DOCUMENT_INFORMATION_CREATION_DATE },
|
||||||
{ "Modification date", ZATHURA_DOCUMENT_INFORMATION_MODIFICATION_DATE }
|
{ _("Modification date"), ZATHURA_DOCUMENT_INFORMATION_MODIFICATION_DATE }
|
||||||
};
|
};
|
||||||
|
|
||||||
girara_list_t* information = zathura_document_get_information(zathura->document, NULL);
|
girara_list_t* information = zathura_document_get_information(zathura->document, NULL);
|
||||||
|
|
Loading…
Reference in a new issue