Translations and code format

This commit is contained in:
Jonathan White 2024-12-23 16:32:02 -05:00
parent acb2f6900d
commit e1fa1b81ac
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01
2 changed files with 6 additions and 2 deletions

View File

@ -3555,6 +3555,10 @@ Supported extensions are: %1.</source>
<source>Select import/export file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Share recursively</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>EditGroupWidgetMain</name>

View File

@ -68,7 +68,7 @@ namespace
targetMetadata->addCustomIcon(iconUuid, sourceDb->metadata()->customIcon(iconUuid));
}
}
void cloneEntries(Metadata* targetMetadata, const Group* sourceGroup, Group* targetGroup)
{
for (const Entry* sourceEntry : sourceGroup->entries()) {
@ -110,7 +110,7 @@ namespace
targetRoot->setUpdateTimeinfo(updateTimeinfo);
cloneIcon(targetMetadata, sourceRoot->database(), targetRoot->iconUuid());
cloneEntries(targetMetadata, sourceRoot, targetRoot);
if(reference.recurse) {
if (reference.recurse) {
cloneChildren(targetMetadata, sourceRoot, targetRoot);
}