Translate fields in cmd_info

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
Sebastian Ramacher 2013-11-01 14:06:56 +01:00
parent a85074614d
commit a91108b078

View file

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