forked from qt-creator/qt-creator
In cases where plugins extend an existing settings category of a plugin that they depend on anyhow, they do not need to specify the translated display name and icon for that category. Some options pages were already not setting the icon, but still the translated name, which makes even less sense. Clean up this mess, only setting display name and icon if that is necessary. Change-Id: I8bc9d0c51b11d48f1d847337838704d663e70b45 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
51 lines
2.0 KiB
C++
51 lines
2.0 KiB
C++
/****************************************************************************
|
|
**
|
|
** Copyright (C) 2016 The Qt Company Ltd.
|
|
** Contact: https://www.qt.io/licensing/
|
|
**
|
|
** This file is part of Qt Creator.
|
|
**
|
|
** Commercial License Usage
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
** accordance with the commercial license agreement provided with the
|
|
** Software or, alternatively, in accordance with the terms contained in
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
|
**
|
|
** GNU General Public License Usage
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
** General Public License version 3 as published by the Free Software
|
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
|
** included in the packaging of this file. Please review the following
|
|
** information to ensure the GNU General Public License requirements will
|
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
|
**
|
|
****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#include <QtGlobal>
|
|
|
|
namespace VcsBase {
|
|
namespace Constants {
|
|
|
|
const char VCS_SETTINGS_CATEGORY[] = "V.Version Control";
|
|
const char VCS_COMMON_SETTINGS_ID[] = "A.VCS.General";
|
|
const char VCS_COMMON_SETTINGS_NAME[] = QT_TRANSLATE_NOOP("VcsBase", "General");
|
|
|
|
// Ids for sort order (wizards and preferences)
|
|
const char VCS_ID_BAZAAR[] = "B.Bazaar";
|
|
const char VCS_ID_GIT[] = "G.Git";
|
|
const char VCS_ID_MERCURIAL[] = "H.Mercurial";
|
|
const char VCS_ID_SUBVERSION[] = "J.Subversion";
|
|
const char VCS_ID_PERFORCE[] = "P.Perforce";
|
|
const char VCS_ID_CVS[] = "Z.CVS";
|
|
|
|
const char VAR_VCS_NAME[] = "CurrentProject:VcsName";
|
|
const char VAR_VCS_TOPIC[] = "CurrentProject:VcsTopic";
|
|
const char VAR_VCS_TOPLEVELPATH[] = "CurrentProject:VcsTopLevelPath";
|
|
|
|
} // namespace Constants
|
|
} // namespace VcsBase
|