Ticket #1109: libkoto-files.diff

File libkoto-files.diff, 1.2 KB (added by milo_casagrande@…, 11 years ago)

Patch for a couple of files in libkoto/

  • libkoto/koto-task-summary.c

     
    8484        /* TODO: don't use this, but use _with_zone */ 
    8585        g_date_set_time_t (&date, icaltime_as_timet (time)); 
    8686        due = ical_util_get_human_date (&date); 
    87         s = g_strdup_printf ("Due %s", due); 
     87        s = g_strdup_printf (_("Due %s"), due); 
    8888        gtk_text_buffer_insert_with_tags (priv->buffer, &end, s, -1, priv->due_tag, NULL); 
    8989        gtk_text_buffer_insert (priv->buffer, &end, "\n", -1); 
    9090        g_free (s); 
  • libkoto/ical-util.c

     
    6363  else if (days > 1 && days < 7) { 
    6464    /* Return name of the day if it is in the next 6 days */ 
    6565    g_date_add_days (&today, days); 
    66     g_date_strftime (buffer, sizeof (buffer), "%A", &today); 
     66    g_date_strftime (buffer, sizeof (buffer), _("%A"), &today); 
    6767    return g_strdup (buffer); 
    6868  } else { 
    6969    /* Fallback to returning the preferred date representation */