diff --git a/.github/workflows/CI-windows.yml b/.github/workflows/CI-windows.yml index 3496d2c92..fffc5a2c0 100644 --- a/.github/workflows/CI-windows.yml +++ b/.github/workflows/CI-windows.yml @@ -17,7 +17,7 @@ jobs: matrix: os: [windows-2019, windows-2022] arch: [x64, x86] - qt_ver: ['', 5.15.2] + qt_ver: ['', 5.15.2, 6.2.4, 6.3.0] fail-fast: false runs-on: ${{ matrix.os }} @@ -81,8 +81,9 @@ jobs: # no 32-bit Qt available - name: Install Qt ${{ matrix.qt_ver }} if: matrix.qt_ver != '' && matrix.arch == 'x64' - uses: jurplel/install-qt-action@v2 + uses: jurplel/install-qt-action@v3 with: + aqtversion: '==2.0.6' version: ${{ matrix.qt_ver }} modules: 'qtcharts' cached: ${{ steps.cache-qt.outputs.cache-hit }} @@ -94,8 +95,8 @@ jobs: python -m pip install pytest || exit /b !errorlevel! python -m pip install pytest-custom_exit_code || exit /b !errorlevel! - - name: Build GUI release - if: matrix.qt_ver != '' && matrix.arch == 'x64' + - name: Build GUI release (qmake) + if: startsWith(matrix.qt_ver, '5') && matrix.arch == 'x64' run: | cd gui || exit /b !errorlevel! qmake HAVE_QCHART=yes || exit /b !errorlevel! @@ -104,12 +105,22 @@ jobs: CL: /MP - name: Deploy GUI - if: matrix.qt_ver != '' && matrix.arch == 'x64' + if: startsWith(matrix.qt_ver, '5') && matrix.arch == 'x64' run: | windeployqt Build\gui || exit /b !errorlevel! del Build\gui\cppcheck-gui.ilk || exit /b !errorlevel! del Build\gui\cppcheck-gui.pdb || exit /b !errorlevel! + - name: Build GUI release (CMake) + if: startsWith(matrix.qt_ver, '6') && matrix.arch == 'x64' + run: | + md build || exit /b !errorlevel! + cd build || exit /b !errorlevel! + cmake -DBUILD_GUI=On -DWITH_QCHART=On -DUSE_QT6=On .. || exit /b !errorlevel! + cmake --build . --target cppcheck-gui || exit /b !errorlevel! + + # TODO: deploy with Qt6 + - name: Run CMake if: false && matrix.qt_ver == '' run: | @@ -117,9 +128,8 @@ jobs: if "${{ matrix.arch }}" == "x86" ( set ARCH=Win32 ) - rm -rf build - mkdir build - cd build + md build || exit /b !errorlevel! + cd build || exit /b !errorlevel! cmake -DBUILD_TESTS=On .. || exit /b !errorlevel! - name: Build CLI debug configuration using MSBuild diff --git a/CMakeLists.txt b/CMakeLists.txt index edc824ad7..4397b7156 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,7 @@ include(cmake/compileroptions.cmake) include(cmake/compilerDefinitions.cmake) include(cmake/buildFiles.cmake) include(cmake/cxx11.cmake) +include(cmake/printInfo.cmake) if (BUILD_GUI) include(cmake/qtCompat.cmake) endif() @@ -80,5 +81,4 @@ add_subdirectory(tools/triage) # Triage tool add_subdirectory(oss-fuzz) # OSS-Fuzz clients add_subdirectory(tools) -include(cmake/printInfo.cmake) include(cmake/clang_tidy.cmake) diff --git a/cmake/compilerDefinitions.cmake b/cmake/compilerDefinitions.cmake index 3ee4665f8..3ae139491 100644 --- a/cmake/compilerDefinitions.cmake +++ b/cmake/compilerDefinitions.cmake @@ -31,5 +31,9 @@ if (USE_THREADS) add_definitions(-DUSE_THREADS) endif() +if (MSVC AND DISABLE_CRTDBG_MAP_ALLOC) + add_definitions(-DDISABLE_CRTDBG_MAP_ALLOC) +endif() + file(TO_CMAKE_PATH ${FILESDIR} _filesdir) add_definitions(-DFILESDIR="${_filesdir}") diff --git a/cmake/findDependencies.cmake b/cmake/findDependencies.cmake index 49a7c0ee2..14cbd235a 100644 --- a/cmake/findDependencies.cmake +++ b/cmake/findDependencies.cmake @@ -6,7 +6,32 @@ if (BUILD_GUI) if (BUILD_TESTS) list(APPEND qt_components Test) endif() - find_package(Qt5 COMPONENTS ${qt_components} REQUIRED) + if (USE_QT6) + find_package(Qt6 COMPONENTS ${qt_components} QUIET) + endif() + if (NOT Qt6Core_FOUND) + find_package(Qt5 COMPONENTS ${qt_components} REQUIRED) + set(QT_VERSION "${Qt5Core_VERSION_STRING}") + else() + # detect faulty Qt6 installation by jurplel/install-qt-action@v2 + if (WITH_QCHART AND NOT Qt6Charts_FOUND) + message(FATAL_ERROR "QtCharts not found") + endif() + set(QT_VERSION "${Qt6Core_VERSION_STRING}") + if (NOT QT_VERSION) + message(WARNING "'Qt6Core_VERSION_STRING' is not set - using 6.0.0 as fallback") + set(QT_VERSION "6.0.0") + endif() + if (MSVC) + # disable Visual Studio C++ memory leak detection since it causes compiler errors with Qt 6 + # D:\a\cppcheck\Qt\6.2.4\msvc2019_64\include\QtCore/qhash.h(179,15): warning C4003: not enough arguments for function-like macro invocation 'free' [D:\a\cppcheck\cppcheck\build\gui\cppcheck-gui.vcxproj] + # D:\a\cppcheck\Qt\6.2.4\msvc2019_64\include\QtCore/qhash.h(179,15): error C2059: syntax error: ',' [D:\a\cppcheck\cppcheck\build\gui\cppcheck-gui.vcxproj] + # this is supposed to be fixed according to the following tickets but it still happens + # https://bugreports.qt.io/browse/QTBUG-40575 + # https://bugreports.qt.io/browse/QTBUG-86395 + set(DISABLE_CRTDBG_MAP_ALLOC ON) + endif() + endif() endif() if (HAVE_RULES) diff --git a/cmake/options.cmake b/cmake/options.cmake index c6dc87fc9..6bf1f304c 100644 --- a/cmake/options.cmake +++ b/cmake/options.cmake @@ -35,14 +35,17 @@ option(BUILD_TESTS "Build tests" option(REGISTER_TESTS "Register tests in CTest" ON) option(ENABLE_CHECK_INTERNAL "Enable internal checks" OFF) option(ENABLE_OSS_FUZZ "Enable the OSS-Fuzz related targets" ON) + option(BUILD_GUI "Build the qt application" OFF) -option(WITH_QCHART "When building GUI(need BUILD_GUI=ON), use Qt5 Charts" OFF) +option(WITH_QCHART "Enable QtCharts usage in the GUI" OFF) +option(USE_QT6 "Prefer Qt6 when available" ON) option(HAVE_RULES "Usage of rules (needs PCRE library and headers)" OFF) option(USE_BUNDLED_TINYXML2 "Usage of bundled tinyxml2 library" ON) option(CPPCHK_GLIBCXX_DEBUG "Usage of _GLIBCXX_DEBUG in Debug build" ON) option(USE_THREADS "Usage of threads instead of fork() for -j" OFF) option(USE_BOOST "Usage of Boost" OFF) +option(DISABLE_CRTDBG_MAP_ALLOC "Disable usage of Visual Studio C++ memory leak detection in Debug build" OFF) if (CMAKE_VERSION VERSION_EQUAL "3.16" OR CMAKE_VERSION VERSION_GREATER "3.16") set(CMAKE_DISABLE_PRECOMPILE_HEADERS Off CACHE BOOL "Disable precompiled headers") diff --git a/cmake/printInfo.cmake b/cmake/printInfo.cmake index 2fcb4f71a..df00a875a 100644 --- a/cmake/printInfo.cmake +++ b/cmake/printInfo.cmake @@ -42,6 +42,8 @@ message( STATUS "ENABLE_OSS_FUZZ = ${ENABLE_OSS_FUZZ}" ) message( STATUS ) message( STATUS "BUILD_GUI = ${BUILD_GUI}" ) message( STATUS "WITH_QCHART = ${WITH_QCHART}" ) +message( STATUS "USE_QT6 = ${USE_QT6}" ) +message( STATUS "QT_VERSION = ${QT_VERSION}") message( STATUS ) message( STATUS "HAVE_RULES = ${HAVE_RULES}" ) if (HAVE_RULES) diff --git a/cmake/qtCompat.cmake b/cmake/qtCompat.cmake index 6fe721a7f..9f39be728 100644 --- a/cmake/qtCompat.cmake +++ b/cmake/qtCompat.cmake @@ -1,29 +1,41 @@ -# "versionless" Qt is not supported until 5.15 we need to use wrappers +if (QT_VERSION VERSION_LESS 5.15) + # "versionless" Qt is not supported until 5.15 so we need to use wrappers -function(qt_wrap_ui out) - qt5_wrap_ui(_uis_hdrs ${ARGN}) - set("${out}" ${_uis_hdrs} PARENT_SCOPE) -endfunction() + function(qt_wrap_ui out) + qt5_wrap_ui(_uis_hdrs ${ARGN}) + set("${out}" ${_uis_hdrs} PARENT_SCOPE) + endfunction() -function(qt_add_resources out) - qt5_add_resources(_resources ${ARGN}) - set("${out}" ${_resources} PARENT_SCOPE) -endfunction() + function(qt_add_resources out) + qt5_add_resources(_resources ${ARGN}) + set("${out}" ${_resources} PARENT_SCOPE) + endfunction() -function(qt_create_translation out) - qt5_create_translation(_qms ${ARGN}) - set("${out}" ${_qms} PARENT_SCOPE) -endfunction() + function(qt_create_translation out) + qt5_create_translation(_qms ${ARGN}) + set("${out}" ${_qms} PARENT_SCOPE) + endfunction() -function(qt_wrap_cpp out) - qt5_wrap_cpp(_sources ${ARGN}) - set("${out}" ${_sources} PARENT_SCOPE) -endfunction() + function(qt_wrap_cpp out) + qt5_wrap_cpp(_sources ${ARGN}) + set("${out}" ${_sources} PARENT_SCOPE) + endfunction() -set(QT_CORE_LIB Qt5::Core) -set(QT_TEST_LIB Qt5::Test) -set(QT_WIDGETS_LIB Qt5::Widgets) -set(QT_GUI_LIB Qt5::Gui) -set(QT_HELP_LIB Qt5::Help) -set(QT_PRINTSUPPORT_LIB Qt5::PrintSupport) -set(QT_CHARTS_LIB Qt5::Charts) \ No newline at end of file + set(QT_CORE_LIB Qt5::Core) + set(QT_TEST_LIB Qt5::Test) + set(QT_WIDGETS_LIB Qt5::Widgets) + set(QT_GUI_LIB Qt5::Gui) + set(QT_HELP_LIB Qt5::Help) + set(QT_PRINTSUPPORT_LIB Qt5::PrintSupport) + set(QT_CHARTS_LIB Qt5::Charts) +else() + # use "versionless" targets - no need for wrapper functions + + set(QT_CORE_LIB Qt::Core) + set(QT_TEST_LIB Qt::Test) + set(QT_WIDGETS_LIB Qt::Widgets) + set(QT_GUI_LIB Qt::Gui) + set(QT_HELP_LIB Qt::Help) + set(QT_PRINTSUPPORT_LIB Qt::PrintSupport) + set(QT_CHARTS_LIB Qt::Charts) +endif() \ No newline at end of file diff --git a/gui/checkthread.cpp b/gui/checkthread.cpp index 4d3717cd4..bb8662bae 100644 --- a/gui/checkthread.cpp +++ b/gui/checkthread.cpp @@ -221,7 +221,11 @@ void CheckThread::runAddonsAndTools(const ImportProject::FileSettings *fileSetti process.start(clangCmd(),args2); process.waitForFinished(); const QByteArray &ba = process.readAllStandardOutput(); +#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)) + const quint16 chksum = qChecksum(QByteArrayView(ba)); +#else const quint16 chksum = qChecksum(ba.data(), ba.length()); +#endif QFile f1(analyzerInfoFile + '.' + addon + "-E"); if (f1.open(QIODevice::ReadOnly | QIODevice::Text)) { diff --git a/gui/codeeditor.cpp b/gui/codeeditor.cpp index d7f2b7521..555158e10 100644 --- a/gui/codeeditor.cpp +++ b/gui/codeeditor.cpp @@ -261,8 +261,13 @@ CodeEditor::CodeEditor(QWidget *parent) : setObjectName("CodeEditor"); setStyleSheet(generateStyleString()); +#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)) + QShortcut *copyText = new QShortcut(QKeySequence(Qt::CTRL | Qt::Key_C),this); + QShortcut *allText = new QShortcut(QKeySequence(Qt::CTRL | Qt::Key_A),this); +#else QShortcut *copyText = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_C),this); QShortcut *allText = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_A),this); +#endif connect(this, SIGNAL(blockCountChanged(int)), this, SLOT(updateLineNumberAreaWidth(int))); connect(this, SIGNAL(updateRequest(QRect,int)), this, SLOT(updateLineNumberArea(QRect,int))); diff --git a/gui/codeeditstyledialog.h b/gui/codeeditstyledialog.h index 0eefcdbab..c7ca33db4 100644 --- a/gui/codeeditstyledialog.h +++ b/gui/codeeditstyledialog.h @@ -28,7 +28,6 @@ class SelectColorButton; class SelectFontWeightCombo; class QObject; class QPushButton; -class QStringList; class QWidget; class StyleEditDialog : public QDialog { diff --git a/gui/cppcheck_de.ts b/gui/cppcheck_de.ts index 1f5e0b16e..2ebec2771 100644 --- a/gui/cppcheck_de.ts +++ b/gui/cppcheck_de.ts @@ -41,27 +41,6 @@ der GNU General Public License Version 3 lizenziert <html><head/><body><p>Many thanks to these libraries that we use:</p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">pcre</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">picojson</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">qt</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">tinyxml2</li></ul></body></html> - - <html><head/><body> -<p>Many thanks to these libraries that we use:</p><ul> -<li>pcre</li> -<li>picojson</li> -<li>qt</li> -<li>tinyxml2</li> -<li>z3</li></ul></body></html> - <html><head/><body> -<p>Many thanks to these libraries that we use:</p><ul> -<li>tinyxml2</li> -<li>picojson</li> -<li>pcre</li> -<li>qt</li></ul></body></html> - <html><head/><body> -<p>Vielen Dank für die von uns genutzten Bibliotheken:</p><ul> -<li>tinyxml2</li> -<li>picojson</li> -<li>pcre</li> -<li>qt</li></ul></body></html> - ApplicationDialog @@ -1100,14 +1079,6 @@ Dies wurde vermutlich durch einen Wechsel der Cppcheck-Version hervorgerufen. Bi Failed to load %1. Your Cppcheck installation is broken. You can use --data-dir=<directory> at the command line to specify where this file is located. Please note that --data-dir is supposed to be used by installation scripts and therefore the GUI does not start when it is used, all that happens is that the setting is configured. Laden von %1 fehlgeschlagen. Ihre Cppcheck-Installation ist defekt. Sie können --data-dir=<Verzeichnis> als Kommandozeilenparameter verwenden, um anzugeben, wo die Datei sich befindet. Bitte beachten Sie, dass --data-dir in Installationsroutinen genutzt werden soll, und die GUI bei dessen Nutzung nicht startet, sondern die Einstellungen konfiguriert. - - Current results will be cleared. - -Opening a new XML file will clear current results.Do you want to proceed? - Aktuelle Ergebnisse werden gelöscht. - - Das Einlesen einer XML-Datei löscht die aktuellen Ergebnisse. Fortfahren? - Open the report file @@ -1123,10 +1094,6 @@ Opening a new XML file will clear current results.Do you want to proceed?CSV files (*.csv) CSV-Dateien (*.csv) - - Cppcheck - %1 - Cppcheck - %1 - Project files (*.cppcheck);;All files(*.*) @@ -1401,10 +1368,6 @@ Options: Note: Put your own custom .cfg files in the same folder as the project file. You should see them above. Hinweis: Legen Sie eigene .cfg-Dateien in den Ordner der Projektdatei. Dann sollten sie oben sichtbar werden. - - Addons and tools - Addons und Werkzeuge - MISRA C 2012 @@ -1497,10 +1460,6 @@ Options: Down Ab - - Checking - Prüfung - Platform @@ -1527,10 +1486,6 @@ Options: If you want to design your classes to be as flexible and robust as possible then the public interface must be very robust. Cppcheck will asumme that arguments can take *any* value. - - Check code in headers (slower analysis, more results) - Prüfe Code in Headern (langsamere Analyse, mehr Ergebnisse) - Check code in unused templates (should be ON normally, however in theory you can safely ignore warnings in unused templates) @@ -1567,14 +1522,6 @@ Options: Warning tags (separated by semicolon) Warnungs-Tags (Semikolon-getrennt) - - Exclude source files in paths - Quelldateien in Pfaden ausschließen - - - Note: Addons require <a href="https://www.python.org/">Python</a> beeing installed. - Hinweis: Addons setzen voraus, dass <a href="https://www.python.org/">Python</a> installiert ist. - External tools @@ -1605,10 +1552,6 @@ Options: Cppcheck (built in) - - Clang - Clang - Check that each class has a safe public interface @@ -1680,10 +1623,6 @@ Options: Coding standards Programmierstandards - - CERT - CERT - Clang analyzer @@ -1722,10 +1661,6 @@ Options: Select a directory to check Wähle zu prüfendes Verzeichnis - - (no rule texts file) - (keine Regeltexte) - Clang-tidy (not found) @@ -1782,25 +1717,6 @@ Options: MISRA-Regeltext-Datei - - QDialogButtonBox - - OK - OK - - - Cancel - Abbrechen - - - Close - Schließen - - - Save - Speichern - - QObject @@ -2255,10 +2171,6 @@ Legen Sie unter dem Menü Ansicht fest, welche Arten von Fehlern angezeigt werde Copy complete Log Gesamtes Protokoll kopieren - - No errors found, nothing to save. - Keine Fehler gefunden, nichts zu speichern. - @@ -2280,14 +2192,6 @@ Legen Sie unter dem Menü Ansicht fest, welche Arten von Fehlern angezeigt werde Warning Details Warnungs-Details - - Functions - Funktionen - - - Variables - Variablen - ScratchPad @@ -2561,14 +2465,14 @@ Legen Sie unter dem Menü Ansicht fest, welche Arten von Fehlern angezeigt werde - - + + Statistics Statistik - + Project Projekt @@ -2599,7 +2503,7 @@ Legen Sie unter dem Menü Ansicht fest, welche Arten von Fehlern angezeigt werde - + Previous Scan Vorherige Prüfung @@ -2669,143 +2573,143 @@ Legen Sie unter dem Menü Ansicht fest, welche Arten von Fehlern angezeigt werde PDF-Export - + 1 day 1 Tag - + %1 days %1 Tage - + 1 hour 1 Stunde - + %1 hours %1 Stunden - + 1 minute 1 Minute - + %1 minutes %1 Minuten - + 1 second 1 Sekunde - + %1 seconds %1 Sekunden - + 0.%1 seconds 0,%1 Sekunden - + and und - + Export PDF Exportiere PDF - + Project Settings Projekteinstellungen - + Paths Pfade - + Include paths Include-Pfade - + Defines Definitionen - + Undefines Un-Definitionen - + Path selected Gewählte Pfade - + Number of files scanned Anzahl geprüfter Dateien - + Scan duration Prüfungsdauer - - + + Errors Fehler - + File: Datei: - + No cppcheck build dir Kein Cppcheck-Analyseverzeichnis - - + + Warnings Warnungen - - + + Style warnings Stilwarnungen - - + + Portability warnings Portabilitätswarnungen - - + + Performance warnings Performance-Warnungen - - + + Information messages Informationsmeldungen diff --git a/gui/cppcheck_es.ts b/gui/cppcheck_es.ts index 772efd65a..607b0e7a8 100644 --- a/gui/cppcheck_es.ts +++ b/gui/cppcheck_es.ts @@ -407,33 +407,6 @@ Parameters: -l(line) (file) Valores válidos - - LogView - - Checking Log - Comprobando el log - - - Clear - Limpiar - - - Save Log - Guardar el log - - - Text files (*.txt *.log);;All files (*.*) - Archivos de texto (*.txt *.log);;Todos los archivos(*.*) - - - Cppcheck - Cppcheck - - - Could not open file for writing: "%1" - No se pudo abrir el fichero para escritura: "%1" - - MainWindow @@ -474,10 +447,6 @@ Parameters: -l(line) (file) &Help &Ayuda - - &Check - &Comprobar - C++ standard @@ -553,10 +522,6 @@ Parameters: -l(line) (file) Ctrl+D Ctrl+D - - &Recheck files - &Volver a revisar ficheros - Ctrl+R @@ -604,30 +569,18 @@ Parameters: -l(line) (file) &Preferences &Preferencias - - Style warnings - Advertencias de estilo - Show style warnings Mostrar advertencias de estilo - - Errors - Errores - Show errors Mostrar errores - - Show S&cratchpad... - Mostrar S&cratchpad... - @@ -639,10 +592,6 @@ Parameters: -l(line) (file) Show information messages Mostrar mensajes de información - - Portability - Portabilidad - Show portability warnings @@ -698,34 +647,6 @@ Parameters: -l(line) (file) Windows 64-bit Windows 64-bit - - Platforms - Plataformas - - - C++11 - C++11 - - - C99 - C99 - - - Posix - Posix - - - C11 - C11 - - - C89 - C89 - - - C++03 - C++03 - &Print... @@ -746,10 +667,6 @@ Parameters: -l(line) (file) Open a Print Preview Dialog for the Current Results Abre el diálogo de previsualización de impresión para el informe actual - - Library Editor... - Editor de bibliotecas... - Open library editor @@ -1006,20 +923,12 @@ Parameters: -l(line) (file) C++20 C++20 - - Warnings - Advertencias - Show warnings Mostrar advertencias - - Performance warnings - Advertencias de rendimiento - @@ -1038,19 +947,11 @@ Parameters: -l(line) (file) This is probably because the settings were changed between the Cppcheck versions. Please check (and fix) the editor application settings, otherwise the editor program might not start correctly. - - No suitable files found to check! - ¡No se han encontrado ficheros para comprobar! - You must close the project file before selecting new files or directories! ¡Tienes que cerrar el proyecto antes de seleccionar nuevos ficheros o carpetas! - - Select directory to check - Selecciona una carpeta para comprobar - Select configuration @@ -1098,14 +999,6 @@ This is probably because the settings were changed between the Cppcheck versions Open the report file Abrir informe - - Checking is running. - -Do you want to stop the checking and exit Cppcheck? - El proceso de comprobación está en curso. - -¿Quieres parar la comprobación y salir del Cppcheck? - License @@ -1116,10 +1009,6 @@ Do you want to stop the checking and exit Cppcheck? Authors Autores - - XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv) - Archivos XML versión 2 (*.xml);;Archivos XML versión 1 (*.xml);;Archivos de texto (*.txt);;Archivos CSV (*.csv) - Save the report file @@ -1131,10 +1020,6 @@ Do you want to stop the checking and exit Cppcheck? Quick Filter: Filtro rápido: - - Select files to check - Selecciona los archivos a comprobar - Found project file: %1 @@ -1143,14 +1028,6 @@ Do you want to load this project file instead? Se encontró el fichero de proyecto: %1 ¿Quiere cargar este fichero de proyecto en su lugar? - - - Found project files from the directory. - -Do you want to proceed checking without using any of these project files? - Se encontraron ficheros de proyecto en el directorio. - -¿Quiere proceder a comprobar sin utilizar ninguno de estos ficheros de proyecto? @@ -1189,22 +1066,6 @@ Do you want to proceed checking without using any of these project files?Failed to load %1. Your Cppcheck installation is broken. You can use --data-dir=<directory> at the command line to specify where this file is located. Please note that --data-dir is supposed to be used by installation scripts and therefore the GUI does not start when it is used, all that happens is that the setting is configured. - - Current results will be cleared. - -Opening a new XML file will clear current results.Do you want to proceed? - Los resultados actuales serán eliminados. - -Abrir un nuevo fichero XML eliminará los resultados actuales. ¿Desea continuar? - - - XML files version 1 (*.xml) - Archivos XML versión 1 (*.xml) - - - XML files version 2 (*.xml) - Archivos XML versión 2 (*.xml) - Text files (*.txt) @@ -1215,10 +1076,6 @@ Abrir un nuevo fichero XML eliminará los resultados actuales. ¿Desea continuar CSV files (*.csv) Ficheros CVS (*.cvs) - - Cppcheck - %1 - Cppcheck - %1 - Project files (*.cppcheck);;All files(*.*) @@ -1427,10 +1284,6 @@ Options: Platforms - - Built-in - Built-in - Native @@ -1462,21 +1315,6 @@ Options: Windows 64-bit - - Project - - Cppcheck - Cppcheck - - - Could not read the project file. - No se ha podido leer el fichero. - - - Could not write the project file. - No se ha podido escribir el fichero de proyecto. - - ProjectFile @@ -1484,10 +1322,6 @@ Options: Project File Archivo de proyecto - - Project - Proyecto - Paths and Defines @@ -1505,15 +1339,6 @@ Options: Defines must be separated by a semicolon ';' - - &Root: - Root: - Raíz: - - - Libraries: - Bibliotecas: - Note: Put your own custom .cfg files in the same folder as the project file. You should see them above. @@ -1673,14 +1498,6 @@ Options: External tools - - Includes - Incluir - - - Include directories: - Incluir los directorios: - Up @@ -1746,19 +1563,11 @@ Options: Libraries - - Exclude - Excluir - Suppressions Supresiones - - Suppression list: - Lista de supresiones: - Add @@ -1873,10 +1682,6 @@ Options: Exclude file - - Add Suppression - Añadir supresión - Select MISRA rule texts file @@ -1888,25 +1693,6 @@ Options: - - QDialogButtonBox - - OK - Aceptar - - - Cancel - Cancelar - - - Close - Cerrar - - - Save - Guardar - - QObject @@ -2151,10 +1937,6 @@ Options: Please select the directory where file is located. - - [Inconclusive] - [No concluyente] - portability @@ -2180,22 +1962,6 @@ Options: Recheck - - Copy filename - Copiar nombre del archivo - - - Copy full path - Copiar ruta completa - - - Copy message - Copiar mensaje - - - Copy message id - Copiar id del mensaje - Hide @@ -2265,14 +2031,6 @@ Please check the application path and parameters are correct. No se ha podido ejecutar %1 Por favor comprueba que la ruta a la aplicación y los parámetros son correctos. - - - Could not find file: -%1 -Please select the directory where file is located. - No se ha encontrado el fichero: -%1 -Por favor selecciona la carpeta donde se encuentra. @@ -2332,14 +2090,6 @@ Por favor selecciona la carpeta donde se encuentra. Warning Details - - Functions - Funciones - - - No errors found, nothing to save. - No se han encontrado errores, nada que guardar. - @@ -2390,14 +2140,6 @@ Para cambiar el tipo de comportamiento, abra el menú Ver. XML format version 1 is no longer supported. - - Summary - Resumen - - - Message - Mensaje - First included by @@ -2586,14 +2328,6 @@ Para cambiar el tipo de comportamiento, abra el menú Ver. Custom - - Paths - Rutas - - - Include paths: - Rutas incluidas: - Add... @@ -2615,18 +2349,6 @@ Para cambiar el tipo de comportamiento, abra el menú Ver. Language Idioma - - Advanced - Avanzado - - - &Show inconclusive errors - &Mostrar errores no concluyentes - - - S&how internal warnings in log - M&ostrar advertencias internas en el log - Number of threads: @@ -2642,10 +2364,6 @@ Para cambiar el tipo de comportamiento, abra el menú Ver. Show "No errors found" message when no errors found Mostrar el mensaje "No se han encontrado errores" - - Edit - Editar - Remove @@ -2719,24 +2437,20 @@ Para cambiar el tipo de comportamiento, abra el menú Ver. Select clang path - - Select include directory - Seleccionar carpeta a incluir - StatsDialog - - + + Statistics Estadísticas - + Project Proyecto @@ -2767,7 +2481,7 @@ Para cambiar el tipo de comportamiento, abra el menú Ver. - + Previous Scan Análisis anterior @@ -2837,143 +2551,143 @@ Para cambiar el tipo de comportamiento, abra el menú Ver. - + 1 day 1 día - + %1 days %1 días - + 1 hour 1 hora - + %1 hours %1 horas - + 1 minute 1 minuto - + %1 minutes %1 minutos - + 1 second 1 segundo - + %1 seconds %1 segundos - + 0.%1 seconds 0.%1 segundos - + and y - + Export PDF - + Project Settings Preferencias del proyecto - + Paths Rutas - + Include paths Incluye las rutas - + Defines Definiciones - + Undefines - + Path selected Ruta seleccionada - + Number of files scanned Número de archivos analizados - + Scan duration Duración del análisis - - + + Errors Errores - + File: - + No cppcheck build dir - - + + Warnings Advertencias - - + + Style warnings Advertencias de estilo - - + + Portability warnings Advertencias de portabilidad - - + + Performance warnings Advertencias de rendimiento - - + + Information messages Mensajes de información diff --git a/gui/cppcheck_fi.ts b/gui/cppcheck_fi.ts index 6239db7f8..56944b6b3 100644 --- a/gui/cppcheck_fi.ts +++ b/gui/cppcheck_fi.ts @@ -410,13 +410,6 @@ Parameters: -l(line) (file) - - LogView - - Cppcheck - Cppcheck - - MainWindow @@ -462,10 +455,6 @@ Parameters: -l(line) (file) &Toolbars - - &Check - &Tarkista - C++ standard @@ -531,10 +520,6 @@ Parameters: -l(line) (file) Ctrl+D Ctrl+D - - &Recheck files - Tarkista tiedostot &uudelleen - Ctrl+R @@ -958,14 +943,6 @@ Parameters: -l(line) (file) &Help &Ohje - - Select directory to check - Valitse tarkistettava hakemisto - - - No suitable files found to check! - Tarkistettavaksi sopivia tiedostoja ei löytynyt! - @@ -1020,11 +997,6 @@ Do you want to load this project file instead? Authors Tekijät - - XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv) - XML files (*.xml);;Text files (*.txt);;CSV files (*.csv) - XML-tiedostot (*.xml);;Tekstitiedostot (*.txt);;CSV-tiedostot (*.csv) - Save the report file @@ -1048,10 +1020,6 @@ This is probably because the settings were changed between the Cppcheck versions You must close the project file before selecting new files or directories! - - Select files to check - Valitse tarkistettavat tiedostot - The library '%1' contains unknown elements: @@ -1108,10 +1076,6 @@ This is probably because the settings were changed between the Cppcheck versions CSV files (*.csv) - - Cppcheck - %1 - Cppcheck - %1 - Project files (*.cppcheck);;All files(*.*) @@ -1345,13 +1309,6 @@ Options: - - Project - - Cppcheck - Cppcheck - - ProjectFile @@ -1991,14 +1948,6 @@ Options: Recheck - - Copy filename - Kopioi tiedostonimi - - - Copy full path - Kopioi tiedoston koko polku - Hide @@ -2192,10 +2141,6 @@ Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valik Copy complete Log - - No errors found, nothing to save. - Virheitä ei löytynyt, ei mitään tallennettavaa. - @@ -2491,14 +2436,14 @@ Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valik - - + + Statistics - + Project @@ -2529,7 +2474,7 @@ Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valik - + Previous Scan @@ -2599,143 +2544,143 @@ Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valik - + 1 day - + %1 days - + 1 hour - + %1 hours - + 1 minute - + %1 minutes - + 1 second - + %1 seconds - + 0.%1 seconds - + and - + Export PDF - + Project Settings - + Paths - + Include paths - + Defines - + Undefines - + Path selected - + Number of files scanned - + Scan duration - - + + Errors - + File: - + No cppcheck build dir - - + + Warnings - - + + Style warnings - - + + Portability warnings - - + + Performance warnings - - + + Information messages diff --git a/gui/cppcheck_fr.ts b/gui/cppcheck_fr.ts index 7811e8095..049265eea 100644 --- a/gui/cppcheck_fr.ts +++ b/gui/cppcheck_fr.ts @@ -451,10 +451,6 @@ Paramètres : -l(ligne) (fichier) &Help &Aide - - &Check - &Vérifier - &Edit @@ -500,10 +496,6 @@ Paramètres : -l(ligne) (fichier) Ctrl+D - - &Recheck files - &Revérifier les fichiers - Ctrl+R @@ -579,14 +571,6 @@ Paramètres : -l(ligne) (fichier) F1 - - No suitable files found to check! - Pas de fichiers trouvés à vérifier ! - - - Select directory to check - Sélectionner le répertoire à vérifier - License @@ -633,32 +617,12 @@ Paramètres : -l(ligne) (fichier) Categories Catégories - - Check files - Vérifier les fichiers - - - Check directory - Vérifier un répertoire - - - Stop checking - Arrêter la vérification - - - Style warnings - Avertissement de style - Show style warnings Afficher les avertissements de style - - Errors - Erreurs - @@ -730,20 +694,12 @@ Paramètres : -l(ligne) (fichier) &Statistics Statistiques - - Warnings - Avertissements - Show warnings Afficher les avertissements - - Performance warnings - Avertissements de performance - @@ -766,10 +722,6 @@ Paramètres : -l(ligne) (fichier) Show information messages Afficher les messages d'information - - Portability - Portabilité - Show portability warnings @@ -785,14 +737,6 @@ Paramètres : -l(ligne) (fichier) Open the report file Ouvrir le rapport - - Checking is running. - -Do you want to stop the checking and exit Cppcheck? - Vérification en cours. - -Voulez-vous arrêter la vérification et quitter CppCheck ? - Project files (*.cppcheck);;All files(*.*) @@ -897,18 +841,6 @@ Do you want to remove the file from the recently used projects -list? Windows 64-bit - - Current results will be cleared. - -Opening a new XML file will clear current results.Do you want to proceed? - Les résultats courant seront effacés. - -L'ouverture d'un nouveau fichier XML effacera les resultats. Voulez-vous confirmar l'opération ? - - - Select files to check - Sélectionner les fichiers à vérifier - Cppcheck GUI - Command line parameters @@ -998,18 +930,6 @@ L'ouverture d'un nouveau fichier XML effacera les resultats. Voulez-vo Open library editor - - Auto-detect language - Auto-detection du langage - - - &Recheck modified files - &Revérifier les fichiers modifiés - - - &Recheck all files - &Revérifier tous les fichiers - Unknown element @@ -1380,17 +1300,6 @@ Do you want to proceed? - - Project - - Could not read the project file. - Impossible de lire le fichier projet. - - - Could not write the project file. - Impossible d'écrire dans le fichier projet. - - ProjectFile @@ -1408,10 +1317,6 @@ Do you want to proceed? Defines: - - Project - Projet - @@ -1433,18 +1338,6 @@ Do you want to proceed? Remove Supprimer - - Includes - Inclusions - - - Include directories: - Inclure les répertoires - - - Root: - Répertoire racine - Up @@ -1455,23 +1348,11 @@ Do you want to proceed? Down Descendre - - Exclude - Exclure - - - Libraries: - Bibliothèques - Suppressions Suppressions - - Suppression list: - Liste de suppressions - Add @@ -1795,25 +1676,6 @@ Do you want to proceed? - - QDialogButtonBox - - OK - OK - - - Cancel - Annuler - - - Close - Fermer - - - Save - Sauvegarder - - QObject @@ -2027,18 +1889,6 @@ Do you want to proceed? Undefined file Fichier indéterminé - - Copy filename - Copier le nom du fichier - - - Copy full path - Copier le chemin complet - - - Copy message - Copier le message - @@ -2079,14 +1929,6 @@ Merci de vérifier que le chemin de l'application et que les paramètres so Could not find the file! Fichier introuvable ! - - Could not find file: -%1 -Please select the directory where file is located. - Fichier introuvable: -%1 -Veuillez sélectionner le répertoire où est situé le fichier. - Select Directory @@ -2136,10 +1978,6 @@ Please select the default editor application in preferences/Applications.Id Id - - Copy message id - Copier l'identifiant du message - Hide all with id @@ -2242,10 +2080,6 @@ Pour configurer les erreurs affichées, ouvrez le menu d'affichage.Bug hunting analysis is incomplete - - No errors found, nothing to save. - Pas d'erreurs trouvées, rien à sauvegarder. - @@ -2258,14 +2092,6 @@ Pour configurer les erreurs affichées, ouvrez le menu d'affichage.Failed to read the report. Erreur lors de la lecture du rapport - - Summary - Résumé - - - Message - Message - %p% (%1 of %2 files checked) @@ -2397,10 +2223,6 @@ Pour configurer les erreurs affichées, ouvrez le menu d'affichage.Save full path to files in reports Sauvegarder le chemin complet des fichiers dans les rapports - - Include paths: - Inclure les chemins - Add... @@ -2426,14 +2248,6 @@ Pour configurer les erreurs affichées, ouvrez le menu d'affichage.Language Langue - - Paths - Chemins - - - Edit - Editer - Remove @@ -2570,10 +2384,6 @@ Pour configurer les erreurs affichées, ouvrez le menu d'affichage.N/A - - Select include directory - Selectionner un répertoire à inclure - [Default] @@ -2610,14 +2420,14 @@ Pour configurer les erreurs affichées, ouvrez le menu d'affichage. - - + + Statistics Statistiques - + Project Projet @@ -2643,7 +2453,7 @@ Pour configurer les erreurs affichées, ouvrez le menu d'affichage. - + Previous Scan Analyse précédente @@ -2698,123 +2508,123 @@ Pour configurer les erreurs affichées, ouvrez le menu d'affichage.Copier vers le presse-papier - + 1 day - + %1 days - + 1 hour - + %1 hours - + 1 minute - + %1 minutes - + 1 second - + %1 seconds - + 0.%1 seconds - + and - + Project Settings - + Paths Chemins - + Include paths - + Defines - + Path selected - + Number of files scanned - + Scan duration - - + + Errors Erreurs - - + + Warnings Avertissements - - + + Style warnings Avertissement de style - - + + Portability warnings - - + + Performance warnings Avertissements de performance - - + + Information messages @@ -2824,7 +2634,7 @@ Pour configurer les erreurs affichées, ouvrez le menu d'affichage. - + Export PDF @@ -2839,12 +2649,12 @@ Pour configurer les erreurs affichées, ouvrez le menu d'affichage. - + File: - + No cppcheck build dir @@ -2854,7 +2664,7 @@ Pour configurer les erreurs affichées, ouvrez le menu d'affichage. - + Undefines diff --git a/gui/cppcheck_it.ts b/gui/cppcheck_it.ts index 2269eb7bd..5377c41d7 100644 --- a/gui/cppcheck_it.ts +++ b/gui/cppcheck_it.ts @@ -419,33 +419,6 @@ Parametri: -l(line) (file) - - LogView - - Checking Log - Log sulla scansione - - - Clear - Cancella - - - Save Log - Salva il rapporto - - - Text files (*.txt *.log);;All files (*.*) - File di testo (*.txt *.log);;Tutti i files(*.*) - - - Cppcheck - Cppcheck - - - Could not open file for writing: "%1" - Non è stato possibile aprire il file per la scrittura: "%1" - - MainWindow @@ -491,10 +464,6 @@ Parametri: -l(line) (file) &Toolbars &Barre degli strumenti - - &Check - &Scansiona - C++ standard @@ -560,10 +529,6 @@ Parametri: -l(line) (file) Ctrl+D Ctrl+D - - &Recheck files - &Riscansiona i file - Ctrl+R @@ -611,34 +576,18 @@ Parametri: -l(line) (file) &Preferences &Preferenze - - Errors - Errori - Show errors Mostra gli errori - - Show S&cratchpad... - Mostra il blocchetto per appunti... - - - Warnings - Avvisi - Show warnings Mostra gli avvisi - - Performance warnings - Avvisi sulle prestazioni - @@ -661,10 +610,6 @@ Parametri: -l(line) (file) Show information messages Mostra messaggi di informazione - - Portability - Portabilità - Show portability warnings @@ -720,34 +665,6 @@ Parametri: -l(line) (file) Windows 64-bit Windows 64-bit - - Platforms - Piattaforme - - - C++11 - C++11 - - - C99 - C99 - - - Posix - Posix - - - C11 - C11 - - - C89 - C89 - - - C++03 - C++03 - &Print... @@ -1014,10 +931,6 @@ Parametri: -l(line) (file) Categories Categorie - - Style warnings - Avvisi sullo stile - @@ -1039,14 +952,6 @@ Parametri: -l(line) (file) &Help &Aiuto - - Select directory to check - Seleziona una cartella da scansionare - - - No suitable files found to check! - Nessun file trovato idoneo alla scansione! - @@ -1066,14 +971,6 @@ Do you want to load this project file instead? Trovato il file di progetto: %1 Vuoi piuttosto caricare questo file di progetto? - - - Found project files from the directory. - -Do you want to proceed checking without using any of these project files? - Trovati file di progetto dalla directory. - -Vuoi procedere alla scansione senza usare qualcuno di questi file di progetto? @@ -1116,10 +1013,6 @@ Vuoi procedere alla scansione senza usare qualcuno di questi file di progetto?Authors Autori - - XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv) - File XML Versione 2 (*.xml);;File XML Versione 1 (*.xml);;File di testo (*.txt);;File CSV (*.csv) - Save the report file @@ -1145,10 +1038,6 @@ Probabilmente ciò è avvenuto perché le impostazioni sono state modificate tra You must close the project file before selecting new files or directories! Devi chiudere il file di progetto prima di selezionare nuovi file o cartelle! - - Select files to check - Seleziona i file da scansionare - The library '%1' contains unknown elements: @@ -1185,35 +1074,11 @@ Probabilmente ciò è avvenuto perché le impostazioni sono state modificate tra Failed to load %1. Your Cppcheck installation is broken. You can use --data-dir=<directory> at the command line to specify where this file is located. Please note that --data-dir is supposed to be used by installation scripts and therefore the GUI does not start when it is used, all that happens is that the setting is configured. - - Current results will be cleared. - -Opening a new XML file will clear current results.Do you want to proceed? - I risultati correnti verranno ripuliti. - -L'apertura di un nuovo file XML ripulirà i risultati correnti. Vuoi procedere? - Open the report file Apri il file di rapporto - - Checking is running. - -Do you want to stop the checking and exit Cppcheck? - La scansione è in esecuzione. - -Vuoi fermare la scansione ed uscire da Cppcheck? - - - XML files version 1 (*.xml) - Files XML versione 1 (*.xml) - - - XML files version 2 (*.xml) - Files XML versione 2 (*.xml) - Text files (*.txt) @@ -1224,22 +1089,6 @@ Vuoi fermare la scansione ed uscire da Cppcheck? CSV files (*.csv) Files CSV (*.csv) - - Cppcheck - %1 - Cppcheck - %1 - - - Failed to change the user interface language: - -%1 - -The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages. - Fallito il tentativo di cambio della lingua dell'interfaccia utente: - -%1 - -L'interfaccia utente è stata risettata in Inglese. Apri la finestra di dialogo Preferenze per selezionare una qualunque lingua a disposizione. - Project files (*.cppcheck);;All files(*.*) @@ -1448,10 +1297,6 @@ Options: Platforms - - Built-in - Built-in - Native @@ -1483,21 +1328,6 @@ Options: Windows 64-bit - - Project - - Cppcheck - Cppcheck - - - Could not read the project file. - Non è stato possibile leggere il file di progetto. - - - Could not write the project file. - Non è stato possibile scrivere il file di progetto. - - ProjectFile @@ -1505,10 +1335,6 @@ Options: Project File File di progetto - - Project - Progetto - Paths and Defines @@ -1526,11 +1352,6 @@ Options: Defines must be separated by a semicolon ';' - - &Root: - Root: - Root: - Note: Put your own custom .cfg files in the same folder as the project file. You should see them above. @@ -1690,14 +1511,6 @@ Options: External tools - - Includes - Inclusioni - - - Include directories: - Cartelle di inclusione: - Up @@ -1763,10 +1576,6 @@ Options: Libraries - - Exclude - Escludi - Suppressions @@ -1897,13 +1706,6 @@ Options: - - QDialogButtonBox - - Close - Chiudi - - QObject @@ -2148,10 +1950,6 @@ Options: Please select the directory where file is located. - - [Inconclusive] - [Inconcludente] - debug @@ -2167,22 +1965,6 @@ Options: Recheck - - Copy filename - Copia nome file - - - Copy full path - Copia tutto il percorso - - - Copy message - Copia messaggio - - - Copy message id - Copia id del messaggio - Hide @@ -2251,14 +2033,6 @@ Please check the application path and parameters are correct. Non è stato possibile avviare %1 Per favore verifica che il percorso dell'applicazione e i parametri siano corretti. - - - Could not find file: -%1 -Please select the directory where file is located. - Non è stato possibile trovare il file: -%1 -Per favore selezioa la cartella dove il file è posizionato. @@ -2357,14 +2131,6 @@ Per vedere il tipo di errori che sono mostrati, apri il menu Visualizza.XML format version 1 is no longer supported. - - Summary - Riassunto - - - Message - Messaggio - First included by @@ -2395,10 +2161,6 @@ Per vedere il tipo di errori che sono mostrati, apri il menu Visualizza.Copy complete Log - - No errors found, nothing to save. - Nessun errore trovato, nulla da salvare. - @@ -2461,10 +2223,6 @@ Per vedere il tipo di errori che sono mostrati, apri il menu Visualizza.General Generale - - Include paths: - Percorsi d'inclusione: - Add... @@ -2602,14 +2360,6 @@ Per vedere il tipo di errori che sono mostrati, apri il menu Visualizza.Custom - - Paths - Percorsi - - - Edit - Modifica - Remove @@ -2651,18 +2401,6 @@ Per vedere il tipo di errori che sono mostrati, apri il menu Visualizza.Language Lingua - - Advanced - Avanzate - - - &Show inconclusive errors - &Mostra errori inconcludenti - - - S&how internal warnings in log - &Mostra avvisi interni nel log - SettingsDialog @@ -2711,24 +2449,20 @@ Per vedere il tipo di errori che sono mostrati, apri il menu Visualizza.Select clang path - - Select include directory - Seleziona la cartella da includere - StatsDialog - - + + Statistics Statistiche - + Project Progetto @@ -2759,7 +2493,7 @@ Per vedere il tipo di errori che sono mostrati, apri il menu Visualizza. - + Previous Scan Precedente Scansione @@ -2829,143 +2563,143 @@ Per vedere il tipo di errori che sono mostrati, apri il menu Visualizza. - + 1 day 1 giorno - + %1 days %1 giorni - + 1 hour 1 ora - + %1 hours %1 ore - + 1 minute 1 minuto - + %1 minutes %1 minuti - + 1 second 1 secondo - + %1 seconds %1 secondi - + 0.%1 seconds 0,%1 secondi - + and e - + Export PDF - + Project Settings Impostazioni progetto - + Paths Percorsi - + Include paths Percorsi di inclusione - + Defines Definizioni - + Undefines - + Path selected Selezionato percorso - + Number of files scanned Numero di file scansionati - + Scan duration Durata della scansione - - + + Errors Errori - + File: - + No cppcheck build dir - - + + Warnings Avvisi - - + + Style warnings Stilwarnungen - - + + Portability warnings Avvisi sulla portabilità - - + + Performance warnings Avvisi sulle performance - - + + Information messages Messaggi di informazione diff --git a/gui/cppcheck_ja.ts b/gui/cppcheck_ja.ts index 77bba1e2d..bb82cd45e 100644 --- a/gui/cppcheck_ja.ts +++ b/gui/cppcheck_ja.ts @@ -38,29 +38,7 @@ of the GNU General Public License version 3 <html><head/><body><p>Many thanks to these libraries that we use:</p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">pcre</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">picojson</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">qt</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">tinyxml2</li></ul></body></html> - - - - <html><head/><body> -<p>Many thanks to these libraries that we use:</p><ul> -<li>pcre</li> -<li>picojson</li> -<li>qt</li> -<li>tinyxml2</li> -<li>z3</li></ul></body></html> - <html><head/><body> -<p>Many thanks to these libraries that we use:</p><ul> -<li>tinyxml2</li> -<li>picojson</li> -<li>pcre</li> -<li>qt</li></ul></body></html> - <html><head/><body> -<p>私達は以下のライブラリを使用しています。ここで感謝の意を表明します。</p><ul> -<li>pcre</li> -<li>picojson</li> -<li>qt</li> -<li>tinyxml2</li> -<li>z3</li></ul></body></html> + <html><head/><body><p>ライブラリの開発者に感謝を捧げます:</p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">pcre</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">picojson</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">qt</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">tinyxml2</li></ul></body></html> @@ -156,21 +134,6 @@ Parameters: -l(line) (file) ファイル:%1 が読み込めません - - FunctionContractDialog - - Function contract - 関数の構成 - - - Name - 名前 - - - Requirements for parameters - パラメータの要求事項 - - HelpDialog @@ -431,10 +394,6 @@ Parameters: -l(line) (file) argvalue argvalue(引数の値) - - constant - constant(定数) - @@ -470,33 +429,6 @@ Parameters: -l(line) (file) 妥当な値 - - LogView - - Checking Log - Cppcheck ログ - - - Clear - 消去 - - - Save Log - ログ保存 - - - Text files (*.txt *.log);;All files (*.*) - テキストファイル (*.txt *.log);;すべてのファイル(*.*) - - - Cppcheck - Cppcheck - - - Could not open file for writing: "%1" - ファイルを書き込みできない - - MainWindow @@ -537,10 +469,6 @@ Parameters: -l(line) (file) &Help ヘルプ(&H) - - &Check - 解析(&A) - C++ standard @@ -616,20 +544,11 @@ Parameters: -l(line) (file) Ctrl+D Ctrl+D - - &Recheck files - 再チェック(&R) - Ctrl+R Ctrl+R - - &Reanalyze all files - &Recheck all files - 全ファイル再チェック - &Stop @@ -672,30 +591,18 @@ Parameters: -l(line) (file) &Preferences 設定(&P) - - Style warnings - スタイル警告 - Show style warnings スタイル警告を表示 - - Errors - エラー - Show errors エラーを表示 - - Show S&cratchpad... - スクラッチパッドを表示 - @@ -707,10 +614,6 @@ Parameters: -l(line) (file) Show information messages 情報メッセージを表示 - - Portability - 移植可能性 - Show portability warnings @@ -766,34 +669,6 @@ Parameters: -l(line) (file) Windows 64-bit Windows 64-bit - - Platforms - プラットフォーム - - - C++11 - C++11 - - - C99 - C99 - - - Posix - Posix - - - C11 - C11 - - - C89 - C89 - - - C++03 - C++03 - &Print... @@ -814,19 +689,11 @@ Parameters: -l(line) (file) Open a Print Preview Dialog for the Current Results 現在のレポートをプレビュー表示 - - Library Editor... - ライブラリの編集 - Open library editor ライブラリエディタを開く - - Auto-detect language - 言語を自動検出 - C&lose Project File @@ -842,20 +709,12 @@ Parameters: -l(line) (file) &Statistics 統計情報(&S) - - Warnings - 警告 - Show warnings 警告を表示 - - Performance warnings - パフォーマンス警告 - @@ -1112,37 +971,17 @@ This is probably because the settings were changed between the Cppcheck versions Cppcheckの古いバージョンの設定には互換性がありません。エディタアプリケーションの設定を確認して修正してください、そうしないと正しく起動できないかもしれません。 - - No suitable files found to check! - 解析可能なファイルではありません - You must close the project file before selecting new files or directories! 新しいファイル/ディレクトリをチェックするには現在のプロジェクトを閉じてください! - - C/C++ Source, Compile database, Visual Studio (%1 %2 *.sln *.vcxproj) - C/C++ソースコード、プロジェクトファイル、Visual Studioソリューション(%1 %2 *.sln *.vcxproj) - - - Select directory to check - チェック対象のディレクトリを選択 - Quick Filter: クイックフィルタ: - - Select files to check - チェック対象のファイルを選択 - - - C/C++ Source (%1) - C/C++ ソース (%1) - Select configuration @@ -1156,15 +995,6 @@ Do you want to load this project file instead? プロジェクトファイルを検出しました: %1 現在のプロジェクトの代わりにこのプロジェクトファイルを読み込んでもかまいませんか? - - - Found project files from the directory. - -Do you want to proceed checking without using any of these project files? - ディレクトリからプロジェクトファイルが検出されました。 - -これらのプロジェクトファイルを使用せずに解析を進めてもかまいませんか? - @@ -1230,23 +1060,11 @@ Do you want to proceed checking without using any of these project files?Error エラー - - Failed to load %1. Your Cppcheck installation is broken. You can use --data-dir=<directory> at the command line to specify where this file is located. - %1の読み込みに失敗しました。CppCheckのインストールに失敗しています。コマンドライン引数に --data-dir=<directory> を指定して、このファイルの場所を指定してください。 - Failed to load %1. Your Cppcheck installation is broken. You can use --data-dir=<directory> at the command line to specify where this file is located. Please note that --data-dir is supposed to be used by installation scripts and therefore the GUI does not start when it is used, all that happens is that the setting is configured. %1のロードに失敗しました。あなたの Cppcheck は正しくインストールされていません。あなたは --data-dir=<directory> コマンドラインオプションでロードするファイルの場所を指定できます。ただし、この --data-dir はインストールスクリプトによってサポートされており、GUI版ではサポートされていません。全ての設定は調整済みでなければなりません。 - - Current results will be cleared. - -Opening a new XML file will clear current results.Do you want to proceed? - 現在の結果を作成します。 - -新しくXMLファイルを開くと現在の結果が削除されます。実行しますか? - @@ -1258,14 +1076,6 @@ Opening a new XML file will clear current results.Do you want to proceed?Open the report file レポートを開く - - Checking is running. - -Do you want to stop the checking and exit Cppcheck? - 解析中です. - -解析を停止してCppcheckを終了しますか?. - License @@ -1276,24 +1086,11 @@ Do you want to stop the checking and exit Cppcheck? Authors 作者 - - XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv) - XML files (*.xml);;Text files (*.txt);;CSV files (*.csv) - XML ファイル (*.xml);;テキストファイル (*.txt);;CSV形式ファイル (*.csv) - Save the report file レポートを保存 - - XML files version 1 (*.xml) - XMLファイルのバージョン1 - - - XML files version 2 (*.xml) - XMLファイルのバージョン2 - Text files (*.txt) @@ -1304,10 +1101,6 @@ Do you want to stop the checking and exit Cppcheck? CSV files (*.csv) CSV形式ファイル (*.csv) - - Cppcheck - %1 - Cppcheck - %1 - Project files (*.cppcheck);;All files(*.*) @@ -1397,7 +1190,7 @@ Do you want to stop the analysis and exit Cppcheck? About - + CppCheckについて @@ -1528,10 +1321,6 @@ Options: Platforms - - Built-in - ビルトイン - Native @@ -1563,21 +1352,6 @@ Options: Windows 64-bit - - Project - - Cppcheck - Cppcheck - - - Could not read the project file. - プロジェクトファイルが読み込めませんでした - - - Could not write the project file. - プロジェクトファイルが保存できませんでした - - ProjectFile @@ -1585,10 +1359,6 @@ Options: Project File プロジェクトファイル - - Project - プロジェクト - Paths and Defines @@ -1606,24 +1376,11 @@ Options: Defines must be separated by a semicolon ';' 定義(Define)はセミコロン';'で区切る必要があります。 例: DEF1;DEF2=5;DEF3=int - - &Root: - Root: - ルート: - - - Libraries: - ライブラリ - Note: Put your own custom .cfg files in the same folder as the project file. You should see them above. カスタマイズした cfgファイルを同じフォルダにプロジェクトファイルとして保存してください。ここに表示できるようになります。 - - Exclude paths - 除外するパス - MISRA C 2012 @@ -1757,18 +1514,6 @@ Options: Exclude file... ファイルで除外... - - Clang - Clang - - - Check that code is safe - コードの安全性確認 - - - Bug hunting -- Detect all bugs. Generates mostly noise. - バグハント -- 全てのバグを検出。ノイズになりがち。 - Check that each class has a safe public interface @@ -1779,10 +1524,6 @@ Options: Limit analysis 解析の制限 - - Check code in headers (slower analysis, more results) - ヘッダファイルのコードもチェック(解析に時間がかかりますが結果は増えます) - Check code in unused templates (should be ON normally, however in theory you can safely ignore warnings in unused templates) @@ -1794,27 +1535,11 @@ Options: Max CTU depth CTUの最大深さ - - Exclude source files in paths - 除外するソースファイルのPATH - - - Note: Addons require <a href="https://www.python.org/">Python</a> beeing installed. - 注意: アドオンには<a href="https://www.python.org/">Python</a> が必要です。 - External tools 外部ツール - - Includes - インクルード - - - Include directories: - インクルードディレクトリ: - Up @@ -1825,10 +1550,6 @@ Options: Down - - Checking - チェック - Platform @@ -1839,14 +1560,6 @@ Options: Clang (experimental) Clang (実験的) - - Normal analysis -- Avoid false positives. - 通常解析--偽陽性を避ける。 - - - Bug hunting -- Generates mostly noise. The goal is to be "soundy" and detect most bugs. - バグハンティング-- 不必要な指摘を含む。これはノイズが多くても全てのバグを検出する目的で使用します。 - If you want to design your classes to be as flexible and robust as possible then the public interface must be very robust. Cppcheck will asumme that arguments can take *any* value. @@ -1887,28 +1600,16 @@ Options: Libraries ライブラリ - - Exclude - 除外する - Suppressions 指摘の抑制 - - Suppression list: - 抑制リスト - Add 追加 - - Addons and tools - アドオンとツール - @@ -1935,18 +1636,6 @@ Options: Coding standards コーディング標準 - - CERT - CERT - - - Extra Tools - エクストラツール - - - It is common best practice to use several tools. - 複数ツールの併用はよい結果を生みます。 - Clang analyzer @@ -1975,10 +1664,6 @@ Options: Select Cppcheck build dir Cppcheckビルドディレクトリ - - Visual Studio (*.sln *.vcxproj);;Compile database (compile_commands.json) - Visual Studio (*.sln *.vcxproj);;コンパイルデータベース (compile_commands.json) - Select include directory @@ -1989,10 +1674,6 @@ Options: Select a directory to check チェックするディレクトリを選択してください - - (no rule texts file) - (ルールテキストファイルがない) - Clang-tidy (not found) @@ -2038,14 +1719,6 @@ Options: Exclude file 除外ファイル - - Add Suppression - 抑制する指摘を追加 - - - Select error id suppress: - 抑制するエラーID(error id)を選択してください - Select MISRA rule texts file @@ -2057,25 +1730,6 @@ Options: MISRAルールテキストファイル (%1) - - QDialogButtonBox - - OK - OK - - - Cancel - キャンセル - - - Close - 閉じる - - - Save - 保存する - - QObject @@ -2320,10 +1974,6 @@ Options: Please select the directory where file is located. ファイルのあるディレクトリを選択してください。 - - [Inconclusive] - [結論の出ない] - debug @@ -2339,22 +1989,6 @@ Options: Recheck 再チェック - - Copy filename - ファイル名をコピー - - - Copy full path - フルパスをコピー - - - Copy message - メッセージをコピー - - - Copy message id - メッセージidをコピー - Hide @@ -2375,14 +2009,6 @@ Options: Open containing folder 含まれるフォルダを開く - - Edit contract.. - 関数の構成を編集。 - - - Suppress - 抑制 - @@ -2432,14 +2058,6 @@ Please check the application path and parameters are correct. %1 が実行できません。 実行ファイルパスや引数の設定を確認してください。 - - - Could not find file: -%1 -Please select the directory where file is located. - ファイルが見つかりません: -%1 -ディレクトリにファイルが存在するか確認してください。 @@ -2509,34 +2127,6 @@ Please select the directory where file is located. Warning Details 警告の詳細 - - Functions - 関数 - - - Variables - 変数 - - - Only show variable names that contain text: - 指定テキストを含む変数名のみ表示: - - - Contracts - 構成 - - - Configured contracts: - 設定した構成: - - - Missing contracts: - 構成なし: - - - No errors found, nothing to save. - 警告/エラーが見つからなかったため、保存しません。 - @@ -2586,14 +2176,6 @@ To toggle what kind of errors are shown, open view menu. XML format version 1 is no longer supported. XML フォーマットバージョン 1 はもうサポートされていません。 - - Summary - 内容 - - - Message - メッセージ - First included by @@ -2665,10 +2247,6 @@ To toggle what kind of errors are shown, open view menu. General 全般 - - Include paths: - Include ディレクトリ: - Add... @@ -2807,14 +2385,6 @@ To toggle what kind of errors are shown, open view menu. Custom カスタム - - Paths - パス - - - Edit - 編集 - Remove @@ -2856,14 +2426,6 @@ To toggle what kind of errors are shown, open view menu. Language 言語 - - Advanced - 高度 - - - &Show inconclusive errors - 結論の出ないのエラーを表示 - SettingsDialog @@ -2912,24 +2474,20 @@ To toggle what kind of errors are shown, open view menu. Select clang path clangのパスの選択 - - Select include directory - include ディレクトリを選択 - StatsDialog - - + + Statistics 統計情報 - + Project プロジェクト @@ -2960,7 +2518,7 @@ To toggle what kind of errors are shown, open view menu. - + Previous Scan 前回の解析 @@ -3030,143 +2588,143 @@ To toggle what kind of errors are shown, open view menu. PDF エクスポート - + 1 day 一日 - + %1 days %1日 - + 1 hour 一時間 - + %1 hours %1時間 - + 1 minute 一分 - + %1 minutes %1分 - + 1 second 一秒 - + %1 seconds %1秒 - + 0.%1 seconds 0.%1秒 - + and - + Export PDF PDF エクスポート - + Project Settings プロジェクトの設定 - + Paths パス - + Include paths インクルードパス - + Defines 定義(define) - + Undefines 定義取り消し(Undef) - + Path selected 選択されたパス - + Number of files scanned スキャンしたファイルの数 - + Scan duration スキャン期間 - - + + Errors エラー - + File: ファイル: - + No cppcheck build dir cppcheckビルドディレクトリがありません - - + + Warnings 警告 - - + + Style warnings スタイル警告 - - + + Portability warnings 移植可能性警告 - - + + Performance warnings パフォーマンス警告 - - + + Information messages 情報メッセージ @@ -3206,25 +2764,6 @@ The user interface language has been reset to English. Open the Preferences-dial 結論の出ない - - VariableContractsDialog - - Dialog - ダイアログ - - - You can specify min and max value for the variable here - ここで変数の最小値と最大値を指定します。 - - - Min - 最小値 - - - Max - 最大値 - - toFilterString diff --git a/gui/cppcheck_ko.ts b/gui/cppcheck_ko.ts index 9c67fa22f..f674afb40 100644 --- a/gui/cppcheck_ko.ts +++ b/gui/cppcheck_ko.ts @@ -109,10 +109,6 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: Cppcheck Cppcheck - - You must specify a name, a path and parameters for the application! - 응용 프로그램의 이름, 경로 및 인자를 명시해야 합니다! - You must specify a name, a path and optionally parameters for the application! @@ -420,33 +416,6 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: - - LogView - - Checking Log - 로그 확인 - - - Clear - 지우기 - - - Save Log - 로그 저장 - - - Text files (*.txt *.log);;All files (*.*) - 텍스트 파일 (*.txt *.log);;모든 파일 (*.*) - - - Cppcheck - Cppcheck - - - Could not open file for writing: "%1" - 기록할 파일 열기 실패: "%1" - - MainWindow @@ -487,10 +456,6 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: &Help 도움말(&H) - - &Check - 검사(&C) - &Edit @@ -531,10 +496,6 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: &Files... 파일(&F)... - - Check files - 파일 검사 - Ctrl+F @@ -545,19 +506,11 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: &Directory... 디렉토리(&D)... - - Check directory - 디렉토리 검사 - Ctrl+D Ctrl+D - - &Recheck files - 파일 재검사(&R) - Ctrl+R @@ -568,10 +521,6 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: &Stop 중지(&S) - - Stop checking - 검사 중지 - Esc @@ -602,20 +551,12 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: &Preferences 설정(&P) - - Style warnings - 스타일 경고 - Show style warnings 스타일 경고 표시 - - Errors - 에러 - @@ -722,20 +663,12 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: &Statistics 통계 보기(&S) - - Warnings - 경고 - Show warnings 경고 표시 - - Performance warnings - 성능 경고 - @@ -758,10 +691,6 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: Show information messages 정보 표시 - - Portability - 이식성 경고 - Show portability warnings @@ -802,22 +731,6 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: Windows 64-bit Windows 64-bit - - Platforms - 플랫폼 - - - C++11 - C++11 - - - C99 - C99 - - - Posix - Posix - @@ -833,19 +746,11 @@ This is probably because the settings were changed between the Cppcheck versions Cppcheck 버전간 설정 방법 차이때문인 것으로 보입니다. 편집기 설정을 검사(및 수정)해주세요, 그렇지 않으면 편집기가 제대로 시작하지 않습니다. - - No suitable files found to check! - 검사할 수 있는 파일이 없습니다! - You must close the project file before selecting new files or directories! 새로운 파일이나 디렉토리를 선택하기 전에 프로젝트 파일을 닫으세요! - - Select directory to check - 검사할 디렉토리 선택 - Found project file: %1 @@ -854,14 +759,6 @@ Do you want to load this project file instead? 프로젝트 파일 존재: %1 이 프로젝트 파일을 불러오겠습니까? - - - Found project files from the directory. - -Do you want to proceed checking without using any of these project files? - 디렉토리에 프로젝트 파일 존재. - -이 프로젝트 파일을 사용하지 않고 검사를 계속하시겠습니까? @@ -874,14 +771,6 @@ Do you want to proceed checking without using any of these project files?Open the report file 보고서 파일 열기 - - Checking is running. - -Do you want to stop the checking and exit Cppcheck? - 검사 중. - -검사를 중지하고 Cppcheck을 종료하시겠습니까? - License @@ -892,23 +781,11 @@ Do you want to stop the checking and exit Cppcheck? Authors 제작자 - - XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv) - XML 파일 버전 2 (*.xml);;XML 파일 버전 1 (*.xml);;텍스트 파일 (*.txt);;CSV 파일 (*.csv) - Save the report file 보고서 파일 저장 - - XML files version 1 (*.xml) - XML 파일 버전 1 (*.xml) - - - XML files version 2 (*.xml) - XML 파일 버전 2 (*.xml) - Text files (*.txt) @@ -919,22 +796,6 @@ Do you want to stop the checking and exit Cppcheck? CSV files (*.csv) CSV 파일 (*.csv) - - Cppcheck - %1 - Cppcheck - %1 - - - Failed to change the user interface language: - -%1 - -The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages. - 언어 변경 실패: - -%1 - -언어가 영어로 초기화 됐습니다. 설정창을 열어서 설정 가능한 언어를 선택하세요. - Project files (*.cppcheck);;All files(*.*) @@ -990,10 +851,6 @@ Do you want to remove the file from the recently used projects -list? 최근 프로젝트 목록에서 파일을 제거하시겠습니까? - - Select files to check - 검사할 파일 선택 - Cppcheck GUI - Command line parameters @@ -1004,18 +861,6 @@ Do you want to remove the file from the recently used projects -list? C++ standard - - C11 - C11 - - - C89 - C89 - - - C++03 - C++03 - Error @@ -1457,31 +1302,12 @@ Do you want to proceed? Windows 64-bit Windows 64-bit - - Built-in - 내장 방식 - Native - - Project - - Cppcheck - Cppcheck - - - Could not read the project file. - 프로젝트 파일을 읽을 수 없습니다. - - - Could not write the project file. - 프로젝트 파일에 쓸 수 없습니다. - - ProjectFile @@ -1489,19 +1315,11 @@ Do you want to proceed? Project File 프로젝트 파일 - - Project - 프로젝트 - Defines: Defines: - - Root: - Root: - Paths: @@ -1528,14 +1346,6 @@ Do you want to proceed? Remove 제거 - - Includes - Includes - - - Include directories: - Include 디렉토리: - Up @@ -1546,10 +1356,6 @@ Do you want to proceed? Down 아래로 - - Exclude - Exclude - Suppressions @@ -1878,13 +1684,6 @@ Do you want to proceed? - - QDialogButtonBox - - Close - 닫기 - - QObject @@ -2103,10 +1902,6 @@ Do you want to proceed? Undefined file 미정의된 파일 - - [Inconclusive] - [불확실] - style @@ -2142,18 +1937,6 @@ Do you want to proceed? debug 디버그 - - Copy filename - 파일이름 복사 - - - Copy full path - 전체 경로 복사 - - - Copy message - 메시지 복사 - Hide @@ -2196,14 +1979,6 @@ Please check the application path and parameters are correct. %1을 시잘할 수 없습니다 경로와 인자가 정확한지 확인하세요. - - - Could not find file: -%1 -Please select the directory where file is located. - 파일 찾기 실패: -%1 -파일이 위치한 디렉토리를 선택하세요. @@ -2294,10 +2069,6 @@ Please select the directory where file is located. Results 결과 - - No errors found, nothing to save. - 에러가 발견되지 않았고, 저장할 내용이 없습니다. - @@ -2338,14 +2109,6 @@ To toggle what kind of errors are shown, open view menu. Bug hunting analysis is incomplete - - Summary - 요약 - - - Message - 내용 - Id @@ -2467,23 +2230,11 @@ To toggle what kind of errors are shown, open view menu. Enable inline suppressions Inline suppression 사용 - - Paths - 경로 - - - Include paths: - Include 경로: - Add... 추가... - - Edit - 편집 - Remove @@ -2525,18 +2276,6 @@ To toggle what kind of errors are shown, open view menu. Language 언어 - - Advanced - 고급 - - - &Show inconclusive errors - 불확실한 에러 표시(&S) - - - S&how internal warnings in log - 로그에 내부 경고 표시(&H) - Display error Id in column "Id" @@ -2667,10 +2406,6 @@ To toggle what kind of errors are shown, open view menu. [Default] [기본] - - Select include directory - Include 디렉토리 선택 - [Default] @@ -2697,14 +2432,14 @@ To toggle what kind of errors are shown, open view menu. - - + + Statistics 통계 - + Project 프로젝트 @@ -2730,7 +2465,7 @@ To toggle what kind of errors are shown, open view menu. - + Previous Scan 직전 검사 @@ -2785,123 +2520,123 @@ To toggle what kind of errors are shown, open view menu. 클립보드에 복사 - + 1 day 1일 - + %1 days %1일 - + 1 hour 1시간 - + %1 hours %1시간 - + 1 minute 1분 - + %1 minutes %1분 - + 1 second 1초 - + %1 seconds %1초 - + 0.%1 seconds 0.%1초 - + and - + Project Settings 프로젝트 설정 - + Paths 경로 - + Include paths Include 경로 - + Defines Defines - + Path selected 선택된 경로 - + Number of files scanned 검사된 파일 수 - + Scan duration 검사 시간 - - + + Errors 에러 - - + + Warnings 경고 - - + + Style warnings 스타일 경고 - - + + Portability warnings 이식성 경고 - - + + Performance warnings 성능 경고 - - + + Information messages 정보 메시지 @@ -2911,7 +2646,7 @@ To toggle what kind of errors are shown, open view menu. - + Export PDF @@ -2926,12 +2661,12 @@ To toggle what kind of errors are shown, open view menu. - + File: - + No cppcheck build dir @@ -2941,7 +2676,7 @@ To toggle what kind of errors are shown, open view menu. - + Undefines diff --git a/gui/cppcheck_nl.ts b/gui/cppcheck_nl.ts index 8037fe30d..8bbb403a1 100644 --- a/gui/cppcheck_nl.ts +++ b/gui/cppcheck_nl.ts @@ -420,33 +420,6 @@ Parameters: -l(lijn) (bestand) - - LogView - - Checking Log - Controleer log - - - Clear - Wis - - - Save Log - Opslaan log - - - Text files (*.txt *.log);;All files (*.*) - Tekst bestanden (*.txt *.log);;Alle bestanden(*.*) - - - Cppcheck - Cppcheck - - - Could not open file for writing: "%1" - Kan bestand: "%1" niet openen om te schrijven - - MainWindow @@ -492,10 +465,6 @@ Parameters: -l(lijn) (bestand) &Toolbars &Werkbalken - - &Check - &Controleer - C++ standard @@ -561,10 +530,6 @@ Parameters: -l(lijn) (bestand) Ctrl+D Ctrl+D - - &Recheck files - &Opnieuw controleren - Ctrl+R @@ -612,34 +577,18 @@ Parameters: -l(lijn) (bestand) &Preferences &Voorkeuren - - Errors - Fouten - Show errors Toon fouten - - Show S&cratchpad... - Toon S&cratchpad... - - - Warnings - Waarschuwingen - Show warnings Toon waarschuwingen - - Performance warnings - Presentatie waarschuwingen - @@ -662,10 +611,6 @@ Parameters: -l(lijn) (bestand) Show information messages Toon informatie bericht - - Portability - Portabiliteit - Show portability warnings @@ -987,10 +932,6 @@ Parameters: -l(lijn) (bestand) Categories Categorieën - - Style warnings - Stijl waarschuwingen - @@ -1012,14 +953,6 @@ Parameters: -l(lijn) (bestand) &Help &Help - - Select directory to check - Selecteer een map om te controleren - - - No suitable files found to check! - Geen geschikte bestanden gevonden om te controleren! - @@ -1038,13 +971,6 @@ Parameters: -l(lijn) (bestand) Do you want to load this project file instead? Project bestand gevonden: %1 Wilt u dit project laden in plaats van? - - - Found project files from the directory. - -Do you want to proceed checking without using any of these project files? - Project bestanden gevonden in de map. -Wil je verder wilt gaan zonder controle van deze project bestanden? @@ -1082,11 +1008,6 @@ Wil je verder wilt gaan zonder controle van deze project bestanden?Authors Auteurs - - XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv) - XML files (*.xml);;Text files (*.txt);;CSV files (*.csv) - XML bestanden (*.xml);;Tekst bestanden (*.txt);;CSV bestanden (*.csv) - Save the report file @@ -1112,10 +1033,6 @@ Dit is waarschijnlijk omdat de instellingen zijn gewijzigd tussen de versies van You must close the project file before selecting new files or directories! Je moet project bestanden sluiten voordat je nieuwe bestanden of mappen selekteerd! - - Select files to check - Selecteer bestanden om te controleren - The library '%1' contains unknown elements: @@ -1157,35 +1074,11 @@ Dit is waarschijnlijk omdat de instellingen zijn gewijzigd tussen de versies van Failed to load %1. Your Cppcheck installation is broken. You can use --data-dir=<directory> at the command line to specify where this file is located. Please note that --data-dir is supposed to be used by installation scripts and therefore the GUI does not start when it is used, all that happens is that the setting is configured. - - Current results will be cleared. - -Opening a new XML file will clear current results.Do you want to proceed? - Huidige resultaten zullen worden gewist - -Een nieuw XML-bestand openen zal de huidige resultaten wissen Wilt u verder gaan? - Open the report file Open het rapport bestand - - Checking is running. - -Do you want to stop the checking and exit Cppcheck? - Het controleren loopt. - -Wil je het controleren stoppen en Cppcheck sluiten? - - - XML files version 1 (*.xml) - XML files version 1 (*.xml) - - - XML files version 2 (*.xml) - XML files version 2 (*.xml) - Text files (*.txt) @@ -1196,10 +1089,6 @@ Wil je het controleren stoppen en Cppcheck sluiten? CSV files (*.csv) CSV bestanden (*.csv) - - Cppcheck - %1 - Cppcheck - %1 - Project files (*.cppcheck);;All files(*.*) @@ -1335,29 +1224,6 @@ Do you want to remove the file from the recently used projects -list? Kan niet worden gevonden! Wilt u het bestand van de onlangs gebruikte project verwijderen -lijst? - - - Cppcheck GUI. - -Syntax: - cppcheck-gui [OPTIONS] [files or paths] - -Options: - -h, --help Print this help - -p <file> Open given project file and start checking it - -l <file> Open given results xml file - -d <directory> Specify the directory that was checked to generate the results xml specified with -l - -v, --version Show program version - Cppcheck GUI. -Syntax: -....cppcheck-gui [Opies] [bestanden of paden] - -Opties: -.....-h, --help Print deze help -.....-p <bestand>......Open project bestand en start de controle -.....-l <bestand>......Open gegeven resultaten xml bestand -.....-d <map> Geef de map aan wat gecontroleerd werd om de xml resultaten te genereren met gespecificeerde -l -.....-v,.--versie Toon versie van programma @@ -1430,10 +1296,6 @@ Options: Platforms - - Built-in - Gemaakt in - Native @@ -1465,21 +1327,6 @@ Options: - - Project - - Cppcheck - Cppcheck - - - Could not read the project file. - Kon project bestand niet lezen. - - - Could not write the project file. - Kon niet naar project bestand schrijven. - - ProjectFile @@ -1487,10 +1334,6 @@ Options: Project File Project Bestand - - Project - Project - Paths and Defines @@ -1508,11 +1351,6 @@ Options: Defines must be separated by a semicolon ';' - - &Root: - Root: - Hoofdmap: - Note: Put your own custom .cfg files in the same folder as the project file. You should see them above. @@ -1672,14 +1510,6 @@ Options: External tools - - Includes - Inclusief - - - Include directories: - Include mappen: - Up @@ -1745,10 +1575,6 @@ Options: Libraries - - Exclude - Exclusief - Suppressions @@ -1879,21 +1705,6 @@ Options: - - QDialogButtonBox - - Cancel - Annuleer - - - Close - Sluit - - - Save - Opslaan - - QObject @@ -2140,10 +1951,6 @@ Options: Please select the directory where file is located. - - [Inconclusive] - [Onduidelijk] - debug @@ -2159,22 +1966,6 @@ Options: Recheck - - Copy filename - Kopier bestandsnaam - - - Copy full path - Kopieer volledig pad - - - Copy message - Kopieer bericht - - - Copy message id - Kopieer bericht id - Hide @@ -2243,13 +2034,6 @@ Please check the application path and parameters are correct. Kon applicatie %1 niet starten Gelieve te controleren of de het pad en de parameters correct zijn. - - - Could not find file: -%1 -Please select the directory where file is located. - %1 -Selecteer de map waarin het bestand zich bevindt. @@ -2348,14 +2132,6 @@ Gebruik het uitzicht menu om te selecteren welke fouten getoond worden.XML format version 1 is no longer supported. - - Summary - Overzicht - - - Message - Bericht - First included by @@ -2386,10 +2162,6 @@ Gebruik het uitzicht menu om te selecteren welke fouten getoond worden.Copy complete Log - - No errors found, nothing to save. - Geen fouten gevonden; geen data om op te slaan. - @@ -2452,10 +2224,6 @@ Gebruik het uitzicht menu om te selecteren welke fouten getoond worden.General Algemeen - - Include paths: - Include paden: - Add... @@ -2594,14 +2362,6 @@ Gebruik het uitzicht menu om te selecteren welke fouten getoond worden.Custom - - Paths - Paden - - - Edit - Bewerk - Remove @@ -2643,18 +2403,6 @@ Gebruik het uitzicht menu om te selecteren welke fouten getoond worden.Language Taal - - Advanced - Geavanceerd - - - &Show inconclusive errors - &Toon onduidelijke fouten - - - S&how internal warnings in log - T&oon interne waarschuwingen in log - SettingsDialog @@ -2703,24 +2451,20 @@ Gebruik het uitzicht menu om te selecteren welke fouten getoond worden.Select clang path - - Select include directory - Selecteer include map - StatsDialog - - + + Statistics Statistieken - + Project Project @@ -2751,7 +2495,7 @@ Gebruik het uitzicht menu om te selecteren welke fouten getoond worden. - + Previous Scan Vorige scan @@ -2821,143 +2565,143 @@ Gebruik het uitzicht menu om te selecteren welke fouten getoond worden. - + 1 day 1 dag - + %1 days %1 dagen - + 1 hour 1 uur - + %1 hours %1 uren - + 1 minute 1 minuut - + %1 minutes %1 minuten - + 1 second 1 seconde - + %1 seconds %1 secondes - + 0.%1 seconds 0.%1 secondes - + and en - + Export PDF - + Project Settings Project instellingen - + Paths Paden - + Include paths Bevat paden - + Defines Omschrijft - + Undefines - + Path selected Pad Geselekteerd - + Number of files scanned Aantal bestanden gescanned - + Scan duration Scan tijd - - + + Errors Fouten - + File: - + No cppcheck build dir - - + + Warnings Waarschuwingen - - + + Style warnings Stijl waarschuwingen - - + + Portability warnings Portabiliteit waarschuwingen - - + + Performance warnings Presentatie waarschuwingen - - + + Information messages Informatie bericht diff --git a/gui/cppcheck_ru.ts b/gui/cppcheck_ru.ts index 5bd1ff1a9..88468b900 100644 --- a/gui/cppcheck_ru.ts +++ b/gui/cppcheck_ru.ts @@ -41,27 +41,6 @@ of the GNU General Public License version 3 <html><head/><body><p>Many thanks to these libraries that we use:</p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">pcre</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">picojson</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">qt</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">tinyxml2</li></ul></body></html> - - <html><head/><body> -<p>Many thanks to these libraries that we use:</p><ul> -<li>pcre</li> -<li>picojson</li> -<li>qt</li> -<li>tinyxml2</li> -<li>z3</li></ul></body></html> - <html><head/><body> -<p>Many thanks to these libraries that we use:</p><ul> -<li>tinyxml2</li> -<li>picojson</li> -<li>pcre</li> -<li>qt</li></ul></body></html> - <html><head/><body> -<p>Создано при использовании библиотек:</p><ul> -<li>tinyxml2</li> -<li>picojson</li> -<li>pcre</li> -<li>qt</li></ul></body></html> - ApplicationDialog @@ -441,33 +420,6 @@ Parameters: -l(line) (file) - - LogView - - Checking Log - Лог проверки - - - Clear - Очистить - - - Save Log - Сохранить - - - Text files (*.txt *.log);;All files (*.*) - Текстовые файлы (*.txt *.log);;Все файлы (*.*) - - - Cppcheck - Cppcheck - - - Could not open file for writing: "%1" - Не удалось записать в файл: "%1" - - MainWindow @@ -513,10 +465,6 @@ Parameters: -l(line) (file) &Toolbars &Панель инструментов - - &Check - &Проверить - C++ standard @@ -582,20 +530,11 @@ Parameters: -l(line) (file) Ctrl+D Ctrl+D - - &Recheck files - &Перепроверить файлы - Ctrl+R Ctrl+R - - &Reanalyze all files - &Recheck all files - Заново проверить все файлы - &Stop @@ -638,34 +577,18 @@ Parameters: -l(line) (file) &Preferences Параметры - - Errors - Ошибки - Show errors Показать ошибки - - Show S&cratchpad... - Показать блокнот - - - Warnings - Предупреждения - Show warnings Показать предупреждения - - Performance warnings - Предупреждения производительности - @@ -688,10 +611,6 @@ Parameters: -l(line) (file) Show information messages Показать информационные сообщения - - Portability - Переносимость - Show portability warnings @@ -747,34 +666,6 @@ Parameters: -l(line) (file) Windows 64-bit Windows 64-bit - - Platforms - Платформы - - - C++11 - C++11 - - - C99 - C99 - - - Posix - Posix - - - C11 - C11 - - - C89 - C89 - - - C++03 - C++03 - &Print... @@ -795,27 +686,11 @@ Parameters: -l(line) (file) Open a Print Preview Dialog for the Current Results Открыть диалог печати для текущих результатов - - Library Editor... - Редактор библиотек... - Open library editor Открыть редактор библиотек - - Auto-detect language - Автоопределение языка - - - Enforce C++ - Принудительно C++ - - - Enforce C - Принудительно C - &Check all @@ -1057,10 +932,6 @@ Parameters: -l(line) (file) Categories Категории - - Style warnings - Стилистические предупреждения - @@ -1082,14 +953,6 @@ Parameters: -l(line) (file) &Help Помощь - - Select directory to check - Выберите каталог для проверки - - - No suitable files found to check! - Не найдено подходящих файлов для проверки! - @@ -1109,13 +972,6 @@ Do you want to load this project file instead? Найден файл проекта: %1 Вы хотите загрузить этот проект? - - - Found project files from the directory. - -Do you want to proceed checking without using any of these project files? - Найдены файлы проекта из каталога. -Вы хотите продолжить проверку, не используя ни одного из этих файлов проекта? @@ -1149,10 +1005,6 @@ Do you want to proceed checking without using any of these project files?Не удалось загрузить выбранную библиотеку '%1'. %2 - - Failed to load %1. Your Cppcheck installation is broken. You can use --data-dir=<directory> at the command line to specify where this file is located. - Не удалось загрузить %1. Установленный Cppcheck поврежден. Вы можете использовать ключ --data-dir=<directory> в командной строке, чтобы указать, где расположен этот файл. - License @@ -1163,11 +1015,6 @@ Do you want to proceed checking without using any of these project files?Authors Авторы - - XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv) - XML files (*.xml);;Text files (*.txt);;CSV files (*.csv) - XML файлы версии 2 (*.xml);;XML файлы версии 1 (*.xml);;Текстовые файлы (*.txt);;CSV файлы (*.csv) - Save the report file @@ -1193,10 +1040,6 @@ This is probably because the settings were changed between the Cppcheck versions You must close the project file before selecting new files or directories! Вы должны закрыть проект перед выбором новых файлов или каталогов! - - Select files to check - Выберите файлы для проверки - The library '%1' contains unknown elements: @@ -1234,35 +1077,11 @@ This is probably because the settings were changed between the Cppcheck versions Failed to load %1. Your Cppcheck installation is broken. You can use --data-dir=<directory> at the command line to specify where this file is located. Please note that --data-dir is supposed to be used by installation scripts and therefore the GUI does not start when it is used, all that happens is that the setting is configured. Невозможно загрузить %1. Cppcheck установлен некорректно. Вы можете использовать --data-dir=<directory> в командной строке для указания расположения файлов конфигурации. Обратите внимание, что --data-dir предназначен для использования сценариями установки. При включении данной опции, графический интерфейс пользователя не запускается. - - Current results will be cleared. - -Opening a new XML file will clear current results.Do you want to proceed? - Текущие результаты будут очищены. - -Открытые нового XML файла приведет к очистке текущих результатов. Продолжить? - Open the report file Открыть файл с отчетом - - Checking is running. - -Do you want to stop the checking and exit Cppcheck? - Идет проверка. - -Вы хотите завершить проверку и выйти? - - - XML files version 1 (*.xml) - XML файлы версии 1 (*.xml) - - - XML files version 2 (*.xml) - XML файлы версии 2 (*.xml) - Text files (*.txt) @@ -1273,22 +1092,6 @@ Do you want to stop the checking and exit Cppcheck? CSV files (*.csv) CSV файлы(*.csv) - - Cppcheck - %1 - Cppcheck - %1 - - - Failed to change the user interface language: - -%1 - -The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages. - Failed to change the user interface language: - -%1 - -The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages. - Project files (*.cppcheck);;All files(*.*) @@ -1432,30 +1235,6 @@ Do you want to remove the file from the recently used projects -list? не найден! Хотите удалить его из списка проектов? - - Cppcheck GUI. - -Syntax: - cppcheck-gui [OPTIONS] [files or paths] - -Options: - -h, --help Print this help - -p <file> Open given project file and start checking it - -l <file> Open given results xml file - -d <directory> Specify the directory that was checked to generate the results xml specified with -l - -v, --version Show program version - Cppcheck Графический Интерфейс Пользователя . - -Синтаксис: - cppcheck-gui [ОПЦИИ] [файлы или пути] - -Опции: - -h, --help Показать эту справку - -p <file> Откройте данный файл проекта и начните проверять его - -l <file> Откройте данные результаты xml файл - -d <directory> Укажите каталог, который был проверен, чтобы генерировать результаты xml определенный с -l - -v, --version Показать версию программы - Cppcheck GUI. @@ -1540,10 +1319,6 @@ Options: Platforms - - Built-in - Встроенная - Native @@ -1575,21 +1350,6 @@ Options: Windows 64-bit - - Project - - Cppcheck - Cppcheck - - - Could not read the project file. - Не удалось прочитать файл проекта. - - - Could not write the project file. - Не удалось записать файл проекта. - - ProjectFile @@ -1597,10 +1357,6 @@ Options: Project File Файл проекта - - Project - Проект - Paths and Defines @@ -1618,15 +1374,6 @@ Options: Defines must be separated by a semicolon ';' Defines должны быть разделены точкой с запятой ';' - - &Root: - Root: - Корневой каталог: - - - Libraries: - Библиотеки: - Note: Put your own custom .cfg files in the same folder as the project file. You should see them above. @@ -1785,10 +1532,6 @@ Options: Cppcheck (built in) - - Clang - Clang - Check that each class has a safe public interface @@ -1799,10 +1542,6 @@ Options: Limit analysis - - Check code in headers (slower analysis, more results) - Проверить код в заголовочных файлах - Check code in unused templates (should be ON normally, however in theory you can safely ignore warnings in unused templates) @@ -1814,23 +1553,11 @@ Options: Max CTU depth Максимальная глубина CTU - - Exclude source files in paths - Исключить исходные файлы в путях - External tools Внешние инструменты - - Includes - Пути для заголовочных файлов - - - Include directories: - Пути для поиска заголовочных файлов: - Up @@ -1841,10 +1568,6 @@ Options: Down Вниз - - Checking - Проверка - Platform @@ -1875,10 +1598,6 @@ Options: Libraries Библиотеки - - Exclude - Исключенные пути - Suppressions @@ -1889,10 +1608,6 @@ Options: Add Добавить - - Addons and tools - Дополнения - @@ -1919,10 +1634,6 @@ Options: Coding standards Стандарты кодирования - - CERT - CERT - Clang analyzer @@ -1961,10 +1672,6 @@ Options: Select a directory to check Выберите директорию для проверки - - (no rule texts file) - (файл с текстами правил недоступен) - Clang-tidy (not found) @@ -2021,25 +1728,6 @@ Options: Файл текстов правил MISRA (%1) - - QDialogButtonBox - - OK - OK - - - Cancel - Отмена - - - Close - Закрыть - - - Save - Сохранить - - QObject @@ -2286,10 +1974,6 @@ Options: Please select the directory where file is located. Укажите каталог с расположением файла. - - [Inconclusive] - [Неубедительный] - debug @@ -2305,22 +1989,6 @@ Options: Recheck Проверить заново - - Copy filename - Скопировать имя файла - - - Copy full path - Скопировать полный путь - - - Copy message - Скопировать сообщение - - - Copy message id - Скопировать номер сообщения - Hide @@ -2387,14 +2055,6 @@ Please select the default editor application in preferences/Applications. Не удалось запустить %1 Пожалуйста, проверьте путь приложения, и верны ли параметры. - - - Could not find file: -%1 -Please select the directory where file is located. - Не удается найти файл: -%1 -Пожалуйста, выберите каталог, в котором находится файл. @@ -2493,14 +2153,6 @@ To toggle what kind of errors are shown, open view menu. XML format version 1 is no longer supported. XML формат версии 1 больше не поддерживается. - - Summary - Кратко - - - Message - Сообщение - First included by @@ -2531,10 +2183,6 @@ To toggle what kind of errors are shown, open view menu. Copy complete Log Скопировать полный лог - - No errors found, nothing to save. - Ошибки не найдены, нечего сохранять. - @@ -2556,10 +2204,6 @@ To toggle what kind of errors are shown, open view menu. Warning Details Детали предупреждения - - Functions - Функции - ScratchPad @@ -2601,10 +2245,6 @@ To toggle what kind of errors are shown, open view menu. General Общие - - Include paths: - Пути для поиска заголовочных файлов: - Add... @@ -2743,14 +2383,6 @@ To toggle what kind of errors are shown, open view menu. Custom - - Paths - Пути - - - Edit - Изменить - Remove @@ -2792,18 +2424,6 @@ To toggle what kind of errors are shown, open view menu. Language Язык - - Advanced - Прочие - - - &Show inconclusive errors - &Показывать незначительные ошибки - - - S&how internal warnings in log - &Записывать внутренние предупреждения в лог - SettingsDialog @@ -2852,24 +2472,20 @@ To toggle what kind of errors are shown, open view menu. Select clang path Выберите исполняемый файл clang - - Select include directory - Выберите директорию - StatsDialog - - + + Statistics Статистика - + Project Проект @@ -2900,7 +2516,7 @@ To toggle what kind of errors are shown, open view menu. - + Previous Scan Последнее сканирование @@ -2970,143 +2586,143 @@ To toggle what kind of errors are shown, open view menu. Экспорт PDF - + 1 day 1 день - + %1 days %1 дней - + 1 hour 1 час - + %1 hours %1 часов - + 1 minute 1 минута - + %1 minutes %1 минут - + 1 second 1 секунда - + %1 seconds %1 секунд - + 0.%1 seconds 0.1%1 секунд - + and и - + Export PDF Экспорт PDF - + Project Settings Настройки проекта - + Paths Пути - + Include paths Включенные пути - + Defines Объявленные макроопределения: - + Undefines Удаленные макроопределения: - + Path selected Выбранные пути - + Number of files scanned Количество просканированных файлов - + Scan duration Продолжительность сканирования - - + + Errors Ошибки - + File: Файл: - + No cppcheck build dir Не задана директория сборки - - + + Warnings Предупреждения - - + + Style warnings Стилистические предупреждения - - + + Portability warnings Предупреждения переносимости - - + + Performance warnings Предупреждения производительности - - + + Information messages Информационные сообщения diff --git a/gui/cppcheck_sr.ts b/gui/cppcheck_sr.ts index d50b40148..3a3ff4502 100644 --- a/gui/cppcheck_sr.ts +++ b/gui/cppcheck_sr.ts @@ -408,13 +408,6 @@ Parameters: -l(line) (file) - - LogView - - Cppcheck - Cppcheck - - MainWindow @@ -460,10 +453,6 @@ Parameters: -l(line) (file) &Toolbars - - &Check - &Check - C++ standard @@ -529,10 +518,6 @@ Parameters: -l(line) (file) Ctrl+D Ctrl+D - - &Recheck files - &Recheck files - Ctrl+R @@ -669,14 +654,6 @@ Parameters: -l(line) (file) Windows 64-bit Windows 64-bit - - C++11 - C++11 - - - C99 - C99 - &Print... @@ -702,26 +679,6 @@ Parameters: -l(line) (file) Open library editor - - Gtk - Gtk - - - Posix - Posix - - - C11 - C11 - - - C89 - C89 - - - C++03 - C++03 - &Check all @@ -984,14 +941,6 @@ Parameters: -l(line) (file) &Help &Help - - Select directory to check - Select directory to check - - - No suitable files found to check! - No suitable files found to check! - @@ -1046,10 +995,6 @@ Do you want to load this project file instead? Authors Authors - - XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv) - XML files (*.xml);;Text files (*.txt);;CSV files (*.csv) - Save the report file @@ -1073,10 +1018,6 @@ This is probably because the settings were changed between the Cppcheck versions You must close the project file before selecting new files or directories! - - Select files to check - Select files to check - The library '%1' contains unknown elements: @@ -1133,10 +1074,6 @@ This is probably because the settings were changed between the Cppcheck versions CSV files (*.csv) - - Cppcheck - %1 - Cppcheck - %1 - Project files (*.cppcheck);;All files(*.*) @@ -1370,13 +1307,6 @@ Options: Windows 64-bit - - Project - - Cppcheck - Cppcheck - - ProjectFile @@ -2014,14 +1944,6 @@ Options: Recheck - - Copy filename - Copy filename - - - Copy full path - Copy full path - Hide @@ -2214,10 +2136,6 @@ To toggle what kind of errors are shown, open view menu. Copy complete Log - - No errors found, nothing to save. - No errors found, nothing to save. - @@ -2512,14 +2430,14 @@ To toggle what kind of errors are shown, open view menu. - - + + Statistics - + Project @@ -2550,7 +2468,7 @@ To toggle what kind of errors are shown, open view menu. - + Previous Scan @@ -2620,143 +2538,143 @@ To toggle what kind of errors are shown, open view menu. - + 1 day - + %1 days - + 1 hour - + %1 hours - + 1 minute - + %1 minutes - + 1 second - + %1 seconds - + 0.%1 seconds - + and - + Export PDF - + Project Settings - + Paths - + Include paths - + Defines - + Undefines - + Path selected - + Number of files scanned - + Scan duration - - + + Errors - + File: - + No cppcheck build dir - - + + Warnings - - + + Style warnings - - + + Portability warnings - - + + Performance warnings - - + + Information messages diff --git a/gui/cppcheck_sv.ts b/gui/cppcheck_sv.ts index 6b3063c82..64761c977 100644 --- a/gui/cppcheck_sv.ts +++ b/gui/cppcheck_sv.ts @@ -114,10 +114,6 @@ Parametrar: -l(line) (file) You must specify a name, a path and optionally parameters for the application! Du måste ange namn, sökväg samt eventuellt parametrar för applikationen! - - You must specify a name, a path and parameters for the application! - Du måste ange ett namn, en sökväg samt parametrar för programmet! - FileViewDialog @@ -395,10 +391,6 @@ Exempel: argvalue argvalue - - constant - constant - @@ -434,41 +426,6 @@ Exempel: Tillåtna värden - - LogView - - Checking Log - Analys logg - - - &Save - &Spara - - - Clear - Töm - - - Close - Stäng - - - Save Log - Spara logg - - - Text files (*.txt *.log);;All files (*.*) - Text filer (*.txt *.log);;Alla filer (*.*) - - - Cppcheck - Cppcheck - - - Could not open file for writing: "%1" - Kunde ej öppna fil för skrivning: "%1" - - MainWindow @@ -514,10 +471,6 @@ Exempel: &Toolbars Verktygsfält - - &Check - &Check - C++ standard @@ -583,20 +536,11 @@ Exempel: Ctrl+D Ctrl+D - - &Recheck files - Starta &om check - Ctrl+R Ctrl+R - - &Reanalyze all files - &Recheck all files - Analysera om alla filer - &Stop @@ -639,34 +583,18 @@ Exempel: &Preferences &Inställningar - - Errors - Fel - Show errors Visa fel - - Show S&cratchpad... - Visa s&cratchpad... - - - Warnings - Varningar - Show warnings Visa varningar - - Performance warnings - Prestanda varningar - @@ -689,10 +617,6 @@ Exempel: Show information messages Visa informations meddelanden - - Portability - Portabilitet - Show portability warnings @@ -748,34 +672,6 @@ Exempel: Windows 64-bit Windows 64-bit - - Platforms - Plattformar - - - C++11 - C++11 - - - C99 - C99 - - - Posix - Posix - - - C11 - C11 - - - C89 - C89 - - - C++03 - C++03 - &Print... @@ -796,27 +692,11 @@ Exempel: Open a Print Preview Dialog for the Current Results Öppnar förhandsgranskning för nuvarande resultat - - Library Editor... - Library Editor... - Open library editor Öppna library editor - - Auto-detect language - Välj språk automatiskt - - - Enforce C++ - C++ - - - Enforce C - C - &Check all @@ -1059,10 +939,6 @@ Exempel: Categories Kategorier - - Style warnings - Stil varningar - @@ -1084,33 +960,17 @@ Exempel: &Help &Hjälp - - Select directory to check - Välj katalog som skall kontrolleras - - - No suitable files found to check! - Inga lämpliga filer hittades! - Quick Filter: Snabbfilter: - - C/C++ Source, Compile database, Visual Studio (%1 %2 *.sln *.vcxproj) - C/C++ källkod, Compile database, Visual Studio (%1 %2 *.sln *.vcxproj) - Select configuration Välj konfiguration - - Select the configuration that will be checked - Välj konfiguration som kommer analyseras - Found project file: %1 @@ -1119,14 +979,6 @@ Do you want to load this project file instead? Hittade projektfil: %1 Vill du ladda denna projektfil istället? - - - Found project files from the directory. - -Do you want to proceed checking without using any of these project files? - Hittade projektfil(er) i mappen. - -Vill du fortsätta analysen utan att använda någon av dessa projektfiler? @@ -1170,11 +1022,6 @@ Vill du fortsätta analysen utan att använda någon av dessa projektfiler?Authors Utvecklare - - XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv) - XML files (*.xml);;Text files (*.txt);;CSV files (*.csv) - XML filer version 2 (*.xml);;XML filer version 1 (*.xml);;Text filer (*.txt);;CSV filer (*.csv) - Save the report file @@ -1200,10 +1047,6 @@ En trolig orsak är att inställningarna ändrats för olika Cppcheck versioner. You must close the project file before selecting new files or directories! Du måste stänga projektfilen innan nya filer eller sökvägar kan väljas! - - Select files to check - Välj filer att kontrollera - The library '%1' contains unknown elements: @@ -1241,43 +1084,11 @@ En trolig orsak är att inställningarna ändrats för olika Cppcheck versioner. Failed to load %1. Your Cppcheck installation is broken. You can use --data-dir=<directory> at the command line to specify where this file is located. Please note that --data-dir is supposed to be used by installation scripts and therefore the GUI does not start when it is used, all that happens is that the setting is configured. Misslyckades att ladda %1. Din Cppcheck installation är ej komplett. Du kan använda --data-dir<directory> på kommandoraden för att specificera var denna fil finns. Det är meningen att --data-dir kommandot skall köras under installationen,så GUIt kommer ej visas när --data-dir används allt som händer är att en inställning görs. - - Current results will be cleared. - -Opening a new XML file will clear current results.Do you want to proceed? - Nuvarande resultat kommer rensas bort. - -När en ny XML fil öppnas så tas alla nuvarande resultat bort. Vill du fortsätta? - Open the report file Öppna rapportfilen - - Checking is running. - -Do you want to stop the checking and exit Cppcheck? - Cppcheck kör. - -Vill du stoppa analysen och avsluta Cppcheck? - - - XML files version 1 (*.xml) - XML filer version 1 (*.xml) - - - Deprecated XML format - Gammalt XML format - - - XML format 1 is deprecated and will be removed in cppcheck 1.81. - XML format 1 är gammalt och stödet kommer tas bort i Cppcheck 1.81 - - - XML files version 2 (*.xml) - XML filer version 2 (*.xml) - Text files (*.txt) @@ -1288,22 +1099,6 @@ Vill du stoppa analysen och avsluta Cppcheck? CSV files (*.csv) CSV filer (*.csv) - - Cppcheck - %1 - Cppcheck - %1 - - - Failed to change the user interface language: - -%1 - -The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages. - Misslyckades att ändra språk: - -%1 - -Språket har nollställts till Engelska. Öppna Preferences och välj något av de tillgängliga språken. - Project files (*.cppcheck);;All files(*.*) @@ -1444,30 +1239,6 @@ Do you want to remove the file from the recently used projects -list? kunde inte hittas! Vill du ta bort filen från 'senast använda projekt'-listan? - - - Cppcheck GUI. - -Syntax: - cppcheck-gui [OPTIONS] [files or paths] - -Options: - -h, --help Print this help - -p <file> Open given project file and start checking it - -l <file> Open given results xml file - -d <directory> Specify the directory that was checked to generate the results xml specified with -l - -v, --version Show program version - Cppcheck GUI. - -Syntax: - cppcheck-gui [OPTIONS] [files or paths] - -Options: - -h, --help Print this help - -p <file> Open given project file and start checking it - -l <file> Open given results xml file - -d <directory> Specify the directory that was checked to generate the results xml specified with -l - -v, --version Show program version @@ -1553,10 +1324,6 @@ Options: Platforms - - Built-in - Generell - Native @@ -1588,21 +1355,6 @@ Options: Windows 64-bit - - Project - - Cppcheck - Cppcheck - - - Could not read the project file. - Kunde ej läsa projektfilen. - - - Could not write the project file. - Kunde ej skriva projektfilen - - ProjectFile @@ -1610,30 +1362,11 @@ Options: Project File Projektfil - - Project - Projekt - - - <html><head/><body><p>In the build dir, cppcheck stores data about each translation unit.</p><p>With a build dir you get whole program analysis.</p><p>Unchanged files will be analyzed much faster; Cppcheck skip the analysis of these files and reuse their old data.</p></body></html> - I build dir sparar Cppcheck information för varje translation unit. -Med build dir får du whole program analys. -Omodifierade filer analyseras mycket fortare, Cppcheck hoppar över analysen och återanvänder den gamla informationen - - - Cppcheck build dir (whole program analysis, faster analysis for unchanged files) - Cppcheck build dir (whole program analys, snabbare analys för omodifierade filer) - Paths and Defines Sökvägar och defines - - <html><head/><body><p>Cppcheck can import Visual studio solutions (*.sln), Visual studio projects (*.vcxproj) or compile databases.</p><p>Files to check, defines, include paths are imported.</p></body></html> - Cppcheck kan importera Visual studio solutions (*.sln), Visual studio projekt (*.vcxproj) eller compile databases. -Sökvägar och defines importeras. - Import Project (Visual studio / compile database/ Borland C++ Builder 6) @@ -1646,24 +1379,11 @@ Sökvägar och defines importeras. Defines must be separated by a semicolon ';' Defines separeras med semicolon ';' - - &Root: - Root: - Rot: - - - Libraries: - Libraries: - Note: Put your own custom .cfg files in the same folder as the project file. You should see them above. Obs: Lägg dina egna .cfg filer i samma folder som projekt filen. De skall isåfall visas ovan. - - Visual Studio - Visual Studio - ... @@ -1801,14 +1521,6 @@ Sökvägar och defines importeras. External tools - - Includes - Include - - - Include directories: - Include sökvägar - Up @@ -1840,10 +1552,6 @@ Sökvägar och defines importeras. Cppcheck (built in) - - Clang - Clang - Check that each class has a safe public interface @@ -1895,19 +1603,11 @@ Sökvägar och defines importeras. Libraries Libraries - - Exclude - Exkludera - Suppressions Suppressions - - Suppression list: - Suppression-list: - Add @@ -1939,18 +1639,6 @@ Sökvägar och defines importeras. Coding standards Kodstandarder - - CERT - CERT - - - Extra Tools - Extra verktyg - - - It is common best practice to use several tools. - Best practice är att använda flera verktyg - Clang analyzer @@ -1984,10 +1672,6 @@ Sökvägar och defines importeras. Select Cppcheck build dir Välj Cppcheck build dir - - Visual Studio (*.sln *.vcxproj);;Compile database (compile_commands.json) - Visual Studio (*.sln *.vcxproj);;Compile database (compile_commands.json) - Select include directory @@ -2043,42 +1727,11 @@ Sökvägar och defines importeras. Import Project Importera Projekt - - Visual Studio (*.sln *.vcxproj);;Compile database (compile_database.json) - Visual Studio (*.sln *.vcxproj);;Compile database (compile_database.json) - Select directory to ignore Välj sökväg att ignorera - - Add Suppression - Lägg till Suppression - - - Select error id suppress: - Välj error Id suppress: - - - - QDialogButtonBox - - OK - OK - - - Cancel - Avbryt - - - Close - Stäng - - - Save - Spara - QObject @@ -2326,10 +1979,6 @@ Sökvägar och defines importeras. Please select the directory where file is located. - - [Inconclusive] - [Inconclusive] - debug @@ -2345,22 +1994,6 @@ Sökvägar och defines importeras. Recheck Analysera om - - Copy filename - Kopiera filnamn - - - Copy full path - Kopiera full sökväg - - - Copy message - Kopiera meddelande - - - Copy message id - Kopiera meddelande id - Hide @@ -2430,14 +2063,6 @@ Please check the application path and parameters are correct. Kunde inte starta %1 Kontrollera att sökvägen och parametrarna är korrekta. - - - Could not find file: -%1 -Please select the directory where file is located. - Kunde inte hitta filen: -%1 -Välj mappen där filen finns. @@ -2536,14 +2161,6 @@ För att ställa in vilka fel som skall visas använd visa menyn. XML format version 1 is no longer supported. XML format version 1 stöds ej längre. - - Summary - Sammanfattning - - - Message - Meddelande - First included by @@ -2574,10 +2191,6 @@ För att ställa in vilka fel som skall visas använd visa menyn. Copy complete Log - - No errors found, nothing to save. - Inga fel hittades, ingenting att spara. - @@ -2599,10 +2212,6 @@ För att ställa in vilka fel som skall visas använd visa menyn. Warning Details Varningsdetaljer - - Functions - Funktioner - ScratchPad @@ -2644,10 +2253,6 @@ För att ställa in vilka fel som skall visas använd visa menyn. General Allmänt - - Include paths: - Include sökvägar: - Add... @@ -2786,14 +2391,6 @@ För att ställa in vilka fel som skall visas använd visa menyn. Custom - - Paths - Sökvägar - - - Edit - Redigera - Remove @@ -2835,18 +2432,6 @@ För att ställa in vilka fel som skall visas använd visa menyn. Language Språk - - Advanced - Avancerade - - - &Show inconclusive errors - Visa inconclusive meddelanden - - - S&how internal warnings in log - Visa interna fel i loggen - SettingsDialog @@ -2895,24 +2480,20 @@ För att ställa in vilka fel som skall visas använd visa menyn. Select clang path Välj Clang sökväg - - Select include directory - Välj include mapp - StatsDialog - - + + Statistics Statistik - + Project Projekt @@ -2943,7 +2524,7 @@ För att ställa in vilka fel som skall visas använd visa menyn. - + Previous Scan Föregående analys @@ -3013,143 +2594,143 @@ För att ställa in vilka fel som skall visas använd visa menyn. Pdf Export - + 1 day 1 dag - + %1 days %1 dagar - + 1 hour 1 timme - + %1 hours %1 timmar - + 1 minute 1 minut - + %1 minutes %1 minuter - + 1 second 1 sekund - + %1 seconds %1 sekunder - + 0.%1 seconds 0.%1 sekunder - + and och - + Export PDF Exportera PDF - + Project Settings Projekt inställningar - + Paths Sökvägar - + Include paths Include sökvägar - + Defines Definitioner - + Undefines - + Path selected Vald sökväg - + Number of files scanned Antal analyserade filer - + Scan duration Tid - - + + Errors Fel - + File: Fil: - + No cppcheck build dir Ingen Cppcheck build dir - - + + Warnings Varningar - - + + Style warnings Stil varningar - - + + Portability warnings Portabilitetsvarningar - - + + Performance warnings Prestanda varningar - - + + Information messages Informationsmeddelanden diff --git a/gui/cppcheck_zh_CN.ts b/gui/cppcheck_zh_CN.ts index 3f24d608b..bb0982059 100644 --- a/gui/cppcheck_zh_CN.ts +++ b/gui/cppcheck_zh_CN.ts @@ -40,28 +40,6 @@ of the GNU General Public License version 3 <html><head/><body><p>Many thanks to these libraries that we use:</p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">pcre</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">picojson</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">qt</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">tinyxml2</li></ul></body></html> - - <html><head/><body> -<p>Many thanks to these libraries that we use:</p><ul> -<li>pcre</li> -<li>picojson</li> -<li>qt</li> -<li>tinyxml2</li> -<li>z3</li></ul></body></html> - <html><head/><body> -<p>Many thanks to these libraries that we use:</p><ul> -<li>tinyxml2</li> -<li>picojson</li> -<li>pcre</li> -<li>qt</li></ul></body></html> - <html><head/><body> -<p>非常感谢我们使用的这些库:</p><ul> -<li>pcre</li> -<li>picojson</li> -<li>qt</li> -<li>tinyxml2</li> -<li>z3</li></ul></body></html> - ApplicationDialog @@ -155,21 +133,6 @@ Parameters: -l(line) (file) 无法读取文件: %1 - - FunctionContractDialog - - Function contract - 函数约定 - - - Name - 名称 - - - Requirements for parameters - 必须的参数 - - HelpDialog @@ -464,33 +427,6 @@ Parameters: -l(line) (file) 有效值 - - LogView - - Checking Log - 正在检查记录 - - - Clear - 清空 - - - Save Log - 保存记录 - - - Text files (*.txt *.log);;All files (*.*) - 文本文件(*.txt *.log);;所有文件(*.*) - - - Cppcheck - Cppcheck - - - Could not open file for writing: "%1" - 无法打开并写入文件: “%1” - - MainWindow @@ -531,10 +467,6 @@ Parameters: -l(line) (file) &Help 帮助(&H) - - &Check - 检查(&C) - C++ standard @@ -610,10 +542,6 @@ Parameters: -l(line) (file) Ctrl+D Ctrl+D - - &Recheck files - 重新检查文件(&R) - Ctrl+R @@ -661,30 +589,18 @@ Parameters: -l(line) (file) &Preferences 首选项(&P) - - Style warnings - 风格警告 - Show style warnings 显示风格警告 - - Errors - 错误 - Show errors 显示错误 - - Show S&cratchpad... - 显示便条(&C)... - @@ -696,10 +612,6 @@ Parameters: -l(line) (file) Show information messages 显示信息消息 - - Portability - 移植可能性 - Show portability warnings @@ -755,34 +667,6 @@ Parameters: -l(line) (file) Windows 64-bit - - Platforms - 平台 - - - C++11 - C++11 - - - C99 - C99 - - - Posix - Posix - - - C11 - C11 - - - C89 - C89 - - - C++03 - C++03 - &Print... @@ -823,20 +707,12 @@ Parameters: -l(line) (file) &Statistics 统计(&S) - - Warnings - 警告 - Show warnings 显示警告 - - Performance warnings - 性能警告 - @@ -1093,29 +969,17 @@ This is probably because the settings were changed between the Cppcheck versions 这可能是因为 Cppcheck 不同版本间的设置有所不同。请检查(并修复)编辑器应用程序设置,否则编辑器程序可能不会正确启动。 - - No suitable files found to check! - 未发现适合检查的文件! - You must close the project file before selecting new files or directories! 在选择新的文件或目录之前,你必须先关闭此项目文件! - - Select directory to check - 选择目录来检查 - Quick Filter: 快速滤器: - - Select files to check - 选择要检查的文件 - Select configuration @@ -1129,14 +993,6 @@ Do you want to load this project file instead? 找到项目文件: %1 你是否想加载该项目文件? - - - Found project files from the directory. - -Do you want to proceed checking without using any of these project files? - 在目录中找到项目文件。 - -你是否想在不使用这些项目文件的情况下,执行检查? @@ -1207,14 +1063,6 @@ Do you want to proceed checking without using any of these project files?Failed to load %1. Your Cppcheck installation is broken. You can use --data-dir=<directory> at the command line to specify where this file is located. Please note that --data-dir is supposed to be used by installation scripts and therefore the GUI does not start when it is used, all that happens is that the setting is configured. 加载 %1 失败。您的 Cppcheck 安装已损坏。您可以在命令行添加 --data-dir=<目录> 参数来指定文件位置。请注意,'--data-dir' 参数应当由安装脚本使用,因此,当使用此参数时,GUI不会启动,所发生的一切只是配置了设置。 - - Current results will be cleared. - -Opening a new XML file will clear current results.Do you want to proceed? - 当前结果将被清空。 - -打开一个新的 XML 文件将会清空当前结果。你要继续吗? - @@ -1226,14 +1074,6 @@ Opening a new XML file will clear current results.Do you want to proceed?Open the report file 打开报告文件 - - Checking is running. - -Do you want to stop the checking and exit Cppcheck? - 检查正在执行。 - -你是否需要停止检查并退出 Cppcheck? - License @@ -1244,24 +1084,11 @@ Do you want to stop the checking and exit Cppcheck? Authors 作者 - - XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv) - XML files (*.xml);;Text files (*.txt);;CSV files (*.csv) - XML 文件版本 2 (*.xml);;XML 文件版本 1 (*.xml);; 文本文件(*.txt);; CSV 文件(*.csv) - Save the report file 保存报告文件 - - XML files version 1 (*.xml) - XML 文件版本 1 (*.xml) - - - XML files version 2 (*.xml) - XML 文件版本 2 (*.xml) - Text files (*.txt) @@ -1272,22 +1099,6 @@ Do you want to stop the checking and exit Cppcheck? CSV files (*.csv) CSV 文件(*.csv) - - Cppcheck - %1 - Cppcheck - %1 - - - Failed to change the user interface language: - -%1 - -The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages. - 更改用户界面语言失败: - -%1 - -用户界面语言已被重置为英语。打开“首选项”对话框,选择任何可用的语言。 - Project files (*.cppcheck);;All files(*.*) @@ -1515,10 +1326,6 @@ Options: Platforms - - Built-in - 内置 - Native @@ -1550,21 +1357,6 @@ Options: - - Project - - Cppcheck - Cppcheck - - - Could not read the project file. - 无法读取项目文件。 - - - Could not write the project file. - 无法写入项目文件。 - - ProjectFile @@ -1572,10 +1364,6 @@ Options: Project File 项目文件 - - Project - 项目 - Paths and Defines @@ -1593,11 +1381,6 @@ Options: Defines must be separated by a semicolon ';' 定义必须用分号分隔。例如:DEF1;DEF2=5;DEF3=int - - &Root: - Root: - 根目录: - Note: Put your own custom .cfg files in the same folder as the project file. You should see them above. @@ -1757,14 +1540,6 @@ Options: External tools 外部工具 - - Includes - 包含 - - - Include directories: - Include 目录: - Up @@ -1785,14 +1560,6 @@ Options: Clang (experimental) Clang (实验性的) - - Normal analysis -- Avoid false positives. - 常规分析 -- 避免误报。 - - - Bug hunting -- Generates mostly noise. The goal is to be "soundy" and detect most bugs. - 错误搜寻 -- 生成几乎所有提示。其目的是为了检测出大多数错误并使代码更加 "牢固"。 - If you want to design your classes to be as flexible and robust as possible then the public interface must be very robust. Cppcheck will asumme that arguments can take *any* value. @@ -1838,10 +1605,6 @@ Options: Libraries - - Exclude - 排除 - Suppressions @@ -1878,10 +1641,6 @@ Options: Coding standards 编码标准 - - CERT - CERT - Clang analyzer @@ -1920,10 +1679,6 @@ Options: Select a directory to check 选择一个检查目录 - - (no rule texts file) - (无规则文本文件) - Clang-tidy (not found) @@ -1980,13 +1735,6 @@ Options: MISRA 规则文本文件 (%1) - - QDialogButtonBox - - Close - 关闭 - - QObject @@ -2231,10 +1979,6 @@ Options: Please select the directory where file is located. 请选择文件所在的目录。 - - [Inconclusive] - [不确定的] - debug @@ -2250,22 +1994,6 @@ Options: Recheck 重新检查 - - Copy filename - 复制文件名 - - - Copy full path - 复制完整路径 - - - Copy message - 复制消息 - - - Copy message id - 复制消息 ID - Hide @@ -2286,14 +2014,6 @@ Options: Open containing folder 打开包含的文件夹 - - Edit contract.. - 编辑约定.. - - - Suppress - 抑制 - @@ -2343,14 +2063,6 @@ Please check the application path and parameters are correct. 无法启动 %1 请检查此应用程序的路径与参数是否正确。 - - - Could not find file: -%1 -Please select the directory where file is located. - 无法找到文件: -%1 -请选择文件所在目录。 @@ -2420,30 +2132,6 @@ Please select the directory where file is located. Warning Details 警告详情 - - Functions - 函数 - - - Variables - 变量 - - - Only show variable names that contain text: - 只显示包含文本的变量名: - - - Configured contracts: - 已配置的约定: - - - Missing contracts: - 缺失的约定: - - - No errors found, nothing to save. - 未发现错误,没有结果可保存。 - @@ -2494,14 +2182,6 @@ To toggle what kind of errors are shown, open view menu. XML format version 1 is no longer supported. 不再支持 XML 格式版本 1。 - - Summary - 概要 - - - Message - 消息 - First included by @@ -2573,10 +2253,6 @@ To toggle what kind of errors are shown, open view menu. General 常规 - - Include paths: - Include 路径: - Add... @@ -2715,14 +2391,6 @@ To toggle what kind of errors are shown, open view menu. Custom 自定义 - - Paths - 路径 - - - Edit - 编辑 - Remove @@ -2764,18 +2432,6 @@ To toggle what kind of errors are shown, open view menu. Language 语言 - - Advanced - 高级 - - - &Show inconclusive errors - 显示不确定的错误(&S) - - - S&how internal warnings in log - 在日记中显示内部警告(&H) - SettingsDialog @@ -2824,24 +2480,20 @@ To toggle what kind of errors are shown, open view menu. Select clang path 选择 clang 路径 - - Select include directory - 选择包含目录 - StatsDialog - - + + Statistics 统计 - + Project 项目 @@ -2872,7 +2524,7 @@ To toggle what kind of errors are shown, open view menu. - + Previous Scan 上一次扫描 @@ -2942,143 +2594,143 @@ To toggle what kind of errors are shown, open view menu. 导出 PDF - + 1 day 1 天 - + %1 days %1 天 - + 1 hour 1 小时 - + %1 hours %1 小时 - + 1 minute 1 分钟 - + %1 minutes %1 分钟 - + 1 second 1 秒 - + %1 seconds %1 秒 - + 0.%1 seconds 0.%1 秒 - + and - + Export PDF 导出 PDF - + Project Settings 项目设置 - + Paths 路径 - + Include paths 包含路径 - + Defines 定义 - + Undefines 未定义 - + Path selected 选中的路径 - + Number of files scanned 扫描的文件数 - + Scan duration 扫描时间 - - + + Errors 错误 - + File: 文件: - + No cppcheck build dir 没有 cppcheck 构建目录 - - + + Warnings 警告 - - + + Style warnings 风格警告 - - + + Portability warnings 移植可能性警告 - - + + Performance warnings 性能警告 - - + + Information messages 信息 @@ -3120,25 +2772,6 @@ The user interface language has been reset to English. Open the Preferences-dial 不确定的 - - VariableContractsDialog - - Dialog - 对话框 - - - You can specify min and max value for the variable here - 你可以在这里指定变量的最小值和最大值 - - - Min - 最小 - - - Max - 最大 - - toFilterString diff --git a/gui/main.cpp b/gui/main.cpp index 6eb990b05..c16057960 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -44,7 +44,7 @@ static bool CheckArgs(const QStringList &args); int main(int argc, char *argv[]) { -#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)) +#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)) && (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); #endif diff --git a/gui/statsdialog.cpp b/gui/statsdialog.cpp index 9a97c57a7..d05656eae 100644 --- a/gui/statsdialog.cpp +++ b/gui/statsdialog.cpp @@ -43,8 +43,10 @@ #include #include +#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) using namespace QtCharts; #endif +#endif static const QString CPPCHECK("cppcheck"); diff --git a/gui/statsdialog.h b/gui/statsdialog.h index d7898e951..b1b678252 100644 --- a/gui/statsdialog.h +++ b/gui/statsdialog.h @@ -30,11 +30,15 @@ namespace Ui { } #ifdef HAVE_QCHART +#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) namespace QtCharts { - class QChartView; - class QLineSeries; +#endif +class QChartView; +class QLineSeries; +#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) } #endif +#endif /// @addtogroup GUI /// @{ @@ -78,9 +82,14 @@ private slots: void copyToClipboard(); void pdfExport(); #ifdef HAVE_QCHART +#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)) + QChartView *createChart(const QString &statsFile, const QString &tool); + QLineSeries *numberOfReports(const QString &fileName, const QString &severity) const; +#else QtCharts::QChartView *createChart(const QString &statsFile, const QString &tool); QtCharts::QLineSeries *numberOfReports(const QString &fileName, const QString &severity) const; #endif +#endif private: Ui::StatsDialog *mUI; const CheckStatistics *mStatistics; diff --git a/lib/config.h b/lib/config.h index 8cf43eee7..2f3d247cb 100644 --- a/lib/config.h +++ b/lib/config.h @@ -32,7 +32,7 @@ #endif // MS Visual C++ memory leak debug tracing -#if defined(_MSC_VER) && defined(_DEBUG) +#if !defined(DISABLE_CRTDBG_MAP_ALLOC) && defined(_MSC_VER) && defined(_DEBUG) # define _CRTDBG_MAP_ALLOC # include #endif diff --git a/tools/triage/mainwindow.cpp b/tools/triage/mainwindow.cpp index 43a90dde3..360bf2e0f 100644 --- a/tools/triage/mainwindow.cpp +++ b/tools/triage/mainwindow.cpp @@ -272,7 +272,7 @@ void MainWindow::showResult(QListWidgetItem *item) const int pos1 = msg.indexOf(":"); const int pos2 = msg.indexOf(":", pos1+1); const QString fileName = WORK_FOLDER + '/' + msg.left(msg.indexOf(":")); - const int lineNumber = msg.midRef(pos1+1, pos2-pos1-1).toInt(); + const int lineNumber = msg.mid(pos1+1, pos2-pos1-1).toInt(); if (!QFileInfo::exists(fileName)) { const QString daca2archiveFile {DACA2_PACKAGES + '/' + archiveName.mid(0,archiveName.indexOf(".tar.")) + ".tar.xz"}; @@ -369,7 +369,7 @@ void MainWindow::searchResultsDoubleClick() { QString filename = ui->inFilesResult->currentItem()->text(); const auto idx = filename.lastIndexOf(':'); - const int line = filename.midRef(idx + 1).toInt(); + const int line = filename.mid(idx + 1).toInt(); showSrcFile(WORK_FOLDER + QString{"/"} + filename.left(idx), "", line); }