mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 20:13:24 -08:00
[DeckSync] Say the onboarding choice persists and let the user reset it
The first-sync verdict is stored in the sidecar, so "Upload mine" and "Download server" apply to every later sync, not just the first one. Say so in the dialog, label the one-way options as one-way, and add a "Reset sync direction" action to the deck storage tab that writes the linked (two-way) mode back to the sidecar.
This commit is contained in:
parent
b10abad3a3
commit
e8ab52a2a3
4 changed files with 51 additions and 7 deletions
|
|
@ -35,12 +35,14 @@ DlgSyncOnboarding::DlgSyncOnboarding(int _localCount, int _serverCount, QWidget
|
|||
void DlgSyncOnboarding::retranslateUi()
|
||||
{
|
||||
setWindowTitle(tr("Sync decks to this server"));
|
||||
detailLabel->setText(tr("You have %1 local decks and %2 decks stored on this server. How should they be combined?")
|
||||
.arg(localCount)
|
||||
.arg(serverCount));
|
||||
detailLabel->setText(
|
||||
tr("You have %1 local decks and %2 decks stored on this server. This choice sets how decks sync with this "
|
||||
"server from now on; you can reset it to two-way sync from the deck storage tab.")
|
||||
.arg(localCount)
|
||||
.arg(serverCount));
|
||||
mergeRadio->setText(tr("Merge: keep everything, sync both ways (recommended)"));
|
||||
uploadRadio->setText(tr("Upload mine: push local decks to the server"));
|
||||
downloadRadio->setText(tr("Download server: take the server decks"));
|
||||
uploadRadio->setText(tr("Upload mine only: push local decks to the server, never download"));
|
||||
downloadRadio->setText(tr("Download server only: take the server decks, never upload"));
|
||||
separateRadio->setText(tr("Keep separate: do not sync with this server"));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue