[PATCH] Translate "Trip"
Dirk Hohndel
dirk at hohndel.org
Tue Oct 16 23:52:41 PDT 2012
This will actually need to be done differently in order to handle the
plural form. I'm working on that right now.
/D
Henrik Brautaset Aronsen <subsurface at henrik.synth.no> writes:
> "Trip" in the trip header wasn't translated.
>
> Signed-off-by: Henrik Brautaset Aronsen <subsurface at henrik.synth.no>
> ---
> divelist.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/divelist.c b/divelist.c
> index 1ded3f9..060d85b 100644
> --- a/divelist.c
> +++ b/divelist.c
> @@ -371,7 +371,8 @@ static void date_data_func(GtkTreeViewColumn *col,
> utc_mkdate(when, &tm);
> if (idx < 0) {
> snprintf(buffer, sizeof(buffer),
> - "Trip %s, %s %d, %d (%d dive%s)",
> + "%s %s, %s %d, %d (%d dive%s)",
> + _("Trip"),
> weekday(tm.tm_wday),
> monthname(tm.tm_mon),
> tm.tm_mday, tm.tm_year + 1900,
> --
> 1.7.11.5
>
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
More information about the subsurface
mailing list