From 602c93098ec5cebd0f4dc966124ac61485cd90bc Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Thu, 2 Aug 2012 10:21:13 +0300 Subject: [PATCH] GUI: Remove Polish translation. The Polish translation doesn't have any translated text. So it is only waste of resources to have it available. And it may confuse some people who try it. Ticket #4008 (GUI: Polish translation does not translate and should be removed) --- gui/cppcheck_pl.ts | 1521 ------------------------------------ gui/gui.pro | 1 - gui/translationhandler.cpp | 1 - 3 files changed, 1523 deletions(-) delete mode 100644 gui/cppcheck_pl.ts diff --git a/gui/cppcheck_pl.ts b/gui/cppcheck_pl.ts deleted file mode 100644 index e541f41db..000000000 --- a/gui/cppcheck_pl.ts +++ /dev/null @@ -1,1521 +0,0 @@ - - - - - About - - - About Cppcheck - - - - - Version %1 - - - - - Cppcheck - A tool for static C/C++ code analysis. - - - - - Copyright © 2007-2011 Daniel Marjamäki and cppcheck team. - Copyright © 2007-2010 Daniel Marjamäki and cppcheck team. - - - - - This program is licensed under the terms -of the GNU General Public License version 3 - - - - - Visit Cppcheck homepage at %1 - - - - - ApplicationDialog - - - Add an application - - - - - Here you can add an application that can open error files. Specify a name for the application, the application executable and command line parameters for the application. - -The following texts in parameters are replaced with appropriate values when application is executed: -(file) - Filename containing the error -(line) - Line number containing the error -(message) - Error message -(severity) - Error severity - -Example opening a file with Kate and make Kate scroll to the correct line: -Executable: kate -Parameters: -l(line) (file) - - - - - &Name: - - - - - &Executable: - - - - - &Parameters: - - - - - Browse - - - - - Executable files (*.exe);;All files(*.*) - - - - - Select viewer application - - - - - Cppcheck - - - - - You must specify a name, a path and parameters for the application! - - - - - FileViewDialog - - - Could not find the file: %1 - - - - - - Cppcheck - - - - - Could not read the file: %1 - - - - - LogView - - - Checking Log - - - - - &Save - - - - - Clear - - - - - Close - - - - - Save Log - - - - - Text files (*.txt *.log);;All files (*.*) - - - - - Cppcheck - - - - - Could not open file for writing: "%1" - - - - - MainWindow - - - - - - - - - - - - - Cppcheck - - - - - &File - - - - - &View - - - - - &Toolbars - - - - - &Help - - - - - &Check - - - - - &Edit - - - - - Standard - - - - - &License... - - - - - A&uthors... - - - - - &About... - - - - - &Files... - - - - - - Check files - - - - - Ctrl+F - - - - - &Directory... - - - - - - Check directory - - - - - Ctrl+D - - - - - &Recheck files - - - - - Ctrl+R - - - - - &Stop - - - - - - Stop checking - - - - - Esc - - - - - &Save results to file... - - - - - Ctrl+S - - - - - &Quit - - - - - &Clear results - - - - - &Preferences - - - - - Errors - - - - - - Show errors - - - - - Warnings - - - - - - Show warnings - - - - - Performance warnings - - - - - - Show performance warnings - - - - - Show &hidden - - - - - Information - - - - - Show information messages - - - - - Portability - - - - - Show portability warnings - - - - - &Filter - - - - - Filter results - - - - - Project MRU placeholder - - - - - Windows 32-bit ANSI - - - - - Windows 32-bit Unicode - - - - - Unix 32-bit - - - - - Unix 64-bit - - - - - Windows 64-bit - - - - - Platforms - - - - - C++11 - - - - - C99 - - - - - Posix - - - - - &Check all - - - - - Filter - - - - - &Uncheck all - - - - - Collapse &all - - - - - &Expand all - - - - - &Standard - - - - - Standard items - - - - - Toolbar - - - - - &Categories - - - - - Error categories - - - - - &Open XML... - - - - - Open P&roject File... - - - - - &New Project File... - - - - - &Log View - - - - - Log View - - - - - C&lose Project File - - - - - &Edit Project File... - - - - - &Statistics - - - - - &Contents - - - - - Categories - - - - - Style warnings - - - - - - Show style warnings - - - - - Open the help contents - - - - - F1 - - - - - No suitable files found to check! - - - - - You must close the project file before selecting new files or directories! - - - - - Select directory to check - - - - - Open the report file - - - - - License - - - - - 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 - - - - - XML files version 1 (*.xml) - - - - - XML files version 2 (*.xml) - - - - - - Project: - - - - - Select Project Filename - - - - - No project file loaded - - - - - XML files (*.xml) - - - - - Quick Filter: - - - - - There was a problem with loading the editor application settings. - -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. - - - - - Found project file: %1 - -Do you want to load this project file instead? - - - - - Found project files from the directory. - -Do you want to proceed checking without using any of these project files? - - - - - Checking is running. - -Do you want to stop the checking and exit Cppcheck?. - - - - - Text files (*.txt) - - - - - CSV files (*.csv) - - - - - 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. - - - - - - Project files (*.cppcheck);;All files(*.*) - - - - - Select Project File - - - - - The project file - -%1 - - could not be found! - -Do you want to remove the file from the recently used projects -list? - - - - - English - - - - - Dutch - - - - - Finnish - - - - - French - - - - - Spanish - - - - - Swedish - - - - - German - - - - - Russian - - - - - Polish - - - - - Japanese - Japanease - - - - - Serbian - - - - - Platforms - - - Build-in - - - - - Unix 32-bit - - - - - Unix 64-bit - - - - - Windows 32-bit ANSI - - - - - Windows 32-bit Unicode - - - - - Windows 64-bit - - - - - Project - - - - Cppcheck - - - - - Could not read the project file. - - - - - Could not write the project file. - - - - - ProjectFile - - - Project File - - - - - Project - - - - - Root: - - - - - - Paths: - - - - - - - Add... - - - - - - - Edit - - - - - - - Remove - - - - - Includes - - - - - Include directories: - - - - - Up - - - - - Down - - - - - Exclude - - - - - Defines: - - - - - ProjectFileDialog - - - Project file: %1 - - - - - Select include directory - - - - - Select a directory to check - - - - - Select directory to ignore - - - - - QObject - - - Unknown language specified! - - - - - Language file %1 not found! - - - - - Failed to load translation for language %1 from file %2 - - - - - ResultsTree - - - - File - - - - - - Severity - - - - - - Line - - - - - - Summary - - - - - Undefined file - - - - - - [Inconclusive] - - - - - debug - - - - - Copy filename - - - - - Copy full path - - - - - Copy message - - - - - Hide - - - - - - Cppcheck - - - - - No editor application configured. - -Configure the editor application for Cppcheck in preferences/Applications. - Configure the text file viewer program in Cppcheck preferences/Applications. - - - - - No default editor application selected. - -Please select the default editor application in preferences/Applications. - - - - - Could not find the file! - - - - - Could not start %1 - -Please check the application path and parameters are correct. - - - - - Could not find file: -%1 -Please select the directory where file is located. - - - - - Select Directory - - - - - style - - - - - error - - - - - warning - - - - - performance - - - - - portability - - - - - information - - - - - ResultsView - - - %p% (%1 of %2 files checked) - - - - - - Cppcheck - - - - - No errors found. - - - - - Errors were found, but they are configured to be hidden. -To toggle what kind of errors are shown, open view menu. - - - - - - - Failed to read the report. - - - - - Summary - - - - - Message - - - - - No errors found, nothing to save. - - - - - - Failed to save the report. - - - - - Results - - - - - SelectFilesDialog - - - Select files to check - - - - - Check - - - - - Settings - - - Preferences - - - - - General - - - - - Include paths: - - - - - - Add... - - - - - Number of threads: - - - - - Ideal count: - - - - - TextLabel - - - - - Force checking all #ifdef configurations - Check all #ifdef configurations - - - - - Show full path of files - - - - - Show "No errors found" message when no errors found - - - - - Enable inline suppressions - - - - - Paths - - - - - Edit - - - - - - Remove - - - - - Applications - - - - - Edit... - - - - - Set as default - - - - - Reports - - - - - Save all errors when creating report - - - - - Save full path to files in reports - - - - - Language - - - - - Advanced - - - - - &Show inconclusive errors - - - - - S&how internal warnings in log - - - - - SettingsDialog - - - N/A - - - - - Add a new application - - - - - Modify an application - - - - - [Default] - - - - - Select include directory - - - - - StatsDialog - - - - - Statistics - - - - - - Project - - - - - Project: - - - - - Paths: - - - - - Include paths: - - - - - Defines: - - - - - - Previous Scan - - - - - Path Selected: - - - - - Number of Files Scanned: - - - - - Scan Duration: - - - - - Errors: - - - - - Warnings: - - - - - Stylistic warnings: - - - - - Portability warnings: - - - - - - TextLabel - - - - - Performance issues: - - - - - Information messages: - - - - - Copy to Clipboard - - - - - 1 day - - - - - %1 days - - - - - 1 hour - - - - - %1 hours - - - - - 1 minute - - - - - %1 minutes - - - - - 1 second - - - - - %1 seconds - - - - - 0.%1 seconds - - - - - and - - - - - Project Settings - - - - - Paths - - - - - Include paths - - - - - Defines - - - - - Path selected - - - - - Number of files scanned - - - - - Scan duration - - - - - Errors - - - - - Warnings - - - - - Style warnings - - - - - Portability warnings - - - - - Performance warnings - - - - - Information messages - - - - - ThreadResult - - - %1 of %2 files checked - - - - - TxtReport - - - inconclusive - - - - diff --git a/gui/gui.pro b/gui/gui.pro index 51e99e210..ebf6de6a0 100644 --- a/gui/gui.pro +++ b/gui/gui.pro @@ -41,7 +41,6 @@ TRANSLATIONS = cppcheck_de.ts \ cppcheck_ja.ts \ cppcheck_ko.ts \ cppcheck_nl.ts \ - cppcheck_pl.ts \ cppcheck_ru.ts \ cppcheck_sr.ts \ cppcheck_sv.ts diff --git a/gui/translationhandler.cpp b/gui/translationhandler.cpp index 248395723..9c506b8c8 100644 --- a/gui/translationhandler.cpp +++ b/gui/translationhandler.cpp @@ -36,7 +36,6 @@ TranslationHandler::TranslationHandler(QObject *parent) : AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "German"), "cppcheck_de"); AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Japanese"), "cppcheck_ja"); AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Korean"), "cppcheck_ko"); - AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Polish"), "cppcheck_pl"); AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Russian"), "cppcheck_ru"); AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Serbian"), "cppcheck_sr"); AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Spanish"), "cppcheck_es");