X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=properties%2Fev-properties-view.c;h=9a9d13c0d7ab624da2c901fc601a864a262ec8ea;hb=cc3f21efc8104182171c9300facc16d9a79177ef;hp=1203157211c0a13a347dbcd6cf93ba0ff14b640f;hpb=93c67e6f3562e68c04c9b08a97cb9a755d7a1782;p=evince.git diff --git a/properties/ev-properties-view.c b/properties/ev-properties-view.c index 12031572..9a9d13c0 100644 --- a/properties/ev-properties-view.c +++ b/properties/ev-properties-view.c @@ -28,7 +28,7 @@ #include #endif -#include +#include #include #include "ev-properties-view.h" @@ -56,20 +56,20 @@ typedef struct { } PropertyInfo; static const PropertyInfo properties_info[] = { - { TITLE_PROPERTY, N_("Title") }, - { URI_PROPERTY, N_("Location") }, - { SUBJECT_PROPERTY, N_("Subject") }, - { AUTHOR_PROPERTY, N_("Author") }, - { KEYWORDS_PROPERTY, N_("Keywords") }, - { PRODUCER_PROPERTY, N_("Producer") }, - { CREATOR_PROPERTY, N_("Creator") }, - { CREATION_DATE_PROPERTY, N_("Created") }, - { MOD_DATE_PROPERTY, N_("Modified") }, - { N_PAGES_PROPERTY, N_("Number of Pages") }, - { LINEARIZED_PROPERTY, N_("Optimized") }, - { FORMAT_PROPERTY, N_("Format") }, - { SECURITY_PROPERTY, N_("Security") }, - { PAPER_SIZE_PROPERTY, N_("Paper Size") } + { TITLE_PROPERTY, N_("Title:") }, + { URI_PROPERTY, N_("Location:") }, + { SUBJECT_PROPERTY, N_("Subject:") }, + { AUTHOR_PROPERTY, N_("Author:") }, + { KEYWORDS_PROPERTY, N_("Keywords:") }, + { PRODUCER_PROPERTY, N_("Producer:") }, + { CREATOR_PROPERTY, N_("Creator:") }, + { CREATION_DATE_PROPERTY, N_("Created:") }, + { MOD_DATE_PROPERTY, N_("Modified:") }, + { N_PAGES_PROPERTY, N_("Number of Pages:") }, + { LINEARIZED_PROPERTY, N_("Optimized:") }, + { FORMAT_PROPERTY, N_("Format:") }, + { SECURITY_PROPERTY, N_("Security:") }, + { PAPER_SIZE_PROPERTY, N_("Paper Size:") } }; struct _EvPropertiesView { @@ -112,7 +112,7 @@ ev_properties_view_format_date (GTime utime) { time_t time = (time_t) utime; char s[256]; - const char *fmt_hack = "%c"; + const char fmt_hack[] = "%c"; size_t len; #ifdef HAVE_LOCALTIME_R struct tm t; @@ -181,7 +181,7 @@ set_property (GtkTable *table, label = gtk_label_new (NULL); g_object_set (G_OBJECT (label), "xalign", 0.0, NULL); - markup = g_strdup_printf ("%s:", properties_info[property].label); + markup = g_strdup_printf ("%s", _(properties_info[property].label)); gtk_label_set_markup (GTK_LABEL (label), markup); g_free (markup);