Skip to content

Commit

Permalink
Fixx translations keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugen Fischer authored and Eugen Fischer committed Nov 22, 2023
1 parent c8c8a1b commit 0cf9361
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/gui/nmcgui/nmcaccountsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ void NMCAccountSettings::setLayout()
_ui->storageGroupBox->removeWidget(_ui->quotaProgressBar);

auto *quotaVLayout = new QVBoxLayout(this);
//auto *storage = new QLabel("test"); //Todo? Später zusammenbauen?
auto *quota = new QLabel("quota");
quota->setText(tr("Speicherplatz zu ") + QString::number(_ui->quotaProgressBar->value() > 0 ? _ui->quotaProgressBar->value() : 0) + " %" + tr(" belegt")); //Todo
auto *quota = new QLabel();
quota->setText(tr("USED_STORAGE_%1").arg(QString::number(_ui->quotaProgressBar->value() > 0 ? _ui->quotaProgressBar->value() : 0)));
quotaVLayout->addWidget(_ui->quotaInfoLabel);
quotaVLayout->addWidget(_ui->quotaProgressBar);
quotaVLayout->addWidget(quota);
Expand All @@ -60,7 +59,7 @@ void NMCAccountSettings::setLayout()
connect(storageLinkButton, &QPushButton::clicked, this, [](){
QDesktopServices::openUrl(QUrl("https://cloud.telekom-dienste.de/tarife"));
});
storageLinkButton->setText(tr("Speicher erweitern"));
storageLinkButton->setText(tr("STORAGE_EXTENSION"));
magentaHLayout->addWidget(storageLinkButton);

_ui->gridLayout->addLayout(magentaHLayout, 0, 0);
Expand Down

0 comments on commit 0cf9361

Please sign in to comment.