comparison src/mainwindow.cpp @ 677:0329bbd4b57c

Merge from branch "help"
author Chris Cannam
date Thu, 06 Dec 2018 13:54:34 +0000
parents mainwindow.cpp@1fc2e0269ae0 mainwindow.cpp@ce29dc775650
children 21e03596dd93
comparison
equal deleted inserted replaced
676:cb4f7c3c01dd 677:0329bbd4b57c
1444 while (!done) { 1444 while (!done) {
1445 1445
1446 MultiChoiceDialog *d = new MultiChoiceDialog 1446 MultiChoiceDialog *d = new MultiChoiceDialog
1447 (tr("Open Repository"), 1447 (tr("Open Repository"),
1448 tr("<qt><big>What would you like to open?</big></qt>"), 1448 tr("<qt><big>What would you like to open?</big></qt>"),
1449 tr("https://code.soundsoftware.ac.uk/projects/easyhg/wiki/HelpOpenDialog"),
1449 this); 1450 this);
1450 1451
1451 d->addChoice("remote", 1452 d->addChoice("remote",
1452 tr("<qt><center><img src=\":images/browser-64.png\"><br>Remote repository</center></qt>"), 1453 tr("<qt><center><img src=\":images/browser-64.png\"><br>Remote repository</center></qt>"),
1453 tr("Open a remote Mercurial repository, by cloning from its URL into a local folder."), 1454 tr("Open a remote Mercurial repository, by cloning from its URL into a local folder."),
1538 } 1539 }
1539 1540
1540 MultiChoiceDialog *d = new MultiChoiceDialog 1541 MultiChoiceDialog *d = new MultiChoiceDialog
1541 (tr("Set Remote Location"), 1542 (tr("Set Remote Location"),
1542 tr("<qt><big>Set the remote location</big></qt>"), 1543 tr("<qt><big>Set the remote location</big></qt>"),
1544 "",
1543 this); 1545 this);
1544 1546
1545 QString explanation; 1547 QString explanation;
1546 if (initial) { 1548 if (initial) {
1547 explanation = tr("Provide a remote URL to use when pushing from, or pulling to, the local<br>repository <code>%1</code>.<br>This will be the default for subsequent pushes and pulls.<br>You can change it using &ldquo;Set Remote Location&rdquo; on the File menu.").arg(m_workFolderPath); 1549 explanation = tr("Provide a remote URL to use when pushing from, or pulling to, the local<br>repository <code>%1</code>.<br>This will be the default for subsequent pushes and pulls.<br>You can change it using &ldquo;Set Remote Location&rdquo; on the File menu.").arg(m_workFolderPath);