mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-04 00:47:00 +01:00
The app, the tray and the search prompt route every user-visible string through GNU gettext in the `pdfs` text domain, with named placeholders and plural forms. po/ holds the template, update and build scripts, and catalogs for de, en_GB, es, fr, it, nl, pl and pt_BR. Preferences gains a Language row that overrides the system language from the next start (config `language`). Packages compile the catalogs into /usr/share/locale and the desktop files carry translated descriptions and keywords. docs/TRANSLATING.md describes the workflow.
40 lines
1.0 KiB
TOML
40 lines
1.0 KiB
TOML
[package]
|
|
name = "pdfs-gui"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
description = "GTK4 desktop app, tray, and search launcher for the Proton Drive Linux client"
|
|
|
|
[[bin]]
|
|
name = "pdfs-tray"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "pdfs-app"
|
|
path = "src/app/main.rs"
|
|
|
|
[[bin]]
|
|
name = "pdfs-prompt"
|
|
path = "src/prompt.rs"
|
|
|
|
[dependencies]
|
|
pdfs-core.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
anyhow.workspace = true
|
|
tokio.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
ksni = { version = "0.3", features = ["blocking"] }
|
|
gtk4 = { version = "0.11", features = ["v4_12"] }
|
|
adw = { package = "libadwaita", version = "0.9", features = ["v1_5"] }
|
|
async-channel = "2"
|
|
exif = { version = "0.6", package = "kamadak-exif" }
|
|
webkit6 = "0.6"
|
|
# The system libintl (glibc) rather than a bundled gettext build.
|
|
gettext-rs = { version = "0.7", features = ["gettext-system"] }
|