Package: aptitude
Version: 0.4.11.8-1
Severity: wishlist
Tags: patch l10n

Hi,

This is a patch to localize a date and time format in /var/log/aptitude.
The detailed log is shown below.  Could you please find and check the
attachment, and apply if it looks good?

[[[
changeset:   1601:7e309eab85c5
user:        Noritada Kobayashi <[EMAIL PROTECTED]>
date:        Sun Jul 06 21:10:41 2008 +0900
files:       src/generic/apt/log.cc
description:
src/generic/apt/log.cc: Mark up a date and time format for translation.

Since the rest of logs are localized for users, it would be better to
record date and time in a format commonly used by them, which depends on
their cultures (as seen in www.debian.org news items).
]]]

Many thanks,

-nori


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.6.46.4-0.1      Advanced front-end for dpkg
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libncursesw5           5.5-5             Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a     2.0.17-2          type-safe Signal Framework for C++
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc 0.4.4-4    English manual for aptitude, a ter
ii  libparse-debianchangelog-perl 1.0-1      parse Debian changelogs and output

-- no debconf information
# HG changeset patch
# User Noritada Kobayashi <[EMAIL PROTECTED]>
# Date 1215346241 -32400
# Node ID 7e309eab85c55d6ee9c390aef52ec3cf9dded13c
# Parent  be96c69083a6fc7a33717f979f1280fcba68a0ec
src/generic/apt/log.cc: Mark up a date and time format for translation.

Since the rest of logs are localized for users, it would be better to
record date and time in a format commonly used by them, which depends on
their cultures (as seen in www.debian.org news items).

diff -r be96c69083a6 -r 7e309eab85c5 src/generic/apt/log.cc
--- a/src/generic/apt/log.cc    Sat Jul 05 19:53:06 2008 +0200
+++ b/src/generic/apt/log.cc    Sun Jul 06 21:10:41 2008 +0900
@@ -61,7 +61,8 @@
   string timestr;
 
   if(localtime_r(&curtime, &ltime) != NULL)
-    timestr = sstrftime("%a, %b %e %Y %T %z", &ltime);
+    // ForTranslators: This is a date and time format.  See strftime(3).
+    timestr = sstrftime(_("%a, %b %e %Y %T %z"), &ltime);
   else
     timestr = ssprintf(_("Error generating local time (%s)"),
                       sstrerror(errno).c_str());

Reply via email to