Ensure default layout names are translatable

parent 49124770
Pipeline #33022 passed with stage
in 23 minutes and 25 seconds
[Order]
1=Logging
2=Editing
3=Audio
4=Effects
5=Color
1=kdenlive_logging
2=kdenlive_editing
3=kdenlive_audio
4=kdenlive_effects
5=kdenlive_color
[Layouts]
Logging=Tk8tVEwAAAD/AAAAAP0AAAACAAAAAAAAB4AAAAGC/AIAAAAB/AAAAlkAAAGCAAAApQD////8AQAAAAP8AAAAAAAAAhoAAABgAP////oAAAAAAQAAAAT7AAAAHgBjAGwAaQBwAF8AcAByAG8AcABlAHIAdABpAGUAcwEAAAAA/////wAAAGABAAAD+wAAABgAZQBmAGYAZQBjAHQAXwBzAHQAYQBjAGsAAAAAJAAAAg4AAABgAQAAA/sAAAAWAGUAZgBmAGUAYwB0AF8AbABpAHMAdAAAAAAA/////wAAAGABAAAD+wAAAB4AdAByAGEAbgBzAGkAdABpAG8AbgBfAGwAaQBzAHQAAAAAAAAAANwAAABgAQAAA/sAAAAYAG4AbwB0AGUAcwBfAHcAaQBkAGcAZQB0AQAAAhsAAAVlAAAAZwEAAAP8AAAGcwAAAQ0AAAAAAP////r/////AgAAAAL7AAAADgBsAGkAYgByAGEAcgB5AAAAAAD/////AAAAsQEAAAP7AAAAHgBwAHIAbwBqAGUAYwB0AF8AbQBvAG4AaQB0AG8AcgAAAAAkAAACHQAAAOoBAAADAAAAAgAAB4AAAAI2/AEAAAAI+wAAABQAcwBjAHIAZQBlAG4AZwByAGEAYgAAAAAA/////wAAAGABAAAD+wAAABoAYQB1AGQAaQBvAHMAcABlAGMAdAByAHUAbQAAAAAA/////wAAAGYBAAAD+wAAABYAcAByAG8AagBlAGMAdABfAGIAaQBuAQAAAAAAAALkAAAAYAEAAAP7AAAAGABjAGwAaQBwAF8AbQBvAG4AaQB0AG8AcgEAAALlAAAENgAAAUQBAAAD+wAAAAoAbQBpAHgAZQByAQAABxwAAABkAAAAZAAAAGT7AAAAGAB1AG4AZABvAF8AaABpAHMAdABvAHIAeQAAAAA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G0AAAAAAP////8AAABnAQAAA/sAAAAKAG0AaQB4AGUAcgAAAAPaAAAAYQAAAGEAAABh/AAAAZEAAAFPAAAAqwD////6AAAAAAIAAAAE+wAAABYAZQBmAGYAZQBjAHQAXwBsAGkAcwB0AQAAAAD/////AAAAAwEAAAL7AAAAHgB0AHIAYQBuAHMAaQB0AGkAbwBuAF8AbABpAHMAdAEAAAAA/////wAAAAMBAAAC+wAAABYAcAByAG8AagBlAGMAdABfAGIAaQBuAQAAAAD/////AAAApQEAAAL7AAAADgBsAGkAYgByAGEAcgB5AQAAAAD/////AAAAkAEAAAL7AAAAHgBwAHIAbwBqAGUAYwB0AF8AbQBvAG4AaQB0AG8AcgEAAALhAAADOQAAAUQBAAAD+wAAABgAdQBuAGQAbwBfAGgAaQBzAHQAbwByAHkAAAAAAP////8AAABYAQAAAwAABIkAAAHaAAAAAQAAAAIAAAABAAAAAvwAAAABAAAAAgAAAAIAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgAAAAAA/////wAAAAAAAAAAAAAAGABlAHgAdAByAGEAVABvAG8AbABCAGEAcgAAAAAA/////wAAAAAAAAAA
......@@ -26,9 +26,13 @@ the Free Software Foundation, either version 3 of the License, or
#include <KXMLGUIFactory>
#include <klocalizedstring.h>
static QMap <QString, QString> translatedLayoutNames;
LayoutManagement::LayoutManagement(QObject *parent)
: QObject(parent)
{
translatedLayoutNames = {{QStringLiteral("kdenlive_logging"), i18n("Logging")},{QStringLiteral("kdenlive_editing"), i18n("Editing")},{QStringLiteral("kdenlive_audio"), i18n("Audio")},{QStringLiteral("kdenlive_effects"), i18n("Effects")},{QStringLiteral("kdenlive_color"), i18n("Color")}};
// Prepare layout actions
KActionCategory *layoutActions = new KActionCategory(i18n("Layouts"), pCore->window()->actionCollection());
m_loadLayout = new KSelectAction(i18n("Load Layout"), pCore->window()->actionCollection());
......@@ -102,10 +106,6 @@ void LayoutManagement::initializeLayouts()
layoutGroup2.copyTo(&layoutGroup);
}
}
if (!layoutGroup.exists()) {
defaultLayout.copyTo(&layoutGroup);
defaultOrder.copyTo(&layoutOrder);
}
m_loadLayout->removeAllActions();
QStringList entries;
bool addedDefault = false;
......@@ -128,7 +128,6 @@ void LayoutManagement::initializeLayouts()
addedDefault = true;
}
}
if (addedDefault) {
// Write updated order
layoutOrder.deleteGroup();
......@@ -143,15 +142,19 @@ void LayoutManagement::initializeLayouts()
QString layoutName;
if (i <= entries.count()) {
layoutName = entries.at(i - 1);
} else {
break;
}
QAction *load = m_layoutActions.at(i - 1);
if (layoutName.isEmpty()) {
load->setText(QString());
load->setIcon(QIcon());
} else {
load->setText(i18n("Layout %1: %2", i, layoutName));
QString translatedName = translatedLayoutNames.contains(layoutName) ? translatedLayoutNames.value(layoutName) : layoutName;
load->setText(i18n("Layout %1: %2", i, translatedName));
if (i < 6) {
QPushButton *lab = new QPushButton(layoutName, m_container);
QPushButton *lab = new QPushButton(translatedName, m_container);
lab->setProperty("layoutid", layoutName);
lab->setFocusPolicy(Qt::NoFocus);
lab->setCheckable(true);
lab->setFlat(true);
......@@ -181,7 +184,7 @@ void LayoutManagement::activateLayout(QAbstractButton *button)
if (!button) {
return;
}
loadLayout(button->text(), false);
loadLayout(button->property("layoutid").toString(), false);
}
void LayoutManagement::slotLoadLayout(QAction *action)
......@@ -218,7 +221,7 @@ bool LayoutManagement::loadLayout(const QString &layoutId, bool selectButton)
QList<QAbstractButton *>buttons = m_containerGrp->buttons();
bool buttonFound = false;
for (auto *button : buttons) {
if (button->text() == layoutId) {
if (button->property("layoutid").toString() == layoutId) {
QSignalBlocker bk(m_containerGrp);
button->setChecked(true);
buttonFound = true;
......@@ -245,6 +248,13 @@ void LayoutManagement::slotSaveLayout()
if (layoutName.isEmpty()) {
return;
}
if (saveName == layoutName) {
// No rename, check button id
if (button && button->property("layoutid").toString() != saveName) {
// This is a default layout, save under id
layoutName = button->property("layoutid").toString();
}
}
KSharedConfigPtr config = KSharedConfig::openConfig(QStringLiteral("kdenlive-layoutsrc"));
KConfigGroup layouts(config, "Layouts");
KConfigGroup order(config, "Order");
......@@ -362,9 +372,9 @@ void LayoutManagement::slotManageLayouts()
// Re-add missing default layouts
for (const QString &name : defaultLayoutNames) {
if (!currentNames.contains(name)) {
if (!currentNames.contains(name) && translatedLayoutNames.contains(name)) {
// Insert default layout
QListWidgetItem *item = new QListWidgetItem(name);
QListWidgetItem *item = new QListWidgetItem(translatedLayoutNames.value(name));
item->setData(Qt::UserRole, name);
item->setFlags(Qt::ItemIsEditable | Qt::ItemIsEnabled | Qt::ItemIsSelectable);
list.insertItem(pos, item);
......@@ -384,8 +394,14 @@ void LayoutManagement::slotManageLayouts()
l2->addStretch();
// Add layouts to list
QString visibleName;
for (const QString &name : qAsConst(names)) {
QListWidgetItem *item = new QListWidgetItem(name, &list);
if (translatedLayoutNames.contains(name)) {
visibleName = translatedLayoutNames.value(name);
} else {
visibleName = name;
}
QListWidgetItem *item = new QListWidgetItem(visibleName, &list);
item->setData(Qt::UserRole, name);
item->setFlags(Qt::ItemIsEditable | Qt::ItemIsEnabled | Qt::ItemIsSelectable);
}
......@@ -408,10 +424,23 @@ void LayoutManagement::slotManageLayouts()
// Update order and new names
for (int i = 0; i < list.count(); i++) {
QListWidgetItem *item = list.item(i);
order.writeEntry(QString::number(i + 1), item->text());
if (item->text() != item->data(Qt::UserRole).toString() && !item->text().isEmpty()) {
layouts.writeEntry(item->text(), layouts.readEntry(item->data(Qt::UserRole).toString()));
layouts.deleteEntry(item->data(Qt::UserRole).toString());
QString layoutId = item->data(Qt::UserRole).toString();
if (translatedLayoutNames.contains(layoutId)) {
// This is a default layout, no rename
if (item->text() != translatedLayoutNames.value(layoutId)) {
// A default layout was renamed
order.writeEntry(QString::number(i + 1), item->text());
layouts.writeEntry(item->text(), layouts.readEntry(layoutId));
layouts.deleteEntry(layoutId);
} else {
order.writeEntry(QString::number(i + 1), layoutId);
}
continue;
}
order.writeEntry(QString::number(i + 1), layoutId);
if (item->text() != layoutId && !item->text().isEmpty()) {
layouts.writeEntry(item->text(), layouts.readEntry(layoutId));
layouts.deleteEntry(layoutId);
}
}
config->reparseConfiguration();
......
......@@ -749,7 +749,8 @@ void MainWindow::init()
updateActionsToolTip();
if (firstRun) {
layoutManager->loadLayout(QStringLiteral("Editing"), true);
// Load editing layout
layoutManager->loadLayout(QStringLiteral("kdenlive_editing"), true);
}
QTimer::singleShot(0, this, &MainWindow::GUISetupDone);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment