Use same logic for "no extension" case with Duplicate feature

Authored by ngraham on Mar 23 2020, 7:42 PM.

Description

Use same logic for "no extension" case with Duplicate feature

Summary:
In the "no extension" case, we weren't separating out the path and the original filename,
breaking the feature for languages where the word "copy" would be at the beginning of the
filename, not after it (e.g. "copia de foo" in Spanish, and similar in other romance
languages). This patch fixes that by separating the original path and filename in the no
extension case as is done for the other case, which should solve the issue.

BUG: 419070
FIXED-IN: 20.04.0

Test Plan:
No changes in English; should fix the issue in Spanish once new translations are done
(see https://bugs.kde.org/show_bug.cgi?id=419070 for details)

Reviewers: Dolphin, elvisangelaccio, arojas, meven, pino, Localization

Reviewed By: Dolphin, elvisangelaccio

Subscribers: aacid, kfm-devel

Tags: Dolphin

Differential Revision: https://phabricator.kde.org/D28227

Details

Committed
ngrahamApr 5 2020, 10:48 PM
Reviewer
Dolphin
Differential Revision
D28227: Use same logic for "no extension" case with Duplicate feature
Parents
R318:35a8912c5209: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown