[Xfce-i18n] Problematic string in xfdesktop

Adriano Winter Bess awbess at gmail.com
Sat Apr 29 16:58:55 CEST 2006


Hi,

I was updating pt_BR translations for Xfdesktop when I found this (in
src/xfdesktop-file-icon.c):

    if(error) {
        primary = g_strdup_printf(_("There was an error %s \"%s\" to \"%s\":"),
                                  action == GDK_ACTION_MOVE
                                  ? _("moving")
                                  : (action == GDK_ACTION_COPY
                                     ? _("copying")
                                     : _("linking")),
                                  src_file_icon->priv->info->display_name,
                                  file_icon->priv->info->display_name);
        xfce_message_dialog(NULL, _("File Error"), GTK_STOCK_DIALOG_ERROR,
                            primary, error->message,
                            GTK_STOCK_CLOSE, GTK_RESPONSE_ACCEPT, NULL);
        g_free(primary);
    }

The "trick" formatting the string above works for pt_BR, but I'm afraid it may
not work fine for some locales. What do you think?

Regards,
Adriano
-- 
Adriano Winter Bess

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.xfce.org/pipermail/xfce-i18n/attachments/20060429/febd9a67/attachment.pgp>


More information about the Xfce-i18n mailing list