GNOME Bugzilla – Bug 500945
translation issues
Last modified: 2007-12-03 09:43:33 UTC
while line 142 in /libnautilus-private/nautilus-file-operations.c has the following ngettext usage: return g_strdup_printf (ngettext ("%d second","%d seconds", (int) seconds), (int) seconds); lines 147, 157 and 158 have another _ in front of the strings which seems to be not correct, at least in the po file they are not listed in a correct ngettext context, which avoids correct translation for several languages: return g_strdup_printf (ngettext (_("%d minute"), _("%d minutes"), minutes), minutes); h = g_strdup_printf (ngettext (_("%d hour"), _("%d hours"), hours), hours); m = g_strdup_printf (ngettext (_("%d minute"), _("%d minutes"), minutes), minutes);
#: ../libnautilus-private/nautilus-file-operations.c:4752 "There is %S availible, but %S is required." typo in "availible"
the following strings in ../libnautilus-private/nautilus-file-operations.c require ngettext support, because in some languages (like czech) there's a difference between the strings for "4 files" and "5 files": Moving %d files (in \"%B\") to \"%B\" Copying %d files (in \"%B\") to \"%B\" Moving %d files to \"%B\" Copying %d files to \"%B\"
#: ../libnautilus-private/nautilus-file-operations.c:4853 "%S of %S" that's not possible to translate correctly without taking a look into the code. translator comment appreciated: http://developer.gnome.org/doc/tutorials/gnome-i18n/developer.html#use-comments
.... #: ../libnautilus-private/nautilus-file-operations.c:4860 "%S of %S — %T left (%S/sec)" that one is even more evil :)
#: ../src/file-manager/fm-error-reporting.c:67 "Sorry, couldn't display all the contents of \"%s\". %s" should "." be a ":" here?
... same with "Sorry, couldn't rename \"%s\" to \"%s\". %s"
... same with "Sorry, couldn't change the group of \"%s\". %s" "Sorry, couldn't change the owner of \"%s\". %s" "Sorry, couldn't change the permissions of \"%s\". %s"
#: ../libnautilus-private/nautilus-file-operations.c:166 "about %d hours" "about a girl" or "approximately %d hours"? this also needs ngettext support.
#: ../libnautilus-private/nautilus-file-operations.c:5240 "Couldn't remove files from the already folder %F." the word "existing" is probably missing here
#: ../libnautilus-private/nautilus-file-operations.c:5771 "Preparing to move %d files" this needs ngettext support
../libnautilus-private/nautilus-file.c:4903 formated_plus_real = g_strdup_printf (_("%s (%"G_GUINT64_FORMAT" bytes)"), formated, (guint64) file->details->size); becomes "%s (%" in the po file
#: ../libnautilus-private/nautilus-progress-info.c:284 "%d file operations active" needs ngettext support
fixed