Commit a91108b0 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Translate fields in cmd_info

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent a8507461
...@@ -158,15 +158,15 @@ cmd_info(girara_session_t* session, girara_list_t* UNUSED(argument_list)) ...@@ -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);
......
Markdown is supported
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