Commit Graph

30 Commits

Author SHA1 Message Date
Adriaan de Groot
733e4d64e1 CI: check translations against detached branches
To avoid git complaining about duplicate worktrees, detach
the temporary trees. To avoid python modules translations
changing order (depending on how find traverses the tree),
sort the filenames before extraction.

(cherry picked from commit c3f366ce9e)
2022-08-23 12:09:51 +02:00
Adriaan de Groot
063fb24f3a i18n: add translations source for keyboards 2020-10-30 12:43:03 +01:00
Adriaan de Groot
1cd9b93a22 REUSE: Giant boilerplate cleanup
- point to main Calamares site in the 'part of' headers instead
  of to github (this is the "this file is part of Calamares"
  opening line for most files).
- remove boilerplate from all source files, CMake modules and completions,
  this is the 3-paragraph summary of the GPL-3.0-or-later, which has
  a meaning entirely covered by the SPDX tag.
2020-08-26 02:28:38 +02:00
Adriaan de Groot
0ee0f40816 REUSE: license tags for the scripts and tools in ci/
- remove empty useless HACKING
- remove unused cppcheck.sh
- migrate the AppImage docs to the wiki (which doesn't moan about licensing)
- try a HTML-style comment in the RELEASE docs
2020-08-26 02:05:46 +02:00
Adriaan de Groot
713774ab40 i18n: adjust tooling to renamed resource 2020-06-12 14:50:12 +02:00
Adriaan de Groot
4c65b8cc63 CI: remove outdated comment-crud 2020-06-11 12:26:32 +02:00
Adriaan de Groot
dec30d70fd CI: tidy up scripts
- Add SPDX headers
 - Indent consistently (tabs, not a mix of 2-space, 4-space, and tabs)

The scripts were originally added without a license header.
Since they are simple, and re-usable, and not particularly
interesting, I've made the license explicitly 2-clause BSD.
This is unlike the rest of Calamares, which is GPLv3+; the
build system and support scripts are not the software itself.
2020-02-06 13:11:23 +01:00
Adriaan de Groot
c18d40f61b CI: switch lupdate-versions checked for
- look for the more-specific lupdate-qt5 first, then the generic one
 - in practice this is moot, though, since the only person running
   this script is me, on one of my development VMs

Reported by Kevin Kofler (who rightly points out that lupdate *might*
be a Qt4 or even Qt3-era executable).
2020-01-26 00:43:21 +01:00
Adriaan de Groot
6eb52c2989 CI: fix-up txpush
- need to force-push the translation tag (since there's only one,
   and it moves through history whenever TX is pushed)
 - xmllint canonicalization removes the DOCTYPE, so hack in
   a pipeline stage that re-inserts it.
2020-01-25 23:05:36 +01:00
Adriaan de Groot
fa466b447c CI: Canonicalize XML first
- Do XML processing / canonicalisation in txpush only
 - Run the *HEAD* version of txpush in both worktrees
2020-01-25 17:34:44 +01:00
Adriaan de Groot
64b56664de CI: use explicit encoding in XML tidy 2020-01-25 17:13:49 +01:00
Adriaan de Groot
053fa28b19 CI: improve TX consistency
- txpush
   - don't try to push TX for the timezone list
   - xmllint --format the .ts files to avoid inconsistency between
     TX tool versions
 - txcheck
   - xmllint --format
   - hard-code the list of files, it's not worth the hassle
   - don't apply XML cleanups to POT files
   - strip linenumbers from POT files for diffing
2020-01-25 17:02:07 +01:00
Adriaan de Groot
5dad5dae02 i18n: support Tumbleweed versioned-lupdate executables 2020-01-25 15:48:08 +01:00
Adriaan de Groot
d86b6bddeb CI: when pushing TX, also push the tag 2020-01-25 12:36:02 +01:00
Adriaan de Groot
93ae44e214 [libcalamares] Split translatable timezone data
- Hide the one file from lupdate by giving it a weird suffix
 - Call lupdate a second time for the timezone translations
 - While here, adjust so that the options precede the directories
   they are supposed to affect

I don't want to give the translation teams 444 new strings all
at once (about 90% of which don't need translation).
2019-12-10 22:44:10 +00:00
Adriaan de Groot
ddc2f60768 Merge branch 'master' into zone-data 2019-12-09 17:44:32 +01:00
Adriaan de Groot
1fc31cde32 CI: make tag consistent between txpush and txcheck 2019-12-03 11:29:46 +01:00
Adriaan de Groot
5fbae8213d CI: fix Qt version-selection for FreeBSD when calling lupdate 2019-11-19 18:07:13 +01:00
Adriaan de Groot
9f90ef6377 CI: when pushing translations, mark it with a git tag 2019-11-18 17:07:08 +01:00
Adriaan de Groot
4004af09ad i18n: improve documentation on Transifex scripts 2019-01-25 07:46:19 -05:00
Adriaan de Groot
fdccff83c3 i18n: when extracting strings, skip branding 2018-03-09 07:22:45 -05:00
Adriaan de Groot
f63b44c984 i18n: smash things back from unspecified charset to UTF-8 2017-09-07 05:43:50 -04:00
Adriaan de Groot
71fe0f6f03 Python-i18n: pygettext is deprecated
- Use xgettext -L python instead
 - Mark _n as a plural-forms translation function
 - Explicit output to .pot files (instead of default .po)
2017-08-31 04:09:48 -04:00
Adriaan de Groot
44262951a1 Python-i18n: add _n() as a gettext keyword, for plurals 2017-08-30 17:37:04 -04:00
Adriaan de Groot
9f5ff55ba2 Python-i18n: tx pull and push improvements
- python jobmodule translations
 - only keep top-level desktop file
2017-08-10 10:42:03 -04:00
Adriaan de Groot
5ebbc00334 i18n: document txpush, de-bash 2017-08-09 05:35:47 -04:00
Adriaan de Groot
e94ea438fb i18n: extend .desktop tooling-support 2017-08-08 04:11:19 -04:00
Adriaan de Groot
17a6ca2207 i18n: automatic i18n merges are down 2017-08-08 03:20:16 -04:00
Teo Mrnjavac
256a629ece Push all PythonQt module translation catalogs. 2016-12-16 17:03:14 +01:00
Teo Mrnjavac
2fd066794b Transifex push script. 2015-09-25 10:58:25 +02:00