Polish client UI labels
This commit is contained in:
@@ -194,13 +194,13 @@ void AccountSettings::slotRemoveCurrentFolder(Folder *folder)
|
||||
{
|
||||
// TODO: move to qml
|
||||
qCInfo(lcAccountSettings) << u"Remove Folder " << folder->path();
|
||||
auto messageBox = new FontIconMessageBox({Resources::FontIcon::DefaultGlyphes::Question}, tr("Confirm removal of Space"),
|
||||
tr("<p>Do you really want to stop syncing the Space »%1«?</p>"
|
||||
"<p><b>Note:</b> This will <b>not</b> delete any files.</p>")
|
||||
auto messageBox = new FontIconMessageBox({Resources::FontIcon::DefaultGlyphes::Question}, tr("Confirm removal of folder sync"),
|
||||
tr("<p>Stop syncing <b>%1</b> on this computer?</p>"
|
||||
"<p><b>Note:</b> This will not delete files in QSfera or on this device.</p>")
|
||||
.arg(folder->displayName()),
|
||||
QMessageBox::NoButton, ocApp()->settingsDialog());
|
||||
messageBox->setAttribute(Qt::WA_DeleteOnClose);
|
||||
QPushButton *yesButton = messageBox->addButton(tr("Remove Space"), QMessageBox::YesRole);
|
||||
QPushButton *yesButton = messageBox->addButton(tr("Remove folder sync"), QMessageBox::YesRole);
|
||||
messageBox->addButton(tr("Cancel"), QMessageBox::NoRole);
|
||||
connect(messageBox, &QMessageBox::finished, this, [messageBox, yesButton, folder, this] {
|
||||
if (messageBox->clickedButton() == yesButton) {
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Preparing the account</string>
|
||||
<string>Preparing account</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -83,7 +83,7 @@
|
||||
</widget>
|
||||
<widget class="OCC::QmlUtils::OCQuickWidget" name="quickWidget">
|
||||
<property name="accessibleName">
|
||||
<string>Sync connections</string>
|
||||
<string>Synchronized folders</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
<item row="0" column="0">
|
||||
<widget class="QCheckBox" name="autostartCheckBox">
|
||||
<property name="text">
|
||||
<string>Start on Login</string>
|
||||
<string>Start QSfera when I sign in</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -95,7 +95,7 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="syncHiddenFilesCheckBox">
|
||||
<property name="text">
|
||||
<string>Sync hidden files</string>
|
||||
<string>Sync hidden files and folders</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -108,14 +108,14 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Show crash reporter</string>
|
||||
<string>Show crash reporter after a crash</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="moveToTrashCheckBox">
|
||||
<property name="text">
|
||||
<string>Move remotely deleted files to the local trash bin instead of deleting them</string>
|
||||
<string>Move server-deleted files to the local trash instead of deleting them</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -124,14 +124,14 @@
|
||||
<item>
|
||||
<widget class="QPushButton" name="ignoredFilesButton">
|
||||
<property name="text">
|
||||
<string>Edit Ignored Files</string>
|
||||
<string>Ignored files</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="logSettingsButton">
|
||||
<property name="text">
|
||||
<string>Log Settings</string>
|
||||
<string>Logs</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -22,14 +22,14 @@ import eu.QSfera.resources 1.0
|
||||
Pane {
|
||||
id: folderSyncPanel
|
||||
// TODO: not cool
|
||||
readonly property real normalSize: 170
|
||||
readonly property real normalSize: 140
|
||||
readonly property AccountSettings accountSettings: ocContext
|
||||
readonly property OCQuickWidget widget: ocQuickWidget
|
||||
|
||||
spacing: 10
|
||||
|
||||
Accessible.role: Accessible.List
|
||||
Accessible.name: qsTr("Folder Sync")
|
||||
Accessible.name: qsTr("Synchronized folders")
|
||||
|
||||
Connections {
|
||||
target: widget
|
||||
@@ -69,7 +69,7 @@ Pane {
|
||||
|
||||
Button {
|
||||
id: manageAccountButton
|
||||
text: qsTr("Manage Account")
|
||||
text: qsTr("Account")
|
||||
|
||||
Menu {
|
||||
id: accountMenu
|
||||
@@ -89,14 +89,14 @@ Pane {
|
||||
}
|
||||
|
||||
MenuItem {
|
||||
text: qsTr("Remove")
|
||||
text: qsTr("Remove account")
|
||||
onTriggered: accountSettings.slotDeleteAccount()
|
||||
}
|
||||
}
|
||||
|
||||
onClicked: {
|
||||
accountMenu.open();
|
||||
Accessible.announce(qsTr("Account options Menu"));
|
||||
Accessible.announce(qsTr("Account options menu"));
|
||||
}
|
||||
|
||||
Keys.onBacktabPressed: {
|
||||
@@ -352,7 +352,7 @@ Pane {
|
||||
}
|
||||
|
||||
MenuItem {
|
||||
text: qsTr("Remove Space")
|
||||
text: qsTr("Remove folder sync")
|
||||
onTriggered: accountSettings.slotRemoveCurrentFolder(folderDelegate.folder)
|
||||
visible: !folderDelegate.isDeployed
|
||||
height: visible ? implicitHeight : 0
|
||||
@@ -371,7 +371,7 @@ Pane {
|
||||
|
||||
Button {
|
||||
id: addSyncButton
|
||||
text: qsTr("Add Space")
|
||||
text: qsTr("Add folder sync")
|
||||
|
||||
onClicked: {
|
||||
accountSettings.slotAddFolder();
|
||||
@@ -391,7 +391,7 @@ Pane {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
Label {
|
||||
text: qsTr("You are synchronizing %1 out of %2 Spaces").arg(accountSettings.syncedSpaces).arg(accountSettings.syncedSpaces + accountSettings.unsyncedSpaces)
|
||||
text: qsTr("Synchronized folders: %1 of %2").arg(accountSettings.syncedSpaces).arg(accountSettings.syncedSpaces + accountSettings.unsyncedSpaces)
|
||||
visible: accountSettings.accountState.state === AccountState.Connected
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ Item {
|
||||
property alias imageSource: image.source
|
||||
property alias statusSource: statusIcon.source
|
||||
|
||||
property real imageSize: 96
|
||||
property real spacing: 10
|
||||
|
||||
default property alias content: colLayout.data
|
||||
@@ -39,15 +40,20 @@ Item {
|
||||
|
||||
Rectangle {
|
||||
Accessible.ignored: true
|
||||
Layout.preferredHeight: normalSize - 20
|
||||
Layout.preferredWidth: normalSize - 20
|
||||
Layout.preferredHeight: imageSize
|
||||
Layout.preferredWidth: imageSize
|
||||
Layout.alignment: Qt.AlignTop
|
||||
|
||||
color: spaceDelegate.palette.alternateBase
|
||||
radius: 6
|
||||
border.color: spaceDelegate.palette.mid
|
||||
border.width: 1
|
||||
clip: true
|
||||
|
||||
Image {
|
||||
id: image
|
||||
anchors.fill: parent
|
||||
anchors.margins: 8
|
||||
fillMode: Image.PreserveAspectFit
|
||||
sourceSize.width: width
|
||||
sourceSize.height: height
|
||||
@@ -74,7 +80,7 @@ Item {
|
||||
Accessible.ignored: true
|
||||
Layout.fillWidth: true
|
||||
font.bold: true
|
||||
font.pointSize: 15
|
||||
font.pointSize: 13
|
||||
elide: Text.ElideRight
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ import eu.QSfera.libsync 1.0
|
||||
Pane {
|
||||
id: spacesView
|
||||
// TODO: not cool
|
||||
readonly property real normalSize: 170
|
||||
readonly property real normalSize: 140
|
||||
|
||||
readonly property SpacesBrowser spacesBrowser: ocContext
|
||||
readonly property OCQuickWidget widget: ocQuickWidget
|
||||
|
||||
Reference in New Issue
Block a user