Changeset 3333
- Timestamp:
- Oct 8, 2007, 7:40:34 PM (15 years ago)
- Location:
- trunk/gtk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gtk/dialogs.c
r3206 r3333 257 257 if( 0 > count ) 258 258 { 259 gtk_label_set_text( label, _("?"));259 gtk_label_set_text( label, "?" ); 260 260 } 261 261 else -
trunk/gtk/ipc.c
r3206 r3333 195 195 0 > ipc_addmsg( con->msgs, IPC_MSG_UPLIMIT, smsg_int ) ) 196 196 { 197 errmsg( con->u.serv.wind, _("Failed to set up IPC: \n%s"),197 errmsg( con->u.serv.wind, _("Failed to set up IPC: %s"), 198 198 strerror( errno ) ); 199 199 g_free( con ); … … 227 227 if( NULL == con->msgs ) 228 228 { 229 fprintf( stderr, _("failed to set up IPC: %s\n"), strerror( errno ) );229 g_message( _("Failed to set up IPC: %s"), strerror( errno ) ); 230 230 g_free( con ); 231 231 return FALSE; … … 307 307 308 308 fail: 309 errmsg(con->u.serv.wind, _("Failed to set up socket: \n%s"),309 errmsg(con->u.serv.wind, _("Failed to set up socket: %s"), 310 310 strerror(errno)); 311 311 if(0 <= con->fd) … … 330 330 331 331 if(0 > (con->fd = socket(AF_UNIX, SOCK_STREAM, 0))) { 332 fprintf(stderr, _("failed to create socket: %s\n"), strerror(errno));332 g_message( _("Failed to create socket: %s"), strerror(errno)); 333 333 return FALSE; 334 334 } … … 339 339 340 340 if(0 > connect(con->fd, (struct sockaddr*)&addr, SUN_LEN(&addr))) { 341 fprintf(stderr, _("failed to connect to %s: %s\n"), path, strerror(errno));341 g_message( _("Failed to connect to %s: %s"), path, strerror(errno)); 342 342 return FALSE; 343 343 } … … 429 429 { 430 430 case EPERM: 431 errmsg( con->u.serv.wind, _(" bad IPC protocol version") );431 errmsg( con->u.serv.wind, _("Bad IPC protocol version") ); 432 432 break; 433 433 case EINVAL: … … 465 465 { 466 466 case EPERM: 467 fprintf( stderr, _("bad IPC protocol version\n") );467 g_message( _("Bad IPC protocol version") ); 468 468 break; 469 469 case EINVAL: 470 fprintf( stderr, _("IPC protocol parse error\n") );470 g_message( _("IPC protocol parse error") ); 471 471 break; 472 472 default: 473 fprintf( stderr, _("IPC parsing failed: %s\n"), 474 strerror( errno ) ); 473 g_message( _("IPC parsing failed: %s"), strerror( errno ) ); 475 474 break; 476 475 } -
trunk/gtk/makemeta-ui.c
r3111 r3333 195 195 g_snprintf( buf, sizeof(buf), "<i>%s; %d %s</i>", 196 196 pch, fileCount, 197 ngettext(" file", "files", fileCount) );197 ngettext("File", "Files", fileCount) ); 198 198 gtk_label_set_markup ( GTK_LABEL(ui->size_lb), buf ); 199 199 g_free( pch ); … … 202 202 g_snprintf( buf, sizeof(buf), "<i>%d %s @ %s</i>", 203 203 pieceCount, 204 ngettext(" piece", "pieces", pieceCount),204 ngettext("Piece", "Pieces", pieceCount), 205 205 pch ); 206 206 gtk_label_set_markup ( GTK_LABEL(ui->pieces_lb), buf ); -
trunk/gtk/torrent-inspector.c
r3245 r3333 409 409 { 410 410 if( 0 > count ) { 411 gtk_label_set_text( GTK_LABEL(l), _("?"));411 gtk_label_set_text( GTK_LABEL(l), "?" ); 412 412 } else { 413 413 char str[16]; … … 837 837 838 838 pch = stat->startDate ? rfc822date (stat->startDate) 839 : g_strdup_printf ( _("?"));839 : g_strdup_printf ("?"); 840 840 gtk_label_set_text (GTK_LABEL(a->date_added_lb), pch); 841 841 g_free (pch); 842 842 843 843 pch = stat->activityDate ? rfc822date (stat->activityDate) 844 : g_strdup_printf ( _("?"));844 : g_strdup_printf ("?"); 845 845 gtk_label_set_text (GTK_LABEL(a->last_activity_lb), pch); 846 846 g_free (pch); … … 1502 1502 row = 0; 1503 1503 t = hig_workarea_create (); 1504 hig_workarea_add_section_title (t, &row, _(" Transfer Bandwidth"));1504 hig_workarea_add_section_title (t, &row, _("Speed Limits") ); 1505 1505 hig_workarea_add_section_spacer (t, row, 2); 1506 1506 -
trunk/gtk/util.c
r3281 r3333 128 128 if(0 == down) 129 129 /* this is a UTF-8 infinity symbol */ 130 return g_strdup( _("\xE2\x88\x9E"));130 return g_strdup("\xE2\x88\x9E"); 131 131 132 132 ratio = (double)up / (double)down;
Note: See TracChangeset
for help on using the changeset viewer.