Merge branch 'master' into kf6

This commit is contained in:
Méven Car 2023-06-28 09:49:46 +02:00
commit cd2e64154f
151 changed files with 35396 additions and 32660 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: dolphin\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2023-02-06 01:03+0000\n"
"PO-Revision-Date: 2023-04-06 22:35+0200\n"
"PO-Revision-Date: 2023-06-23 23:36+0200\n"
"Last-Translator: Adrián Chaves (Gallaecio) <adrian@chaves.io>\n"
"Language-Team: Galician <proxecto@trasno.gal>\n"
"Language: gl\n"
@ -15,7 +15,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Lokalize 22.12.3\n"
"X-Generator: Lokalize 23.04.2\n"
#: servicemenuinstaller.cpp:43
#, kde-format
@ -65,7 +65,7 @@ msgstr "Non se puido descomprimir %1"
#: servicemenuinstaller.cpp:234
#, kde-format
msgid "Failed to run installer script %1"
msgstr "Non se puido executar o script de instalador %1"
msgstr "Non se puido executar o guión de instalador %1"
#: servicemenuinstaller.cpp:257
#, kde-format
@ -76,7 +76,7 @@ msgstr "Non se puideron definir os permisos en %1: %2"
#, kde-format
msgctxt "%2 = comma separated list of arguments"
msgid "Installer script %1 failed, tried arguments \"%2\"."
msgstr "O script de instalador %1 fallou, intentáronse os argumentos «%2»."
msgstr "O guión de instalador %1 fallou, intentáronse os argumentos «%2»."
#: servicemenuinstaller.cpp:275
#, kde-format
@ -97,17 +97,17 @@ msgstr "Non se puido copiar o ficheiro .desktop %1 a %2: %3"
#: servicemenuinstaller.cpp:315 servicemenuinstaller.cpp:423
#, kde-format
msgid "Failed to remove directory %1"
msgstr "Non se puido retirar o directorio %1"
msgstr "Non se puido retirar o cartafol %1"
#: servicemenuinstaller.cpp:321
#, kde-format
msgid "Failed to create directory %1"
msgstr "Non se puido crear o directorio %1."
msgstr "Non se puido crear o cartafol %1."
#: servicemenuinstaller.cpp:360
#, kde-format
msgid "Failed to find an installation script in %1"
msgstr "Non se puido atopar o script de instalación en %1"
msgstr "Non se puido atopar o guión de instalación en %1"
#: servicemenuinstaller.cpp:374
#, kde-format
@ -117,7 +117,7 @@ msgstr "Non se puido retirar o ficheiro .desktop %1: %2"
#: servicemenuinstaller.cpp:417
#, kde-format
msgid "Failed to find an uninstallation script in %1"
msgstr "Non se puido atopar un script de desinstalación en %1"
msgstr "Non se puido atopar un guión de desinstalación en %1"
#: servicemenuinstaller.cpp:436
#, kde-format

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -12,7 +12,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Accelerator-Marker: &\n"
"X-Text-Markup: kde4\n"
"X-Generator: Lokalize 20.12.3\n"

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: kdeorg\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2023-02-06 01:03+0000\n"
"PO-Revision-Date: 2023-04-29 08:33\n"
"PO-Revision-Date: 2023-06-17 04:11\n"
"Last-Translator: \n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
@ -46,7 +46,7 @@ msgstr "安装软件包时发生未知错误"
#: servicemenuinstaller.cpp:183
#, kde-format
msgid "Unsupported archive type %1: %2"
msgstr "不支持的压缩类型 %1%2"
msgstr "不支持的压缩文件类型 %1%2"
#: servicemenuinstaller.cpp:189
#, kde-format
@ -130,7 +130,7 @@ msgstr "要执行的命令install 或 uninstall。"
#, kde-format
msgctxt "@info:shell"
msgid "Path to archive."
msgstr "压缩的路径。"
msgstr "压缩文件的路径。"
#: servicemenuinstaller.cpp:442
#, kde-format
@ -140,7 +140,7 @@ msgstr "命令是必需的。"
#: servicemenuinstaller.cpp:445
#, kde-format
msgid "Path to archive is required."
msgstr "压缩的路径是必填项。"
msgstr "压缩文件的路径是必填项。"
#: servicemenuinstaller.cpp:461
#, kde-format

File diff suppressed because it is too large Load diff

View file

@ -184,6 +184,7 @@ kconfig_add_kcfg_files(dolphinprivate
settings/dolphin_directoryviewpropertysettings.kcfgc
settings/dolphin_detailsmodesettings.kcfgc
settings/dolphin_iconsmodesettings.kcfgc
settings/dolphin_contentdisplaysettings.kcfgc
settings/dolphin_generalsettings.kcfgc
settings/dolphin_contextmenusettings.kcfgc
settings/dolphin_versioncontrolsettings.kcfgc
@ -307,6 +308,7 @@ target_sources(dolphinstatic PRIVATE
settings/viewmodes/viewsettingspage.cpp
settings/viewmodes/viewmodesettings.cpp
settings/viewmodes/viewsettingstab.cpp
settings/viewmodes/contentdisplaytab.cpp
statusbar/dolphinstatusbar.cpp
statusbar/mountpointobserver.cpp
statusbar/mountpointobservercache.cpp
@ -365,6 +367,7 @@ target_sources(dolphinstatic PRIVATE
settings/viewmodes/viewsettingspage.h
settings/viewmodes/viewmodesettings.h
settings/viewmodes/viewsettingstab.h
settings/viewmodes/contentdisplaytab.h
statusbar/dolphinstatusbar.h
statusbar/mountpointobserver.h
statusbar/mountpointobservercache.h
@ -409,6 +412,7 @@ kconfig_add_kcfg_files(dolphinstatic
settings/dolphin_detailsmodesettings.kcfgc
settings/dolphin_contextmenusettings.kcfgc
settings/dolphin_iconsmodesettings.kcfgc
settings/dolphin_contentdisplaysettings.kcfgc
search/dolphin_searchsettings.kcfgc
settings/dolphin_versioncontrolsettings.kcfgc
)
@ -543,6 +547,7 @@ if(NOT WIN32)
settings/dolphin_directoryviewpropertysettings.kcfgc
settings/dolphin_detailsmodesettings.kcfgc
settings/dolphin_iconsmodesettings.kcfgc
settings/dolphin_contentdisplaysettings.kcfgc
settings/dolphin_generalsettings.kcfgc
settings/dolphin_versioncontrolsettings.kcfgc
)
@ -585,6 +590,7 @@ install( FILES settings/dolphin_directoryviewpropertysettings.kcfg
settings/dolphin_compactmodesettings.kcfg
settings/dolphin_iconsmodesettings.kcfg
settings/dolphin_detailsmodesettings.kcfg
settings/dolphin_contentdisplaysettings.kcfg
settings/dolphin_versioncontrolsettings.kcfg
DESTINATION ${KDE_INSTALL_KCFGDIR} )

View file

@ -277,31 +277,6 @@ void DolphinMainWindow::openFiles(const QStringList &files, bool splitView)
openFiles(QUrl::fromStringList(files), splitView);
}
bool DolphinMainWindow::isOnCurrentDesktop() const
{
#if HAVE_X11
if (KWindowSystem::isPlatformX11()) {
const NET::Properties properties = NET::WMDesktop;
KWindowInfo info(this->winId(), properties);
return info.isOnCurrentDesktop();
}
#endif
return true;
}
bool DolphinMainWindow::isOnActivity(const QString &activityId) const
{
#if HAVE_X11 && HAVE_KACTIVITIES
if (KWindowSystem::isPlatformX11()) {
const NET::Properties properties = NET::Supported;
const NET::Properties2 properties2 = NET::WM2Activities;
KWindowInfo info(this->winId(), properties, properties2);
return info.activities().contains(activityId);
}
#endif
return true;
}
void DolphinMainWindow::activateWindow(const QString &activationToken)
{
window()->setAttribute(Qt::WA_NativeWindow, true);
@ -1782,7 +1757,14 @@ void DolphinMainWindow::setupActions()
stashSplit->setVisible(sessionInterface && sessionInterface->isServiceRegistered(QStringLiteral("org.kde.kio.StashNotifier")));
connect(stashSplit, &QAction::triggered, this, &DolphinMainWindow::toggleSplitStash);
KStandardAction::redisplay(this, &DolphinMainWindow::reloadView, actionCollection());
QAction *redisplay = KStandardAction::redisplay(this, &DolphinMainWindow::reloadView, actionCollection());
redisplay->setToolTip(i18nc("@info:tooltip", "Refresh view"));
redisplay->setWhatsThis(xi18nc("@info:whatsthis refresh",
"<para>This refreshes "
"the folder view.</para>"
"<para>If the contents of this folder have changed, refreshing will re-scan this folder "
"and show you a newly-updated view of the files and folders contained here.</para>"
"<para>If the view is split, this refreshes the one that is currently in focus.</para>"));
QAction *stop = actionCollection()->addAction(QStringLiteral("stop"));
stop->setText(i18nc("@action:inmenu View", "Stop"));

View file

@ -204,9 +204,6 @@ public Q_SLOTS:
/** @see GeneralSettings::splitViewChanged() */
void slotSplitViewChanged();
bool isOnActivity(const QString &activityId) const;
bool isOnCurrentDesktop() const;
Q_SIGNALS:
/**
* Is sent if the selection of the currently active view has

View file

@ -1,6 +1,6 @@
/*
This file is part of the KDE project
SPDX-FileCopyrightText: 2020 Felix Ernst <fe.a.ernst@gmail.com>
SPDX-FileCopyrightText: 2020 Felix Ernst <felixernst@kde.org>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/

View file

@ -1,6 +1,6 @@
/*
This file is part of the KDE project
SPDX-FileCopyrightText: 2020 Felix Ernst <fe.a.ernst@gmail.com>
SPDX-FileCopyrightText: 2020 Felix Ernst <felixernst@kde.org>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/

View file

@ -97,7 +97,7 @@ Name[ie]=Compact
Name[is]=Þétt
Name[it]=Compatta
Name[ja]=
Name[ka]=
Name[ka]=
Name[ko]=
Name[lt]=Kompaktiškas
Name[lv]=Kompakts

View file

@ -103,14 +103,15 @@ void DolphinTabBar::mouseReleaseEvent(QMouseEvent *event)
void DolphinTabBar::mouseDoubleClickEvent(QMouseEvent *event)
{
const int index = tabAt(event->pos());
int index = tabAt(event->pos());
if (index < 0) {
// Double click on the empty tabbar area opens a new activated tab
// with the url from the current tab.
Q_EMIT openNewActivatedTab(currentIndex());
return;
// empty tabbar area case
index = currentIndex();
}
// Double click on the tabbar opens a new activated tab
// with the url from the doubleclicked tab or currentTab otherwise.
Q_EMIT openNewActivatedTab(index);
QTabBar::mouseDoubleClickEvent(event);
}

View file

@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: 2014 Emmanuel Pescosta <emmanuelpescosta099@gmail.com>
* SPDX-FileCopyrightText: 2020 Felix Ernst <fe.a.ernst@gmail.com>
* SPDX-FileCopyrightText: 2020 Felix Ernst <felixernst@kde.org>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/

View file

@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: 2014 Emmanuel Pescosta <emmanuelpescosta099@gmail.com>
* SPDX-FileCopyrightText: 2020 Felix Ernst <fe.a.ernst@gmail.com>
* SPDX-FileCopyrightText: 2020 Felix Ernst <felixernst@kde.org>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/

View file

@ -1,6 +1,6 @@
/*
This file is part of the KDE project
SPDX-FileCopyrightText: 2020 Felix Ernst <fe.a.ernst@gmail.com>
SPDX-FileCopyrightText: 2020 Felix Ernst <felixernst@kde.org>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/

View file

@ -1,6 +1,6 @@
/*
This file is part of the KDE project
SPDX-FileCopyrightText: 2020 Felix Ernst <fe.a.ernst@gmail.com>
SPDX-FileCopyrightText: 2020 Felix Ernst <felixernst@kde.org>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/

View file

@ -1,6 +1,6 @@
/*
This file is part of the KDE project
SPDX-FileCopyrightText: 2020 Felix Ernst <fe.a.ernst@gmail.com>
SPDX-FileCopyrightText: 2020 Felix Ernst <felixernst@kde.org>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/

Some files were not shown because too many files have changed in this diff Show more