Commit Graph

24 Commits

Author SHA1 Message Date
Christian Hohnstaedt
89b7c6beea codespell: Fix spelling issues, no functional changes 2025-03-28 18:11:18 +01:00
Christian Hohnstaedt
96e455082e Check supported minimum QT version 5.10.1 2024-10-03 13:13:44 +02:00
Christian Hohnstaedt
ac771d5337 Improve the 'trans' target to print me a reminder
lupdate/cmake-generator < 6.7.0 do not support
the plurals-only file xca_en.ts and will fill it up with all
translations.

Having to use QT>=6.7.0 for translation-update
is actually no burden, I just need to remind myself :-)
2024-09-29 20:44:37 +02:00
Christian Hohnstaedt
c6304a073d Close #296: Proper plurals
Some checks are pending
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 5.15.2, ubuntu-latest) (push) Waiting to run
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 6.6.2, ubuntu-latest) (push) Waiting to run
CMake / build (build/xca-*.dmg, Unix Makefiles, mac, /opt/homebrew/opt/openssl, macos, 6.6.2, macos-latest) (push) Waiting to run
CMake / build (build/xca-*.msi build/xca-portable-*.zip , MinGW Makefiles, windows, D:\msys2\msys64\mingw64, windows, 5.15.2, windows-2019, win64_mingw81) (push) Waiting to run
Use the provided plural mechanisms of QT.
The "PO" translation also works smoothly and
the translation mechanisms between .po <-> .qt
was tested successfully.

The new english translation file translates
the single phrase:
 "Delete the %n revocation list(s): '%1'?"
into
 "Delete the revocation list: '%1'?" for one item
and
 "Delete the %n revocation lists: '%1'?" otherwise
2024-09-14 10:22:45 +02:00
Christian Hohnstaedt
d5d9e86352 Whitespace fixup for CMake files
replace tabs by spaces
2024-09-06 10:53:02 +02:00
Christian Hohnstaedt
e3a2789f08 Add infrastructure for korean translation
Some checks are pending
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 5.15.2, ubuntu-latest) (push) Waiting to run
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 6.6.2, ubuntu-latest) (push) Waiting to run
CMake / build (build/xca-*.dmg, Unix Makefiles, mac, /opt/homebrew/opt/openssl, macos, 6.6.2, macos-latest) (push) Waiting to run
CMake / build (build/xca-*.msi build/xca-portable-*.zip , MinGW Makefiles, windows, D:\msys2\msys64\mingw64, windows, 5.15.2, windows-2019, win64_mingw81) (push) Waiting to run
2024-09-05 18:06:08 +02:00
Christian Hohnstaedt
862e2b48d8 Close #311: 2nd Fixup for a548227a07: install QT translation files again
The QT provided QM files in QM_FILES got overwritten by the
invokation of the translation function.
Put them into a different variable.

And their name is qtbase_XX.qm, not qt_XX.qm

This fix also translates the "Finder Menu"
2024-08-25 00:49:13 +02:00
Christian Hohnstaedt
c12454744d Translation: fix translation sources and xca.pot
After creating a library from the lib and widgets sources
to be used by xca and the test app, the source-collection
for xca does not work anymore. Collect them manually now.

xca.pot was erased during "make clean".
Create the xca.pot in the destination directory and copy it
to the source directory to avoid tagging "lang/xca.pot" as
"generated".
2024-01-15 21:46:40 +01:00
Christian Hohnstaedt
ed074537f7 Translations: Fix warning in xca.ts and add languages to Info.plist 2023-09-30 11:24:18 +02:00
Christian Hohnstaedt
96ca26cc83 Integrate bulgarian translation
Thanks to Svetoslav Slavkov
2023-09-03 22:37:02 +02:00
Christian Hohnstaedt
8983e5010d Fixup for a548227a07: install translation files again. 2023-05-26 08:00:27 +02:00
Christian Hohnstaedt
a548227a07 Use Qt6 qt_add_translations to generate translation targets
Keep "trans" target to also update the POT file.
2023-05-22 15:16:26 +02:00
Christian Hohnstaedt
2ad23f0354 Fix translation installation 2023-05-21 14:20:51 +02:00
Christian Hohnstaedt
86f24d1432 Matrix with QT versions 2022-09-02 17:02:40 +02:00
Christian Hohnstaedt
c873cc1a41 Fix installation of documentation
We need the whole directory, including the _static and _sources
sub-directories.

Also silence the QM generation. It was very garrulous.
2022-08-31 00:11:14 +02:00
Christian Hohnstaedt
ced6dfc41a Add support for Qt6
XCA now supports both, Qt6 and Qt5 down to Qt-5.2

Use CMAKE_PREFIX_PATH to point to the QT dompiler directory like
$ cmake -B build -DCMAKE_PREFIX_PATH=$HOME/6.3.1/gcc_64
2022-08-31 00:09:37 +02:00
Christian Hohnstaedt
e6d23fbd26 Win32: make install creates xca-portable 2022-08-31 00:01:06 +02:00
Christian Hohnstaedt
4e194b0255 Integrate persian translation
Thanks to Erfan Esmayili Barzi
2022-08-03 10:15:23 +02:00
Christian Hohnstaedt
d73d4ccd51 Windows MSI: Improve WXS file creation with cmake
The long list of translations and html documentation
pages is now auto-generated by the cmake files,
which know the translations and html files. (DRY)

TODO: Windows SQL drivers for mysql and psql
2021-11-13 23:51:04 +01:00
Christian Hohnstädt
b10c6c80ae Extend PR: #307: Enable indonesian language
Andika Triwidada as indonesian translator
2021-10-24 17:55:35 +02:00
Christian Hohnstädt
76763ea98c cmake: include() the CMakeLists.txt file
instead of add_subdirectory() them.

in all subdirectories set ${S} and ${D}
as shortcuts for CMAKE_CURRENT_SOURCE_DIR
and CMAKE_CURRENT_BINARY_DIR
2021-06-01 17:48:38 +02:00
Christian Hohnstaedt
f09589f610 PO to TS conversion works well as script.
It must only be done if a PO based translator
updates the translation once by me.
2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
2cc1369c88 lang: CMakeLists.txt: add "trans" target 2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
915a920de8 cmake: Split CMakeLists.txt into the different sub directories
mv cmake/sphinx-documentation.cmake -> doc/CMakeLists.txt
2021-06-01 17:48:37 +02:00