Rename the project to Voelin; packages hold only the app, tsgw is a Linux server package

The product is Voelin (app id io.github.faumaray.Voelin), everywhere:
- crates tsc-* -> voelin-* (and voelin-fuzz), the desktop binary
  tsc-desktop -> voelin, the development CLI tsctl -> voelinctl;
- the Android app: applicationId, Kotlin package io.github.faumaray.voelin,
  VoelinApp, libvoelin_android.so (JNI class names follow);
- TSC_* environment variables -> VOELIN_*, Gradle properties tsc.* ->
  voelin.*, signing secrets VOELIN_SIGNING_*;
- the data/config/cache/state folder tsc -> voelin, the keyring service,
  thread names, the dev compose project;
- desktop file, metainfo, icon, Flatpak manifest, NSIS installer, docs.
The gateway keeps its name: bin tsgw (crate voelin-gateway), TSGW_* env
vars, the tsgw.v1+json protocol, the tsgw image. The window title and the
About page show "Voelin <version>" from voelin_platform::APP_NAME.

Packages (scripts/package.sh): the app only (voelin, voelin.exe, APKs,
Flatpak). voelinctl is a development tool and in no package. tsgw is for
servers and now its own Linux package, tsgw_<v>_amd64.deb and
tsgw-<v>-linux-x86_64.tar.gz, with a sandboxed systemd unit
(packaging/linux/tsgw.service; /etc/tsgw config, /var/lib/tsgw state) and
dependencies of its own (no GUI libraries). docs/gateway-admin.md has an
Install section.

Fixes:
- package-windows: makensis on Windows found no file through "D:/a/..."
  paths; pass Windows paths (cygpath -w).
- StartupWMClass is the app id, which the app sets as its X11 WM_CLASS
  (it was the binary name, so desktops could not match the window).
- Gradle wrapper download timeout 10 s -> 60 s (slow proxies).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
Claude committed 2026-09-26 21:11:17 +00:00
1 parent ca5d203e9d
commit 216e21fec5
197 files changed
+1357 -1210

No files matched your search

+14 -14
View File
@@ -51,14 +51,14 @@ translated sentence; they stay in English.
## Files
```
crates/tsc-ui/lang/
tsc-ui.pot template, generated
de/LC_MESSAGES/tsc-ui.po one directory per language (gettext locale name)
pt_BR/LC_MESSAGES/tsc-ui.po
crates/voelin-ui/lang/
voelin-ui.pot template, generated
de/LC_MESSAGES/voelin-ui.po one directory per language (gettext locale name)
pt_BR/LC_MESSAGES/voelin-ui.po
```
The file name is the translation domain, which is the crate name
(`tsc-ui`); Slint's build looks for `lang/<lang>/LC_MESSAGES/<crate>.po`.
(`voelin-ui`); Slint's build looks for `lang/<lang>/LC_MESSAGES/<crate>.po`.
## Workflow
@@ -68,21 +68,21 @@ MSYS2 or Git for Windows' bundled tools).
```sh
# 1. Extract the template after changing strings
slint-tr-extractor --package-name tsc-ui crates/tsc-ui/ui/*.slint -o crates/tsc-ui/lang/tsc-ui.pot
slint-tr-extractor --package-name voelin-ui crates/voelin-ui/ui/*.slint -o crates/voelin-ui/lang/voelin-ui.pot
# 2. Update every translation (new strings empty, changed ones fuzzy)
for po in crates/tsc-ui/lang/*/LC_MESSAGES/tsc-ui.po; do
msgmerge --update --backup=none "$po" crates/tsc-ui/lang/tsc-ui.pot
for po in crates/voelin-ui/lang/*/LC_MESSAGES/voelin-ui.po; do
msgmerge --update --backup=none "$po" crates/voelin-ui/lang/voelin-ui.pot
done
# 3. Start a new language
mkdir -p crates/tsc-ui/lang/de/LC_MESSAGES
msginit --no-translator --locale=de --input=crates/tsc-ui/lang/tsc-ui.pot \
--output-file=crates/tsc-ui/lang/de/LC_MESSAGES/tsc-ui.po
mkdir -p crates/voelin-ui/lang/de/LC_MESSAGES
msginit --no-translator --locale=de --input=crates/voelin-ui/lang/voelin-ui.pot \
--output-file=crates/voelin-ui/lang/de/LC_MESSAGES/voelin-ui.po
```
Translators edit the `.po` files (Poedit, Lokalize, or a hosted service
such as Weblate pointed at `crates/tsc-ui/lang`). Fuzzy and untranslated
such as Weblate pointed at `crates/voelin-ui/lang`). Fuzzy and untranslated
entries fall back to English. Run the extraction when strings change and
before each release (string freeze, see [release.md](release.md)). The
template carries a creation date and source line numbers, so CI does not
@@ -91,7 +91,7 @@ translatable yet.
## Bundling and language selection
`crates/tsc-ui/build.rs` compiles the translations into the binary:
`crates/voelin-ui/build.rs` compiles the translations into the binary:
```rust
slint_build::compile_with_config(
@@ -113,7 +113,7 @@ calls `slint::select_bundled_translation("de")` after the window has been
created; `""` or `"en"` selects English. Changing it takes effect
immediately for all `@tr` strings.
The desktop app (tsc-ui) and the Android app share the `.slint` files and
The desktop app (voelin-ui) and the Android app share the `.slint` files and
therefore the translations. Texts outside Slint need their own mechanism:
- Android system texts (foreground service notification, permission