Changeset 7259


Ignore:
Timestamp:
Dec 3, 2008, 3:32:42 PM (13 years ago)
Author:
charles
Message:

(gtk) #1477: Launchpad translations need comment for strings with non-standard context

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/file-list.c

    r7106 r7259  
    661661                                           &path, &column, &cell_x, &cell_y ) )
    662662        {
    663             const char *   column_title = gtk_tree_view_column_get_title(
    664                 column );
    665             const gboolean downloadColumn =
    666                 !strcmp( column_title, Q_( "filedetails|Download" ) );
    667             const gboolean priorityColumn =
    668                 !strcmp( column_title, _( "Priority" ) );
     663            const char * column_title = gtk_tree_view_column_get_title( column );
     664            const gboolean downloadColumn = !strcmp( column_title, _( "Download" ) );
     665            const gboolean priorityColumn = !strcmp( column_title, _( "Priority" ) );
    669666            if( downloadColumn || priorityColumn )
    670667            {
     
    794791    col = GTK_TREE_VIEW_COLUMN ( g_object_new ( GTK_TYPE_TREE_VIEW_COLUMN,
    795792                                                "expand", TRUE,
    796                                                 /* Translators: this is a column
    797                                                    header in Files tab, Properties
    798                                                    dialog;
    799                                                    Don't include the prefix
    800                                                    "filedetails|" in the
    801                                                    translation. */
    802                                                 "title", Q_( "filedetails|File" ),
     793                                                "title", _( "File" ),
    803794                                                NULL ) );
    804795    rend = gtk_cell_renderer_pixbuf_new( );
     
    809800    g_object_set( rend, "ellipsize", PANGO_ELLIPSIZE_END, NULL );
    810801    gtk_tree_view_column_pack_start( col, rend, TRUE );
    811     gtk_tree_view_column_set_cell_data_func( col, rend, renderFilename,
    812                                              NULL,
    813                                              NULL );
     802    gtk_tree_view_column_set_cell_data_func( col, rend, renderFilename, NULL, NULL );
    814803    gtk_tree_view_column_set_resizable( col, TRUE );
    815804    gtk_tree_view_append_column( GTK_TREE_VIEW( view ), col );
    816805
    817 
    818806    rend = gtk_cell_renderer_progress_new( );
    819     /* Translators: this is a column header in Files tab, Properties dialog;
    820        Don't include the prefix "filedetails|" in the translation. */
    821     col = gtk_tree_view_column_new_with_attributes( Q_( "filedetails|Progress" ), rend, NULL );
     807    col = gtk_tree_view_column_new_with_attributes( _( "Progress" ), rend, NULL );
    822808    gtk_tree_view_column_set_cell_data_func( col, rend, renderProgress, NULL, NULL );
    823809    gtk_tree_view_column_set_resizable( col, FALSE );
     
    826812    /* add "enabled" column */
    827813    rend = gtk_cell_renderer_toggle_new( );
    828     /* Translators: this is a column header in Files tab, Properties dialog;
    829        Don't include the prefix "filedetails|" in the translation.
    830        The items for this column are checkboxes (yes/no) */
    831     col = gtk_tree_view_column_new_with_attributes( Q_( "filedetails|Download" ), rend, NULL );
     814    col = gtk_tree_view_column_new_with_attributes( _( "Download" ), rend, NULL );
    832815    gtk_tree_view_column_set_cell_data_func( col, rend, renderDownload, NULL, NULL );
    833816    gtk_tree_view_column_set_resizable( col, FALSE );
Note: See TracChangeset for help on using the changeset viewer.