Re: [gthumb-list] Redundancies in code?
- From: Paolo Bacchilega <paolo bacchilega libero it>
- To: gthumb-list gnome org
- Subject: Re: [gthumb-list] Redundancies in code?
- Date: Thu, 19 Aug 2010 21:56:25 +0200
Il 17/08/2010 20:50, don Paolo Benvenuto ha scritto:
It look like there a redundancy in extensions/file_manager/action.c
(lines 522-531):
if (file_count == 1) {
GthFileData *file_data = file_list->data;
prompt = g_strdup_printf (_("Are you sure you want to move \"%s\" to trash?"),
g_file_info_get_display_name (file_data->info));
}
else
prompt = g_strdup_printf (ngettext("Are you sure you want to move to trash "
"the %'d selected file?",
"Are you sure you want to move to trash "
"the %'d selected files?", file_count),
file_count);
Apparently the ngettext with singular and plural arguments is
unnecessary.
the code is not redundant, there are languages with more than a plural
form depending on the value of file_count
- Paolo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]