aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/translations/extract-snippets.py
Commit message (Collapse)AuthorAgeFilesLines
* Translations: Fix fix_value in the extraction scriptsAlessandro Portale2023-02-171-2/+2
| | | | | | | | | | The scope of fix_value function seems to be to just escape some sequences. This, replace "\n" with "\\n". Also fix three related translation sources in qtcreator_de.ts. Change-Id: I1d4177d99a8f60757e5e17fb7f56960f522be728 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Translations: Move extracted translations into QtC:: contextsAlessandro Portale2023-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | This change adapts the exctraction scripts. The contexts in the .ts files were already merged in earlier changes. Core::Internal::ExternalTool -> QtC::Core ProjectExplorer::CustomWizard -> QtC::ProjectExplorer ProjectExplorer::JsonWizard -> QtC::ProjectExplorer TextEditor::Internal::Snippets -> QtC::TextEditor Change-Id: I277707d259abcc13fac064a1d879aeedee1703e4 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Replace GPL-3.0 with GPL-3.0-onlyKai Köhne2023-01-101-1/+1
| | | | | | | | | | | | | GPL-3.0 is deprecated by SPDX. Change done by find . -type f -exec perl -pi -e 's/LicenseRef-Qt-Commercial OR GPL-3.0(?!-)/LicenseRef-Qt-Commercial OR GPL-3.0-only/g' {} \; Change-Id: If316a498e3f27d2030b86d4e7743b3237ce09939 Reviewed-by: Lucie Gerard <lucie.gerard@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Use SPDX license identifiersLucie Gérard2022-08-261-23/+1
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Correct generation of header file for translationLucie Gérard2019-11-121-3/+7
| | | | | Change-Id: I5571b14dfb438c5caaa211308b9255c61959e5de Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* CMake: Handle translationsTobias Hunger2019-09-171-0/+65
(Optionally) re-generate .ts files from CMake by running lupdate and run lrelease to generate .qm files. Changes to qmake: * src/libs/3rdparty/syntax-highlighting/src/cli/kate-syntax-highlighter.cpp is no longer translated: It's a command line tool that is not used by creator * src/libs/aggregation/examples/text/main.cpp is no longer included in ts files * src/libs/qt-breakpad/qtcrashhandler/* is no longer included in ts files: It is not built right now Change-Id: Iec018da86a111a68ec983a880cef2961b48ccdf9 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>