From dcb746a49a316ebd4482fb8e796e3e0e29ea7cc0 Mon Sep 17 00:00:00 2001 From: PKEuS Date: Wed, 14 Oct 2015 18:21:00 +0200 Subject: [PATCH] GUI: Improved translations: - Fixed translation of default buttons for Qt5 - Removed translation opportunity for language names. English or native names are better than translated names (#4014) --- gui/cppcheck_de.ts | 185 +++++++++++++++--------------------- gui/cppcheck_es.ts | 185 +++++++++++++++--------------------- gui/cppcheck_fi.ts | 186 +++++++++++++++--------------------- gui/cppcheck_fr.ts | 75 +++++---------- gui/cppcheck_it.ts | 185 +++++++++++++++--------------------- gui/cppcheck_ja.ts | 186 +++++++++++++++--------------------- gui/cppcheck_ko.ts | 75 +++++---------- gui/cppcheck_nl.ts | 188 +++++++++++++++---------------------- gui/cppcheck_ru.ts | 186 +++++++++++++++--------------------- gui/cppcheck_sr.ts | 185 +++++++++++++++--------------------- gui/cppcheck_sv.ts | 186 +++++++++++++++--------------------- gui/cppcheck_zh_CN.ts | 186 +++++++++++++++--------------------- gui/translationhandler.cpp | 32 ++++--- 13 files changed, 806 insertions(+), 1234 deletions(-) diff --git a/gui/cppcheck_de.ts b/gui/cppcheck_de.ts index f3715814d..967aa28fa 100644 --- a/gui/cppcheck_de.ts +++ b/gui/cppcheck_de.ts @@ -1087,71 +1087,6 @@ Do you want to remove the file from the recently used projects -list? Möchten Sie die Datei von der Liste der zuletzt benutzten Projekte entfernen? - - - Finnish - Finnisch - - - - English - Englisch - - - - Chinese (Simplified) - Chinesisch (vereinfacht) - - - - Dutch - Niederländisch - - - - French - Französisch - - - - Italian - Italienisch - - - - Korean - Koreanisch - - - - Spanish - Spanisch - - - - Swedish - Schwedisch - - - - German - Deutsch - - - - Russian - Russisch - - - - Japanese - Japanisch - - - - Serbian - Serbisch - Cppcheck GUI. @@ -1381,22 +1316,22 @@ Options: QDialogButtonBox - + OK OK - + Cancel Abbrechen - + Close Schließen - + Save Speichern @@ -1404,40 +1339,63 @@ Options: QObject - + Unknown language specified! Unbekannte Sprache angegeben! - + Language file %1 not found! Sprachdatei %1 nicht gefunden! - + Failed to load translation for language %1 from file %2 Die Übersetzungen der Sprache %1 konnten nicht aus der Datei %2 geladen werden + + QPlatformTheme + + + OK + OK + + + + Cancel + Abbrechen + + + + Close + Schließen + + + + Save + Speichern + + ResultsTree - + File Datei - + Severity Schweregrad - + Line Zeile - + Summary Zusammenfassung @@ -1448,7 +1406,7 @@ Options: - + [Inconclusive] [unklar] @@ -1458,48 +1416,48 @@ Options: Debug - + Copy filename Dateiname kopieren - + Copy full path Vollständigen Pfad kopieren - + Copy message Meldung kopieren - + Copy message id Meldungs-Id kopieren - + Hide Verstecken - + Hide all with id Verstecke alle mit gleicher ID - + Open containing folder Übergeordneten Ordner öffnen - - + + Cppcheck Cppcheck - + No editor application configured. Configure the editor application for Cppcheck in preferences/Applications. @@ -1508,7 +1466,7 @@ Configure the editor application for Cppcheck in preferences/Applications. - + No default editor application selected. Please select the default editor application in preferences/Applications. @@ -1517,12 +1475,12 @@ Please select the default editor application in preferences/Applications. - + Could not find the file! Datei konnte nicht gefunden werden! - + Could not start %1 Please check the application path and parameters are correct. @@ -1531,7 +1489,7 @@ Please check the application path and parameters are correct. Bitte überprüfen Sie ob der Pfad und die Parameter der Anwendung richtig eingestellt sind. - + Could not find file: %1 Please select the directory where file is located. @@ -1540,12 +1498,12 @@ Please select the directory where file is located. Bitte wählen Sie das Verzeichnis, in dem sich die Datei befindet. - + Select Directory Wähle Verzeichnis - + Id Id @@ -1583,68 +1541,73 @@ Bitte wählen Sie das Verzeichnis, in dem sich die Datei befindet. ResultsView - + Print Report Bericht drucken - + No errors found, nothing to print. Keine Funde, nichts zu drucken. - + %p% (%1 of %2 files checked) %p% (%1 von %2 Dateien geprüft) - - + + Cppcheck Cppcheck - + No errors found. Keine Fehler gefunden. - + Errors were found, but they are configured to be hidden. To toggle what kind of errors are shown, open view menu. Es wurden Fehler gefunden, aber sie sind so konfiguriert, ausgeblendet zu werden. Legen Sie unter dem Menü Ansicht fest, welche Arten von Fehlern angezeigt werden sollen. - - - + + + Failed to read the report. Lesen des Berichts fehlgeschlagen. - + Summary Zusammenfassung - + Message Meldung - + + First included by + Zuerst inkludiert von + + + Id Id - + No errors found, nothing to save. Keine Fehler gefunden, nichts zu speichern. - - + + Failed to save the report. Der Bericht konnte nicht speichern werden. @@ -2043,7 +2006,7 @@ Legen Sie unter dem Menü Ansicht fest, welche Arten von Fehlern angezeigt werde TranslationHandler - + Failed to change the user interface language: %1 @@ -2056,7 +2019,7 @@ 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 diff --git a/gui/cppcheck_es.ts b/gui/cppcheck_es.ts index 09e75af28..248bc4080 100644 --- a/gui/cppcheck_es.ts +++ b/gui/cppcheck_es.ts @@ -1064,71 +1064,6 @@ Do you want to remove the file from the recently used projects -list? ¿Quiere eliminar el fichero de la lista de proyectos recientes? - - - English - Inglés - - - - Dutch - Holandés - - - - Chinese (Simplified) - Chino (Simplificado) - - - - Finnish - Finés - - - - French - Francés - - - - Italian - Italiano - - - - Korean - Coreano - - - - Spanish - Español - - - - Swedish - Sueco - - - - German - Alemán - - - - Russian - Ruso - - - - Japanese - Japonés - - - - Serbian - Serbio - Cppcheck GUI. @@ -1345,22 +1280,22 @@ Options: QDialogButtonBox - + OK Aceptar - + Cancel Cancelar - + Close Cerrar - + Save Guardar @@ -1368,40 +1303,63 @@ Options: QObject - + Unknown language specified! ¡Idioma especificado desconocido! - + Language file %1 not found! ¡Fichero de idioma %1 no encontrado! - + Failed to load translation for language %1 from file %2 Fallo al cargar la traducción para el idioma %1 desde el fichero %2 + + QPlatformTheme + + + OK + Aceptar + + + + Cancel + Cancelar + + + + Close + Cerrar + + + + Save + Guardar + + ResultsTree - + File Archivo - + Severity Severidad - + Line Línea - + Summary Resumen @@ -1412,7 +1370,7 @@ Options: - + [Inconclusive] [No concluyente] @@ -1432,48 +1390,48 @@ Options: depuración - + Copy filename Copiar nombre del archivo - + Copy full path Copiar ruta completa - + Copy message Copiar mensaje - + Copy message id Copiar id del mensaje - + Hide Ocultar - + Hide all with id Ocultar todos con el mismo id - + Open containing folder Abrir carpeta contenedora - - + + Cppcheck Cppcheck - + No editor application configured. Configure the editor application for Cppcheck in preferences/Applications. @@ -1483,7 +1441,7 @@ Configure the editor application for Cppcheck in preferences/Applications. - + No default editor application selected. Please select the default editor application in preferences/Applications. @@ -1492,12 +1450,12 @@ Please select the default editor application in preferences/Applications. - + Could not find the file! ¡No se ha encontrado el fichero! - + Could not start %1 Please check the application path and parameters are correct. @@ -1506,7 +1464,7 @@ Please check the application path and parameters are correct. 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. @@ -1515,12 +1473,12 @@ Please select the directory where file is located. Por favor selecciona la carpeta donde se encuentra. - + Select Directory Selecciona carpeta - + Id Id @@ -1553,68 +1511,73 @@ Por favor selecciona la carpeta donde se encuentra. Resultados - + No errors found, nothing to save. No se han encontrado errores, nada que guardar. - - + + Failed to save the report. Error al guardar el informe. - + Print Report Imprimir informe - + No errors found, nothing to print. No se encontraron errores, nada que imprimir. - + %p% (%1 of %2 files checked) %p% (%1 of %2 archivos comprobados) - - + + Cppcheck Cppcheck - + No errors found. No se han encontrado errores. - + Errors were found, but they are configured to be hidden. To toggle what kind of errors are shown, open view menu. Se han encontrado errores, pero están configurados para que no se muestren. Para cambiar el tipo de comportamiento, abra el menú Ver. - - - + + + Failed to read the report. Error al leer el informe. - + Summary Resumen - + Message Mensaje - + + First included by + + + + Id Id @@ -2008,7 +1971,7 @@ Para cambiar el tipo de comportamiento, abra el menú Ver. TranslationHandler - + Failed to change the user interface language: %1 @@ -2021,7 +1984,7 @@ 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 diff --git a/gui/cppcheck_fi.ts b/gui/cppcheck_fi.ts index c4ef72a63..a55388163 100644 --- a/gui/cppcheck_fi.ts +++ b/gui/cppcheck_fi.ts @@ -1053,72 +1053,6 @@ Do you want to stop the checking and exit Cppcheck? Do you want to remove the file from the recently used projects -list? - - - Finnish - Suomi - - - - English - Englanti - - - - Chinese (Simplified) - - - - - Dutch - - - - - French - - - - - Italian - - - - - Korean - - - - - Spanish - - - - - Swedish - Ruotsi - - - - German - Saksa - - - - Russian - Venäjä - - - - Japanese - Japanease - - - - - Serbian - - Cppcheck GUI. @@ -1335,22 +1269,22 @@ Options: QDialogButtonBox - + OK - + Cancel - + Close - + Save @@ -1358,42 +1292,65 @@ Options: QObject - + Unknown language specified! - + Language file %1 not found! Language file %1.qm not found! Käännöstiedostoa %1 ei löytynyt! - + Failed to load translation for language %1 from file %2 Failed to load translation for language %1 from file %2.qm Käänöksen lataaminen kielelle %1 tiedostosta %2 epäonnistui + + QPlatformTheme + + + OK + + + + + Cancel + + + + + Close + + + + + Save + + + ResultsTree - + File Tiedosto - + Severity Tyyppi - + Line Rivi - + Summary @@ -1404,7 +1361,7 @@ Options: - + [Inconclusive] @@ -1414,48 +1371,48 @@ Options: - + Copy filename Kopioi tiedostonimi - + Copy full path Kopioi tiedoston koko polku - + Copy message - + Copy message id - + Hide - + Hide all with id - + Open containing folder - - + + Cppcheck Cppcheck - + No editor application configured. Configure the editor application for Cppcheck in preferences/Applications. @@ -1463,19 +1420,19 @@ Configure the editor application for Cppcheck in preferences/Applications.Voit asetuksista määritellä muita ohjelmia joilla avata tämän virheen sisältävän tiedoston. - + 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. @@ -1484,19 +1441,19 @@ Please check the application path and parameters are correct. Tarkista että ohjelman polku ja parametrit ovat oikeat. - + Could not find file: %1 Please select the directory where file is located. - + Select Directory - + Id @@ -1534,68 +1491,73 @@ Please select the directory where file is located. ResultsView - + Print Report - + No errors found, nothing to print. - + %p% (%1 of %2 files checked) - - + + Cppcheck Cppcheck - + No errors found. Virheitä ei löytynyt. - + Errors were found, but they are configured to be hidden. To toggle what kind of errors are shown, open view menu. Virheitä löytyi, mutta asetuksissa kyseiset virheet on määritelty piilotettavaksi. Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valikko. - - - + + + Failed to read the report. - + Summary - + Message - + + First included by + + + + Id - + No errors found, nothing to save. Virheitä ei löytynyt, ei mitään tallennettavaa. - - + + Failed to save the report. Raportin tallentaminen epäonnistui. @@ -1995,7 +1957,7 @@ Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valik TranslationHandler - + Failed to change the user interface language: %1 @@ -2004,7 +1966,7 @@ The user interface language has been reset to English. Open the Preferences-dial - + Cppcheck Cppcheck diff --git a/gui/cppcheck_fr.ts b/gui/cppcheck_fr.ts index f874e4b57..9166e4d49 100644 --- a/gui/cppcheck_fr.ts +++ b/gui/cppcheck_fr.ts @@ -462,30 +462,6 @@ Parameters: -l(line) (file) Cppcheck - %1 - - English - Anglais - - - Dutch - Hollandais - - - Finnish - Finlandais - - - Swedish - Suédois - - - German - Allemand - - - Russian - Russe - &Toolbars @@ -652,28 +628,12 @@ Do you want to stop the checking and exit Cppcheck? No project file loaded - - Japanese - - - - Serbian - - - - French - - 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. - - Spanish - - &Filter @@ -752,28 +712,16 @@ Do you want to remove the file from the recently used projects -list? Posix - - Korean - - Current results will be cleared. Opening a new XML file will clear current results.Do you want to proceed? - - Italian - - Show S&cratchpad... - - Chinese (Simplified) - - Select files to check Sélectionner les fichiers à vérifier @@ -1082,6 +1030,25 @@ Options: + + QPlatformTheme + + OK + + + + Cancel + + + + Close + + + + Save + + + ResultsTree @@ -1263,6 +1230,10 @@ Pour configurer les erreurs affichées, ouvrez le menu d'affichage.No errors found, nothing to print. + + First included by + + ScratchPad diff --git a/gui/cppcheck_it.ts b/gui/cppcheck_it.ts index 73f162f69..fcc3e5b75 100644 --- a/gui/cppcheck_it.ts +++ b/gui/cppcheck_it.ts @@ -1089,71 +1089,6 @@ Do you want to remove the file from the recently used projects -list? Vuoi rimuovere il file dalla lista dei progetti recentemente usati? - - - Finnish - Finnish - - - - English - English - - - - Chinese (Simplified) - - - - - Dutch - Dutch - - - - French - French - - - - Italian - Italian - - - - Korean - Korean - - - - Spanish - Spanish - - - - Swedish - Swedish - - - - German - German - - - - Russian - Russian - - - - Japanese - Japanese - - - - Serbian - Serbian - Cppcheck GUI. @@ -1370,22 +1305,22 @@ Options: QDialogButtonBox - + OK - + Cancel - + Close Chiudi - + Save @@ -1393,40 +1328,63 @@ Options: QObject - + Unknown language specified! Lingua specificata sconosciuta! - + Language file %1 not found! Il file di lingua %1 non trovato! - + Failed to load translation for language %1 from file %2 Fallito il tentativo di aprire la traduzione per la lingua %1 dal file %2 + + QPlatformTheme + + + OK + + + + + Cancel + + + + + Close + Chiudi + + + + Save + + + ResultsTree - + File File - + Severity Severità - + Line Linea - + Summary Riassunto @@ -1437,7 +1395,7 @@ Options: - + [Inconclusive] [Inconcludente] @@ -1447,48 +1405,48 @@ Options: debug - + Copy filename Copia nome file - + Copy full path Copia tutto il percorso - + Copy message Copia messaggio - + Copy message id Copia id del messaggio - + Hide Nascondi - + Hide all with id - + Open containing folder - - + + Cppcheck Cppcheck - + No editor application configured. Configure the editor application for Cppcheck in preferences/Applications. @@ -1497,7 +1455,7 @@ Configure the editor application for Cppcheck in preferences/Applications. - + No default editor application selected. Please select the default editor application in preferences/Applications. @@ -1506,12 +1464,12 @@ Please select the default editor application in preferences/Applications. - + Could not find the file! Non è stato possibile trovare il file! - + Could not start %1 Please check the application path and parameters are correct. @@ -1520,7 +1478,7 @@ Please check the application path and parameters are correct. 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. @@ -1529,12 +1487,12 @@ Please select the directory where file is located. Per favore selezioa la cartella dove il file è posizionato. - + Select Directory Seleziona Cartella - + Id Id @@ -1572,68 +1530,73 @@ Per favore selezioa la cartella dove il file è posizionato. ResultsView - + Print Report - + No errors found, nothing to print. - + %p% (%1 of %2 files checked) %p% (%1 su %2 file scansionati) - - + + Cppcheck Cppcheck - + No errors found. Nessun errore trovato. - + Errors were found, but they are configured to be hidden. To toggle what kind of errors are shown, open view menu. Sono stati trovati errori, ma sono stati configurati per essere nascosti. Per vedere il tipo di errori che sono mostrati, apri il menu Visualizza. - - - + + + Failed to read the report. Apertura del report fallito. - + Summary Riassunto - + Message Messaggio - + + First included by + + + + Id Id - + No errors found, nothing to save. Nessun errore trovato, nulla da salvare. - - + + Failed to save the report. Salvataggio del report fallito. @@ -2032,7 +1995,7 @@ Per vedere il tipo di errori che sono mostrati, apri il menu Visualizza. TranslationHandler - + Failed to change the user interface language: %1 @@ -2045,7 +2008,7 @@ 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 diff --git a/gui/cppcheck_ja.ts b/gui/cppcheck_ja.ts index e6efa7fd4..18d0515d9 100644 --- a/gui/cppcheck_ja.ts +++ b/gui/cppcheck_ja.ts @@ -1052,72 +1052,6 @@ Do you want to stop the checking and exit Cppcheck? Do you want to remove the file from the recently used projects -list? - - - English - 英語 - - - - Dutch - オランダ語 - - - - Chinese (Simplified) - - - - - Finnish - フィンランド語 - - - - French - フランス語 - - - - Italian - - - - - Korean - - - - - Spanish - スペイン語 - - - - Swedish - スウェーデン語 - - - - German - ドイツ語 - - - - Russian - ロシア語 - - - - Japanese - Japanease - 日本語 - - - - Serbian - セルビア語 - Cppcheck GUI. @@ -1334,22 +1268,22 @@ Options: QDialogButtonBox - + OK - + Cancel - + Close 閉じる - + Save @@ -1357,40 +1291,63 @@ Options: QObject - + Unknown language specified! 指定された未知の言語 - + Language file %1 not found! 言語ファイル %1 が見つかりません! - + Failed to load translation for language %1 from file %2 + + QPlatformTheme + + + OK + + + + + Cancel + + + + + Close + 閉じる + + + + Save + + + ResultsTree - + File ファイル - + Severity 警告種別 - + Line - + Summary 内容 @@ -1401,7 +1358,7 @@ Options: - + [Inconclusive] [結論の出ない] @@ -1411,48 +1368,48 @@ Options: デバッグ - + Copy filename ファイル名をコピー - + Copy full path フルパスをコピー - + Copy message メッセージをコピー - + Copy message id - + Hide 非表示 - + Hide all with id - + Open containing folder - - + + Cppcheck Cppcheck - + No editor application configured. Configure the editor application for Cppcheck in preferences/Applications. @@ -1460,19 +1417,19 @@ Configure the editor application for Cppcheck in 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. @@ -1481,7 +1438,7 @@ Please check the application path and parameters are correct. 実行ファイルパスや引数の設定を確認してください。 - + Could not find file: %1 Please select the directory where file is located. @@ -1490,12 +1447,12 @@ Please select the directory where file is located. ディレクトリにファイルが存在するか確認してください。 - + Select Directory ディレクトリを選択 - + Id @@ -1538,67 +1495,72 @@ Please select the directory where file is located. 結果 - + No errors found, nothing to save. 警告/エラーが見つからなかったため、保存しません。 - - + + Failed to save the report. レポートの保存に失敗しました。 - + Print Report - + No errors found, nothing to print. - + %p% (%1 of %2 files checked) - - + + Cppcheck 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 メッセージ - + + First included by + + + + Id @@ -1993,7 +1955,7 @@ To toggle what kind of errors are shown, open view menu. TranslationHandler - + Failed to change the user interface language: %1 @@ -2002,7 +1964,7 @@ The user interface language has been reset to English. Open the Preferences-dial - + Cppcheck Cppcheck diff --git a/gui/cppcheck_ko.ts b/gui/cppcheck_ko.ts index feba5207d..ce8910b16 100644 --- a/gui/cppcheck_ko.ts +++ b/gui/cppcheck_ko.ts @@ -760,68 +760,16 @@ Do you want to remove the file from the recently used projects -list? 최근 프로젝트 목록에서 파일을 제거하시겠습니까? - - Dutch - 네덜란드어 - - - English - 영어 - - - Finnish - 핀란드어 - - - French - 프랑스어 - - - German - 독일어 - - - Japanese - 일본어 - - - Korean - 한국어 - - - Russian - 러시아어 - - - Serbian - 세르비아어 - - - Spanish - 스페인어 - - - Swedish - 스웨덴어 - Current results will be cleared. Opening a new XML file will clear current results.Do you want to proceed? - - Italian - - Show S&cratchpad... - - Chinese (Simplified) - - Select files to check 검사할 파일 선택 @@ -1130,6 +1078,25 @@ Options: 파일(%2)로부터 언어(%1) 불러오기 실패 + + QPlatformTheme + + OK + + + + Cancel + + + + Close + 닫기 + + + Save + + + ResultsTree @@ -1317,6 +1284,10 @@ To toggle what kind of errors are shown, open view menu. No errors found, nothing to print. + + First included by + + ScratchPad diff --git a/gui/cppcheck_nl.ts b/gui/cppcheck_nl.ts index dd8a08d3f..b105ee015 100644 --- a/gui/cppcheck_nl.ts +++ b/gui/cppcheck_nl.ts @@ -1076,72 +1076,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? - - - Finnish - Fins - - - - English - Engels - - - - Chinese (Simplified) - Chinees (Vereenvoudigd) - - - - Dutch - Nederlands - - - - French - Frans - - - - Italian - Italiaans - - - - Korean - Koreaans - - - - Spanish - Spaans - - - - Swedish - Zweeds - - - - German - Duits - - - - Russian - Russisch - - - - Japanese - Japanease - Japans - - - - Serbian - Servisch - Cppcheck GUI. @@ -1381,22 +1315,22 @@ Options: QDialogButtonBox - + OK - + - + Cancel Annuleer - + Close Sluit - + Save Opslaan @@ -1404,42 +1338,65 @@ Options: QObject - + Unknown language specified! Onbekende taal gekozen! - + Language file %1 not found! Language file %1.qm not found! Kon het taalbestand niet vinden: %1! - + Failed to load translation for language %1 from file %2 Failed to load translation for language %1 from file %2.qm Kon de vertaling voor taal %1 in bestand %2 niet laden + + QPlatformTheme + + + OK + + + + + Cancel + Annuleer + + + + Close + Sluit + + + + Save + Opslaan + + ResultsTree - + File Bestand - + Severity Ernst - + Line Regel - + Summary Overzicht @@ -1450,7 +1407,7 @@ Options: - + [Inconclusive] [Onduidelijk] @@ -1460,48 +1417,48 @@ Options: - + Copy filename Kopier bestandsnaam - + Copy full path Kopieer volledig pad - + Copy message Kopieer bericht - + Copy message id Kopieer bericht id - + Hide Verberg - + Hide all with id Verberg alles met id - + Open containing folder - - + + Cppcheck Cppcheck - + No editor application configured. Configure the editor application for Cppcheck in preferences/Applications. @@ -1511,7 +1468,7 @@ Configure the editor application for Cppcheck in preferences/Applications. - + No default editor application selected. Please select the default editor application in preferences/Applications. @@ -1519,12 +1476,12 @@ Please select the default editor application in preferences/Applications. - + Could not find the file! Kon het bestand niet vinden! - + Could not start %1 Please check the application path and parameters are correct. @@ -1533,7 +1490,7 @@ Please check the application path and parameters are correct. 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. @@ -1541,12 +1498,12 @@ Please select the directory where file is located. Selecteer de map waarin het bestand zich bevindt. - + Select Directory Selecteer map - + Id Id @@ -1584,68 +1541,73 @@ Selecteer de map waarin het bestand zich bevindt. ResultsView - + Print Report - + No errors found, nothing to print. - + %p% (%1 of %2 files checked) %p% (%1 van %2 bestanden gecontroleerd) - - + + Cppcheck Cppcheck - + No errors found. Geen fouten gevonden. - + Errors were found, but they are configured to be hidden. To toggle what kind of errors are shown, open view menu. Fouten werden gevonden, maar volgens de configuratie zijn deze verborgen. Gebruik het uitzicht menu om te selecteren welke fouten getoond worden. - - - + + + Failed to read the report. Kon rapport niet lezen. - + Summary Overzicht - + Message Bericht - + + First included by + + + + Id Id - + No errors found, nothing to save. Geen fouten gevonden; geen data om op te slaan. - - + + Failed to save the report. Kon het rapport niet opslaan. @@ -2045,7 +2007,7 @@ Gebruik het uitzicht menu om te selecteren welke fouten getoond worden. TranslationHandler - + Failed to change the user interface language: %1 @@ -2058,7 +2020,7 @@ 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 diff --git a/gui/cppcheck_ru.ts b/gui/cppcheck_ru.ts index 69f4d8885..d5846f8c1 100644 --- a/gui/cppcheck_ru.ts +++ b/gui/cppcheck_ru.ts @@ -1089,72 +1089,6 @@ Do you want to remove the file from the recently used projects -list? не найден! Хотите удалить его из списка проектов? - - - Finnish - Финский - - - - English - Английский - - - - Chinese (Simplified) - Китайский (упрощенный) - - - - Dutch - Голландский - - - - French - Французский - - - - Italian - Итальянский - - - - Korean - Корейский - - - - Spanish - Испанский - - - - Swedish - Шведский - - - - German - Немецкий - - - - Russian - Русский - - - - Japanese - Japanease - Японский - - - - Serbian - Сербский - Cppcheck GUI. @@ -1395,22 +1329,22 @@ Options: QDialogButtonBox - + OK OK - + Cancel Отмена - + Close Закрыть - + Save Сохранить @@ -1418,42 +1352,65 @@ Options: QObject - + Unknown language specified! Неизвестный язык! - + Language file %1 not found! Language file %1.qm not found! Языковой файл %1 не найден! - + Failed to load translation for language %1 from file %2 Failed to load translation for language %1 from file %2.qm Ошибка загрузки переводов для языка %1 из файла %2 + + QPlatformTheme + + + OK + OK + + + + Cancel + Отмена + + + + Close + Закрыть + + + + Save + Сохранить + + ResultsTree - + File Файл - + Severity Важность - + Line Строка - + Summary Кратко @@ -1464,7 +1421,7 @@ Options: - + [Inconclusive] [Неубедительный] @@ -1474,48 +1431,48 @@ Options: отлаживать - + Copy filename Скопировать имя файла - + Copy full path Скопировать полный путь - + Copy message Скопировать сообщение - + Copy message id Скопировать номер сообщения - + Hide Скрыть - + Hide all with id Скрыть все с id - + Open containing folder - - + + Cppcheck Cppcheck - + No editor application configured. Configure the editor application for Cppcheck in preferences/Applications. @@ -1524,7 +1481,7 @@ Configure the editor application for Cppcheck in preferences/Applications. - + No default editor application selected. Please select the default editor application in preferences/Applications. @@ -1532,12 +1489,12 @@ 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. @@ -1545,7 +1502,7 @@ Please check the application path and parameters are correct. Пожалуйста, проверьте путь приложения, и верны ли параметры. - + Could not find file: %1 Please select the directory where file is located. @@ -1554,12 +1511,12 @@ Please select the directory where file is located. Пожалуйста, выберите каталог, в котором находится файл. - + Select Directory Выберите директорию - + Id Id @@ -1597,68 +1554,73 @@ Please select the directory where file is located. ResultsView - + Print Report - + No errors found, nothing to print. - + %p% (%1 of %2 files checked) %p% (%1 из %2 файлов проверено) - - + + Cppcheck 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 Сообщение - + + First included by + + + + Id Id - + No errors found, nothing to save. Ошибки не найдены, нечего сохранять. - - + + Failed to save the report. Не удалось сохранить отчет. @@ -2058,7 +2020,7 @@ To toggle what kind of errors are shown, open view menu. TranslationHandler - + Failed to change the user interface language: %1 @@ -2071,7 +2033,7 @@ The user interface language has been reset to English. Open the Preferences-dial Язык пользовательского интерфейса был сброшен на английский. Откройте Настройки-диалог для выбора любого из доступных языков. - + Cppcheck Cppcheck diff --git a/gui/cppcheck_sr.ts b/gui/cppcheck_sr.ts index f69c68985..b5b80d738 100644 --- a/gui/cppcheck_sr.ts +++ b/gui/cppcheck_sr.ts @@ -1054,71 +1054,6 @@ Do you want to stop the checking and exit Cppcheck? Do you want to remove the file from the recently used projects -list? - - - Finnish - Finski - - - - English - Engleski - - - - Chinese (Simplified) - Kineski (Pojednostavljeni) - - - - Dutch - Holandski - - - - French - Francuski - - - - Italian - Italijanski - - - - Korean - Korejski - - - - Spanish - Španski - - - - Swedish - Švedski - - - - German - Nemački - - - - Russian - Ruski - - - - Japanese - Japanski - - - - Serbian - Srpski - Cppcheck GUI. @@ -1335,22 +1270,22 @@ Options: QDialogButtonBox - + OK - + Cancel - + Close - + Save @@ -1358,40 +1293,63 @@ Options: QObject - + Unknown language specified! - + Language file %1 not found! Could not find the file: %1! - + Failed to load translation for language %1 from file %2 Failed to load translation for language %1 from file %2 + + QPlatformTheme + + + OK + + + + + Cancel + + + + + Close + + + + + Save + + + ResultsTree - + File File - + Severity Severity - + Line Line - + Summary @@ -1402,7 +1360,7 @@ Options: - + [Inconclusive] @@ -1412,67 +1370,67 @@ Options: - + Copy filename Copy filename - + Copy full path Copy full path - + Copy message - + Copy message id - + Hide - + Hide all with id - + Open containing folder - - + + Cppcheck Cppcheck - + No editor application configured. Configure the editor application for Cppcheck in preferences/Applications. You can open this error by specifying applications in program's settings. - + 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. @@ -1481,19 +1439,19 @@ Please check the application path and parameters are correct. Please check the application path and parameters are correct. - + Could not find file: %1 Please select the directory where file is located. - + Select Directory - + Id @@ -1531,68 +1489,73 @@ Please select the directory where file is located. ResultsView - + Print Report - + No errors found, nothing to print. - + %p% (%1 of %2 files checked) - - + + Cppcheck Cppcheck - + No errors found. No errors found. - + Errors were found, but they are configured to be hidden. To toggle what kind of errors are shown, open view menu. 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 - + + First included by + + + + Id - + No errors found, nothing to save. No errors found, nothing to save. - - + + Failed to save the report. Failed to save the report. @@ -1991,7 +1954,7 @@ To toggle what kind of errors are shown, open view menu. TranslationHandler - + Failed to change the user interface language: %1 @@ -2000,7 +1963,7 @@ The user interface language has been reset to English. Open the Preferences-dial - + Cppcheck Cppcheck diff --git a/gui/cppcheck_sv.ts b/gui/cppcheck_sv.ts index 38f909758..a4691f669 100644 --- a/gui/cppcheck_sv.ts +++ b/gui/cppcheck_sv.ts @@ -1104,72 +1104,6 @@ Do you want to remove the file from the recently used projects -list? Vill du ta bort filen från 'senast använda projekt'-listan? - - - Finnish - Finska - - - - English - Engelska - - - - Chinese (Simplified) - Kinesiska (Förenklad) - - - - Dutch - Nederländska - - - - French - Franska - - - - Italian - Italienska - - - - Korean - Koreanska - - - - Spanish - Spanska - - - - Swedish - Svenska - - - - German - Tyska - - - - Russian - Ryska - - - - Japanese - Japanease - Japanska - - - - Serbian - Serbiska - Cppcheck GUI. @@ -1410,22 +1344,22 @@ Options: QDialogButtonBox - + OK OK - + Cancel Avbryt - + Close Stäng - + Save Spara @@ -1433,42 +1367,65 @@ Options: QObject - + Unknown language specified! Okänt språk valt! - + Language file %1 not found! Language file %1.qm not found! Språk filen %1 hittades ej! - + Failed to load translation for language %1 from file %2 Failed to load translation for language %1 from file %2.qm Misslyckades med att ladda översättningen för %1 från filen %2 + + QPlatformTheme + + + OK + OK + + + + Cancel + Avbryt + + + + Close + Stäng + + + + Save + Spara + + ResultsTree - + File Fil - + Severity Typ - + Line Rad - + Summary Sammanfattning @@ -1479,7 +1436,7 @@ Options: - + [Inconclusive] [Inconclusive] @@ -1489,48 +1446,48 @@ Options: debug - + Copy filename Kopiera filnamn - + Copy full path Kopiera full sökväg - + Copy message Kopiera meddelande - + Copy message id Kopiera meddelande id - + Hide Dölj - + Hide all with id Dölj alla med id - + Open containing folder - - + + Cppcheck Cppcheck - + No editor application configured. Configure the editor application for Cppcheck in preferences/Applications. @@ -1540,7 +1497,7 @@ Configure the editor application for Cppcheck in preferences/Applications. - + No default editor application selected. Please select the default editor application in preferences/Applications. @@ -1549,12 +1506,12 @@ Please select the default editor application in preferences/Applications. - + Could not find the file! Kunde inte hitta filen! - + Could not start %1 Please check the application path and parameters are correct. @@ -1563,7 +1520,7 @@ Please check the application path and parameters are correct. Kontrollera att sökvägen och parametrarna är korrekta. - + Could not find file: %1 Please select the directory where file is located. @@ -1572,12 +1529,12 @@ Please select the directory where file is located. Välj mappen där filen finns. - + Select Directory Välj mapp - + Id Id @@ -1615,68 +1572,73 @@ Välj mappen där filen finns. ResultsView - + Print Report - + No errors found, nothing to print. - + %p% (%1 of %2 files checked) %p% (%1 av %2 filer analyserade) - - + + Cppcheck Cppcheck - + No errors found. Inga fel hittades. - + Errors were found, but they are configured to be hidden. To toggle what kind of errors are shown, open view menu. Fel hittades, men de visas ej. För att ställa in vilka fel som skall visas använd visa menyn. - - - + + + Failed to read the report. Misslyckades att läsa rapporten. - + Summary Sammanfattning - + Message Meddelande - + + First included by + + + + Id Id - + No errors found, nothing to save. Inga fel hittades, ingenting att spara. - - + + Failed to save the report. Misslyckades med att spara rapporten. @@ -2076,7 +2038,7 @@ För att ställa in vilka fel som skall visas använd visa menyn. TranslationHandler - + Failed to change the user interface language: %1 @@ -2089,7 +2051,7 @@ 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 diff --git a/gui/cppcheck_zh_CN.ts b/gui/cppcheck_zh_CN.ts index 2fc9b09d4..35e7e0f96 100644 --- a/gui/cppcheck_zh_CN.ts +++ b/gui/cppcheck_zh_CN.ts @@ -1088,72 +1088,6 @@ Do you want to remove the file from the recently used projects -list? 你要从最近使用的项目列表中删除此文件吗? - - - English - 英語 - - - - Dutch - 荷兰语 - - - - Chinese (Simplified) - - - - - Finnish - 芬兰语 - - - - French - 法语 - - - - Italian - 意大利语 - - - - Korean - 韩文 - - - - Spanish - 西班牙语 - - - - Swedish - 瑞典语 - - - - German - 德语 - - - - Russian - 俄语 - - - - Japanese - Japanease - 日语 - - - - Serbian - 塞尔维亚语 - Cppcheck GUI. @@ -1370,22 +1304,22 @@ Options: QDialogButtonBox - + OK - + Cancel - + Close 关闭 - + Save @@ -1393,40 +1327,63 @@ Options: QObject - + Unknown language specified! 指定了未知语言! - + Language file %1 not found! 语言文件 %1 不存在! - + Failed to load translation for language %1 from file %2 无法从文件 %2 中为语言 %1 加载翻译文件 + + QPlatformTheme + + + OK + + + + + Cancel + + + + + Close + 关闭 + + + + Save + + + ResultsTree - + File 文件 - + Severity 严重性 - + Line - + Summary 概要 @@ -1437,7 +1394,7 @@ Options: - + [Inconclusive] [不确定的] @@ -1447,48 +1404,48 @@ Options: 调试 - + Copy filename 复制文件名 - + Copy full path 复制完整路径 - + Copy message 复制消息 - + Copy message id 复制消息 ID - + Hide 隐藏 - + Hide all with id - + Open containing folder - - + + Cppcheck Cppcheck - + No editor application configured. Configure the editor application for Cppcheck in preferences/Applications. @@ -1498,7 +1455,7 @@ Configure the editor application for Cppcheck in preferences/Applications. - + No default editor application selected. Please select the default editor application in preferences/Applications. @@ -1507,12 +1464,12 @@ 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. @@ -1521,7 +1478,7 @@ Please check the application path and parameters are correct. 请检查此应用程序的路径与参数是否正确。 - + Could not find file: %1 Please select the directory where file is located. @@ -1530,12 +1487,12 @@ Please select the directory where file is located. 请选择文件所在目录。 - + Select Directory 选择目录 - + Id Id @@ -1578,68 +1535,73 @@ Please select the directory where file is located. 结果 - + No errors found, nothing to save. 未发现错误,没有结果可保存。 - - + + Failed to save the report. 保存报告失败。 - + Print Report - + No errors found, nothing to print. - + %p% (%1 of %2 files checked) %p% (%2 个文件已检查 %1 个) - - + + Cppcheck 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 消息 - + + First included by + + + + Id Id @@ -2034,7 +1996,7 @@ To toggle what kind of errors are shown, open view menu. TranslationHandler - + Failed to change the user interface language: %1 @@ -2047,7 +2009,7 @@ The user interface language has been reset to English. Open the Preferences-dial 用户界面语言已被重置为英语。打开“首选项”对话框,选择任何可用的语言。 - + Cppcheck Cppcheck diff --git a/gui/translationhandler.cpp b/gui/translationhandler.cpp index 4ba4b7a28..194e476f5 100644 --- a/gui/translationhandler.cpp +++ b/gui/translationhandler.cpp @@ -28,10 +28,16 @@ // Provide own translations for standard buttons. This (garbage) code is needed to enforce them to appear in .ts files even after "lupdate gui.pro" static void unused() { + // Qt4 QT_TRANSLATE_NOOP("QDialogButtonBox", "OK"); QT_TRANSLATE_NOOP("QDialogButtonBox", "Cancel"); QT_TRANSLATE_NOOP("QDialogButtonBox", "Close"); QT_TRANSLATE_NOOP("QDialogButtonBox", "Save"); + // Qt5 + QT_TRANSLATE_NOOP("QPlatformTheme", "OK"); + QT_TRANSLATE_NOOP("QPlatformTheme", "Cancel"); + QT_TRANSLATE_NOOP("QPlatformTheme", "Close"); + QT_TRANSLATE_NOOP("QPlatformTheme", "Save"); } TranslationHandler::TranslationHandler(QObject *parent) : @@ -41,19 +47,19 @@ TranslationHandler::TranslationHandler(QObject *parent) : { // Add our available languages // Keep this list sorted - AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Chinese (Simplified)"), "cppcheck_zh_CN"); - AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Dutch"), "cppcheck_nl"); - AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "English"), "cppcheck_en"); - AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Finnish"), "cppcheck_fi"); - AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "French"), "cppcheck_fr"); - AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "German"), "cppcheck_de"); - AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Italian"), "cppcheck_it"); - AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Japanese"), "cppcheck_ja"); - AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Korean"), "cppcheck_ko"); - AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Russian"), "cppcheck_ru"); - AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Serbian"), "cppcheck_sr"); - AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Spanish"), "cppcheck_es"); - AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Swedish"), "cppcheck_sv"); + AddTranslation("Chinese (Simplified)", "cppcheck_zh_CN"); + AddTranslation("Dutch", "cppcheck_nl"); + AddTranslation("English", "cppcheck_en"); + AddTranslation("Finnish", "cppcheck_fi"); + AddTranslation("French", "cppcheck_fr"); + AddTranslation("German", "cppcheck_de"); + AddTranslation("Italian", "cppcheck_it"); + AddTranslation("Japanese", "cppcheck_ja"); + AddTranslation("Korean", "cppcheck_ko"); + AddTranslation("Russian", "cppcheck_ru"); + AddTranslation("Serbian", "cppcheck_sr"); + AddTranslation("Spanish", "cppcheck_es"); + AddTranslation("Swedish", "cppcheck_sv"); } TranslationHandler::~TranslationHandler()