diff --git a/gui/applicationdialog.cpp b/gui/applicationdialog.cpp index bc8804d6f97..bdf9a4f827e 100644 --- a/gui/applicationdialog.cpp +++ b/gui/applicationdialog.cpp @@ -80,7 +80,7 @@ void ApplicationDialog::ok() { if (mUI->mName->text().isEmpty() || mUI->mPath->text().isEmpty()) { QMessageBox msg(QMessageBox::Warning, - tr("Cppcheck"), + "Cppcheck", tr("You must specify a name, a path and optionally parameters for the application!"), QMessageBox::Ok, this); diff --git a/gui/cppcheck_de.ts b/gui/cppcheck_de.ts index 0197f93c728..1807df9fd92 100644 --- a/gui/cppcheck_de.ts +++ b/gui/cppcheck_de.ts @@ -107,9 +107,8 @@ Parameter: -l(line) (file) Anzeigeanwendung auswählen - Cppcheck - Cppcheck + Cppcheck @@ -189,10 +188,8 @@ Parameter: -l(line) (file) Konnte die Datei nicht finden: %1 - - Cppcheck - Cppcheck + Cppcheck @@ -223,9 +220,8 @@ Parameter: -l(line) (file) Hilfedatei '%1' nicht gefunden - Cppcheck - Cppcheck + Cppcheck @@ -345,11 +341,8 @@ Parameter: -l(line) (file) Bibliothek öffnen - - - Cppcheck - Cppcheck + Cppcheck @@ -495,23 +488,8 @@ Parameter: -l(line) (file) MainWindow - - - - - - - - - - - - - - - Cppcheck - Cppcheck + Cppcheck @@ -688,9 +666,8 @@ Parameter: -l(line) (file) Zeige Portabilitätswarnungen - Show Cppcheck results - Zeige Cppcheck-Ergebnisse + Zeige Cppcheck-Ergebnisse @@ -928,6 +905,11 @@ Parameter: -l(line) (file) &Portability &Portabilität + + + Show results + + P&latforms @@ -1019,29 +1001,16 @@ Parameter: -l(line) (file) - Misra C - Misra C + Misra C - - Misra C++ 2008 - - - - Cert C - Cert C + Cert C - Cert C++ - Cert C++ - - - - Misra C++ 2023 - + Cert C++ @@ -1296,14 +1265,12 @@ Dies wurde vermutlich durch einen Wechsel der Cppcheck-Version hervorgerufen. Bi Compilerdatenbank - Visual Studio - Visual Studio + Visual Studio - Borland C++ Builder 6 - Borland C++-Builder 6 + Borland C++-Builder 6 @@ -1580,29 +1547,24 @@ Options: Nativ - Unix 32-bit - Unix 32-bit + Unix 32-bit - Unix 64-bit - Unix 64-bit + Unix 64-bit - Windows 32-bit ANSI - Windows 32-bit, ANSI + Windows 32-bit, ANSI - Windows 32-bit Unicode - Windows 32-bit, Unicode + Windows 32-bit, Unicode - Windows 64-bit - Windows 64-bit + Windows 64-bit @@ -1979,14 +1941,12 @@ Options: - Clang analyzer - Clang-Analyzer + Clang-Analyzer - Clang-tidy - Clang-Tidy + Clang-Tidy @@ -2023,13 +1983,13 @@ Options: - Clang-tidy (not found) - Clang-tidy (nicht gefunden) + not found + (not found) + Clang-tidy (nicht gefunden) - Visual Studio - Visual Studio + Visual Studio @@ -2037,9 +1997,8 @@ Options: Compilerdatenbank - Borland C++ Builder 6 - Borland C++-Builder 6 + Borland C++-Builder 6 @@ -2304,11 +2263,6 @@ Options: Tags - - - CWE - - QPlatformTheme @@ -2431,10 +2385,8 @@ Options: Kein Tag - - Cppcheck - Cppcheck + Cppcheck @@ -2522,10 +2474,8 @@ Bitte überprüfen Sie ob der Pfad und die Parameter der Anwendung richtig einge %p% (%1 von %2 Dateien geprüft) - - Cppcheck - Cppcheck + Cppcheck @@ -3190,9 +3140,8 @@ The user interface language has been reset to English. Open the Preferences-dial Die Sprache wurde auf Englisch zurückgesetzt. Öffnen Sie den Einstellungen-Dialog um eine verfügbare Sprache auszuwählen. - Cppcheck - Cppcheck + Cppcheck diff --git a/gui/cppcheck_es.ts b/gui/cppcheck_es.ts index 2283e346285..1fab92ae7f3 100644 --- a/gui/cppcheck_es.ts +++ b/gui/cppcheck_es.ts @@ -95,9 +95,8 @@ Parameters: -l(line) (file) Selecciona la aplicación para visualizar - Cppcheck - Cppcheck + Cppcheck @@ -177,10 +176,8 @@ Parameters: -l(line) (file) No se ha encontrado el fichero: %1 - - Cppcheck - Cppcheck + Cppcheck @@ -211,9 +208,8 @@ Parameters: -l(line) (file) - Cppcheck - Cppcheck + Cppcheck @@ -333,11 +329,8 @@ Parameters: -l(line) (file) Abrir archivo de biblioteca - - - Cppcheck - Cppcheck + Cppcheck @@ -475,23 +468,8 @@ Parameters: -l(line) (file) MainWindow - - - - - - - - - - - - - - - Cppcheck - Cppcheck + Cppcheck @@ -664,11 +642,6 @@ Parameters: -l(line) (file) Show portability warnings Mostrar advertencias de portabilidad - - - Show Cppcheck results - - Clang @@ -926,6 +899,11 @@ Parameters: -l(line) (file) &Portability + + + Show results + + P&latforms @@ -1016,31 +994,6 @@ Parameters: -l(line) (file) Normal - - - Misra C - - - - - Misra C++ 2008 - - - - - Cert C - - - - - Cert C++ - - - - - Misra C++ 2023 - - Autosar @@ -1273,16 +1226,6 @@ Do you want to load this project file instead? Compile database - - - Visual Studio - - - - - Borland C++ Builder 6 - - Select files to analyze @@ -1546,29 +1489,24 @@ Options: - Unix 32-bit - Unix 32-bit + Unix 32-bit - Unix 64-bit - Unix 64-bit + Unix 64-bit - Windows 32-bit ANSI - Windows 32-bit ANSI + Windows 32-bit ANSI - Windows 32-bit Unicode - Windows 32-bit Unicode + Windows 32-bit Unicode - Windows 64-bit - Windows 64-bit + Windows 64-bit @@ -1942,16 +1880,6 @@ Options: Bug hunting (Premium) - - - Clang analyzer - - - - - Clang-tidy - - Defines: @@ -1987,12 +1915,8 @@ Options: - Clang-tidy (not found) - - - - - Visual Studio + not found + (not found) @@ -2000,11 +1924,6 @@ Options: Compile database - - - Borland C++ Builder 6 - - Import Project @@ -2269,11 +2188,6 @@ Options: Tags - - - CWE - - QPlatformTheme @@ -2410,10 +2324,8 @@ Options: - - Cppcheck - Cppcheck + Cppcheck @@ -2522,10 +2434,8 @@ Por favor comprueba que la ruta a la aplicación y los parámetros son correctos %p% (%1 of %2 archivos comprobados) - - Cppcheck - Cppcheck + Cppcheck @@ -3164,9 +3074,8 @@ The user interface language has been reset to English. Open the Preferences-dial El idioma de la interfaz gráfica ha sido cambiado a Inglés. Abra la ventana de Preferencias para seleccionar alguno de los idiomas disponibles. - Cppcheck - Cppcheck + Cppcheck diff --git a/gui/cppcheck_fi.ts b/gui/cppcheck_fi.ts index d6ad561fd33..957f0226f1f 100644 --- a/gui/cppcheck_fi.ts +++ b/gui/cppcheck_fi.ts @@ -96,9 +96,8 @@ Parameters: -l(line) (file) Valitse ohjelma jolla avata virhetiedosto - Cppcheck - Cppcheck + Cppcheck @@ -180,10 +179,8 @@ Parameters: -l(line) (file) Tiedostoa %1 ei löytynyt - - Cppcheck - Cppcheck + Cppcheck @@ -214,9 +211,8 @@ Parameters: -l(line) (file) - Cppcheck - Cppcheck + Cppcheck @@ -336,11 +332,8 @@ Parameters: -l(line) (file) - - - Cppcheck - Cppcheck + Cppcheck @@ -478,23 +471,8 @@ Parameters: -l(line) (file) MainWindow - - - - - - - - - - - - - - - Cppcheck - Cppcheck + Cppcheck @@ -674,11 +652,6 @@ Parameters: -l(line) (file) Show portability warnings - - - Show Cppcheck results - - Clang @@ -916,6 +889,11 @@ Parameters: -l(line) (file) &Portability + + + Show results + + P&latforms @@ -1006,31 +984,6 @@ Parameters: -l(line) (file) Normal - - - Misra C - - - - - Misra C++ 2008 - - - - - Cert C - - - - - Cert C++ - - - - - Misra C++ 2023 - - Autosar @@ -1273,16 +1226,6 @@ This is probably because the settings were changed between the Cppcheck versions Compile database - - - Visual Studio - - - - - Borland C++ Builder 6 - - Select files to analyze @@ -1539,31 +1482,6 @@ Options: Native - - - Unix 32-bit - - - - - Unix 64-bit - - - - - Windows 32-bit ANSI - - - - - Windows 32-bit Unicode - - - - - Windows 64-bit - - ProjectFile @@ -1936,16 +1854,6 @@ Options: Bug hunting (Premium) - - - Clang analyzer - - - - - Clang-tidy - - Defines: @@ -1981,12 +1889,8 @@ Options: - Clang-tidy (not found) - - - - - Visual Studio + not found + (not found) @@ -1994,11 +1898,6 @@ Options: Compile database - - - Borland C++ Builder 6 - - Import Project @@ -2265,11 +2164,6 @@ Options: Tags - - - CWE - - QPlatformTheme @@ -2388,10 +2282,8 @@ Options: - - Cppcheck - Cppcheck + Cppcheck @@ -2476,10 +2368,8 @@ Tarkista että ohjelman polku ja parametrit ovat oikeat. - - Cppcheck - Cppcheck + Cppcheck @@ -3133,9 +3023,8 @@ The user interface language has been reset to English. Open the Preferences-dial - Cppcheck - Cppcheck + Cppcheck diff --git a/gui/cppcheck_fr.ts b/gui/cppcheck_fr.ts index 45ee1549a62..5df501b1b44 100644 --- a/gui/cppcheck_fr.ts +++ b/gui/cppcheck_fr.ts @@ -65,11 +65,6 @@ General Public License version 3 Select viewer application Sélection de l'application - - - Cppcheck - - &Executable: @@ -187,12 +182,6 @@ Paramètres : -l(ligne) (fichier) Could not find the file: %1 Ne trouve pas le fichier : %1 - - - - Cppcheck - - Could not read the file: %1 @@ -221,11 +210,6 @@ Paramètres : -l(ligne) (fichier) Helpfile '%1' was not found - - - Cppcheck - - LibraryAddFunctionDialog @@ -343,13 +327,6 @@ Paramètres : -l(ligne) (fichier) Save as - - - - - Cppcheck - - Save the library as @@ -483,25 +460,6 @@ Paramètres : -l(ligne) (fichier) MainWindow - - - - - - - - - - - - - - - - - Cppcheck - - Checking for updates @@ -653,6 +611,11 @@ Paramètres : -l(ligne) (fichier) F1 + + + Show results + + Compliance report... @@ -663,31 +626,6 @@ Paramètres : -l(ligne) (fichier) Normal - - - Misra C - - - - - Misra C++ 2008 - - - - - Cert C - - - - - Cert C++ - - - - - Misra C++ 2023 - - Autosar @@ -1361,11 +1299,6 @@ Do you want to stop the analysis and exit Cppcheck? &Portability - - - Show Cppcheck results - - Clang @@ -1471,16 +1404,6 @@ Do you want to stop the analysis and exit Cppcheck? Compile database - - - Visual Studio - - - - - Borland C++ Builder 6 - - Current results will be cleared. @@ -1525,31 +1448,6 @@ Do you want to proceed? Platforms - - - Unix 32-bit - - - - - Unix 64-bit - - - - - Windows 32-bit ANSI - - - - - Windows 32-bit Unicode - - - - - Windows 64-bit - - Native @@ -1740,16 +1638,6 @@ Do you want to proceed? Bug hunting - - - Clang analyzer - - - - - Clang-tidy - - @@ -1975,7 +1863,8 @@ Do you want to proceed? - Clang-tidy (not found) + not found + (not found) @@ -2008,21 +1897,11 @@ Do you want to proceed? MISRA rule texts file (%1) - - - Visual Studio - - Compile database - - - Borland C++ Builder 6 - - QObject @@ -2251,11 +2130,6 @@ Do you want to proceed? Tags - - - CWE - - QPlatformTheme @@ -2298,12 +2172,6 @@ Do you want to proceed? Undefined file Fichier indéterminé - - - - Cppcheck - - Could not start %1 @@ -2466,12 +2334,6 @@ Please select the default editor application in preferences/Applications.Results Résultats - - - - Cppcheck - - No errors found. @@ -3132,11 +2994,6 @@ Pour configurer les erreurs affichées, ouvrez le menu d'affichage. - - - Cppcheck - - TxtReport diff --git a/gui/cppcheck_it.ts b/gui/cppcheck_it.ts index 811150c9257..e01c718afae 100644 --- a/gui/cppcheck_it.ts +++ b/gui/cppcheck_it.ts @@ -107,9 +107,8 @@ Parametri: -l(line) (file) Seleziona l'applicazione di lettura - Cppcheck - Cppcheck + Cppcheck @@ -189,10 +188,8 @@ Parametri: -l(line) (file) File non trovato: %1 - - Cppcheck - Cppcheck + Cppcheck @@ -223,9 +220,8 @@ Parametri: -l(line) (file) - Cppcheck - Cppcheck + Cppcheck @@ -345,11 +341,8 @@ Parametri: -l(line) (file) - - - Cppcheck - Cppcheck + Cppcheck @@ -487,23 +480,8 @@ Parametri: -l(line) (file) MainWindow - - - - - - - - - - - - - - - Cppcheck - Cppcheck + Cppcheck @@ -683,11 +661,6 @@ Parametri: -l(line) (file) Show portability warnings Mostra gli avvisi sulla portabilità - - - Show Cppcheck results - - Clang @@ -925,6 +898,11 @@ Parametri: -l(line) (file) &Portability + + + Show results + + P&latforms @@ -1015,31 +993,6 @@ Parametri: -l(line) (file) Normal - - - Misra C - - - - - Misra C++ 2008 - - - - - Cert C - - - - - Cert C++ - - - - - Misra C++ 2023 - - Autosar @@ -1286,16 +1239,6 @@ Probabilmente ciò è avvenuto perché le impostazioni sono state modificate tra Compile database - - - Visual Studio - - - - - Borland C++ Builder 6 - - Select files to analyze @@ -1559,29 +1502,24 @@ Options: - Unix 32-bit - Unix 32-bit + Unix 32-bit - Unix 64-bit - Unix 64-bit + Unix 64-bit - Windows 32-bit ANSI - Windows 32-bit, ANSI + Windows 32-bit, ANSI - Windows 32-bit Unicode - Windows 32-bit, Unicode + Windows 32-bit, Unicode - Windows 64-bit - Windows 64-bit + Windows 64-bit @@ -1955,16 +1893,6 @@ Options: Bug hunting (Premium) - - - Clang analyzer - - - - - Clang-tidy - - Defines: @@ -2000,12 +1928,8 @@ Options: - Clang-tidy (not found) - - - - - Visual Studio + not found + (not found) @@ -2013,11 +1937,6 @@ Options: Compile database - - - Borland C++ Builder 6 - - Import Project @@ -2282,11 +2201,6 @@ Options: Tags - - - CWE - - QPlatformTheme @@ -2413,10 +2327,8 @@ Options: - - Cppcheck - Cppcheck + Cppcheck @@ -2508,10 +2420,8 @@ Per favore verifica che il percorso dell'applicazione e i parametri siano c %p% (%1 su %2 file scansionati) - - Cppcheck - Cppcheck + Cppcheck @@ -3176,9 +3086,8 @@ The user interface language has been reset to English. Open the Preferences-dial L'interfaccia utente è stata risettata in Inglese. Apri la finestra di dialogo Preferenze per selezionare una qualunque lingua a disposizione. - Cppcheck - Cppcheck + Cppcheck diff --git a/gui/cppcheck_ja.ts b/gui/cppcheck_ja.ts index 461f1ef3f07..adc9a6d6b30 100644 --- a/gui/cppcheck_ja.ts +++ b/gui/cppcheck_ja.ts @@ -106,9 +106,8 @@ Parameters: -l(line) (file) 表示アプリケーションの選択 - Cppcheck - Cppcheck + Cppcheck @@ -192,10 +191,8 @@ Parameters: -l(line) (file) ファイル:%1 が見つかりません - - Cppcheck - Cppcheck + Cppcheck @@ -226,9 +223,8 @@ Parameters: -l(line) (file) ヘルプファイル '%1' が見つかりません - Cppcheck - Cppcheck + Cppcheck @@ -348,11 +344,8 @@ Parameters: -l(line) (file) ライブラリファイルを開く - - - Cppcheck - Cppcheck + Cppcheck @@ -501,23 +494,8 @@ Parameters: -l(line) (file) MainWindow - - - - - - - - - - - - - - - Cppcheck - Cppcheck + Cppcheck @@ -691,9 +669,8 @@ Parameters: -l(line) (file) 移植可能性の問題を表示 - Show Cppcheck results - Cppcheck結果を表示する + Cppcheck結果を表示する @@ -970,6 +947,11 @@ Parameters: -l(line) (file) &Portability 移植可能性(&P) + + + Show results + + P&latforms @@ -1061,29 +1043,24 @@ Parameters: -l(line) (file) ノーマル - Misra C - MISRA C + MISRA C - Misra C++ 2008 - MISRA C++ 2008 + MISRA C++ 2008 - Cert C - CERT C + CERT C - Cert C++ - Cert C++ + Cert C++ - Misra C++ 2023 - MISRA C++ 2023 + MISRA C++ 2023 @@ -1318,14 +1295,12 @@ Analysis is stopped. コンパイルデータベース - Visual Studio - Visual Studio + Visual Studio - Borland C++ Builder 6 - Borland C++ Builder 6 + Borland C++ Builder 6 @@ -1603,29 +1578,24 @@ Options: ネイティブ - Unix 32-bit - Unix 32-bit + Unix 32-bit - Unix 64-bit - Unix 64-bit + Unix 64-bit - Windows 32-bit ANSI - Windows 32-bit ANSIエンコード + Windows 32-bit ANSIエンコード - Windows 32-bit Unicode - Windows 32-bit Unicode + Windows 32-bit Unicode - Windows 64-bit - Windows 64-bit + Windows 64-bit @@ -2012,14 +1982,12 @@ Options: バグハント - Clang analyzer - Clang Analyzer + Clang Analyzer - Clang-tidy - Clang-tidy + Clang-tidy @@ -2056,13 +2024,13 @@ Options: - Clang-tidy (not found) - Clang-tidy (みつかりません) + not found + (not found) + Clang-tidy (みつかりません) - Visual Studio - Visual Studio + Visual Studio @@ -2070,9 +2038,8 @@ Options: コンパイルデータベース - Borland C++ Builder 6 - Borland C++ Builder 6 + Borland C++ Builder 6 @@ -2347,9 +2314,8 @@ Options: タグ - CWE - CWE + CWE @@ -2463,7 +2429,7 @@ Options: Recheck %1 file(s) - 再チェック %1 件のファイル + 再チェック %1 件のファイル @@ -2481,10 +2447,8 @@ Options: タグなし - - Cppcheck - Cppcheck + Cppcheck @@ -2611,10 +2575,8 @@ Please check the application path and parameters are correct. %p% (%1 / %2 :ファイル数) - - Cppcheck - Cppcheck + Cppcheck @@ -3255,9 +3217,8 @@ The user interface language has been reset to English. Open the Preferences-dial そのため言語を 英語にリセットします。設定ダイアログから利用可能な言語を選択してください。 - Cppcheck - Cppcheck + Cppcheck diff --git a/gui/cppcheck_ka.ts b/gui/cppcheck_ka.ts index 306308fced3..e5db1f4ed32 100644 --- a/gui/cppcheck_ka.ts +++ b/gui/cppcheck_ka.ts @@ -96,9 +96,8 @@ Parameters: -l(line) (file) აირჩიეთ აპლიკაცია - Cppcheck - Cppcheck + Cppcheck @@ -180,10 +179,8 @@ Parameters: -l(line) (file) ვერ ვიპოვე ფაილი: %1 - - Cppcheck - Cppcheck + Cppcheck @@ -214,9 +211,8 @@ Parameters: -l(line) (file) დახმარების ფაილი '%1' ვერ ვიპოვე - Cppcheck - Cppcheck + Cppcheck @@ -336,11 +332,8 @@ Parameters: -l(line) (file) ბიბლიოთეკის ფაილის გახსნა - - - Cppcheck - Cppcheck + Cppcheck @@ -477,23 +470,8 @@ Parameters: -l(line) (file) MainWindow - - - - - - - - - - - - - - - Cppcheck - Cppcheck + Cppcheck @@ -674,9 +652,8 @@ Parameters: -l(line) (file) გადატანადობის გაფრთხილებების ჩვენება - Show Cppcheck results - Cppcheck-ის შედეგები ჩვენება + Cppcheck-ის შედეგები ჩვენება @@ -915,6 +892,11 @@ Parameters: -l(line) (file) &Portability &გადატანადობა + + + Show results + + P&latforms @@ -1006,29 +988,16 @@ Parameters: -l(line) (file) ნორმალური - Misra C - Misra C + Misra C - - Misra C++ 2008 - - - - Cert C - Cert C + Cert C - Cert C++ - Cert C++ - - - - Misra C++ 2023 - + Cert C++ @@ -1281,14 +1250,12 @@ This is probably because the settings were changed between the Cppcheck versions მონაცემთა ბაზის კომპილაცია - Visual Studio - Visual Studio + Visual Studio - Borland C++ Builder 6 - Borland C++ Builder 6 + Borland C++ Builder 6 @@ -1575,29 +1542,24 @@ Options: საკუთარი - Unix 32-bit - Unix 32-bit + Unix 32-bit - Unix 64-bit - Unix 64-bit + Unix 64-bit - Windows 32-bit ANSI - Windows 32-bit ANSI + Windows 32-bit ANSI - Windows 32-bit Unicode - Windows 32-bit Unicode + Windows 32-bit Unicode - Windows 64-bit - Windows 64-bit + Windows 64-bit @@ -1972,14 +1934,12 @@ Options: შეცდომებზე ნადირობა (ფასიანი) - Clang analyzer - Clang-ის ანალიზატორი + Clang-ის ანალიზატორი - Clang-tidy - Clang-tidy + Clang-tidy @@ -2016,13 +1976,13 @@ Options: - Clang-tidy (not found) - Clang-tidy (ვერ ვიპოვე) + not found + (not found) + Clang-tidy (ვერ ვიპოვე) - Visual Studio - Visual Studio + Visual Studio @@ -2030,9 +1990,8 @@ Options: მონაცემთა ბაზის კომპილაცია - Borland C++ Builder 6 - Borland C++ Builder 6 + Borland C++ Builder 6 @@ -2300,11 +2259,6 @@ Options: Tags - - - CWE - - QPlatformTheme @@ -2435,10 +2389,8 @@ Options: ჭდის გარეშე - - Cppcheck - Cppcheck + Cppcheck @@ -2539,10 +2491,8 @@ Please check the application path and parameters are correct. %p% (შემოწმებულია %1 ფაილი %2-დან) - - Cppcheck - Cppcheck + Cppcheck @@ -3212,9 +3162,8 @@ The user interface language has been reset to English. Open the Preferences-dial მომხმარებლის ინტერფეისი ინგლისურზე გადაირთო. გახსენით მორგების დიალოგი, რომ ხელმისაწვდომი ენებიდან სასურველი აირჩიოთ. - Cppcheck - Cppcheck + Cppcheck diff --git a/gui/cppcheck_ko.ts b/gui/cppcheck_ko.ts index 972a54bd889..aa7882de999 100644 --- a/gui/cppcheck_ko.ts +++ b/gui/cppcheck_ko.ts @@ -106,9 +106,8 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: 뷰어 프로그램 선택 - Cppcheck - Cppcheck + Cppcheck @@ -188,10 +187,8 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: 파일 찾기 실패: %1 - - Cppcheck - Cppcheck + Cppcheck @@ -222,9 +219,8 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: - Cppcheck - Cppcheck + Cppcheck @@ -344,11 +340,8 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: - - - Cppcheck - Cppcheck + Cppcheck @@ -484,23 +477,8 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: MainWindow - - - - - - - - - - - - - - - Cppcheck - Cppcheck + Cppcheck @@ -764,6 +742,11 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: Show &hidden 숨기기 보기(&H) + + + Show results + + Compliance report... @@ -774,31 +757,6 @@ Kate로 파일을 열고, 해당 행으로 이동하는 예제: Normal - - - Misra C - - - - - Misra C++ 2008 - - - - - Cert C - - - - - Cert C++ - - - - - Misra C++ 2023 - - Autosar @@ -1369,11 +1327,6 @@ Do you want to stop the analysis and exit Cppcheck? &Portability - - - Show Cppcheck results - - Clang @@ -1479,16 +1432,6 @@ Do you want to stop the analysis and exit Cppcheck? Compile database - - - Visual Studio - - - - - Borland C++ Builder 6 - - Current results will be cleared. @@ -1534,29 +1477,24 @@ Do you want to proceed? Platforms - Unix 32-bit - Unix 32-bit + Unix 32-bit - Unix 64-bit - Unix 64-bit + Unix 64-bit - Windows 32-bit ANSI - Windows 32-bit ANSI + Windows 32-bit ANSI - Windows 32-bit Unicode - Windows 32-bit Unicode + Windows 32-bit Unicode - Windows 64-bit - Windows 64-bit + Windows 64-bit @@ -1748,16 +1686,6 @@ Do you want to proceed? Bug hunting - - - Clang analyzer - - - - - Clang-tidy - - @@ -1983,7 +1911,8 @@ Do you want to proceed? - Clang-tidy (not found) + not found + (not found) @@ -2016,21 +1945,11 @@ Do you want to proceed? MISRA rule texts file (%1) - - - Visual Studio - - Compile database - - - Borland C++ Builder 6 - - QObject @@ -2259,11 +2178,6 @@ Do you want to proceed? Tags - - - CWE - - QPlatformTheme @@ -2355,10 +2269,8 @@ Do you want to proceed? 숨기기 - - Cppcheck - Cppcheck + Cppcheck @@ -2482,10 +2394,8 @@ Please check the application path and parameters are correct. %p% (%2 중 %1 파일 검사됨) - - Cppcheck - Cppcheck + Cppcheck @@ -3149,9 +3059,8 @@ The user interface language has been reset to English. Open the Preferences-dial 언어가 영어로 초기화 됐습니다. 설정창을 열어서 설정 가능한 언어를 선택하세요. - Cppcheck - Cppcheck + Cppcheck diff --git a/gui/cppcheck_nl.ts b/gui/cppcheck_nl.ts index 732073d404a..7b0714e1405 100644 --- a/gui/cppcheck_nl.ts +++ b/gui/cppcheck_nl.ts @@ -106,9 +106,8 @@ Parameters: -l(lijn) (bestand) Selecteer applicatie - Cppcheck - Cppcheck + Cppcheck @@ -190,10 +189,8 @@ Parameters: -l(lijn) (bestand) Kon het bestand niet vinden: %1 - - Cppcheck - Cppcheck + Cppcheck @@ -224,9 +221,8 @@ Parameters: -l(lijn) (bestand) - Cppcheck - Cppcheck + Cppcheck @@ -346,11 +342,8 @@ Parameters: -l(lijn) (bestand) - - - Cppcheck - Cppcheck + Cppcheck @@ -488,23 +481,8 @@ Parameters: -l(lijn) (bestand) MainWindow - - - - - - - - - - - - - - - Cppcheck - Cppcheck + Cppcheck @@ -684,11 +662,6 @@ Parameters: -l(lijn) (bestand) Show portability warnings Toon portabiliteit waarschuwingen - - - Show Cppcheck results - - Clang @@ -926,6 +899,11 @@ Parameters: -l(lijn) (bestand) &Portability + + + Show results + + P&latforms @@ -1016,31 +994,6 @@ Parameters: -l(lijn) (bestand) Normal - - - Misra C - - - - - Misra C++ 2008 - - - - - Cert C - - - - - Cert C++ - - - - - Misra C++ 2023 - - Autosar @@ -1286,16 +1239,6 @@ Dit is waarschijnlijk omdat de instellingen zijn gewijzigd tussen de versies van Compile database - - - Visual Studio - - - - - Borland C++ Builder 6 - - Select files to analyze @@ -1557,31 +1500,6 @@ Options: Native - - - Unix 32-bit - - - - - Unix 64-bit - - - - - Windows 32-bit ANSI - - - - - Windows 32-bit Unicode - - - - - Windows 64-bit - - ProjectFile @@ -1954,16 +1872,6 @@ Options: Bug hunting (Premium) - - - Clang analyzer - - - - - Clang-tidy - - Defines: @@ -1999,12 +1907,8 @@ Options: - Clang-tidy (not found) - - - - - Visual Studio + not found + (not found) @@ -2012,11 +1916,6 @@ Options: Compile database - - - Borland C++ Builder 6 - - Import Project @@ -2283,11 +2182,6 @@ Options: Tags - - - CWE - - QPlatformTheme @@ -2414,10 +2308,8 @@ Options: - - Cppcheck - Cppcheck + Cppcheck @@ -2509,10 +2401,8 @@ Gelieve te controleren of de het pad en de parameters correct zijn.%p% (%1 van %2 bestanden gecontroleerd) - - Cppcheck - Cppcheck + Cppcheck @@ -3174,9 +3064,8 @@ The user interface language has been reset to English. Open the Preferences-dial De gebruikerstaal is gereset naar Engels. Open het dialoogvenster om een van de beschikbare talen te selecteren. - Cppcheck - Cppcheck + Cppcheck diff --git a/gui/cppcheck_ru.ts b/gui/cppcheck_ru.ts index 3256348229a..d765ede670a 100644 --- a/gui/cppcheck_ru.ts +++ b/gui/cppcheck_ru.ts @@ -106,9 +106,8 @@ Parameters: -l(line) (file) Выберите приложение - Cppcheck - Cppcheck + Cppcheck @@ -190,10 +189,8 @@ Parameters: -l(line) (file) Невозможно найти файл: %1 - - Cppcheck - Cppcheck + Cppcheck @@ -224,9 +221,8 @@ Parameters: -l(line) (file) - Cppcheck - Cppcheck + Cppcheck @@ -346,11 +342,8 @@ Parameters: -l(line) (file) Открыть файл библиотеки - - - Cppcheck - Cppcheck + Cppcheck @@ -488,23 +481,8 @@ Parameters: -l(line) (file) MainWindow - - - - - - - - - - - - - - - Cppcheck - Cppcheck + Cppcheck @@ -685,9 +663,8 @@ Parameters: -l(line) (file) Показать предупреждения переносимости - Show Cppcheck results - Просмотр результатов Cppcheck + Просмотр результатов Cppcheck @@ -926,6 +903,11 @@ Parameters: -l(line) (file) &Portability Предупреждения переносимости + + + Show results + + P&latforms @@ -1016,31 +998,6 @@ Parameters: -l(line) (file) Normal - - - Misra C - - - - - Misra C++ 2008 - - - - - Cert C - - - - - Cert C++ - - - - - Misra C++ 2023 - - Autosar @@ -1294,14 +1251,12 @@ This is probably because the settings were changed between the Cppcheck versions - Visual Studio - Visual Studio + Visual Studio - Borland C++ Builder 6 - Borland C++ Builder 6 + Borland C++ Builder 6 @@ -1589,29 +1544,24 @@ Options: - Unix 32-bit - Unix 32-bit + Unix 32-bit - Unix 64-bit - Unix 64-bit + Unix 64-bit - Windows 32-bit ANSI - Windows 32-bit ANSI + Windows 32-bit ANSI - Windows 32-bit Unicode - Windows 32-bit Unicode + Windows 32-bit Unicode - Windows 64-bit - Windows 64-bit + Windows 64-bit @@ -1989,16 +1939,6 @@ Options: Bug hunting (Premium) - - - Clang analyzer - - - - - Clang-tidy - - Defines: @@ -2034,13 +1974,13 @@ Options: - Clang-tidy (not found) - Clang-tidy (не найден) + not found + (not found) + Clang-tidy (не найден) - Visual Studio - Visual Studio + Visual Studio @@ -2048,9 +1988,8 @@ Options: - Borland C++ Builder 6 - Borland C++ Builder 6 + Borland C++ Builder 6 @@ -2318,11 +2257,6 @@ Options: Tags - - - CWE - - QPlatformTheme @@ -2453,10 +2387,8 @@ Options: Тег отсутствует - - Cppcheck - Cppcheck + Cppcheck @@ -2554,10 +2486,8 @@ Please check the application path and parameters are correct. %p% (%1 из %2 файлов проверено) - - Cppcheck - Cppcheck + Cppcheck @@ -3223,9 +3153,8 @@ The user interface language has been reset to English. Open the Preferences-dial Язык пользовательского интерфейса был сброшен на английский. Откройте Настройки-диалог для выбора любого из доступных языков. - Cppcheck - Cppcheck + Cppcheck diff --git a/gui/cppcheck_sr.ts b/gui/cppcheck_sr.ts index 093d6846612..4ee307b0536 100644 --- a/gui/cppcheck_sr.ts +++ b/gui/cppcheck_sr.ts @@ -96,9 +96,8 @@ Parameters: -l(line) (file) Select viewer application - Cppcheck - Cppcheck + Cppcheck @@ -178,10 +177,8 @@ Parameters: -l(line) (file) Could not find the file: %1 - - Cppcheck - Cppcheck + Cppcheck @@ -212,9 +209,8 @@ Parameters: -l(line) (file) - Cppcheck - Cppcheck + Cppcheck @@ -334,11 +330,8 @@ Parameters: -l(line) (file) - - - Cppcheck - Cppcheck + Cppcheck @@ -476,23 +469,8 @@ Parameters: -l(line) (file) MainWindow - - - - - - - - - - - - - - - Cppcheck - Cppcheck + Cppcheck @@ -672,11 +650,6 @@ Parameters: -l(line) (file) Show portability warnings - - - Show Cppcheck results - - Clang @@ -914,6 +887,11 @@ Parameters: -l(line) (file) &Portability + + + Show results + + P&latforms @@ -1004,31 +982,6 @@ Parameters: -l(line) (file) Normal - - - Misra C - - - - - Misra C++ 2008 - - - - - Cert C - - - - - Cert C++ - - - - - Misra C++ 2023 - - Autosar @@ -1271,16 +1224,6 @@ This is probably because the settings were changed between the Cppcheck versions Compile database - - - Visual Studio - - - - - Borland C++ Builder 6 - - Select files to analyze @@ -1538,29 +1481,24 @@ Options: - Unix 32-bit - Unix 32-bit + Unix 32-bit - Unix 64-bit - Unix 64-bit + Unix 64-bit - Windows 32-bit ANSI - Windows 32-bit ANSI + Windows 32-bit ANSI - Windows 32-bit Unicode - Windows 32-bit Unicode + Windows 32-bit Unicode - Windows 64-bit - Windows 64-bit + Windows 64-bit @@ -1934,16 +1872,6 @@ Options: Bug hunting (Premium) - - - Clang analyzer - - - - - Clang-tidy - - Defines: @@ -1979,12 +1907,8 @@ Options: - Clang-tidy (not found) - - - - - Visual Studio + not found + (not found) @@ -1992,11 +1916,6 @@ Options: Compile database - - - Borland C++ Builder 6 - - Import Project @@ -2261,11 +2180,6 @@ Options: Tags - - - CWE - - QPlatformTheme @@ -2384,10 +2298,8 @@ Options: - - Cppcheck - Cppcheck + Cppcheck @@ -2471,10 +2383,8 @@ Please check the application path and parameters are correct. - - Cppcheck - Cppcheck + Cppcheck @@ -3127,9 +3037,8 @@ The user interface language has been reset to English. Open the Preferences-dial - Cppcheck - Cppcheck + Cppcheck diff --git a/gui/cppcheck_sv.ts b/gui/cppcheck_sv.ts index 8070d7ee1ea..cfe1cd996d1 100644 --- a/gui/cppcheck_sv.ts +++ b/gui/cppcheck_sv.ts @@ -106,9 +106,8 @@ Parametrar: -l(line) (file) Välj program - Cppcheck - Cppcheck + Cppcheck @@ -190,10 +189,8 @@ Parametrar: -l(line) (file) Kunde inte hitta filen: %1 - - Cppcheck - Cppcheck + Cppcheck @@ -224,9 +221,8 @@ Parametrar: -l(line) (file) - Cppcheck - Cppcheck + Cppcheck @@ -346,11 +342,8 @@ Parametrar: -l(line) (file) Öppna Library fil - - - Cppcheck - Cppcheck + Cppcheck @@ -494,23 +487,8 @@ Exempel: MainWindow - - - - - - - - - - - - - - - Cppcheck - Cppcheck + Cppcheck @@ -691,9 +669,8 @@ Exempel: Visa portabilitets varningar - Show Cppcheck results - Visa Cppcheck resultat + Visa Cppcheck resultat @@ -933,6 +910,11 @@ Exempel: &Portability Portabilitet + + + Show results + + P&latforms @@ -1023,31 +1005,6 @@ Exempel: Normal - - - Misra C - - - - - Misra C++ 2008 - - - - - Cert C - - - - - Cert C++ - - - - - Misra C++ 2023 - - Autosar @@ -1301,14 +1258,8 @@ En trolig orsak är att inställningarna ändrats för olika Cppcheck versioner. - Visual Studio - Visual Studio - - - - Borland C++ Builder 6 - + Visual Studio @@ -1594,29 +1545,24 @@ Options: Native - Unix 32-bit - Unix 32-bit + Unix 32-bit - Unix 64-bit - Unix 64-bit + Unix 64-bit - Windows 32-bit ANSI - Windows 32-bit ANSI + Windows 32-bit ANSI - Windows 32-bit Unicode - Windows 32-bit Unicode + Windows 32-bit Unicode - Windows 64-bit - Windows 64-bit + Windows 64-bit @@ -1991,14 +1937,12 @@ Options: - Clang analyzer - Clang analyzer + Clang analyzer - Clang-tidy - Clang-tidy + Clang-tidy @@ -2020,7 +1964,8 @@ Options: - Clang-tidy (not found) + not found + (not found) @@ -2064,20 +2009,14 @@ Options: Välj mapp att analysera - Visual Studio - Visual Studio + Visual Studio Compile database - - - Borland C++ Builder 6 - - Import Project @@ -2319,11 +2258,6 @@ Options: Tags - - - CWE - - QPlatformTheme @@ -2454,10 +2388,8 @@ Options: Ingen tag - - Cppcheck - Cppcheck + Cppcheck @@ -2558,10 +2490,8 @@ Kontrollera att sökvägen och parametrarna är korrekta. %p% (%1 av %2 filer analyserade) - - Cppcheck - Cppcheck + Cppcheck @@ -3227,9 +3157,8 @@ The user interface language has been reset to English. Open the Preferences-dial Språket har nollställts till Engelska. Öppna Preferences och välj något av de tillgängliga språken. - Cppcheck - Cppcheck + Cppcheck diff --git a/gui/cppcheck_zh_CN.ts b/gui/cppcheck_zh_CN.ts index 5e329d74f3c..d7943922aff 100644 --- a/gui/cppcheck_zh_CN.ts +++ b/gui/cppcheck_zh_CN.ts @@ -105,9 +105,8 @@ Parameters: -l(line) (file) 选择查看应用程序 - Cppcheck - Cppcheck + Cppcheck @@ -187,10 +186,8 @@ Parameters: -l(line) (file) 无法找到文件: %1 - - Cppcheck - Cppcheck + Cppcheck @@ -221,9 +218,8 @@ Parameters: -l(line) (file) 帮助文件 '%1' 未找到 - Cppcheck - Cppcheck + Cppcheck @@ -343,11 +339,8 @@ Parameters: -l(line) (file) 打开库文件 - - - Cppcheck - Cppcheck + Cppcheck @@ -495,23 +488,8 @@ Parameters: -l(line) (file) MainWindow - - - - - - - - - - - - - - - Cppcheck - Cppcheck + Cppcheck @@ -685,9 +663,8 @@ Parameters: -l(line) (file) 显示可移植性警告 - Show Cppcheck results - 显示 Cppcheck 结果 + 显示 Cppcheck 结果 @@ -964,6 +941,11 @@ Parameters: -l(line) (file) &Portability 可移植性(&P) + + + Show results + + P&latforms @@ -1054,31 +1036,6 @@ Parameters: -l(line) (file) Normal 常规 - - - Misra C - - - - - Misra C++ 2008 - - - - - Cert C - - - - - Cert C++ - - - - - Misra C++ 2023 - - Autosar @@ -1306,14 +1263,12 @@ Analysis is stopped. Compile database - Visual Studio - Visual Studio + Visual Studio - Borland C++ Builder 6 - Borland C++ Builder 6 + Borland C++ Builder 6 @@ -1595,31 +1550,6 @@ Options: Native 本地 - - - Unix 32-bit - - - - - Unix 64-bit - - - - - Windows 32-bit ANSI - - - - - Windows 32-bit Unicode - - - - - Windows 64-bit - - ProjectFile @@ -1997,14 +1927,12 @@ Options: - Clang analyzer - Clang analyzer + Clang analyzer - Clang-tidy - Clang-tidy + Clang-tidy @@ -2041,13 +1969,13 @@ Options: - Clang-tidy (not found) - Clang-tidy (未找到) + not found + (not found) + Clang-tidy (未找到) - Visual Studio - Visual Studio + Visual Studio @@ -2055,9 +1983,8 @@ Options: Compile database - Borland C++ Builder 6 - Borland C++ Builder 6 + Borland C++ Builder 6 @@ -2323,11 +2250,6 @@ Options: Tags - - - CWE - - QPlatformTheme @@ -2458,10 +2380,8 @@ Options: 取消标记 - - Cppcheck - Cppcheck + Cppcheck @@ -2588,10 +2508,8 @@ Please check the application path and parameters are correct. %p% (%2 个文件已检查 %1 个) - - Cppcheck - Cppcheck + Cppcheck @@ -3235,9 +3153,8 @@ The user interface language has been reset to English. Open the Preferences-dial 用户界面语言已被重置为英语。打开“首选项”对话框,选择任何可用的语言。 - Cppcheck - Cppcheck + Cppcheck diff --git a/gui/cppcheck_zh_TW.ts b/gui/cppcheck_zh_TW.ts index c7c220899e8..fe20a52a4a2 100644 --- a/gui/cppcheck_zh_TW.ts +++ b/gui/cppcheck_zh_TW.ts @@ -95,9 +95,8 @@ Parameters: -l(line) (file) 選取檢視器應用程式 - Cppcheck - Cppcheck + Cppcheck @@ -177,10 +176,8 @@ Parameters: -l(line) (file) 無法找到檔案: %1 - - Cppcheck - Cppcheck + Cppcheck @@ -211,9 +208,8 @@ Parameters: -l(line) (file) 找不到幫助檔 '%1' - Cppcheck - Cppcheck + Cppcheck @@ -333,11 +329,8 @@ Parameters: -l(line) (file) 開啟程式庫檔案 - - - Cppcheck - Cppcheck + Cppcheck @@ -473,23 +466,8 @@ Parameters: -l(line) (file) MainWindow - - - - - - - - - - - - - - - Cppcheck - Cppcheck + Cppcheck @@ -859,8 +837,12 @@ Parameters: -l(line) (file) + Show results + + + Show Cppcheck results - 顯示 Cppcheck 結果 + 顯示 Cppcheck 結果 @@ -1023,29 +1005,12 @@ Parameters: -l(line) (file) - - Misra C - - - - Misra C++ 2008 - Misra C++ 2008 + Misra C++ 2008 - - Cert C - - - - - Cert C++ - - - - Misra C++ 2023 - Misra C++ 2023 + Misra C++ 2023 @@ -1122,14 +1087,12 @@ This is probably because the settings were changed between the Cppcheck versions 編譯資料庫 - Visual Studio - Visual Studio + Visual Studio - Borland C++ Builder 6 - Borland C++ Builder 6 + Borland C++ Builder 6 @@ -1534,29 +1497,24 @@ Do you want to remove the file from the recently used projects -list? 原生 - Unix 32-bit - Unix 32 位元 + Unix 32 位元 - Unix 64-bit - Unix 64 位元 + Unix 64 位元 - Windows 32-bit ANSI - Windows 32 位元 ANSI + Windows 32 位元 ANSI - Windows 32-bit Unicode - Windows 32 位元 Unicode + Windows 32 位元 Unicode - Windows 64-bit - Windows 64 位元 + Windows 64 位元 @@ -1941,14 +1899,12 @@ Do you want to remove the file from the recently used projects -list? 外部工具 - Clang-tidy - Clang-tidy + Clang-tidy - Clang analyzer - Clang 分析器 + Clang 分析器 @@ -1965,8 +1921,9 @@ Do you want to remove the file from the recently used projects -list? - Clang-tidy (not found) - Clang-tidy (找不到) + not found + (not found) + Clang-tidy (找不到) @@ -1974,9 +1931,8 @@ Do you want to remove the file from the recently used projects -list? 選取 Cppcheck 建置目錄 - Visual Studio - Visual Studio + Visual Studio @@ -1984,9 +1940,8 @@ Do you want to remove the file from the recently used projects -list? 編譯資料庫 - Borland C++ Builder 6 - Borland C++ Builder 6 + Borland C++ Builder 6 @@ -2261,11 +2216,6 @@ Do you want to remove the file from the recently used projects -list? Tags - - - CWE - - QPlatformTheme @@ -2386,10 +2336,8 @@ Do you want to remove the file from the recently used projects -list? 取消標記 - - Cppcheck - Cppcheck + Cppcheck @@ -2503,10 +2451,8 @@ Please check the application path and parameters are correct. - - Cppcheck - Cppcheck + Cppcheck @@ -3131,11 +3077,6 @@ To toggle what kind of errors are shown, open view menu. The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages. - - - Cppcheck - - TxtReport diff --git a/gui/fileviewdialog.cpp b/gui/fileviewdialog.cpp index 3f66f008678..9d453519450 100644 --- a/gui/fileviewdialog.cpp +++ b/gui/fileviewdialog.cpp @@ -54,7 +54,7 @@ void FileViewDialog::loadTextFile(const QString &filename, QTextEdit *edit) msg = msg.arg(filename); QMessageBox msgbox(QMessageBox::Critical, - tr("Cppcheck"), + "Cppcheck", msg, QMessageBox::Ok, this); @@ -68,7 +68,7 @@ void FileViewDialog::loadTextFile(const QString &filename, QTextEdit *edit) msg = msg.arg(filename); QMessageBox msgbox(QMessageBox::Critical, - tr("Cppcheck"), + "Cppcheck", msg, QMessageBox::Ok, this); diff --git a/gui/helpdialog.cpp b/gui/helpdialog.cpp index db1125339b9..660ed29ff80 100644 --- a/gui/helpdialog.cpp +++ b/gui/helpdialog.cpp @@ -83,7 +83,7 @@ HelpDialog::HelpDialog(QWidget *parent) : if (helpFile.isEmpty()) { const QString msg = tr("Helpfile '%1' was not found").arg("online-help.qhc"); QMessageBox msgBox(QMessageBox::Warning, - tr("Cppcheck"), + "Cppcheck", msg, QMessageBox::Ok, this); diff --git a/gui/librarydialog.cpp b/gui/librarydialog.cpp index 15a2c7f10fe..0b8e4fc70d8 100644 --- a/gui/librarydialog.cpp +++ b/gui/librarydialog.cpp @@ -108,7 +108,7 @@ void LibraryDialog::openCfg() QFile file(selectedFile); if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) { QMessageBox msg(QMessageBox::Critical, - tr("Cppcheck"), + "Cppcheck", tr("Cannot open file %1.").arg(selectedFile), QMessageBox::Ok, this); @@ -120,7 +120,7 @@ void LibraryDialog::openCfg() const QString errmsg = tempdata.open(file); if (!errmsg.isNull()) { QMessageBox msg(QMessageBox::Critical, - tr("Cppcheck"), + "Cppcheck", tr("Failed to load %1. %2.").arg(selectedFile).arg(errmsg), QMessageBox::Ok, this); @@ -157,7 +157,7 @@ void LibraryDialog::saveCfg() mUi->buttonSave->setEnabled(false); } else { QMessageBox msg(QMessageBox::Critical, - tr("Cppcheck"), + "Cppcheck", tr("Cannot save file %1.").arg(mFileName), QMessageBox::Ok, this); diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 9603a3ebb97..03277eeb1df 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -460,7 +460,7 @@ void MainWindow::loadSettings() "Please check (and fix) the editor application settings, otherwise the editor " "program might not start correctly."); QMessageBox msgBox(QMessageBox::Warning, - tr("Cppcheck"), + "Cppcheck", msg, QMessageBox::Ok, this); @@ -664,7 +664,7 @@ void MainWindow::doAnalyzeFiles(const QStringList &files, const bool checkLibrar if (fileNames.isEmpty()) { QMessageBox msg(QMessageBox::Warning, - tr("Cppcheck"), + "Cppcheck", tr("No suitable files found to analyze!"), QMessageBox::Ok, this); @@ -749,7 +749,7 @@ QStringList MainWindow::selectFilesToAnalyze(QFileDialog::FileMode mode) { if (mProjectFile) { QMessageBox msgBox(this); - msgBox.setWindowTitle(tr("Cppcheck")); + msgBox.setWindowTitle("Cppcheck"); const QString msg(tr("You must close the project file before selecting new files or directories!")); msgBox.setText(msg); msgBox.setIcon(QMessageBox::Critical); @@ -766,8 +766,8 @@ QStringList MainWindow::selectFilesToAnalyze(QFileDialog::FileMode mode) QMap filters; filters[tr("C/C++ Source")] = FileList::getDefaultFilters().join(" "); filters[tr("Compile database")] = compile_commands_json; - filters[tr("Visual Studio")] = "*.sln *.vcxproj"; - filters[tr("Borland C++ Builder 6")] = "*.bpr"; + filters["Visual Studio"] = "*.sln *.vcxproj"; + filters["Borland C++ Builder 6"] = "*.bpr"; QString lastFilter = mSettings->value(SETTINGS_LAST_ANALYZE_FILES_FILTER).toString(); selected = QFileDialog::getOpenFileNames(this, tr("Select files to analyze"), @@ -854,7 +854,7 @@ void MainWindow::analyzeDirectory() if (projFiles.size() == 1) { // If one project file found, suggest loading it QMessageBox msgBox(this); - msgBox.setWindowTitle(tr("Cppcheck")); + msgBox.setWindowTitle("Cppcheck"); const QString msg(tr("Found project file: %1\n\nDo you want to " "load this project file instead?").arg(projFiles[0])); msgBox.setText(msg); @@ -876,7 +876,7 @@ void MainWindow::analyzeDirectory() // If multiple project files found inform that there are project // files also available. QMessageBox msgBox(this); - msgBox.setWindowTitle(tr("Cppcheck")); + msgBox.setWindowTitle("Cppcheck"); const QString msg(tr("Found project files from the directory.\n\n" "Do you want to proceed analysis without " "using any of these project files?")); @@ -1463,7 +1463,7 @@ void MainWindow::openResults() { if (mUI->mResults->hasResults()) { QMessageBox msgBox(this); - msgBox.setWindowTitle(tr("Cppcheck")); + msgBox.setWindowTitle("Cppcheck"); const QString msg(tr("Current results will be cleared.\n\n" "Opening a new XML file will clear current results.\n" "Do you want to proceed?")); @@ -1592,7 +1592,7 @@ void MainWindow::closeEvent(QCloseEvent *event) "Do you want to stop the analysis and exit Cppcheck?")); QMessageBox msg(QMessageBox::Warning, - tr("Cppcheck"), + "Cppcheck", text, QMessageBox::Yes | QMessageBox::No, this); @@ -1933,7 +1933,7 @@ void MainWindow::analyzeProject(const ProjectFile *projectFile, const QStringLis buildDir = inf.canonicalPath() + '/' + buildDir; if (!QDir(buildDir).exists()) { QMessageBox msg(QMessageBox::Question, - tr("Cppcheck"), + "Cppcheck", tr("Build dir '%1' does not exist, create it?").arg(buildDir), QMessageBox::Yes | QMessageBox::No, this); @@ -1941,7 +1941,7 @@ void MainWindow::analyzeProject(const ProjectFile *projectFile, const QStringLis QDir().mkpath(buildDir); } else if (!projectFile->getAddons().isEmpty()) { QMessageBox m(QMessageBox::Critical, - tr("Cppcheck"), + "Cppcheck", tr("To check the project using addons, you need a build directory."), QMessageBox::Ok, this); @@ -1995,7 +1995,7 @@ void MainWindow::analyzeProject(const ProjectFile *projectFile, const QStringLis if (!errorMessage.isEmpty()) { QMessageBox msg(QMessageBox::Critical, - tr("Cppcheck"), + "Cppcheck", tr("Failed to import '%1': %2\n\nAnalysis is stopped.").arg(prjfile).arg(errorMessage), QMessageBox::Ok, this); @@ -2004,7 +2004,7 @@ void MainWindow::analyzeProject(const ProjectFile *projectFile, const QStringLis } } catch (InternalError &e) { QMessageBox msg(QMessageBox::Critical, - tr("Cppcheck"), + "Cppcheck", tr("Failed to import '%1' (%2), analysis is stopped").arg(prjfile).arg(QString::fromStdString(e.errorMessage)), QMessageBox::Ok, this); @@ -2076,7 +2076,7 @@ void MainWindow::editProjectFile() { if (!mProjectFile) { QMessageBox msg(QMessageBox::Critical, - tr("Cppcheck"), + "Cppcheck", tr("No project file loaded"), QMessageBox::Ok, this); @@ -2150,7 +2150,7 @@ void MainWindow::openRecentProject() "used projects -list?").arg(project)); QMessageBox msg(QMessageBox::Warning, - tr("Cppcheck"), + "Cppcheck", text, QMessageBox::Yes | QMessageBox::No, this); diff --git a/gui/mainwindow.ui b/gui/mainwindow.ui index a90949344e2..cf6b0df5c54 100644 --- a/gui/mainwindow.ui +++ b/gui/mainwindow.ui @@ -23,7 +23,7 @@ - Cppcheck + Cppcheck @@ -684,10 +684,10 @@ :/cppcheck-gui.png:/cppcheck-gui.png - Cppcheck + Cppcheck - Show Cppcheck results + Show results @@ -992,7 +992,7 @@ true - Misra C + Misra C @@ -1000,7 +1000,7 @@ true - Misra C++ 2008 + Misra C++ 2008 @@ -1008,7 +1008,7 @@ true - Cert C + Cert C @@ -1016,7 +1016,7 @@ true - Cert C++ + Cert C++ @@ -1024,7 +1024,7 @@ true - Misra C++ 2023 + Misra C++ 2023 diff --git a/gui/platforms.cpp b/gui/platforms.cpp index 77683a6ea09..27504006477 100644 --- a/gui/platforms.cpp +++ b/gui/platforms.cpp @@ -36,11 +36,11 @@ void Platforms::add(const QString &title, Platform::Type platform) void Platforms::init() { add(tr("Native"), Platform::Type::Native); - add(tr("Unix 32-bit"), Platform::Type::Unix32); - add(tr("Unix 64-bit"), Platform::Type::Unix64); - add(tr("Windows 32-bit ANSI"), Platform::Type::Win32A); - add(tr("Windows 32-bit Unicode"), Platform::Type::Win32W); - add(tr("Windows 64-bit"), Platform::Type::Win64); + add("Unix 32-bit", Platform::Type::Unix32); + add("Unix 64-bit", Platform::Type::Unix64); + add("Windows 32-bit ANSI", Platform::Type::Win32A); + add("Windows 32-bit Unicode", Platform::Type::Win32W); + add("Windows 64-bit", Platform::Type::Win64); } int Platforms::getCount() const diff --git a/gui/projectfile.ui b/gui/projectfile.ui index 3bf02f30631..074b28c2bb7 100644 --- a/gui/projectfile.ui +++ b/gui/projectfile.ui @@ -994,14 +994,14 @@ - Clang-tidy + Clang-Tidy - Clang analyzer + Clang Static Analyzer diff --git a/gui/projectfiledialog.cpp b/gui/projectfiledialog.cpp index 9a85124e4dc..0c47be740cd 100644 --- a/gui/projectfiledialog.cpp +++ b/gui/projectfiledialog.cpp @@ -474,7 +474,7 @@ void ProjectFileDialog::loadFromProjectFile(const ProjectFile *projectFile) mUI->mToolClangAnalyzer->setChecked(projectFile->getClangAnalyzer()); mUI->mToolClangTidy->setChecked(projectFile->getClangTidy()); if (CheckThread::clangTidyCmd().isEmpty()) { - mUI->mToolClangTidy->setText(tr("Clang-tidy (not found)")); + mUI->mToolClangTidy->setText("Clang-Tidy (" + tr("not found") + ")"); mUI->mToolClangTidy->setEnabled(false); } mUI->mEditTags->setText(projectFile->getTags().join(';')); @@ -640,9 +640,9 @@ void ProjectFileDialog::browseImportProject() const QFileInfo inf(mProjectFile->getFilename()); const QDir &dir = inf.absoluteDir(); QMap filters; - filters[tr("Visual Studio")] = "*.sln *.vcxproj"; + filters["Visual Studio"] = "*.sln *.vcxproj"; filters[tr("Compile database")] = "compile_commands.json"; - filters[tr("Borland C++ Builder 6")] = "*.bpr"; + filters["Borland C++ Builder 6"] = "*.bpr"; QString fileName = QFileDialog::getOpenFileName(this, tr("Import Project"), dir.canonicalPath(), toFilterString(filters)); diff --git a/gui/resultstree.cpp b/gui/resultstree.cpp index 53f4a5f9ab9..897994e5932 100644 --- a/gui/resultstree.cpp +++ b/gui/resultstree.cpp @@ -123,7 +123,7 @@ static QStringList getLabels() { QObject::tr("Rule"), QObject::tr("Since date"), QObject::tr("Tags"), - QObject::tr("CWE")}; + "CWE"}; } ResultsTree::ResultsTree(QWidget * parent) : @@ -730,7 +730,7 @@ void ResultsTree::startApplication(const ResultItem *target, int application) //If there are no applications specified, tell the user about it if (mApplications->getApplicationCount() == 0) { QMessageBox msg(QMessageBox::Critical, - tr("Cppcheck"), + "Cppcheck", tr("No editor application configured.\n\n" "Configure the editor application for Cppcheck in preferences/Applications."), QMessageBox::Ok, @@ -744,7 +744,7 @@ void ResultsTree::startApplication(const ResultItem *target, int application) if (application == -1) { QMessageBox msg(QMessageBox::Critical, - tr("Cppcheck"), + "Cppcheck", tr("No default editor application selected.\n\n" "Please select the default editor application in preferences/Applications."), QMessageBox::Ok, diff --git a/gui/resultsview.cpp b/gui/resultsview.cpp index 8336a697878..c2b980f5458 100644 --- a/gui/resultsview.cpp +++ b/gui/resultsview.cpp @@ -347,7 +347,7 @@ void ResultsView::checkingFinished() //Tell user that we found no errors if (!hasResults()) { QMessageBox msg(QMessageBox::Information, - tr("Cppcheck"), + "Cppcheck", tr("No errors found."), QMessageBox::Ok, this); @@ -358,7 +358,7 @@ void ResultsView::checkingFinished() QString text = tr("Errors were found, but they are configured to be hidden.\n" \ "To toggle what kind of errors are shown, open view menu."); QMessageBox msg(QMessageBox::Information, - tr("Cppcheck"), + "Cppcheck", text, QMessageBox::Ok, this); diff --git a/gui/translationhandler.cpp b/gui/translationhandler.cpp index d8160525856..14faedc04a2 100644 --- a/gui/translationhandler.cpp +++ b/gui/translationhandler.cpp @@ -133,7 +133,7 @@ bool TranslationHandler::setLanguage(const QString &code) "the Preferences-dialog to select any of the available " "languages.").arg(error)); QMessageBox msgBox(QMessageBox::Warning, - tr("Cppcheck"), + "Cppcheck", msg, QMessageBox::Ok); msgBox.exec();