mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
Tweak the text of the First Time User legal dialog.
This commit is contained in:
parent
4de4322b2c
commit
c4276d832e
2 changed files with 5 additions and 5 deletions
|
@ -714,12 +714,12 @@ app_setup (GtkWindow * wind, struct cbdata * cbdata)
|
|||
{
|
||||
GtkWidget * w = gtk_message_dialog_new (GTK_WINDOW (wind),
|
||||
GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||
GTK_MESSAGE_INFO,
|
||||
GTK_MESSAGE_OTHER,
|
||||
GTK_BUTTONS_NONE,
|
||||
"%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."));
|
||||
gtk_dialog_add_button (GTK_DIALOG (w), GTK_STOCK_QUIT, GTK_RESPONSE_REJECT);
|
||||
gtk_dialog_add_button (GTK_DIALOG (w), _("I _Accept"), GTK_RESPONSE_ACCEPT);
|
||||
_("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_CANCEL, GTK_RESPONSE_REJECT);
|
||||
gtk_dialog_add_button (GTK_DIALOG (w), _("I _Agree"), GTK_RESPONSE_ACCEPT);
|
||||
gtk_dialog_set_default_response (GTK_DIALOG (w), GTK_RESPONSE_ACCEPT);
|
||||
switch (gtk_dialog_run (GTK_DIALOG (w)))
|
||||
{
|
||||
|
|
|
@ -225,7 +225,7 @@ MyApp :: MyApp( int& argc, char ** argv ):
|
|||
QDialog * dialog = new QDialog( myWindow );
|
||||
dialog->setModal( true );
|
||||
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 );
|
||||
v->addWidget( l );
|
||||
QDialogButtonBox * box = new QDialogButtonBox;
|
||||
|
|
Loading…
Reference in a new issue