]> cloud.milkyroute.net Git - dolphin.git/commit
Use same logic for "no extension" case with Duplicate feature
authorNate Graham <nate@kde.org>
Mon, 23 Mar 2020 19:42:48 +0000 (13:42 -0600)
committerNate Graham <nate@kde.org>
Sun, 5 Apr 2020 22:48:51 +0000 (16:48 -0600)
commit9b82b08fb18724662c69ed288b1a36a215548539
treef185492446b5134374a1483ce3b8dbb6fc5dc2cf
parent35a8912c5209484b8898ba86c53849b303b1f5a3
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
src/views/dolphinview.cpp