Tweak the text of the First Time User legal dialog.
This commit is contained in:
parent
4de4322b2c
commit
c4276d832e
|
@ -714,12 +714,12 @@ app_setup (GtkWindow * wind, struct cbdata * cbdata)
|
||||||
{
|
{
|
||||||
GtkWidget * w = gtk_message_dialog_new (GTK_WINDOW (wind),
|
GtkWidget * w = gtk_message_dialog_new (GTK_WINDOW (wind),
|
||||||
GTK_DIALOG_DESTROY_WITH_PARENT,
|
GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||||
GTK_MESSAGE_INFO,
|
GTK_MESSAGE_OTHER,
|
||||||
GTK_BUTTONS_NONE,
|
GTK_BUTTONS_NONE,
|
||||||
"%s",
|
"%s",
|
||||||
_("Transmission is a file-sharing program. When you run a torrent, its data will be made available to others by means of upload. You and you alone are fully responsible for exercising proper judgement and abiding by your local laws."));
|
_("Transmission is a file sharing program. When you run a torrent, its data will be made available to others by means of upload. Any content you share is your sole responsibility."));
|
||||||
gtk_dialog_add_button (GTK_DIALOG (w), GTK_STOCK_QUIT, GTK_RESPONSE_REJECT);
|
gtk_dialog_add_button (GTK_DIALOG (w), GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT);
|
||||||
gtk_dialog_add_button (GTK_DIALOG (w), _("I _Accept"), GTK_RESPONSE_ACCEPT);
|
gtk_dialog_add_button (GTK_DIALOG (w), _("I _Agree"), GTK_RESPONSE_ACCEPT);
|
||||||
gtk_dialog_set_default_response (GTK_DIALOG (w), GTK_RESPONSE_ACCEPT);
|
gtk_dialog_set_default_response (GTK_DIALOG (w), GTK_RESPONSE_ACCEPT);
|
||||||
switch (gtk_dialog_run (GTK_DIALOG (w)))
|
switch (gtk_dialog_run (GTK_DIALOG (w)))
|
||||||
{
|
{
|
||||||
|
|
|
@ -225,7 +225,7 @@ MyApp :: MyApp( int& argc, char ** argv ):
|
||||||
QDialog * dialog = new QDialog( myWindow );
|
QDialog * dialog = new QDialog( myWindow );
|
||||||
dialog->setModal( true );
|
dialog->setModal( true );
|
||||||
QVBoxLayout * v = new QVBoxLayout( dialog );
|
QVBoxLayout * v = new QVBoxLayout( dialog );
|
||||||
QLabel * l = new QLabel( tr( "Transmission is a file-sharing program. When you run a torrent, its data will be made available to others by means of upload. You and you alone are fully responsible for exercising proper judgement and abiding by your local laws." ) );
|
QLabel * l = new QLabel(tr("Transmission is a file sharing program. When you run a torrent, its data will be made available to others by means of upload. Any content you share is your sole responsibility."));
|
||||||
l->setWordWrap( true );
|
l->setWordWrap( true );
|
||||||
v->addWidget( l );
|
v->addWidget( l );
|
||||||
QDialogButtonBox * box = new QDialogButtonBox;
|
QDialogButtonBox * box = new QDialogButtonBox;
|
||||||
|
|
Loading…
Reference in New Issue