(gtk) minor: use "Folder" instead of "Directory", as per the GNOME Desktop Terms list
This commit is contained in:
parent
064366f438
commit
a11071e661
|
@ -134,7 +134,7 @@ promptfordir( GtkWindow * parent, TrCore * core, GList * files, tr_ctor * ctor )
|
|||
|
||||
g_object_weak_ref( G_OBJECT( core ), promptdirnocore, stuff );
|
||||
|
||||
wind = gtk_file_chooser_dialog_new( _("Choose a directory"), parent,
|
||||
wind = gtk_file_chooser_dialog_new( _("Destination folder"), parent,
|
||||
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include "tr-torrent.h"
|
||||
#include "util.h"
|
||||
|
||||
/* prompt for a download directory for torrents, then add them */
|
||||
/* prompt for a download folder for torrents, then add them */
|
||||
GtkWidget* promptfordir( GtkWindow * parent,
|
||||
TrCore * core,
|
||||
GList * filenames,
|
||||
|
|
|
@ -375,7 +375,7 @@ appsetup( TrWindow * wind, GList * args,
|
|||
|
||||
/* set up core handlers */
|
||||
g_signal_connect( cbdata->core, "error", G_CALLBACK( coreerr ), cbdata );
|
||||
g_signal_connect( cbdata->core, "directory-prompt",
|
||||
g_signal_connect( cbdata->core, "destination-prompt",
|
||||
G_CALLBACK( coreprompt ), cbdata );
|
||||
g_signal_connect_swapped( cbdata->core, "quit",
|
||||
G_CALLBACK( wannaquit ), cbdata );
|
||||
|
|
|
@ -250,7 +250,7 @@ make_meta_ui( GtkWindow * parent, tr_handle * handle )
|
|||
|
||||
g_snprintf( name, sizeof(name), "%s:", _("File _Type"));
|
||||
h = gtk_hbox_new( FALSE, GUI_PAD_SMALL );
|
||||
w = rb_dir = gtk_radio_button_new_with_mnemonic( NULL, _("Directory"));
|
||||
w = rb_dir = gtk_radio_button_new_with_mnemonic( NULL, _("Folder"));
|
||||
gtk_box_pack_start ( GTK_BOX(h), w, FALSE, FALSE, 0 );
|
||||
w = rb_file = gtk_radio_button_new_with_mnemonic_from_widget( GTK_RADIO_BUTTON(w), _("Single File") );
|
||||
gtk_box_pack_start ( GTK_BOX(h), w, FALSE, FALSE, 0 );
|
||||
|
|
|
@ -195,7 +195,7 @@ makeaddwind( GtkWindow * parent,
|
|||
|
||||
++row;
|
||||
col = 0;
|
||||
l = gtk_label_new_with_mnemonic( _( "Download _to:" ) );
|
||||
l = gtk_label_new_with_mnemonic( _( "Destination _folder:" ) );
|
||||
gtk_misc_set_alignment( GTK_MISC( l ), 0.0f, 0.5f );
|
||||
gtk_table_attach( GTK_TABLE( t ), l, col, col+1, row, row+1, GTK_FILL, 0, 0, 0 );
|
||||
++col;
|
||||
|
|
|
@ -131,7 +131,7 @@ tr_core_class_init( gpointer g_class, gpointer g_class_data UNUSED )
|
|||
G_SIGNAL_RUN_LAST, 0, NULL, NULL,
|
||||
tr_core_marshal_err, G_TYPE_NONE,
|
||||
2, G_TYPE_INT, G_TYPE_STRING );
|
||||
core_class->promptsig = g_signal_new( "directory-prompt",
|
||||
core_class->promptsig = g_signal_new( "destination-prompt",
|
||||
G_TYPE_FROM_CLASS( g_class ),
|
||||
G_SIGNAL_RUN_LAST, 0, NULL, NULL,
|
||||
tr_core_marshal_prompt, G_TYPE_NONE,
|
||||
|
|
|
@ -65,7 +65,7 @@ typedef struct TrCoreClass
|
|||
void handler( TrCore *, enum tr_core_err, const char *, gpointer ) */
|
||||
int errsig;
|
||||
|
||||
/* "directory-prompt" signal:
|
||||
/* "destination-prompt" signal:
|
||||
void handler( TrCore *, GList *, gpointer ctor, gpointer userData ) */
|
||||
int promptsig;
|
||||
|
||||
|
|
Loading…
Reference in New Issue