зеркало из https://github.com/nextcloud/desktop.git
Use pause and resume instead of enable and disable
This commit is contained in:
Родитель
0527f997c0
Коммит
8510d1fc32
|
@ -642,7 +642,7 @@ void Application::computeOverallSyncStatus()
|
|||
}
|
||||
} else {
|
||||
// sync is disabled.
|
||||
folderMessage = tr( "Sync is disabled." );
|
||||
folderMessage = tr( "Sync is paused." );
|
||||
}
|
||||
}
|
||||
if( folderMessage != _overallStatusStrings[syncedFolder] ) {
|
||||
|
|
|
@ -239,9 +239,9 @@ void StatusDialog::slotFolderActivated( const QModelIndex& indx )
|
|||
bool folderEnabled = _model->data( indx, FolderViewDelegate::FolderSyncEnabled).toBool();
|
||||
qDebug() << "folder is sync enabled: " << folderEnabled;
|
||||
if ( folderEnabled ) {
|
||||
_ButtonEnable->setText( tr( "disable" ) );
|
||||
_ButtonEnable->setText( tr( "Pause" ) );
|
||||
} else {
|
||||
_ButtonEnable->setText( tr( "enable" ) );
|
||||
_ButtonEnable->setText( tr( "Resume" ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,28 +53,28 @@
|
|||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>fetch...</string>
|
||||
<string>Fetch...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QPushButton" name="_ButtonPush">
|
||||
<property name="text">
|
||||
<string>push...</string>
|
||||
<string>Push...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="QPushButton" name="_ButtonEnable">
|
||||
<property name="text">
|
||||
<string>enable</string>
|
||||
<string>Pause</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="1">
|
||||
<widget class="QPushButton" name="_ButtonInfo">
|
||||
<property name="text">
|
||||
<string>info...</string>
|
||||
<string>Info...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -131,8 +131,6 @@
|
|||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="../../mirall.qrc"/>
|
||||
</resources>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
|
Загрузка…
Ссылка в новой задаче