From dc389ad4c47edea753e6802d982ab36c1ac3fa79 Mon Sep 17 00:00:00 2001 From: Yousef Alam Date: Fri, 6 Nov 2026 23:21:42 +0000 Subject: [PATCH 1/2] Add a keyboard backlight timeout The EC has no backlight timeout, so frameworkd fakes one. While a timeout is set it opens every keyboard and pointing device, using only when input happened, never what it was. Once idle for the timeout it remembers the current brightness and fades the backlight out over a second; the next input fades it back in over a tenth of a second. Input during the fade-out reverses it straight away. To stay cheap while the keyboard is in use, it doesn't read input as it arrives. Events queue in the kernel, and the daemon only drains them when the timeout would run out, using their timestamps to work out how long it's really been idle. Devices are only registered with the reactor while the backlight is off, so typing causes no wakeups, and nothing is written to disk per idle cycle. Brightness stays with the desktop and Fn+Space: the timeout reads whatever they last set, does nothing if the backlight is already off, and keeps a brighter level set while idle. It goes through the kernel's LED device rather than framework_lib, whose percent/duty rounding would make each restore slightly dimmer. On shutdown the task is stopped before the brightness is put back, so a fade in progress can't undo it. The Input page gets a "Turn off after" checkbox and seconds box, shown when the daemon finds a keyboard backlight. That also fixes the Overview page always reporting no keyboard backlight outside fixture mode. Closes #24 Co-Authored-By: Claude Opus 5.5 --- README.md | 10 +- daemon/Cargo.lock | 67 +++++++++- daemon/Cargo.toml | 5 +- daemon/src/backlight.rs | 287 ++++++++++++++++++++++++++++++++++++++++ daemon/src/main.rs | 45 ++++++- daemon/src/state.rs | 2 + docs/architecture.md | 38 +++++- kcm/frameworkkcm.cpp | 6 + kcm/frameworkkcm.h | 7 +- kcm/ui/InputPage.qml | 31 +++++ 10 files changed, 489 insertions(+), 9 deletions(-) create mode 100644 daemon/src/backlight.rs diff --git a/README.md b/README.md index 63df443..5fb6cf8 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ touchpad settings, and firmware and USB-C port information. command-line tools. - **Thermals:** live temperatures, fan speed and throttling status. Leave the fans on automatic, or fix their speed. -- **Input:** fingerprint reader LED brightness, and haptic touchpad - feedback strength and click force. +- **Input:** fingerprint reader LED brightness, a keyboard backlight timeout, + and haptic touchpad feedback strength and click force. - **System:** model, BIOS, EC and PD controller firmware versions, camera and microphone privacy switches, and what's connected to each USB-C port. @@ -312,7 +312,11 @@ for an administrator password. only one place. - Haptic and click force settings only apply to the haptic touchpads found on the 13 Pro Input Cover. -- Keyboard backlight is left to Plasma, which drives it through `cros_kbd_led_backlight`. +- Keyboard backlight brightness is left to Plasma and Fn+Space. This module + only adds a timeout: it turns the backlight off after a period without + keyboard, touchpad or mouse input, and back on at the brightness it had. To + notice input, the service reads input events, but only keeps the time of + the last one. - USB-C port names follow `framework_tool --pdports`. ## Languages diff --git a/daemon/Cargo.lock b/daemon/Cargo.lock index e71239e..5600e3a 100644 --- a/daemon/Cargo.lock +++ b/daemon/Cargo.lock @@ -128,6 +128,18 @@ version = "2.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" +[[package]] +name = "bitvec" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddcec3d12c579d40898fe0a9a358a803c23e9c52ca3c425707f81c9436211837" +dependencies = [ + "funty", + "radium", + "tap", + "wyz", +] + [[package]] name = "block-buffer" version = "0.10.4" @@ -421,6 +433,18 @@ dependencies = [ "windows-sys 0.61.2", ] +[[package]] +name = "evdev" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25b686663ba7f08d92880ff6ba22170f1df4e83629341cba34cf82cd65ebea99" +dependencies = [ + "bitvec", + "cfg-if", + "libc", + "nix 0.29.0", +] + [[package]] name = "event-listener" version = "5.4.2" @@ -471,7 +495,7 @@ dependencies = [ "lazy_static", "libc", "log", - "nix", + "nix 0.30.1", "no-std-compat", "num", "num-derive", @@ -499,7 +523,9 @@ dependencies = [ "clap", "dmidecode", "env_logger", + "evdev", "framework_lib", + "libc", "log", "serde", "serde_json", @@ -508,6 +534,12 @@ dependencies = [ "zbus_polkit", ] +[[package]] +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + [[package]] name = "futures" version = "0.3.34" @@ -893,6 +925,18 @@ dependencies = [ "windows-sys 0.61.2", ] +[[package]] +name = "nix" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" +dependencies = [ + "bitflags 2.13.2", + "cfg-if", + "cfg_aliases", + "libc", +] + [[package]] name = "nix" version = "0.30.1" @@ -1111,6 +1155,12 @@ version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" +[[package]] +name = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" + [[package]] name = "rand" version = "0.9.5" @@ -1361,6 +1411,12 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "tap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" + [[package]] name = "tempfile" version = "3.27.0" @@ -1910,6 +1966,15 @@ dependencies = [ "windows-core", ] +[[package]] +name = "wyz" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +dependencies = [ + "tap", +] + [[package]] name = "zbus" version = "5.19.0" diff --git a/daemon/Cargo.toml b/daemon/Cargo.toml index a6943cc..668de3f 100644 --- a/daemon/Cargo.toml +++ b/daemon/Cargo.toml @@ -13,7 +13,10 @@ zbus = { version = "5", default-features = false, features = ["tokio"] } zbus_polkit = { version = "5", default-features = false, features = ["tokio"] } # For ValueEnum::from_str on framework_lib's argument enums; same version it uses clap = "4" -tokio = { version = "1", features = ["rt-multi-thread", "macros", "signal"] } +tokio = { version = "1", features = ["rt-multi-thread", "macros", "signal", "sync", "time", "net"] } +# Watching input devices for the keyboard backlight timeout +evdev = "0.13" +libc = "0.2" serde = { version = "1", features = ["derive"] } serde_json = "1" log = "0.4" diff --git a/daemon/src/backlight.rs b/daemon/src/backlight.rs new file mode 100644 index 0000000..e15629d --- /dev/null +++ b/daemon/src/backlight.rs @@ -0,0 +1,287 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +//! Keyboard backlight timeout. The EC doesn't have one, so we fake it: watch +//! keyboards and pointing devices for activity, fade the backlight out once +//! they've been idle for the timeout, and fade back in the brightness it had +//! on the next input. Input during the fade-out brings it straight back. +//! +//! The desktop and Fn+Space stay in charge of the brightness. We read +//! whatever they last set when going idle, and leave the backlight alone if +//! it was already off or got turned up while idle. +//! +//! To cost next to nothing while the keyboard is in use, we don't read input +//! as it arrives. Events queue up in the kernel, and we only look at them when +//! the timeout would run out, using their timestamps to see how long it's +//! really been. Only while the backlight is off do we wait on input directly. +//! Only when input happened is used, never what it was. + +use std::collections::{HashMap, HashSet}; +use std::fs::OpenOptions; +use std::future::poll_fn; +use std::io; +use std::ops::RangeInclusive; +use std::os::unix::fs::OpenOptionsExt; +use std::path::{Path, PathBuf}; +use std::task::Poll; +use std::time::{Duration, SystemTime}; + +use evdev::raw_stream::RawDevice; +use evdev::KeyCode; +use tokio::io::unix::AsyncFd; +use tokio::sync::watch; +use tokio::time::Instant; + +use crate::{blocking, lock, restore, Daemon, Error}; + +/// Accepted timeouts in seconds; 0 turns the timeout off +pub const TIMEOUT_RANGE: RangeInclusive = 5..=3600; + +/// Going idle fades out gently; input brings it back almost at once +const FADE_OUT: Duration = Duration::from_millis(1000); +const FADE_IN: Duration = Duration::from_millis(100); +/// Most brightness writes per fade +const FADE_STEPS: u32 = 20; + +/// The LED the kernel's cros_kbd_led_backlight driver registers. Going through +/// it rather than framework_lib's PWM calls keeps the exact level: those +/// round percent to duty and back down, so restoring would creep darker. +fn led() -> Option { + std::fs::read_dir("/sys/class/leds") + .ok()? + .flatten() + .map(|e| e.path()) + .find(|p| { + p.file_name() + .is_some_and(|n| n.to_string_lossy().ends_with("::kbd_backlight")) + }) +} + +pub fn supported() -> bool { + led().is_some() +} + +async fn read_brightness(led: &Path) -> Result { + let path = led.join("brightness"); + blocking(move || { + std::fs::read_to_string(&path) + .map_err(|e| e.to_string())? + .trim() + .parse::() + .map_err(|e| e.to_string()) + }) + .await +} + +async fn write_brightness(led: &Path, value: u32) -> Result<(), Error> { + let path = led.join("brightness"); + blocking(move || std::fs::write(&path, value.to_string()).map_err(|e| e.to_string())).await +} + +/// Step the brightness from `from` to `to` over `duration`. Stops early once +/// `interrupt` returns true; returns whether it did. +async fn fade( + led: &Path, + from: u32, + to: u32, + duration: Duration, + mut interrupt: impl FnMut() -> bool, +) -> Result { + let steps = from.abs_diff(to).clamp(1, FADE_STEPS); + for step in 1..=steps { + if interrupt() { + return Ok(true); + } + let moved = from.abs_diff(to) * step / steps; + let level = if to > from { + from + moved + } else { + from - moved + }; + write_brightness(led, level).await?; + if step < steps { + tokio::time::sleep(duration / steps).await; + } + } + Ok(false) +} + +/// Apply the timeout setting (seconds, 0 = off). Runs until main aborts it. +pub async fn run(daemon: Daemon) { + let mut setting = daemon.0.backlight_timeout.subscribe(); + loop { + let secs = *setting.borrow_and_update(); + if secs == 0 { + // The sender lives in the daemon, so this can't fail + let _ = setting.changed().await; + } else { + idle_loop(&daemon, Duration::from_secs(secs.into()), &mut setting).await; + } + wake(&daemon).await; + } +} + +/// Turn the backlight off when idle and on with activity until the setting +/// changes. +async fn idle_loop(daemon: &Daemon, timeout: Duration, setting: &mut watch::Receiver) { + let mut inputs = Inputs::default(); + inputs.rescan(); + let mut deadline = Instant::now() + timeout; + loop { + tokio::select! { + _ = setting.changed() => return, + () = tokio::time::sleep_until(deadline) => {} + } + inputs.rescan(); + // Input since the last look: wait out the rest of the timeout from it + let left = inputs.drain().and_then(|last| { + timeout.checked_sub(SystemTime::now().duration_since(last).unwrap_or_default()) + }); + if let Some(left) = left { + deadline = Instant::now() + left; + continue; + } + + let interrupted = turn_off(daemon, &mut inputs).await.unwrap_or_else(|e| { + log::warn!("Failed to turn off keyboard backlight: {e:?}"); + false + }); + if !interrupted { + tokio::select! { + _ = setting.changed() => return, + () = inputs.wait() => {} + } + inputs.drain(); + } + wake(daemon).await; + deadline = Instant::now() + timeout; + } +} + +/// Fade the backlight out, remembering its brightness for wake(). Returns +/// whether input cut the fade short. +async fn turn_off(daemon: &Daemon, inputs: &mut Inputs) -> Result { + let Some(led) = led() else { + return Ok(false); + }; + let level = read_brightness(&led).await?; + if level == 0 { + return Ok(false); + } + // Remembered first so wake() still brings it back if the fade fails or + // the daemon stops partway + *lock(&daemon.0.backlight_restore) = Some(level); + fade(&led, level, 0, FADE_OUT, || inputs.drain().is_some()).await +} + +/// Put back the brightness the timeout turned off, if it did. +pub async fn wake(daemon: &Daemon) { + let Some(level) = lock(&daemon.0.backlight_restore).take() else { + return; + }; + let Some(led) = led() else { + return; + }; + restore("keyboard backlight", async { + // From wherever it got to if a fade was cut short. If the desktop or + // Fn+Space turned it up while idle, theirs is kept. + let now = read_brightness(&led).await?; + if now < level { + fade(&led, now, level, FADE_IN, || false).await?; + } + Ok(()) + }) + .await; +} + +/// Keyboards and pointing devices, opened non-blocking so their queued +/// events can be read without waiting. +#[derive(Default)] +struct Inputs { + devices: HashMap, + /// Devices looked at and skipped + skipped: HashSet, +} + +impl Inputs { + /// Pick up devices plugged in since the last look. + fn rescan(&mut self) { + let paths = event_devices(); + self.devices.retain(|p, _| paths.contains(p)); + self.skipped.retain(|p| paths.contains(p)); + for path in paths { + if self.devices.contains_key(&path) || self.skipped.contains(&path) { + continue; + } + if let Some(dev) = open(&path) { + self.devices.insert(path, dev); + } else { + self.skipped.insert(path); + } + } + } + + /// Read everything queued; returns when the newest event happened. + fn drain(&mut self) -> Option { + let mut newest = None; + self.devices.retain(|_, dev| loop { + match dev.fetch_events() { + Ok(events) => newest = events.map(|e| e.timestamp()).chain(newest).max(), + Err(e) if e.kind() == io::ErrorKind::WouldBlock => break true, + // Unplugged + Err(_) => break false, + } + }); + newest + } + + /// Wait until any device has input queued, without reading it. + async fn wait(&mut self) { + // Registered with the reactor only while waiting, so input at other + // times doesn't wake us + let fds: Vec<_> = self + .devices + .drain() + .filter_map(|(path, dev)| AsyncFd::new(dev).ok().map(|fd| (path, fd))) + .collect(); + poll_fn(|cx| { + if fds.iter().any(|(_, fd)| fd.poll_read_ready(cx).is_ready()) { + Poll::Ready(()) + } else { + Poll::Pending + } + }) + .await; + self.devices = fds + .into_iter() + .map(|(path, fd)| (path, fd.into_inner())) + .collect(); + } +} + +fn event_devices() -> HashSet { + std::fs::read_dir("/dev/input") + .into_iter() + .flatten() + .flatten() + .map(|e| e.path()) + .filter(|p| { + p.file_name() + .is_some_and(|n| n.to_string_lossy().starts_with("event")) + }) + .collect() +} + +/// Open a device if it's a keyboard or pointer. Power buttons, lid switches +/// and sensors don't mean someone is at the keyboard. +fn open(path: &Path) -> Option { + let file = OpenOptions::new() + .read(true) + .custom_flags(libc::O_NONBLOCK) + .open(path) + .ok()?; + let dev = RawDevice::from_fd(file.into()).ok()?; + let keys = dev.supported_keys()?; + [KeyCode::KEY_SPACE, KeyCode::BTN_LEFT, KeyCode::BTN_TOUCH] + .into_iter() + .any(|k| keys.contains(k)) + .then_some(dev) +} diff --git a/daemon/src/main.rs b/daemon/src/main.rs index 457196c..f232756 100644 --- a/daemon/src/main.rs +++ b/daemon/src/main.rs @@ -4,6 +4,7 @@ //! Reads are unrestricted, writes are gated by polkit actions //! (see data/io.github.frameworkkcm.policy). +mod backlight; mod ec; mod polkit; mod state; @@ -12,6 +13,7 @@ use std::future::Future; use std::sync::{Arc, Mutex, MutexGuard}; use framework_lib::chromium_ec::CrosEc; +use tokio::sync::watch; use zbus::message::Header; use zbus::Connection; @@ -42,6 +44,10 @@ struct Inner { ec: Mutex, state: Mutex, fan: Mutex, + /// Keyboard backlight timeout in seconds (0 = off), for the backlight task + backlight_timeout: watch::Sender, + /// Brightness the backlight timeout turned off, to put back on input + backlight_restore: Mutex>, } #[derive(Clone)] @@ -54,10 +60,14 @@ fn lock(m: &Mutex) -> MutexGuard<'_, T> { impl Daemon { fn new() -> Self { + let state = State::load(); + let timeout = state.kbd_backlight_timeout.unwrap_or(0); Daemon(Arc::new(Inner { ec: Mutex::new(CrosEc::new()), - state: Mutex::new(State::load()), + state: Mutex::new(state), fan: Mutex::new(FanControl::Auto), + backlight_timeout: watch::Sender::new(timeout), + backlight_restore: Mutex::new(None), })) } @@ -240,6 +250,8 @@ impl Daemon { "fpLedLevel" => fp_level, "hapticIntensity" => state.haptic_intensity.map(|v| v as i32).unwrap_or(-1), "clickForce" => state.click_force.unwrap_or_default(), + "kbdBacklightSupported" => backlight::supported(), + "kbdBacklightTimeout" => state.kbd_backlight_timeout.unwrap_or(0) as i32, }) } @@ -409,6 +421,32 @@ impl Daemon { self.update_state(|s| s.click_force = Some(force)); Ok(()) } + + /// Turn the keyboard backlight off after `seconds` without input; 0 never does. + async fn set_keyboard_backlight_timeout( + &self, + #[zbus(header)] hdr: Header<'_>, + #[zbus(connection)] conn: &Connection, + seconds: i32, + ) -> Result<(), Error> { + self.authorize(conn, &hdr, polkit::ACTION_INPUT).await?; + let seconds = u32::try_from(seconds).unwrap_or(u32::MAX); + if seconds != 0 { + if !backlight::TIMEOUT_RANGE.contains(&seconds) { + return Err(Error::Failed(format!( + "Timeout must be between {} and {} seconds", + backlight::TIMEOUT_RANGE.start(), + backlight::TIMEOUT_RANGE.end() + ))); + } + if !backlight::supported() { + return Err(Error::Failed("No keyboard backlight found".into())); + } + } + self.update_state(|s| s.kbd_backlight_timeout = Some(seconds)); + self.0.backlight_timeout.send_replace(seconds); + Ok(()) + } } #[tokio::main] @@ -430,6 +468,7 @@ async fn main() -> Result<(), Box> { let daemon = daemon.clone(); async move { daemon.reapply().await } }); + let backlight = tokio::spawn(backlight::run(daemon.clone())); let mut term = tokio::signal::unix::signal(tokio::signal::unix::SignalKind::terminate())?; tokio::select! { @@ -438,5 +477,9 @@ async fn main() -> Result<(), Box> { } daemon.restore_auto_fan().await; + // Stop a fade in progress before putting the brightness back + backlight.abort(); + let _ = backlight.await; + backlight::wake(&daemon).await; Ok(()) } diff --git a/daemon/src/state.rs b/daemon/src/state.rs index 0c7154a..2f5fd00 100644 --- a/daemon/src/state.rs +++ b/daemon/src/state.rs @@ -23,6 +23,8 @@ pub struct State { pub click_force: Option, /// Charge limit temporarily raised to 100% until the next boot pub charge_limit_override: Option, + /// Seconds without input before the keyboard backlight turns off (0 = never) + pub kbd_backlight_timeout: Option, } #[derive(Debug, Clone, Serialize, Deserialize)] diff --git a/docs/architecture.md b/docs/architecture.md index 961063d..dce27f8 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -28,7 +28,7 @@ Anyone can call the read methods. Every write first checks with polkit |---|---|---|---| | `io.github.frameworkkcm.battery` | charge limit, override, charge rate | allowed | admin password | | `io.github.frameworkkcm.fan` | fan duty, RPM, automatic | admin password, remembered for about 5 minutes | admin password | -| `io.github.frameworkkcm.input` | fingerprint LED, touchpad haptics and click force | allowed | admin password | +| `io.github.frameworkkcm.input` | fingerprint LED, touchpad haptics and click force, keyboard backlight timeout | allowed | admin password | ## Remembered settings @@ -42,6 +42,8 @@ That's why the systemd unit is worth enabling at boot. While an override from the current boot is active, the saved charge limit isn't applied, so the EC stays at 100%. +The keyboard backlight timeout is saved there too. + Fan mode is only kept in memory. When the daemon exits, it hands the fans back to automatic control. @@ -57,6 +59,37 @@ While the override is active, `GetChargeSettings` reports the saved limit as override ends early if you call `CancelChargeLimitOverride` or set a new limit with `SetChargeLimit`. +## Keyboard backlight timeout + +The EC has no backlight timeout, so the daemon fakes one. While a timeout is +set, it opens every keyboard and pointing device in `/dev/input` (anything +with Space, a left button or touch; not power buttons, lid switches or +sensors). Only the time of the last event is used, never which key or where. + +To stay cheap while the keyboard is in use, it doesn't read input as it +arrives. Events queue in the kernel, and the daemon only reads them when the +timeout would run out, using their timestamps to work out when the last one +happened. That's also when it picks up newly plugged-in devices. Only while +the backlight is off does it wait on input directly. + +Once nothing has happened for the timeout, it reads the backlight's current +brightness, remembers it in memory and fades the backlight out over a second. On the next +input it fades that brightness back in over a tenth of a second. Input during +the fade-out reverses it straight away. The desktop and Fn+Space stay in +charge of the brightness, so: + +- if the backlight is already off at the timeout, nothing changes +- if it was turned back on while idle, that brightness is kept + +Brightness goes through the kernel's LED device +(`/sys/class/leds/*::kbd_backlight`), the same one the desktop uses, rather +than framework_lib. framework_lib rounds the level down each time it converts, +so restoring through it would leave the backlight slightly dimmer each time. +If the daemon stops or restarts while the backlight is off, it restores the +remembered brightness first. The brightness isn't written to disk, so after a +crash the backlight stays off until it's changed from the desktop or with +Fn+Space. + ## D-Bus API Interface `io.github.frameworkkcm.Daemon1`. Values are plain `a{sv}` @@ -74,7 +107,7 @@ the user's language. | `GetChargeSettings()` | `a{sv}`: `maxLimit`, `overrideActive`, `rateLimit`, `rateLimitSoc` | | `GetThermal()` | `(aa{sv} sensors, aa{sv} fans, a{sv} throttle)` | | `GetFanControl()` | `a{sv}`: `mode` (`auto`, `duty`, `rpm`) and `value` | -| `GetInput()` | `a{sv}`: fingerprint LED level, last haptic intensity and click force | +| `GetInput()` | `a{sv}`: fingerprint LED level, last haptic intensity and click force, `kbdBacklightSupported`, `kbdBacklightTimeout` (seconds, 0 = off) | | `GetPorts()` | `aa{sv}`: one entry per USB-C port with `position`, `role`, `chargingType`, power readings | Property `Version` (`s`) is the daemon version. @@ -93,6 +126,7 @@ Property `Version` (`s`) is the daemon version. | `SetFpLedLevel(s level)` | input; `high`, `medium`, `low`, `ultra-low`, `auto` | | `SetHapticIntensity(i value)` | input; 0, 25, 50, 75 or 100 | | `SetClickForce(s force)` | input; `low`, `medium`, `high` | +| `SetKeyboardBacklightTimeout(i seconds)` | input; 5–3600, or 0 to turn the timeout off | Errors are `io.github.frameworkkcm.Error.NotAuthorized` and `io.github.frameworkkcm.Error.Failed`. diff --git a/kcm/frameworkkcm.cpp b/kcm/frameworkkcm.cpp index 5bd4469..16dc802 100644 --- a/kcm/frameworkkcm.cpp +++ b/kcm/frameworkkcm.cpp @@ -444,10 +444,12 @@ void FrameworkKcm::loadSettings() { [this](const QDBusMessage &reply) { const auto map = replyArg(reply, 0).toMap(); m_fpLedSupported = map.value(u"fpLedSupported"_s).toBool(); + m_supportsKeyboardBacklight = map.value(u"kbdBacklightSupported"_s).toBool(); Q_EMIT supportChanged(); syncSetting(&FrameworkSettings::fpLedLevel, map.value(u"fpLedLevel"_s).toString()); syncSetting(&FrameworkSettings::hapticIntensity, map.value(u"hapticIntensity"_s).toInt()); syncSetting(&FrameworkSettings::clickForce, map.value(u"clickForce"_s).toString()); + syncSetting(&FrameworkSettings::kbdBacklightTimeout, map.value(u"kbdBacklightTimeout"_s).toInt()); settingsEdited(); }, onError); @@ -568,6 +570,9 @@ void FrameworkKcm::save() { if (c.clickForce != s.clickForce && !c.clickForce.isEmpty()) { m_writeQueue.append({u"SetClickForce"_s, {c.clickForce}}); } + if (c.kbdBacklightTimeout != s.kbdBacklightTimeout) { + m_writeQueue.append({u"SetKeyboardBacklightTimeout"_s, {c.kbdBacklightTimeout}}); + } clearError(); runNextWrite(); @@ -668,6 +673,7 @@ SETTER(FanRpm, fanRpm, int) SETTER(FpLedLevel, fpLedLevel, const QString &) SETTER(HapticIntensity, hapticIntensity, int) SETTER(ClickForce, clickForce, const QString &) +SETTER(KbdBacklightTimeout, kbdBacklightTimeout, int) #undef SETTER diff --git a/kcm/frameworkkcm.h b/kcm/frameworkkcm.h index 85236da..d0b0d6f 100644 --- a/kcm/frameworkkcm.h +++ b/kcm/frameworkkcm.h @@ -27,6 +27,7 @@ struct FrameworkSettings { QString fpLedLevel; int hapticIntensity = -1; // -1: never set, the touchpad can't report it QString clickForce; + int kbdBacklightTimeout = 0; // seconds without input before the keyboard backlight turns off; 0: never bool operator==(const FrameworkSettings &) const = default; }; @@ -48,7 +49,7 @@ class FrameworkKcm : public KQuickConfigModule { Q_PROPERTY(bool fixtureMode READ fixtureMode CONSTANT) Q_PROPERTY(QString fixtureModel READ fixtureModel NOTIFY fixtureChanged) Q_PROPERTY(QVariantList fixtureModels READ fixtureModels CONSTANT) - Q_PROPERTY(bool supportsKeyboardBacklight READ supportsKeyboardBacklight NOTIFY fixtureChanged) + Q_PROPERTY(bool supportsKeyboardBacklight READ supportsKeyboardBacklight NOTIFY supportChanged) Q_PROPERTY(bool supportsInputDeck READ supportsInputDeck NOTIFY fixtureChanged) Q_PROPERTY(bool supportsTabletMode READ supportsTabletMode NOTIFY fixtureChanged) Q_PROPERTY(bool supportsTouchscreen READ supportsTouchscreen NOTIFY fixtureChanged) @@ -82,6 +83,7 @@ class FrameworkKcm : public KQuickConfigModule { Q_PROPERTY(QString fpLedLevel READ fpLedLevel WRITE setFpLedLevel NOTIFY settingsChanged) Q_PROPERTY(int hapticIntensity READ hapticIntensity WRITE setHapticIntensity NOTIFY settingsChanged) Q_PROPERTY(QString clickForce READ clickForce WRITE setClickForce NOTIFY settingsChanged) + Q_PROPERTY(int kbdBacklightTimeout READ kbdBacklightTimeout WRITE setKbdBacklightTimeout NOTIFY settingsChanged) public: #ifdef FRAMEWORK_STANDALONE @@ -139,6 +141,7 @@ class FrameworkKcm : public KQuickConfigModule { [[nodiscard]] QString fpLedLevel() const { return m_current.fpLedLevel; } [[nodiscard]] int hapticIntensity() const { return m_current.hapticIntensity; } [[nodiscard]] QString clickForce() const { return m_current.clickForce; } + [[nodiscard]] int kbdBacklightTimeout() const { return m_current.kbdBacklightTimeout; } void setChargeLimit(int value); @@ -158,6 +161,8 @@ class FrameworkKcm : public KQuickConfigModule { void setClickForce(const QString &value); + void setKbdBacklightTimeout(int value); + Q_INVOKABLE void clearError(); // Re-read everything from frameworkd, keeping unsaved edits diff --git a/kcm/ui/InputPage.qml b/kcm/ui/InputPage.qml index 6070715..bea7de1 100644 --- a/kcm/ui/InputPage.qml +++ b/kcm/ui/InputPage.qml @@ -1,6 +1,8 @@ // SPDX-License-Identifier: GPL-3.0-or-later import QtQuick +import QtQuick.Controls as QQC2 +import QtQuick.Layouts import org.kde.kirigami as Kirigami @@ -24,6 +26,35 @@ Kirigami.FormLayout { ] } + RowLayout { + id: kbdTimeoutRow + // Seconds offered when the timeout is first turned on + readonly property int defaultTimeout: 30 + + Kirigami.FormData.label: i18n("Keyboard backlight:") + visible: kcm.supportsKeyboardBacklight + QQC2.CheckBox { + id: kbdTimeoutCheck + text: i18n("Turn off after:") + checked: kcm.kbdBacklightTimeout > 0 + onToggled: kcm.kbdBacklightTimeout = checked ? kbdTimeoutRow.defaultTimeout : 0 + } + QQC2.SpinBox { + enabled: kbdTimeoutCheck.checked + from: 5 + to: 3600 + stepSize: 5 + value: kcm.kbdBacklightTimeout > 0 ? kcm.kbdBacklightTimeout : kbdTimeoutRow.defaultTimeout + onValueModified: kcm.kbdBacklightTimeout = value + textFromValue: (v) => i18ncp("keyboard backlight timeout", "%1 second", "%1 seconds", v) + } + } + + HintLabel { + visible: kcm.supportsKeyboardBacklight && kbdTimeoutCheck.checked + text: i18n("Set the brightness as usual from the desktop or with Fn+Space.") + } + Item { Kirigami.FormData.isSection: true Kirigami.FormData.label: i18n("Haptic Touchpad") From 19ef83df778e63a4d121b1de90d1407a18ba75b9 Mon Sep 17 00:00:00 2001 From: Yousef Alam Date: Fri, 6 Nov 2026 23:21:42 +0000 Subject: [PATCH 2/2] i18n: translate the keyboard backlight timeout strings Regenerate the catalogs and add German, Spanish, French and Dutch translations (machine translated, like the rest). This is the first plural string, so each catalog also gets its Plural-Forms header, without which msgfmt rejects it. Co-Authored-By: Claude Opus 5.5 --- po/de/kcm_framework.po | 209 ++++++++++++++++++++++++----------------- po/es/kcm_framework.po | 209 ++++++++++++++++++++++++----------------- po/fr/kcm_framework.po | 209 ++++++++++++++++++++++++----------------- po/kcm_framework.pot | 198 +++++++++++++++++++++----------------- po/nl/kcm_framework.po | 209 ++++++++++++++++++++++++----------------- 5 files changed, 599 insertions(+), 435 deletions(-) diff --git a/po/de/kcm_framework.po b/po/de/kcm_framework.po index 8264eaa..97df7c5 100644 --- a/po/de/kcm_framework.po +++ b/po/de/kcm_framework.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: framework-kcm\n" "Report-Msgid-Bugs-To: github-viral8565@pxdmail.com\n" -"POT-Creation-Date: 2026-10-31 19:52+0000\n" +"POT-Creation-Date: 2026-11-06 23:43+0000\n" "PO-Revision-Date: 2026-10-31 19:45+0000\n" "Last-Translator: Machine translation (Claude), needs review\n" "Language-Team: German\n" @@ -14,43 +14,44 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: gui/Main.qml:16 gui/Main.qml:48 +#: gui/Main.qml:16 gui/Main.qml:47 #, kde-format msgid "Framework Settings" msgstr "Framework-Einstellungen" -#: gui/Main.qml:51 +#: gui/Main.qml:50 #, kde-format msgid "Manage charging, cooling, and input hardware." msgstr "Laden, Kühlung und Eingabegeräte verwalten." -#: gui/Main.qml:96 +#: gui/Main.qml:95 #, kde-format msgid "Applying settings…" msgstr "Einstellungen werden angewendet …" -#: gui/Main.qml:96 +#: gui/Main.qml:95 #, kde-format msgid "Changes not applied" msgstr "Änderungen nicht angewendet" -#: gui/Main.qml:99 +#: gui/Main.qml:98 #, kde-format msgid "Defaults" msgstr "Standard" -#: gui/Main.qml:104 +#: gui/Main.qml:103 #, kde-format msgid "Apply" msgstr "Anwenden" -#: gui/Main.qml:116 +#: gui/Main.qml:115 #, kde-format msgid "Unsaved changes" msgstr "Nicht gespeicherte Änderungen" -#: gui/Main.qml:120 +#: gui/Main.qml:119 #, kde-format msgid "" "Settings are being applied. Wait for the operation to finish before closing." @@ -58,204 +59,204 @@ msgstr "" "Die Einstellungen werden angewendet. Warten Sie, bis der Vorgang " "abgeschlossen ist, bevor Sie schließen." -#: gui/Main.qml:121 +#: gui/Main.qml:120 #, kde-format msgid "You have unsaved settings or schedule changes. Discard them and close?" msgstr "" "Es gibt nicht gespeicherte Einstellungen oder Zeitplanänderungen. Verwerfen " "und schließen?" -#: gui/Main.qml:127 +#: gui/Main.qml:126 #, kde-format msgid "Cancel" msgstr "Abbrechen" -#: gui/Main.qml:135 +#: gui/Main.qml:134 #, kde-format msgid "Discard and close" msgstr "Verwerfen und schließen" -#: kcm/frameworkkcm.cpp:232 kcm/frameworkkcm.cpp:314 +#: kcm/frameworkkcm.cpp:249 kcm/frameworkkcm.cpp:331 #, kde-format msgid "Framework Laptop 12" msgstr "Framework Laptop 12" -#: kcm/frameworkkcm.cpp:233 kcm/frameworkkcm.cpp:316 +#: kcm/frameworkkcm.cpp:250 kcm/frameworkkcm.cpp:333 #, kde-format msgid "Framework Laptop 12 (2nd Gen)" msgstr "Framework Laptop 12 (2. Generation)" -#: kcm/frameworkkcm.cpp:234 kcm/frameworkkcm.cpp:318 +#: kcm/frameworkkcm.cpp:251 kcm/frameworkkcm.cpp:335 #, kde-format msgid "Framework Laptop 13" msgstr "Framework Laptop 13" -#: kcm/frameworkkcm.cpp:235 kcm/frameworkkcm.cpp:320 +#: kcm/frameworkkcm.cpp:252 kcm/frameworkkcm.cpp:337 #, kde-format msgid "Framework Laptop 13 Pro" msgstr "Framework Laptop 13 Pro" -#: kcm/frameworkkcm.cpp:241 +#: kcm/frameworkkcm.cpp:258 #, kde-format msgctxt "temperature sensor" msgid "CPU" msgstr "CPU" -#: kcm/frameworkkcm.cpp:243 +#: kcm/frameworkkcm.cpp:260 #, kde-format msgctxt "temperature sensor on the mainboard next to the CPU" msgid "Near CPU" msgstr "Nahe CPU" -#: kcm/frameworkkcm.cpp:245 +#: kcm/frameworkkcm.cpp:262 #, kde-format msgctxt "temperature sensor" msgid "Memory" msgstr "Speicher" -#: kcm/frameworkkcm.cpp:247 +#: kcm/frameworkkcm.cpp:264 #, kde-format msgctxt "temperature sensor" msgid "Mainboard" msgstr "Mainboard" -#: kcm/frameworkkcm.cpp:249 +#: kcm/frameworkkcm.cpp:266 #, kde-format msgctxt "temperature sensor" msgid "Battery" msgstr "Akku" -#: kcm/frameworkkcm.cpp:251 +#: kcm/frameworkkcm.cpp:268 #, kde-format msgctxt "temperature sensor" msgid "Charger" msgstr "Ladegerät" -#: kcm/frameworkkcm.cpp:253 +#: kcm/frameworkkcm.cpp:270 #, kde-format msgctxt "temperature sensor on the case surface" msgid "Chassis" msgstr "Gehäuse" -#: kcm/frameworkkcm.cpp:255 +#: kcm/frameworkkcm.cpp:272 #, kde-format msgctxt "temperature sensor" msgid "SSD" msgstr "SSD" -#: kcm/frameworkkcm.cpp:257 +#: kcm/frameworkkcm.cpp:274 #, kde-format msgctxt "temperature sensor" msgid "GPU" msgstr "GPU" -#: kcm/frameworkkcm.cpp:259 +#: kcm/frameworkkcm.cpp:276 #, kde-format msgctxt "temperature sensor" msgid "Wi-Fi" msgstr "WLAN" -#: kcm/frameworkkcm.cpp:265 +#: kcm/frameworkkcm.cpp:282 #, kde-format msgctxt "temperature sensor state" msgid "Off" msgstr "Aus" -#: kcm/frameworkkcm.cpp:267 +#: kcm/frameworkkcm.cpp:284 #, kde-format msgctxt "temperature sensor state" msgid "Not calibrated" msgstr "Nicht kalibriert" -#: kcm/frameworkkcm.cpp:268 +#: kcm/frameworkkcm.cpp:285 #, kde-format msgctxt "temperature sensor state" msgid "Error" msgstr "Fehler" -#: kcm/frameworkkcm.cpp:273 +#: kcm/frameworkkcm.cpp:290 #, kde-format msgctxt "fan cooling the processor" msgid "CPU fan" msgstr "CPU-Lüfter" -#: kcm/frameworkkcm.cpp:275 +#: kcm/frameworkkcm.cpp:292 #, kde-format msgid "Left fan" msgstr "Linker Lüfter" -#: kcm/frameworkkcm.cpp:277 +#: kcm/frameworkkcm.cpp:294 #, kde-format msgid "Right fan" msgstr "Rechter Lüfter" -#: kcm/frameworkkcm.cpp:279 +#: kcm/frameworkkcm.cpp:296 #, kde-format msgid "Front fan" msgstr "Vorderer Lüfter" -#: kcm/frameworkkcm.cpp:281 +#: kcm/frameworkkcm.cpp:298 #, kde-format msgid "Third fan" msgstr "Dritter Lüfter" -#: kcm/frameworkkcm.cpp:602 +#: kcm/frameworkkcm.cpp:633 #, kde-format msgid "You are not authorized to change this setting." msgstr "Sie sind nicht berechtigt, diese Einstellung zu ändern." -#: kcm/frameworkkcm.cpp:604 +#: kcm/frameworkkcm.cpp:635 #, kde-format msgid "The Framework hardware service is not running." msgstr "Der Framework-Hardwaredienst läuft nicht." -#: kcm/frameworkkcm.cpp:697 +#: kcm/frameworkkcm.cpp:739 #, kde-format msgid "Add at least one schedule." msgstr "Fügen Sie mindestens einen Zeitplan hinzu." -#: kcm/frameworkkcm.cpp:705 +#: kcm/frameworkkcm.cpp:747 #, kde-format msgid "Each schedule needs at least one day and a valid time in HH:MM format." msgstr "" "Jeder Zeitplan braucht mindestens einen Tag und eine gültige Uhrzeit im " "Format HH:MM." -#: kcm/frameworkkcm.cpp:712 +#: kcm/frameworkkcm.cpp:754 #, kde-format msgid "Each schedule must use unique weekdays." msgstr "Jeder Zeitplan muss eindeutige Wochentage verwenden." -#: kcm/frameworkkcm.cpp:718 +#: kcm/frameworkkcm.cpp:760 #, kde-format msgid "The same weekday and time cannot be scheduled more than once." msgstr "" "Derselbe Wochentag und dieselbe Uhrzeit können nicht mehrfach eingeplant " "werden." -#: kcm/frameworkkcm.cpp:736 kcm/frameworkkcm.cpp:753 +#: kcm/frameworkkcm.cpp:778 kcm/frameworkkcm.cpp:795 #, kde-format msgid "Could not save the charge schedule configuration." msgstr "Die Konfiguration des Ladezeitplans konnte nicht gespeichert werden." -#: kcm/frameworkkcm.cpp:766 +#: kcm/frameworkkcm.cpp:808 #, kde-format msgid "Could not create the user systemd configuration directory." msgstr "" "Das systemd-Konfigurationsverzeichnis des Benutzers konnte nicht erstellt " "werden." -#: kcm/frameworkkcm.cpp:776 +#: kcm/frameworkkcm.cpp:818 #, kde-format msgid "The user systemd manager did not respond." msgstr "Der systemd-Benutzermanager hat nicht geantwortet." -#: kcm/frameworkkcm.cpp:784 +#: kcm/frameworkkcm.cpp:826 #, kde-format msgid "Could not update the user systemd schedule." msgstr "Der systemd-Zeitplan des Benutzers konnte nicht aktualisiert werden." -#: kcm/frameworkkcm.cpp:799 +#: kcm/frameworkkcm.cpp:841 #, kde-format msgid "" "The Framework System command-line tools were not found. Install framework-" @@ -264,7 +265,7 @@ msgstr "" "Die Befehlszeilenwerkzeuge von Framework System wurden nicht gefunden. " "Installieren Sie framework-system, um Ladezeitpläne zu verwenden." -#: kcm/frameworkkcm.cpp:832 kcm/frameworkkcm.cpp:846 +#: kcm/frameworkkcm.cpp:874 kcm/frameworkkcm.cpp:888 #, kde-format msgid "Could not write the user systemd schedule." msgstr "Der systemd-Zeitplan des Benutzers konnte nicht geschrieben werden." @@ -275,8 +276,8 @@ msgid "Battery:" msgstr "Akku:" #: kcm/ui/BatteryPage.qml:45 kcm/ui/BatteryPage.qml:110 -#: kcm/ui/BatteryPage.qml:188 kcm/ui/InputPage.qml:38 kcm/ui/InputPage.qml:39 -#: kcm/ui/InputPage.qml:40 kcm/ui/InputPage.qml:41 kcm/ui/SchedulePage.qml:218 +#: kcm/ui/BatteryPage.qml:188 kcm/ui/InputPage.qml:69 kcm/ui/InputPage.qml:70 +#: kcm/ui/InputPage.qml:71 kcm/ui/InputPage.qml:72 kcm/ui/SchedulePage.qml:236 #: kcm/ui/ThermalPage.qml:112 #, kde-format msgctxt "percent" @@ -411,22 +412,22 @@ msgstr "" "Wärme und schont den Akku; die Zeiten sind Näherungswerte. Der EC vergisst " "diese Grenze bei einem Reset, daher setzt der Dienst sie beim Start erneut." -#: kcm/ui/InputPage.qml:10 +#: kcm/ui/InputPage.qml:12 #, kde-format msgid "Lighting" msgstr "Beleuchtung" -#: kcm/ui/InputPage.qml:14 +#: kcm/ui/InputPage.qml:16 #, kde-format msgid "Fingerprint reader LED:" msgstr "LED des Fingerabdrucklesers:" -#: kcm/ui/InputPage.qml:17 +#: kcm/ui/InputPage.qml:19 #, kde-format msgid "Custom" msgstr "Benutzerdefiniert" -#: kcm/ui/InputPage.qml:17 kcm/ui/OverviewPage.qml:229 +#: kcm/ui/InputPage.qml:19 kcm/ui/OverviewPage.qml:229 #: kcm/ui/OverviewPage.qml:238 kcm/ui/OverviewPage.qml:247 #: kcm/ui/SystemPage.qml:13 kcm/ui/SystemPage.qml:84 kcm/ui/SystemPage.qml:89 #: kcm/ui/SystemPage.qml:112 kcm/ui/SystemPage.qml:117 @@ -435,79 +436,102 @@ msgstr "Benutzerdefiniert" msgid "Unknown" msgstr "Unbekannt" -#: kcm/ui/InputPage.qml:19 kcm/ui/ThermalPage.qml:93 +#: kcm/ui/InputPage.qml:21 kcm/ui/ThermalPage.qml:93 #, kde-format msgid "Automatic" msgstr "Automatisch" -#: kcm/ui/InputPage.qml:20 +#: kcm/ui/InputPage.qml:22 #, kde-format msgctxt "fingerprint LED brightness" msgid "High" msgstr "Hoch" -#: kcm/ui/InputPage.qml:21 +#: kcm/ui/InputPage.qml:23 #, kde-format msgctxt "fingerprint LED brightness" msgid "Medium" msgstr "Mittel" -#: kcm/ui/InputPage.qml:22 +#: kcm/ui/InputPage.qml:24 #, kde-format msgctxt "fingerprint LED brightness" msgid "Low" msgstr "Niedrig" -#: kcm/ui/InputPage.qml:23 +#: kcm/ui/InputPage.qml:25 #, kde-format msgctxt "fingerprint LED brightness" msgid "Ultra low" msgstr "Sehr niedrig" -#: kcm/ui/InputPage.qml:29 +#: kcm/ui/InputPage.qml:34 +#, kde-format +msgid "Keyboard backlight:" +msgstr "Tastaturbeleuchtung:" + +#: kcm/ui/InputPage.qml:38 +#, kde-format +msgid "Turn off after:" +msgstr "Ausschalten nach:" + +#: kcm/ui/InputPage.qml:49 +#, kde-format +msgctxt "keyboard backlight timeout" +msgid "%1 second" +msgid_plural "%1 seconds" +msgstr[0] "%1 Sekunde" +msgstr[1] "%1 Sekunden" + +#: kcm/ui/InputPage.qml:55 +#, kde-format +msgid "Set the brightness as usual from the desktop or with Fn+Space." +msgstr "Die Helligkeit stellen Sie wie gewohnt über die Arbeitsumgebung oder mit Fn+Leertaste ein." + +#: kcm/ui/InputPage.qml:60 #, kde-format msgid "Haptic Touchpad" msgstr "Haptisches Touchpad" -#: kcm/ui/InputPage.qml:33 +#: kcm/ui/InputPage.qml:64 #, kde-format msgid "Haptic feedback:" msgstr "Haptisches Feedback:" -#: kcm/ui/InputPage.qml:35 kcm/ui/InputPage.qml:48 +#: kcm/ui/InputPage.qml:66 kcm/ui/InputPage.qml:79 #, kde-format msgid "Not set" msgstr "Nicht festgelegt" -#: kcm/ui/InputPage.qml:37 +#: kcm/ui/InputPage.qml:68 #, kde-format msgid "Off" msgstr "Aus" -#: kcm/ui/InputPage.qml:46 +#: kcm/ui/InputPage.qml:77 #, kde-format msgid "Click force:" msgstr "Klickkraft:" -#: kcm/ui/InputPage.qml:50 +#: kcm/ui/InputPage.qml:81 #, kde-format msgctxt "touchpad click force" msgid "Light" msgstr "Leicht" -#: kcm/ui/InputPage.qml:51 +#: kcm/ui/InputPage.qml:82 #, kde-format msgctxt "touchpad click force" msgid "Medium" msgstr "Mittel" -#: kcm/ui/InputPage.qml:52 +#: kcm/ui/InputPage.qml:83 #, kde-format msgctxt "touchpad click force" msgid "Firm" msgstr "Fest" -#: kcm/ui/InputPage.qml:57 +#: kcm/ui/InputPage.qml:88 #, kde-format msgid "" "Only for haptic touchpads. The touchpad can't report these settings back, so " @@ -712,47 +736,47 @@ msgstr "Eingabe" msgid "System" msgstr "System" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Monday" msgstr "Montag" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Tuesday" msgstr "Dienstag" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Wednesday" msgstr "Mittwoch" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Thursday" msgstr "Donnerstag" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Friday" msgstr "Freitag" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Saturday" msgstr "Samstag" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Sunday" msgstr "Sonntag" -#: kcm/ui/SchedulePage.qml:108 +#: kcm/ui/SchedulePage.qml:126 #, kde-format msgid "Charge schedule" msgstr "Ladezeitplan" -#: kcm/ui/SchedulePage.qml:113 +#: kcm/ui/SchedulePage.qml:131 #, kde-format msgid "" "Create entries that automatically apply a charge limit on selected weekdays." @@ -760,12 +784,12 @@ msgstr "" "Legen Sie Einträge an, die an ausgewählten Wochentagen automatisch eine " "Ladegrenze setzen." -#: kcm/ui/SchedulePage.qml:122 +#: kcm/ui/SchedulePage.qml:140 #, kde-format msgid "Schedule saved." msgstr "Zeitplan gespeichert." -#: kcm/ui/SchedulePage.qml:129 +#: kcm/ui/SchedulePage.qml:147 #, kde-format msgid "" "Fixture mode only previews schedule settings. No systemd timers are created." @@ -773,52 +797,52 @@ msgstr "" "Im Testmodus werden Zeitplaneinstellungen nur als Vorschau angezeigt. Es " "werden keine systemd-Timer erstellt." -#: kcm/ui/SchedulePage.qml:134 +#: kcm/ui/SchedulePage.qml:152 #, kde-format msgid "Enable charge schedules" msgstr "Ladezeitpläne aktivieren" -#: kcm/ui/SchedulePage.qml:162 +#: kcm/ui/SchedulePage.qml:180 #, kde-format msgid "Schedule %1" msgstr "Zeitplan %1" -#: kcm/ui/SchedulePage.qml:170 +#: kcm/ui/SchedulePage.qml:188 #, kde-format msgid "Remove schedule" msgstr "Zeitplan entfernen" -#: kcm/ui/SchedulePage.qml:176 +#: kcm/ui/SchedulePage.qml:194 #, kde-format msgid "Days" msgstr "Tage" -#: kcm/ui/SchedulePage.qml:198 +#: kcm/ui/SchedulePage.qml:216 #, kde-format msgid "Time" msgstr "Uhrzeit" -#: kcm/ui/SchedulePage.qml:210 +#: kcm/ui/SchedulePage.qml:228 #, kde-format msgid "Charge limit" msgstr "Ladegrenze" -#: kcm/ui/SchedulePage.qml:231 +#: kcm/ui/SchedulePage.qml:249 #, kde-format msgid "Add schedule" msgstr "Zeitplan hinzufügen" -#: kcm/ui/SchedulePage.qml:238 +#: kcm/ui/SchedulePage.qml:256 #, kde-format msgid "Schedule changes need saving" msgstr "Zeitplanänderungen müssen gespeichert werden" -#: kcm/ui/SchedulePage.qml:249 +#: kcm/ui/SchedulePage.qml:267 #, kde-format msgid "Save schedule" msgstr "Zeitplan speichern" -#: kcm/ui/SchedulePage.qml:257 +#: kcm/ui/SchedulePage.qml:275 #, kde-format msgid "" "Schedules run through your user systemd manager and require the Framework " @@ -1117,6 +1141,17 @@ msgstr "" "zur automatischen Steuerung zurück, wenn der Dienst beendet oder der Laptop " "neu gestartet wird." +#, kde-format +#~ msgid "" +#~ "Counts from the last keyboard, touchpad or mouse input, and turns the " +#~ "backlight back on at its previous brightness when you use one. Set the " +#~ "brightness as usual from the desktop or with Fn+Space." +#~ msgstr "" +#~ "Zählt ab der letzten Eingabe über Tastatur, Touchpad oder Maus und " +#~ "schaltet die Beleuchtung mit der vorherigen Helligkeit wieder ein, sobald " +#~ "Sie eines davon benutzen. Die Helligkeit stellen Sie wie gewohnt über die " +#~ "Arbeitsumgebung oder mit Fn+Leertaste ein." + #, kde-format #~ msgid "Charging" #~ msgstr "Laden" diff --git a/po/es/kcm_framework.po b/po/es/kcm_framework.po index e6cd907..592346f 100644 --- a/po/es/kcm_framework.po +++ b/po/es/kcm_framework.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: framework-kcm\n" "Report-Msgid-Bugs-To: github-viral8565@pxdmail.com\n" -"POT-Creation-Date: 2026-10-31 19:52+0000\n" +"POT-Creation-Date: 2026-11-06 23:43+0000\n" "PO-Revision-Date: 2026-10-31 19:45+0000\n" "Last-Translator: Machine translation (Claude), needs review\n" "Language-Team: Spanish\n" @@ -14,43 +14,44 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: gui/Main.qml:16 gui/Main.qml:48 +#: gui/Main.qml:16 gui/Main.qml:47 #, kde-format msgid "Framework Settings" msgstr "Configuración de Framework" -#: gui/Main.qml:51 +#: gui/Main.qml:50 #, kde-format msgid "Manage charging, cooling, and input hardware." msgstr "Gestione la carga, la refrigeración y el hardware de entrada." -#: gui/Main.qml:96 +#: gui/Main.qml:95 #, kde-format msgid "Applying settings…" msgstr "Aplicando la configuración…" -#: gui/Main.qml:96 +#: gui/Main.qml:95 #, kde-format msgid "Changes not applied" msgstr "Cambios sin aplicar" -#: gui/Main.qml:99 +#: gui/Main.qml:98 #, kde-format msgid "Defaults" msgstr "Valores predeterminados" -#: gui/Main.qml:104 +#: gui/Main.qml:103 #, kde-format msgid "Apply" msgstr "Aplicar" -#: gui/Main.qml:116 +#: gui/Main.qml:115 #, kde-format msgid "Unsaved changes" msgstr "Cambios sin guardar" -#: gui/Main.qml:120 +#: gui/Main.qml:119 #, kde-format msgid "" "Settings are being applied. Wait for the operation to finish before closing." @@ -58,201 +59,201 @@ msgstr "" "Se está aplicando la configuración. Espere a que termine la operación antes " "de cerrar." -#: gui/Main.qml:121 +#: gui/Main.qml:120 #, kde-format msgid "You have unsaved settings or schedule changes. Discard them and close?" msgstr "" "Hay cambios sin guardar en la configuración o en la programación. " "¿Descartarlos y cerrar?" -#: gui/Main.qml:127 +#: gui/Main.qml:126 #, kde-format msgid "Cancel" msgstr "Cancelar" -#: gui/Main.qml:135 +#: gui/Main.qml:134 #, kde-format msgid "Discard and close" msgstr "Descartar y cerrar" -#: kcm/frameworkkcm.cpp:232 kcm/frameworkkcm.cpp:314 +#: kcm/frameworkkcm.cpp:249 kcm/frameworkkcm.cpp:331 #, kde-format msgid "Framework Laptop 12" msgstr "Framework Laptop 12" -#: kcm/frameworkkcm.cpp:233 kcm/frameworkkcm.cpp:316 +#: kcm/frameworkkcm.cpp:250 kcm/frameworkkcm.cpp:333 #, kde-format msgid "Framework Laptop 12 (2nd Gen)" msgstr "Framework Laptop 12 (2.ª generación)" -#: kcm/frameworkkcm.cpp:234 kcm/frameworkkcm.cpp:318 +#: kcm/frameworkkcm.cpp:251 kcm/frameworkkcm.cpp:335 #, kde-format msgid "Framework Laptop 13" msgstr "Framework Laptop 13" -#: kcm/frameworkkcm.cpp:235 kcm/frameworkkcm.cpp:320 +#: kcm/frameworkkcm.cpp:252 kcm/frameworkkcm.cpp:337 #, kde-format msgid "Framework Laptop 13 Pro" msgstr "Framework Laptop 13 Pro" -#: kcm/frameworkkcm.cpp:241 +#: kcm/frameworkkcm.cpp:258 #, kde-format msgctxt "temperature sensor" msgid "CPU" msgstr "CPU" -#: kcm/frameworkkcm.cpp:243 +#: kcm/frameworkkcm.cpp:260 #, kde-format msgctxt "temperature sensor on the mainboard next to the CPU" msgid "Near CPU" msgstr "Junto a la CPU" -#: kcm/frameworkkcm.cpp:245 +#: kcm/frameworkkcm.cpp:262 #, kde-format msgctxt "temperature sensor" msgid "Memory" msgstr "Memoria" -#: kcm/frameworkkcm.cpp:247 +#: kcm/frameworkkcm.cpp:264 #, kde-format msgctxt "temperature sensor" msgid "Mainboard" msgstr "Placa base" -#: kcm/frameworkkcm.cpp:249 +#: kcm/frameworkkcm.cpp:266 #, kde-format msgctxt "temperature sensor" msgid "Battery" msgstr "Batería" -#: kcm/frameworkkcm.cpp:251 +#: kcm/frameworkkcm.cpp:268 #, kde-format msgctxt "temperature sensor" msgid "Charger" msgstr "Cargador" -#: kcm/frameworkkcm.cpp:253 +#: kcm/frameworkkcm.cpp:270 #, kde-format msgctxt "temperature sensor on the case surface" msgid "Chassis" msgstr "Carcasa" -#: kcm/frameworkkcm.cpp:255 +#: kcm/frameworkkcm.cpp:272 #, kde-format msgctxt "temperature sensor" msgid "SSD" msgstr "SSD" -#: kcm/frameworkkcm.cpp:257 +#: kcm/frameworkkcm.cpp:274 #, kde-format msgctxt "temperature sensor" msgid "GPU" msgstr "GPU" -#: kcm/frameworkkcm.cpp:259 +#: kcm/frameworkkcm.cpp:276 #, kde-format msgctxt "temperature sensor" msgid "Wi-Fi" msgstr "Wi-Fi" -#: kcm/frameworkkcm.cpp:265 +#: kcm/frameworkkcm.cpp:282 #, kde-format msgctxt "temperature sensor state" msgid "Off" msgstr "Apagado" -#: kcm/frameworkkcm.cpp:267 +#: kcm/frameworkkcm.cpp:284 #, kde-format msgctxt "temperature sensor state" msgid "Not calibrated" msgstr "Sin calibrar" -#: kcm/frameworkkcm.cpp:268 +#: kcm/frameworkkcm.cpp:285 #, kde-format msgctxt "temperature sensor state" msgid "Error" msgstr "Error" -#: kcm/frameworkkcm.cpp:273 +#: kcm/frameworkkcm.cpp:290 #, kde-format msgctxt "fan cooling the processor" msgid "CPU fan" msgstr "Ventilador de la CPU" -#: kcm/frameworkkcm.cpp:275 +#: kcm/frameworkkcm.cpp:292 #, kde-format msgid "Left fan" msgstr "Ventilador izquierdo" -#: kcm/frameworkkcm.cpp:277 +#: kcm/frameworkkcm.cpp:294 #, kde-format msgid "Right fan" msgstr "Ventilador derecho" -#: kcm/frameworkkcm.cpp:279 +#: kcm/frameworkkcm.cpp:296 #, kde-format msgid "Front fan" msgstr "Ventilador frontal" -#: kcm/frameworkkcm.cpp:281 +#: kcm/frameworkkcm.cpp:298 #, kde-format msgid "Third fan" msgstr "Tercer ventilador" -#: kcm/frameworkkcm.cpp:602 +#: kcm/frameworkkcm.cpp:633 #, kde-format msgid "You are not authorized to change this setting." msgstr "No tiene autorización para cambiar esta opción." -#: kcm/frameworkkcm.cpp:604 +#: kcm/frameworkkcm.cpp:635 #, kde-format msgid "The Framework hardware service is not running." msgstr "El servicio de hardware de Framework no está en ejecución." -#: kcm/frameworkkcm.cpp:697 +#: kcm/frameworkkcm.cpp:739 #, kde-format msgid "Add at least one schedule." msgstr "Añada al menos una programación." -#: kcm/frameworkkcm.cpp:705 +#: kcm/frameworkkcm.cpp:747 #, kde-format msgid "Each schedule needs at least one day and a valid time in HH:MM format." msgstr "" "Cada programación necesita al menos un día y una hora válida en formato " "HH:MM." -#: kcm/frameworkkcm.cpp:712 +#: kcm/frameworkkcm.cpp:754 #, kde-format msgid "Each schedule must use unique weekdays." msgstr "Cada programación debe usar días de la semana distintos." -#: kcm/frameworkkcm.cpp:718 +#: kcm/frameworkkcm.cpp:760 #, kde-format msgid "The same weekday and time cannot be scheduled more than once." msgstr "No se puede programar más de una vez el mismo día y hora." -#: kcm/frameworkkcm.cpp:736 kcm/frameworkkcm.cpp:753 +#: kcm/frameworkkcm.cpp:778 kcm/frameworkkcm.cpp:795 #, kde-format msgid "Could not save the charge schedule configuration." msgstr "No se pudo guardar la configuración de la programación de carga." -#: kcm/frameworkkcm.cpp:766 +#: kcm/frameworkkcm.cpp:808 #, kde-format msgid "Could not create the user systemd configuration directory." msgstr "" "No se pudo crear el directorio de configuración de systemd del usuario." -#: kcm/frameworkkcm.cpp:776 +#: kcm/frameworkkcm.cpp:818 #, kde-format msgid "The user systemd manager did not respond." msgstr "El gestor de systemd del usuario no respondió." -#: kcm/frameworkkcm.cpp:784 +#: kcm/frameworkkcm.cpp:826 #, kde-format msgid "Could not update the user systemd schedule." msgstr "No se pudo actualizar la programación de systemd del usuario." -#: kcm/frameworkkcm.cpp:799 +#: kcm/frameworkkcm.cpp:841 #, kde-format msgid "" "The Framework System command-line tools were not found. Install framework-" @@ -261,7 +262,7 @@ msgstr "" "No se encontraron las herramientas de línea de órdenes de Framework System. " "Instale framework-system para usar las programaciones de carga." -#: kcm/frameworkkcm.cpp:832 kcm/frameworkkcm.cpp:846 +#: kcm/frameworkkcm.cpp:874 kcm/frameworkkcm.cpp:888 #, kde-format msgid "Could not write the user systemd schedule." msgstr "No se pudo escribir la programación de systemd del usuario." @@ -272,8 +273,8 @@ msgid "Battery:" msgstr "Batería:" #: kcm/ui/BatteryPage.qml:45 kcm/ui/BatteryPage.qml:110 -#: kcm/ui/BatteryPage.qml:188 kcm/ui/InputPage.qml:38 kcm/ui/InputPage.qml:39 -#: kcm/ui/InputPage.qml:40 kcm/ui/InputPage.qml:41 kcm/ui/SchedulePage.qml:218 +#: kcm/ui/BatteryPage.qml:188 kcm/ui/InputPage.qml:69 kcm/ui/InputPage.qml:70 +#: kcm/ui/InputPage.qml:71 kcm/ui/InputPage.qml:72 kcm/ui/SchedulePage.qml:236 #: kcm/ui/ThermalPage.qml:112 #, kde-format msgctxt "percent" @@ -410,22 +411,22 @@ msgstr "" "este límite al reiniciarse, así que el servicio lo vuelve a aplicar al " "iniciarse." -#: kcm/ui/InputPage.qml:10 +#: kcm/ui/InputPage.qml:12 #, kde-format msgid "Lighting" msgstr "Iluminación" -#: kcm/ui/InputPage.qml:14 +#: kcm/ui/InputPage.qml:16 #, kde-format msgid "Fingerprint reader LED:" msgstr "LED del lector de huellas:" -#: kcm/ui/InputPage.qml:17 +#: kcm/ui/InputPage.qml:19 #, kde-format msgid "Custom" msgstr "Personalizado" -#: kcm/ui/InputPage.qml:17 kcm/ui/OverviewPage.qml:229 +#: kcm/ui/InputPage.qml:19 kcm/ui/OverviewPage.qml:229 #: kcm/ui/OverviewPage.qml:238 kcm/ui/OverviewPage.qml:247 #: kcm/ui/SystemPage.qml:13 kcm/ui/SystemPage.qml:84 kcm/ui/SystemPage.qml:89 #: kcm/ui/SystemPage.qml:112 kcm/ui/SystemPage.qml:117 @@ -434,79 +435,102 @@ msgstr "Personalizado" msgid "Unknown" msgstr "Desconocido" -#: kcm/ui/InputPage.qml:19 kcm/ui/ThermalPage.qml:93 +#: kcm/ui/InputPage.qml:21 kcm/ui/ThermalPage.qml:93 #, kde-format msgid "Automatic" msgstr "Automático" -#: kcm/ui/InputPage.qml:20 +#: kcm/ui/InputPage.qml:22 #, kde-format msgctxt "fingerprint LED brightness" msgid "High" msgstr "Alto" -#: kcm/ui/InputPage.qml:21 +#: kcm/ui/InputPage.qml:23 #, kde-format msgctxt "fingerprint LED brightness" msgid "Medium" msgstr "Medio" -#: kcm/ui/InputPage.qml:22 +#: kcm/ui/InputPage.qml:24 #, kde-format msgctxt "fingerprint LED brightness" msgid "Low" msgstr "Bajo" -#: kcm/ui/InputPage.qml:23 +#: kcm/ui/InputPage.qml:25 #, kde-format msgctxt "fingerprint LED brightness" msgid "Ultra low" msgstr "Muy bajo" -#: kcm/ui/InputPage.qml:29 +#: kcm/ui/InputPage.qml:34 +#, kde-format +msgid "Keyboard backlight:" +msgstr "Retroiluminación del teclado:" + +#: kcm/ui/InputPage.qml:38 +#, kde-format +msgid "Turn off after:" +msgstr "Apagar tras:" + +#: kcm/ui/InputPage.qml:49 +#, kde-format +msgctxt "keyboard backlight timeout" +msgid "%1 second" +msgid_plural "%1 seconds" +msgstr[0] "%1 segundo" +msgstr[1] "%1 segundos" + +#: kcm/ui/InputPage.qml:55 +#, kde-format +msgid "Set the brightness as usual from the desktop or with Fn+Space." +msgstr "El brillo se ajusta como siempre desde el escritorio o con Fn+Espacio." + +#: kcm/ui/InputPage.qml:60 #, kde-format msgid "Haptic Touchpad" msgstr "Panel táctil háptico" -#: kcm/ui/InputPage.qml:33 +#: kcm/ui/InputPage.qml:64 #, kde-format msgid "Haptic feedback:" msgstr "Respuesta háptica:" -#: kcm/ui/InputPage.qml:35 kcm/ui/InputPage.qml:48 +#: kcm/ui/InputPage.qml:66 kcm/ui/InputPage.qml:79 #, kde-format msgid "Not set" msgstr "Sin establecer" -#: kcm/ui/InputPage.qml:37 +#: kcm/ui/InputPage.qml:68 #, kde-format msgid "Off" msgstr "Desactivada" -#: kcm/ui/InputPage.qml:46 +#: kcm/ui/InputPage.qml:77 #, kde-format msgid "Click force:" msgstr "Fuerza de clic:" -#: kcm/ui/InputPage.qml:50 +#: kcm/ui/InputPage.qml:81 #, kde-format msgctxt "touchpad click force" msgid "Light" msgstr "Ligera" -#: kcm/ui/InputPage.qml:51 +#: kcm/ui/InputPage.qml:82 #, kde-format msgctxt "touchpad click force" msgid "Medium" msgstr "Media" -#: kcm/ui/InputPage.qml:52 +#: kcm/ui/InputPage.qml:83 #, kde-format msgctxt "touchpad click force" msgid "Firm" msgstr "Firme" -#: kcm/ui/InputPage.qml:57 +#: kcm/ui/InputPage.qml:88 #, kde-format msgid "" "Only for haptic touchpads. The touchpad can't report these settings back, so " @@ -710,47 +734,47 @@ msgstr "Entrada" msgid "System" msgstr "Sistema" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Monday" msgstr "Lunes" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Tuesday" msgstr "Martes" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Wednesday" msgstr "Miércoles" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Thursday" msgstr "Jueves" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Friday" msgstr "Viernes" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Saturday" msgstr "Sábado" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Sunday" msgstr "Domingo" -#: kcm/ui/SchedulePage.qml:108 +#: kcm/ui/SchedulePage.qml:126 #, kde-format msgid "Charge schedule" msgstr "Programación de carga" -#: kcm/ui/SchedulePage.qml:113 +#: kcm/ui/SchedulePage.qml:131 #, kde-format msgid "" "Create entries that automatically apply a charge limit on selected weekdays." @@ -758,12 +782,12 @@ msgstr "" "Cree entradas que apliquen automáticamente un límite de carga en los días de " "la semana elegidos." -#: kcm/ui/SchedulePage.qml:122 +#: kcm/ui/SchedulePage.qml:140 #, kde-format msgid "Schedule saved." msgstr "Programación guardada." -#: kcm/ui/SchedulePage.qml:129 +#: kcm/ui/SchedulePage.qml:147 #, kde-format msgid "" "Fixture mode only previews schedule settings. No systemd timers are created." @@ -771,52 +795,52 @@ msgstr "" "El modo de prueba solo previsualiza la programación. No se crean " "temporizadores de systemd." -#: kcm/ui/SchedulePage.qml:134 +#: kcm/ui/SchedulePage.qml:152 #, kde-format msgid "Enable charge schedules" msgstr "Activar las programaciones de carga" -#: kcm/ui/SchedulePage.qml:162 +#: kcm/ui/SchedulePage.qml:180 #, kde-format msgid "Schedule %1" msgstr "Programación %1" -#: kcm/ui/SchedulePage.qml:170 +#: kcm/ui/SchedulePage.qml:188 #, kde-format msgid "Remove schedule" msgstr "Quitar la programación" -#: kcm/ui/SchedulePage.qml:176 +#: kcm/ui/SchedulePage.qml:194 #, kde-format msgid "Days" msgstr "Días" -#: kcm/ui/SchedulePage.qml:198 +#: kcm/ui/SchedulePage.qml:216 #, kde-format msgid "Time" msgstr "Hora" -#: kcm/ui/SchedulePage.qml:210 +#: kcm/ui/SchedulePage.qml:228 #, kde-format msgid "Charge limit" msgstr "Límite de carga" -#: kcm/ui/SchedulePage.qml:231 +#: kcm/ui/SchedulePage.qml:249 #, kde-format msgid "Add schedule" msgstr "Añadir programación" -#: kcm/ui/SchedulePage.qml:238 +#: kcm/ui/SchedulePage.qml:256 #, kde-format msgid "Schedule changes need saving" msgstr "Hay cambios de programación sin guardar" -#: kcm/ui/SchedulePage.qml:249 +#: kcm/ui/SchedulePage.qml:267 #, kde-format msgid "Save schedule" msgstr "Guardar la programación" -#: kcm/ui/SchedulePage.qml:257 +#: kcm/ui/SchedulePage.qml:275 #, kde-format msgid "" "Schedules run through your user systemd manager and require the Framework " @@ -1113,6 +1137,17 @@ msgstr "" "ventiladores vuelven al modo automático cuando el servicio se detiene o el " "portátil se reinicia." +#, kde-format +#~ msgid "" +#~ "Counts from the last keyboard, touchpad or mouse input, and turns the " +#~ "backlight back on at its previous brightness when you use one. Set the " +#~ "brightness as usual from the desktop or with Fn+Space." +#~ msgstr "" +#~ "Cuenta desde la última entrada del teclado, el panel táctil o el ratón, y " +#~ "vuelve a encender la retroiluminación con su brillo anterior al usar " +#~ "cualquiera de ellos. El brillo se ajusta como siempre desde el escritorio " +#~ "o con Fn+Espacio." + #, kde-format #~ msgid "Charging" #~ msgstr "Carga" diff --git a/po/fr/kcm_framework.po b/po/fr/kcm_framework.po index bf5e40d..eb05521 100644 --- a/po/fr/kcm_framework.po +++ b/po/fr/kcm_framework.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: framework-kcm\n" "Report-Msgid-Bugs-To: github-viral8565@pxdmail.com\n" -"POT-Creation-Date: 2026-10-31 19:52+0000\n" +"POT-Creation-Date: 2026-11-06 23:43+0000\n" "PO-Revision-Date: 2026-10-31 19:45+0000\n" "Last-Translator: Machine translation (Claude), needs review\n" "Language-Team: French\n" @@ -14,43 +14,44 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: gui/Main.qml:16 gui/Main.qml:48 +#: gui/Main.qml:16 gui/Main.qml:47 #, kde-format msgid "Framework Settings" msgstr "Paramètres Framework" -#: gui/Main.qml:51 +#: gui/Main.qml:50 #, kde-format msgid "Manage charging, cooling, and input hardware." msgstr "Gérez la charge, le refroidissement et les périphériques d'entrée." -#: gui/Main.qml:96 +#: gui/Main.qml:95 #, kde-format msgid "Applying settings…" msgstr "Application des paramètres…" -#: gui/Main.qml:96 +#: gui/Main.qml:95 #, kde-format msgid "Changes not applied" msgstr "Modifications non appliquées" -#: gui/Main.qml:99 +#: gui/Main.qml:98 #, kde-format msgid "Defaults" msgstr "Valeurs par défaut" -#: gui/Main.qml:104 +#: gui/Main.qml:103 #, kde-format msgid "Apply" msgstr "Appliquer" -#: gui/Main.qml:116 +#: gui/Main.qml:115 #, kde-format msgid "Unsaved changes" msgstr "Modifications non enregistrées" -#: gui/Main.qml:120 +#: gui/Main.qml:119 #, kde-format msgid "" "Settings are being applied. Wait for the operation to finish before closing." @@ -58,203 +59,203 @@ msgstr "" "Les paramètres sont en cours d'application. Attendez la fin de l'opération " "avant de fermer." -#: gui/Main.qml:121 +#: gui/Main.qml:120 #, kde-format msgid "You have unsaved settings or schedule changes. Discard them and close?" msgstr "" "Des paramètres ou des modifications de planification ne sont pas " "enregistrés. Les abandonner et fermer ?" -#: gui/Main.qml:127 +#: gui/Main.qml:126 #, kde-format msgid "Cancel" msgstr "Annuler" -#: gui/Main.qml:135 +#: gui/Main.qml:134 #, kde-format msgid "Discard and close" msgstr "Abandonner et fermer" -#: kcm/frameworkkcm.cpp:232 kcm/frameworkkcm.cpp:314 +#: kcm/frameworkkcm.cpp:249 kcm/frameworkkcm.cpp:331 #, kde-format msgid "Framework Laptop 12" msgstr "Framework Laptop 12" -#: kcm/frameworkkcm.cpp:233 kcm/frameworkkcm.cpp:316 +#: kcm/frameworkkcm.cpp:250 kcm/frameworkkcm.cpp:333 #, kde-format msgid "Framework Laptop 12 (2nd Gen)" msgstr "Framework Laptop 12 (2e génération)" -#: kcm/frameworkkcm.cpp:234 kcm/frameworkkcm.cpp:318 +#: kcm/frameworkkcm.cpp:251 kcm/frameworkkcm.cpp:335 #, kde-format msgid "Framework Laptop 13" msgstr "Framework Laptop 13" -#: kcm/frameworkkcm.cpp:235 kcm/frameworkkcm.cpp:320 +#: kcm/frameworkkcm.cpp:252 kcm/frameworkkcm.cpp:337 #, kde-format msgid "Framework Laptop 13 Pro" msgstr "Framework Laptop 13 Pro" -#: kcm/frameworkkcm.cpp:241 +#: kcm/frameworkkcm.cpp:258 #, kde-format msgctxt "temperature sensor" msgid "CPU" msgstr "Processeur" -#: kcm/frameworkkcm.cpp:243 +#: kcm/frameworkkcm.cpp:260 #, kde-format msgctxt "temperature sensor on the mainboard next to the CPU" msgid "Near CPU" msgstr "Près du processeur" -#: kcm/frameworkkcm.cpp:245 +#: kcm/frameworkkcm.cpp:262 #, kde-format msgctxt "temperature sensor" msgid "Memory" msgstr "Mémoire" -#: kcm/frameworkkcm.cpp:247 +#: kcm/frameworkkcm.cpp:264 #, kde-format msgctxt "temperature sensor" msgid "Mainboard" msgstr "Carte mère" -#: kcm/frameworkkcm.cpp:249 +#: kcm/frameworkkcm.cpp:266 #, kde-format msgctxt "temperature sensor" msgid "Battery" msgstr "Batterie" -#: kcm/frameworkkcm.cpp:251 +#: kcm/frameworkkcm.cpp:268 #, kde-format msgctxt "temperature sensor" msgid "Charger" msgstr "Chargeur" -#: kcm/frameworkkcm.cpp:253 +#: kcm/frameworkkcm.cpp:270 #, kde-format msgctxt "temperature sensor on the case surface" msgid "Chassis" msgstr "Châssis" -#: kcm/frameworkkcm.cpp:255 +#: kcm/frameworkkcm.cpp:272 #, kde-format msgctxt "temperature sensor" msgid "SSD" msgstr "SSD" -#: kcm/frameworkkcm.cpp:257 +#: kcm/frameworkkcm.cpp:274 #, kde-format msgctxt "temperature sensor" msgid "GPU" msgstr "GPU" -#: kcm/frameworkkcm.cpp:259 +#: kcm/frameworkkcm.cpp:276 #, kde-format msgctxt "temperature sensor" msgid "Wi-Fi" msgstr "Wi-Fi" -#: kcm/frameworkkcm.cpp:265 +#: kcm/frameworkkcm.cpp:282 #, kde-format msgctxt "temperature sensor state" msgid "Off" msgstr "Éteint" -#: kcm/frameworkkcm.cpp:267 +#: kcm/frameworkkcm.cpp:284 #, kde-format msgctxt "temperature sensor state" msgid "Not calibrated" msgstr "Non calibré" -#: kcm/frameworkkcm.cpp:268 +#: kcm/frameworkkcm.cpp:285 #, kde-format msgctxt "temperature sensor state" msgid "Error" msgstr "Erreur" -#: kcm/frameworkkcm.cpp:273 +#: kcm/frameworkkcm.cpp:290 #, kde-format msgctxt "fan cooling the processor" msgid "CPU fan" msgstr "Ventilateur du processeur" -#: kcm/frameworkkcm.cpp:275 +#: kcm/frameworkkcm.cpp:292 #, kde-format msgid "Left fan" msgstr "Ventilateur gauche" -#: kcm/frameworkkcm.cpp:277 +#: kcm/frameworkkcm.cpp:294 #, kde-format msgid "Right fan" msgstr "Ventilateur droit" -#: kcm/frameworkkcm.cpp:279 +#: kcm/frameworkkcm.cpp:296 #, kde-format msgid "Front fan" msgstr "Ventilateur avant" -#: kcm/frameworkkcm.cpp:281 +#: kcm/frameworkkcm.cpp:298 #, kde-format msgid "Third fan" msgstr "Troisième ventilateur" -#: kcm/frameworkkcm.cpp:602 +#: kcm/frameworkkcm.cpp:633 #, kde-format msgid "You are not authorized to change this setting." msgstr "Vous n'êtes pas autorisé à modifier ce paramètre." -#: kcm/frameworkkcm.cpp:604 +#: kcm/frameworkkcm.cpp:635 #, kde-format msgid "The Framework hardware service is not running." msgstr "Le service matériel Framework n'est pas en cours d'exécution." -#: kcm/frameworkkcm.cpp:697 +#: kcm/frameworkkcm.cpp:739 #, kde-format msgid "Add at least one schedule." msgstr "Ajoutez au moins une planification." -#: kcm/frameworkkcm.cpp:705 +#: kcm/frameworkkcm.cpp:747 #, kde-format msgid "Each schedule needs at least one day and a valid time in HH:MM format." msgstr "" "Chaque planification nécessite au moins un jour et une heure valide au " "format HH:MM." -#: kcm/frameworkkcm.cpp:712 +#: kcm/frameworkkcm.cpp:754 #, kde-format msgid "Each schedule must use unique weekdays." msgstr "Chaque planification doit utiliser des jours de la semaine distincts." -#: kcm/frameworkkcm.cpp:718 +#: kcm/frameworkkcm.cpp:760 #, kde-format msgid "The same weekday and time cannot be scheduled more than once." msgstr "" "Le même jour et la même heure ne peuvent pas être planifiés plus d'une fois." -#: kcm/frameworkkcm.cpp:736 kcm/frameworkkcm.cpp:753 +#: kcm/frameworkkcm.cpp:778 kcm/frameworkkcm.cpp:795 #, kde-format msgid "Could not save the charge schedule configuration." msgstr "" "Impossible d'enregistrer la configuration de la planification de la charge." -#: kcm/frameworkkcm.cpp:766 +#: kcm/frameworkkcm.cpp:808 #, kde-format msgid "Could not create the user systemd configuration directory." msgstr "" "Impossible de créer le dossier de configuration systemd de l'utilisateur." -#: kcm/frameworkkcm.cpp:776 +#: kcm/frameworkkcm.cpp:818 #, kde-format msgid "The user systemd manager did not respond." msgstr "Le gestionnaire systemd de l'utilisateur n'a pas répondu." -#: kcm/frameworkkcm.cpp:784 +#: kcm/frameworkkcm.cpp:826 #, kde-format msgid "Could not update the user systemd schedule." msgstr "Impossible de mettre à jour la planification systemd de l'utilisateur." -#: kcm/frameworkkcm.cpp:799 +#: kcm/frameworkkcm.cpp:841 #, kde-format msgid "" "The Framework System command-line tools were not found. Install framework-" @@ -263,7 +264,7 @@ msgstr "" "Les outils en ligne de commande Framework System sont introuvables. " "Installez framework-system pour utiliser les planifications de charge." -#: kcm/frameworkkcm.cpp:832 kcm/frameworkkcm.cpp:846 +#: kcm/frameworkkcm.cpp:874 kcm/frameworkkcm.cpp:888 #, kde-format msgid "Could not write the user systemd schedule." msgstr "Impossible d'écrire la planification systemd de l'utilisateur." @@ -274,8 +275,8 @@ msgid "Battery:" msgstr "Batterie :" #: kcm/ui/BatteryPage.qml:45 kcm/ui/BatteryPage.qml:110 -#: kcm/ui/BatteryPage.qml:188 kcm/ui/InputPage.qml:38 kcm/ui/InputPage.qml:39 -#: kcm/ui/InputPage.qml:40 kcm/ui/InputPage.qml:41 kcm/ui/SchedulePage.qml:218 +#: kcm/ui/BatteryPage.qml:188 kcm/ui/InputPage.qml:69 kcm/ui/InputPage.qml:70 +#: kcm/ui/InputPage.qml:71 kcm/ui/InputPage.qml:72 kcm/ui/SchedulePage.qml:236 #: kcm/ui/ThermalPage.qml:112 #, kde-format msgctxt "percent" @@ -411,22 +412,22 @@ msgstr "" "L'EC oublie cette limite lors d'une réinitialisation, le service la " "réapplique donc à son démarrage." -#: kcm/ui/InputPage.qml:10 +#: kcm/ui/InputPage.qml:12 #, kde-format msgid "Lighting" msgstr "Éclairage" -#: kcm/ui/InputPage.qml:14 +#: kcm/ui/InputPage.qml:16 #, kde-format msgid "Fingerprint reader LED:" msgstr "Voyant du lecteur d'empreintes :" -#: kcm/ui/InputPage.qml:17 +#: kcm/ui/InputPage.qml:19 #, kde-format msgid "Custom" msgstr "Personnalisé" -#: kcm/ui/InputPage.qml:17 kcm/ui/OverviewPage.qml:229 +#: kcm/ui/InputPage.qml:19 kcm/ui/OverviewPage.qml:229 #: kcm/ui/OverviewPage.qml:238 kcm/ui/OverviewPage.qml:247 #: kcm/ui/SystemPage.qml:13 kcm/ui/SystemPage.qml:84 kcm/ui/SystemPage.qml:89 #: kcm/ui/SystemPage.qml:112 kcm/ui/SystemPage.qml:117 @@ -435,79 +436,102 @@ msgstr "Personnalisé" msgid "Unknown" msgstr "Inconnu" -#: kcm/ui/InputPage.qml:19 kcm/ui/ThermalPage.qml:93 +#: kcm/ui/InputPage.qml:21 kcm/ui/ThermalPage.qml:93 #, kde-format msgid "Automatic" msgstr "Automatique" -#: kcm/ui/InputPage.qml:20 +#: kcm/ui/InputPage.qml:22 #, kde-format msgctxt "fingerprint LED brightness" msgid "High" msgstr "Élevée" -#: kcm/ui/InputPage.qml:21 +#: kcm/ui/InputPage.qml:23 #, kde-format msgctxt "fingerprint LED brightness" msgid "Medium" msgstr "Moyenne" -#: kcm/ui/InputPage.qml:22 +#: kcm/ui/InputPage.qml:24 #, kde-format msgctxt "fingerprint LED brightness" msgid "Low" msgstr "Faible" -#: kcm/ui/InputPage.qml:23 +#: kcm/ui/InputPage.qml:25 #, kde-format msgctxt "fingerprint LED brightness" msgid "Ultra low" msgstr "Très faible" -#: kcm/ui/InputPage.qml:29 +#: kcm/ui/InputPage.qml:34 +#, kde-format +msgid "Keyboard backlight:" +msgstr "Rétroéclairage du clavier :" + +#: kcm/ui/InputPage.qml:38 +#, kde-format +msgid "Turn off after:" +msgstr "Éteindre après :" + +#: kcm/ui/InputPage.qml:49 +#, kde-format +msgctxt "keyboard backlight timeout" +msgid "%1 second" +msgid_plural "%1 seconds" +msgstr[0] "%1 seconde" +msgstr[1] "%1 secondes" + +#: kcm/ui/InputPage.qml:55 +#, kde-format +msgid "Set the brightness as usual from the desktop or with Fn+Space." +msgstr "Réglez la luminosité comme d'habitude depuis le bureau ou avec Fn+Espace." + +#: kcm/ui/InputPage.qml:60 #, kde-format msgid "Haptic Touchpad" msgstr "Pavé tactile haptique" -#: kcm/ui/InputPage.qml:33 +#: kcm/ui/InputPage.qml:64 #, kde-format msgid "Haptic feedback:" msgstr "Retour haptique :" -#: kcm/ui/InputPage.qml:35 kcm/ui/InputPage.qml:48 +#: kcm/ui/InputPage.qml:66 kcm/ui/InputPage.qml:79 #, kde-format msgid "Not set" msgstr "Non défini" -#: kcm/ui/InputPage.qml:37 +#: kcm/ui/InputPage.qml:68 #, kde-format msgid "Off" msgstr "Désactivé" -#: kcm/ui/InputPage.qml:46 +#: kcm/ui/InputPage.qml:77 #, kde-format msgid "Click force:" msgstr "Force du clic :" -#: kcm/ui/InputPage.qml:50 +#: kcm/ui/InputPage.qml:81 #, kde-format msgctxt "touchpad click force" msgid "Light" msgstr "Légère" -#: kcm/ui/InputPage.qml:51 +#: kcm/ui/InputPage.qml:82 #, kde-format msgctxt "touchpad click force" msgid "Medium" msgstr "Moyenne" -#: kcm/ui/InputPage.qml:52 +#: kcm/ui/InputPage.qml:83 #, kde-format msgctxt "touchpad click force" msgid "Firm" msgstr "Ferme" -#: kcm/ui/InputPage.qml:57 +#: kcm/ui/InputPage.qml:88 #, kde-format msgid "" "Only for haptic touchpads. The touchpad can't report these settings back, so " @@ -711,47 +735,47 @@ msgstr "Saisie" msgid "System" msgstr "Système" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Monday" msgstr "Lundi" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Tuesday" msgstr "Mardi" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Wednesday" msgstr "Mercredi" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Thursday" msgstr "Jeudi" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Friday" msgstr "Vendredi" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Saturday" msgstr "Samedi" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Sunday" msgstr "Dimanche" -#: kcm/ui/SchedulePage.qml:108 +#: kcm/ui/SchedulePage.qml:126 #, kde-format msgid "Charge schedule" msgstr "Planification de la charge" -#: kcm/ui/SchedulePage.qml:113 +#: kcm/ui/SchedulePage.qml:131 #, kde-format msgid "" "Create entries that automatically apply a charge limit on selected weekdays." @@ -759,12 +783,12 @@ msgstr "" "Créez des entrées qui appliquent automatiquement une limite de charge les " "jours de la semaine choisis." -#: kcm/ui/SchedulePage.qml:122 +#: kcm/ui/SchedulePage.qml:140 #, kde-format msgid "Schedule saved." msgstr "Planification enregistrée." -#: kcm/ui/SchedulePage.qml:129 +#: kcm/ui/SchedulePage.qml:147 #, kde-format msgid "" "Fixture mode only previews schedule settings. No systemd timers are created." @@ -772,52 +796,52 @@ msgstr "" "Le mode de test ne fait que prévisualiser la planification. Aucun minuteur " "systemd n'est créé." -#: kcm/ui/SchedulePage.qml:134 +#: kcm/ui/SchedulePage.qml:152 #, kde-format msgid "Enable charge schedules" msgstr "Activer les planifications de charge" -#: kcm/ui/SchedulePage.qml:162 +#: kcm/ui/SchedulePage.qml:180 #, kde-format msgid "Schedule %1" msgstr "Planification %1" -#: kcm/ui/SchedulePage.qml:170 +#: kcm/ui/SchedulePage.qml:188 #, kde-format msgid "Remove schedule" msgstr "Supprimer la planification" -#: kcm/ui/SchedulePage.qml:176 +#: kcm/ui/SchedulePage.qml:194 #, kde-format msgid "Days" msgstr "Jours" -#: kcm/ui/SchedulePage.qml:198 +#: kcm/ui/SchedulePage.qml:216 #, kde-format msgid "Time" msgstr "Heure" -#: kcm/ui/SchedulePage.qml:210 +#: kcm/ui/SchedulePage.qml:228 #, kde-format msgid "Charge limit" msgstr "Limite de charge" -#: kcm/ui/SchedulePage.qml:231 +#: kcm/ui/SchedulePage.qml:249 #, kde-format msgid "Add schedule" msgstr "Ajouter une planification" -#: kcm/ui/SchedulePage.qml:238 +#: kcm/ui/SchedulePage.qml:256 #, kde-format msgid "Schedule changes need saving" msgstr "Les modifications de la planification doivent être enregistrées" -#: kcm/ui/SchedulePage.qml:249 +#: kcm/ui/SchedulePage.qml:267 #, kde-format msgid "Save schedule" msgstr "Enregistrer la planification" -#: kcm/ui/SchedulePage.qml:257 +#: kcm/ui/SchedulePage.qml:275 #, kde-format msgid "" "Schedules run through your user systemd manager and require the Framework " @@ -1115,6 +1139,17 @@ msgstr "" "ventilateurs repassent en mode automatique à l'arrêt du service ou au " "redémarrage du portable." +#, kde-format +#~ msgid "" +#~ "Counts from the last keyboard, touchpad or mouse input, and turns the " +#~ "backlight back on at its previous brightness when you use one. Set the " +#~ "brightness as usual from the desktop or with Fn+Space." +#~ msgstr "" +#~ "Compté depuis la dernière saisie au clavier, au pavé tactile ou à la " +#~ "souris ; le rétroéclairage se rallume à sa luminosité précédente dès que " +#~ "vous en utilisez un. Réglez la luminosité comme d'habitude depuis le " +#~ "bureau ou avec Fn+Espace." + #, kde-format #~ msgid "Charging" #~ msgstr "Charge" diff --git a/po/kcm_framework.pot b/po/kcm_framework.pot index 3ad98ab..ea23cc1 100644 --- a/po/kcm_framework.pot +++ b/po/kcm_framework.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: framework-kcm\n" "Report-Msgid-Bugs-To: github-viral8565@pxdmail.com\n" -"POT-Creation-Date: 2026-10-31 19:52+0000\n" +"POT-Creation-Date: 2026-11-06 23:43+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -16,245 +16,246 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" -#: gui/Main.qml:16 gui/Main.qml:48 +#: gui/Main.qml:16 gui/Main.qml:47 #, kde-format msgid "Framework Settings" msgstr "" -#: gui/Main.qml:51 +#: gui/Main.qml:50 #, kde-format msgid "Manage charging, cooling, and input hardware." msgstr "" -#: gui/Main.qml:96 +#: gui/Main.qml:95 #, kde-format msgid "Applying settings…" msgstr "" -#: gui/Main.qml:96 +#: gui/Main.qml:95 #, kde-format msgid "Changes not applied" msgstr "" -#: gui/Main.qml:99 +#: gui/Main.qml:98 #, kde-format msgid "Defaults" msgstr "" -#: gui/Main.qml:104 +#: gui/Main.qml:103 #, kde-format msgid "Apply" msgstr "" -#: gui/Main.qml:116 +#: gui/Main.qml:115 #, kde-format msgid "Unsaved changes" msgstr "" -#: gui/Main.qml:120 +#: gui/Main.qml:119 #, kde-format msgid "" "Settings are being applied. Wait for the operation to finish before closing." msgstr "" -#: gui/Main.qml:121 +#: gui/Main.qml:120 #, kde-format msgid "You have unsaved settings or schedule changes. Discard them and close?" msgstr "" -#: gui/Main.qml:127 +#: gui/Main.qml:126 #, kde-format msgid "Cancel" msgstr "" -#: gui/Main.qml:135 +#: gui/Main.qml:134 #, kde-format msgid "Discard and close" msgstr "" -#: kcm/frameworkkcm.cpp:232 kcm/frameworkkcm.cpp:314 +#: kcm/frameworkkcm.cpp:249 kcm/frameworkkcm.cpp:331 #, kde-format msgid "Framework Laptop 12" msgstr "" -#: kcm/frameworkkcm.cpp:233 kcm/frameworkkcm.cpp:316 +#: kcm/frameworkkcm.cpp:250 kcm/frameworkkcm.cpp:333 #, kde-format msgid "Framework Laptop 12 (2nd Gen)" msgstr "" -#: kcm/frameworkkcm.cpp:234 kcm/frameworkkcm.cpp:318 +#: kcm/frameworkkcm.cpp:251 kcm/frameworkkcm.cpp:335 #, kde-format msgid "Framework Laptop 13" msgstr "" -#: kcm/frameworkkcm.cpp:235 kcm/frameworkkcm.cpp:320 +#: kcm/frameworkkcm.cpp:252 kcm/frameworkkcm.cpp:337 #, kde-format msgid "Framework Laptop 13 Pro" msgstr "" -#: kcm/frameworkkcm.cpp:241 +#: kcm/frameworkkcm.cpp:258 #, kde-format msgctxt "temperature sensor" msgid "CPU" msgstr "" -#: kcm/frameworkkcm.cpp:243 +#: kcm/frameworkkcm.cpp:260 #, kde-format msgctxt "temperature sensor on the mainboard next to the CPU" msgid "Near CPU" msgstr "" -#: kcm/frameworkkcm.cpp:245 +#: kcm/frameworkkcm.cpp:262 #, kde-format msgctxt "temperature sensor" msgid "Memory" msgstr "" -#: kcm/frameworkkcm.cpp:247 +#: kcm/frameworkkcm.cpp:264 #, kde-format msgctxt "temperature sensor" msgid "Mainboard" msgstr "" -#: kcm/frameworkkcm.cpp:249 +#: kcm/frameworkkcm.cpp:266 #, kde-format msgctxt "temperature sensor" msgid "Battery" msgstr "" -#: kcm/frameworkkcm.cpp:251 +#: kcm/frameworkkcm.cpp:268 #, kde-format msgctxt "temperature sensor" msgid "Charger" msgstr "" -#: kcm/frameworkkcm.cpp:253 +#: kcm/frameworkkcm.cpp:270 #, kde-format msgctxt "temperature sensor on the case surface" msgid "Chassis" msgstr "" -#: kcm/frameworkkcm.cpp:255 +#: kcm/frameworkkcm.cpp:272 #, kde-format msgctxt "temperature sensor" msgid "SSD" msgstr "" -#: kcm/frameworkkcm.cpp:257 +#: kcm/frameworkkcm.cpp:274 #, kde-format msgctxt "temperature sensor" msgid "GPU" msgstr "" -#: kcm/frameworkkcm.cpp:259 +#: kcm/frameworkkcm.cpp:276 #, kde-format msgctxt "temperature sensor" msgid "Wi-Fi" msgstr "" -#: kcm/frameworkkcm.cpp:265 +#: kcm/frameworkkcm.cpp:282 #, kde-format msgctxt "temperature sensor state" msgid "Off" msgstr "" -#: kcm/frameworkkcm.cpp:267 +#: kcm/frameworkkcm.cpp:284 #, kde-format msgctxt "temperature sensor state" msgid "Not calibrated" msgstr "" -#: kcm/frameworkkcm.cpp:268 +#: kcm/frameworkkcm.cpp:285 #, kde-format msgctxt "temperature sensor state" msgid "Error" msgstr "" -#: kcm/frameworkkcm.cpp:273 +#: kcm/frameworkkcm.cpp:290 #, kde-format msgctxt "fan cooling the processor" msgid "CPU fan" msgstr "" -#: kcm/frameworkkcm.cpp:275 +#: kcm/frameworkkcm.cpp:292 #, kde-format msgid "Left fan" msgstr "" -#: kcm/frameworkkcm.cpp:277 +#: kcm/frameworkkcm.cpp:294 #, kde-format msgid "Right fan" msgstr "" -#: kcm/frameworkkcm.cpp:279 +#: kcm/frameworkkcm.cpp:296 #, kde-format msgid "Front fan" msgstr "" -#: kcm/frameworkkcm.cpp:281 +#: kcm/frameworkkcm.cpp:298 #, kde-format msgid "Third fan" msgstr "" -#: kcm/frameworkkcm.cpp:602 +#: kcm/frameworkkcm.cpp:633 #, kde-format msgid "You are not authorized to change this setting." msgstr "" -#: kcm/frameworkkcm.cpp:604 +#: kcm/frameworkkcm.cpp:635 #, kde-format msgid "The Framework hardware service is not running." msgstr "" -#: kcm/frameworkkcm.cpp:697 +#: kcm/frameworkkcm.cpp:739 #, kde-format msgid "Add at least one schedule." msgstr "" -#: kcm/frameworkkcm.cpp:705 +#: kcm/frameworkkcm.cpp:747 #, kde-format msgid "Each schedule needs at least one day and a valid time in HH:MM format." msgstr "" -#: kcm/frameworkkcm.cpp:712 +#: kcm/frameworkkcm.cpp:754 #, kde-format msgid "Each schedule must use unique weekdays." msgstr "" -#: kcm/frameworkkcm.cpp:718 +#: kcm/frameworkkcm.cpp:760 #, kde-format msgid "The same weekday and time cannot be scheduled more than once." msgstr "" -#: kcm/frameworkkcm.cpp:736 kcm/frameworkkcm.cpp:753 +#: kcm/frameworkkcm.cpp:778 kcm/frameworkkcm.cpp:795 #, kde-format msgid "Could not save the charge schedule configuration." msgstr "" -#: kcm/frameworkkcm.cpp:766 +#: kcm/frameworkkcm.cpp:808 #, kde-format msgid "Could not create the user systemd configuration directory." msgstr "" -#: kcm/frameworkkcm.cpp:776 +#: kcm/frameworkkcm.cpp:818 #, kde-format msgid "The user systemd manager did not respond." msgstr "" -#: kcm/frameworkkcm.cpp:784 +#: kcm/frameworkkcm.cpp:826 #, kde-format msgid "Could not update the user systemd schedule." msgstr "" -#: kcm/frameworkkcm.cpp:799 +#: kcm/frameworkkcm.cpp:841 #, kde-format msgid "" "The Framework System command-line tools were not found. Install framework-" "system to use charge schedules." msgstr "" -#: kcm/frameworkkcm.cpp:832 kcm/frameworkkcm.cpp:846 +#: kcm/frameworkkcm.cpp:874 kcm/frameworkkcm.cpp:888 #, kde-format msgid "Could not write the user systemd schedule." msgstr "" @@ -265,8 +266,8 @@ msgid "Battery:" msgstr "" #: kcm/ui/BatteryPage.qml:45 kcm/ui/BatteryPage.qml:110 -#: kcm/ui/BatteryPage.qml:188 kcm/ui/InputPage.qml:38 kcm/ui/InputPage.qml:39 -#: kcm/ui/InputPage.qml:40 kcm/ui/InputPage.qml:41 kcm/ui/SchedulePage.qml:218 +#: kcm/ui/BatteryPage.qml:188 kcm/ui/InputPage.qml:69 kcm/ui/InputPage.qml:70 +#: kcm/ui/InputPage.qml:71 kcm/ui/InputPage.qml:72 kcm/ui/SchedulePage.qml:236 #: kcm/ui/ThermalPage.qml:112 #, kde-format msgctxt "percent" @@ -391,22 +392,22 @@ msgid "" "reset, so the service re-applies it when it starts." msgstr "" -#: kcm/ui/InputPage.qml:10 +#: kcm/ui/InputPage.qml:12 #, kde-format msgid "Lighting" msgstr "" -#: kcm/ui/InputPage.qml:14 +#: kcm/ui/InputPage.qml:16 #, kde-format msgid "Fingerprint reader LED:" msgstr "" -#: kcm/ui/InputPage.qml:17 +#: kcm/ui/InputPage.qml:19 #, kde-format msgid "Custom" msgstr "" -#: kcm/ui/InputPage.qml:17 kcm/ui/OverviewPage.qml:229 +#: kcm/ui/InputPage.qml:19 kcm/ui/OverviewPage.qml:229 #: kcm/ui/OverviewPage.qml:238 kcm/ui/OverviewPage.qml:247 #: kcm/ui/SystemPage.qml:13 kcm/ui/SystemPage.qml:84 kcm/ui/SystemPage.qml:89 #: kcm/ui/SystemPage.qml:112 kcm/ui/SystemPage.qml:117 @@ -415,79 +416,102 @@ msgstr "" msgid "Unknown" msgstr "" -#: kcm/ui/InputPage.qml:19 kcm/ui/ThermalPage.qml:93 +#: kcm/ui/InputPage.qml:21 kcm/ui/ThermalPage.qml:93 #, kde-format msgid "Automatic" msgstr "" -#: kcm/ui/InputPage.qml:20 +#: kcm/ui/InputPage.qml:22 #, kde-format msgctxt "fingerprint LED brightness" msgid "High" msgstr "" -#: kcm/ui/InputPage.qml:21 +#: kcm/ui/InputPage.qml:23 #, kde-format msgctxt "fingerprint LED brightness" msgid "Medium" msgstr "" -#: kcm/ui/InputPage.qml:22 +#: kcm/ui/InputPage.qml:24 #, kde-format msgctxt "fingerprint LED brightness" msgid "Low" msgstr "" -#: kcm/ui/InputPage.qml:23 +#: kcm/ui/InputPage.qml:25 #, kde-format msgctxt "fingerprint LED brightness" msgid "Ultra low" msgstr "" -#: kcm/ui/InputPage.qml:29 +#: kcm/ui/InputPage.qml:34 +#, kde-format +msgid "Keyboard backlight:" +msgstr "" + +#: kcm/ui/InputPage.qml:38 +#, kde-format +msgid "Turn off after:" +msgstr "" + +#: kcm/ui/InputPage.qml:49 +#, kde-format +msgctxt "keyboard backlight timeout" +msgid "%1 second" +msgid_plural "%1 seconds" +msgstr[0] "" +msgstr[1] "" + +#: kcm/ui/InputPage.qml:55 +#, kde-format +msgid "Set the brightness as usual from the desktop or with Fn+Space." +msgstr "" + +#: kcm/ui/InputPage.qml:60 #, kde-format msgid "Haptic Touchpad" msgstr "" -#: kcm/ui/InputPage.qml:33 +#: kcm/ui/InputPage.qml:64 #, kde-format msgid "Haptic feedback:" msgstr "" -#: kcm/ui/InputPage.qml:35 kcm/ui/InputPage.qml:48 +#: kcm/ui/InputPage.qml:66 kcm/ui/InputPage.qml:79 #, kde-format msgid "Not set" msgstr "" -#: kcm/ui/InputPage.qml:37 +#: kcm/ui/InputPage.qml:68 #, kde-format msgid "Off" msgstr "" -#: kcm/ui/InputPage.qml:46 +#: kcm/ui/InputPage.qml:77 #, kde-format msgid "Click force:" msgstr "" -#: kcm/ui/InputPage.qml:50 +#: kcm/ui/InputPage.qml:81 #, kde-format msgctxt "touchpad click force" msgid "Light" msgstr "" -#: kcm/ui/InputPage.qml:51 +#: kcm/ui/InputPage.qml:82 #, kde-format msgctxt "touchpad click force" msgid "Medium" msgstr "" -#: kcm/ui/InputPage.qml:52 +#: kcm/ui/InputPage.qml:83 #, kde-format msgctxt "touchpad click force" msgid "Firm" msgstr "" -#: kcm/ui/InputPage.qml:57 +#: kcm/ui/InputPage.qml:88 #, kde-format msgid "" "Only for haptic touchpads. The touchpad can't report these settings back, so " @@ -683,109 +707,109 @@ msgstr "" msgid "System" msgstr "" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Monday" msgstr "" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Tuesday" msgstr "" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Wednesday" msgstr "" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Thursday" msgstr "" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Friday" msgstr "" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Saturday" msgstr "" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Sunday" msgstr "" -#: kcm/ui/SchedulePage.qml:108 +#: kcm/ui/SchedulePage.qml:126 #, kde-format msgid "Charge schedule" msgstr "" -#: kcm/ui/SchedulePage.qml:113 +#: kcm/ui/SchedulePage.qml:131 #, kde-format msgid "" "Create entries that automatically apply a charge limit on selected weekdays." msgstr "" -#: kcm/ui/SchedulePage.qml:122 +#: kcm/ui/SchedulePage.qml:140 #, kde-format msgid "Schedule saved." msgstr "" -#: kcm/ui/SchedulePage.qml:129 +#: kcm/ui/SchedulePage.qml:147 #, kde-format msgid "" "Fixture mode only previews schedule settings. No systemd timers are created." msgstr "" -#: kcm/ui/SchedulePage.qml:134 +#: kcm/ui/SchedulePage.qml:152 #, kde-format msgid "Enable charge schedules" msgstr "" -#: kcm/ui/SchedulePage.qml:162 +#: kcm/ui/SchedulePage.qml:180 #, kde-format msgid "Schedule %1" msgstr "" -#: kcm/ui/SchedulePage.qml:170 +#: kcm/ui/SchedulePage.qml:188 #, kde-format msgid "Remove schedule" msgstr "" -#: kcm/ui/SchedulePage.qml:176 +#: kcm/ui/SchedulePage.qml:194 #, kde-format msgid "Days" msgstr "" -#: kcm/ui/SchedulePage.qml:198 +#: kcm/ui/SchedulePage.qml:216 #, kde-format msgid "Time" msgstr "" -#: kcm/ui/SchedulePage.qml:210 +#: kcm/ui/SchedulePage.qml:228 #, kde-format msgid "Charge limit" msgstr "" -#: kcm/ui/SchedulePage.qml:231 +#: kcm/ui/SchedulePage.qml:249 #, kde-format msgid "Add schedule" msgstr "" -#: kcm/ui/SchedulePage.qml:238 +#: kcm/ui/SchedulePage.qml:256 #, kde-format msgid "Schedule changes need saving" msgstr "" -#: kcm/ui/SchedulePage.qml:249 +#: kcm/ui/SchedulePage.qml:267 #, kde-format msgid "Save schedule" msgstr "" -#: kcm/ui/SchedulePage.qml:257 +#: kcm/ui/SchedulePage.qml:275 #, kde-format msgid "" "Schedules run through your user systemd manager and require the Framework " diff --git a/po/nl/kcm_framework.po b/po/nl/kcm_framework.po index 9d06b16..57047de 100644 --- a/po/nl/kcm_framework.po +++ b/po/nl/kcm_framework.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: framework-kcm\n" "Report-Msgid-Bugs-To: github-viral8565@pxdmail.com\n" -"POT-Creation-Date: 2026-10-31 19:52+0000\n" +"POT-Creation-Date: 2026-11-06 23:43+0000\n" "PO-Revision-Date: 2026-10-31 19:45+0000\n" "Last-Translator: Machine translation (Claude), needs review\n" "Language-Team: Dutch\n" @@ -14,43 +14,44 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: gui/Main.qml:16 gui/Main.qml:48 +#: gui/Main.qml:16 gui/Main.qml:47 #, kde-format msgid "Framework Settings" msgstr "Framework-instellingen" -#: gui/Main.qml:51 +#: gui/Main.qml:50 #, kde-format msgid "Manage charging, cooling, and input hardware." msgstr "Beheer opladen, koeling en invoerhardware." -#: gui/Main.qml:96 +#: gui/Main.qml:95 #, kde-format msgid "Applying settings…" msgstr "Instellingen toepassen…" -#: gui/Main.qml:96 +#: gui/Main.qml:95 #, kde-format msgid "Changes not applied" msgstr "Wijzigingen niet toegepast" -#: gui/Main.qml:99 +#: gui/Main.qml:98 #, kde-format msgid "Defaults" msgstr "Standaardwaarden" -#: gui/Main.qml:104 +#: gui/Main.qml:103 #, kde-format msgid "Apply" msgstr "Toepassen" -#: gui/Main.qml:116 +#: gui/Main.qml:115 #, kde-format msgid "Unsaved changes" msgstr "Niet-opgeslagen wijzigingen" -#: gui/Main.qml:120 +#: gui/Main.qml:119 #, kde-format msgid "" "Settings are being applied. Wait for the operation to finish before closing." @@ -58,201 +59,201 @@ msgstr "" "De instellingen worden toegepast. Wacht tot de bewerking klaar is voordat u " "afsluit." -#: gui/Main.qml:121 +#: gui/Main.qml:120 #, kde-format msgid "You have unsaved settings or schedule changes. Discard them and close?" msgstr "" "Er zijn niet-opgeslagen instellingen of schemawijzigingen. Verwerpen en " "afsluiten?" -#: gui/Main.qml:127 +#: gui/Main.qml:126 #, kde-format msgid "Cancel" msgstr "Annuleren" -#: gui/Main.qml:135 +#: gui/Main.qml:134 #, kde-format msgid "Discard and close" msgstr "Verwerpen en afsluiten" -#: kcm/frameworkkcm.cpp:232 kcm/frameworkkcm.cpp:314 +#: kcm/frameworkkcm.cpp:249 kcm/frameworkkcm.cpp:331 #, kde-format msgid "Framework Laptop 12" msgstr "Framework Laptop 12" -#: kcm/frameworkkcm.cpp:233 kcm/frameworkkcm.cpp:316 +#: kcm/frameworkkcm.cpp:250 kcm/frameworkkcm.cpp:333 #, kde-format msgid "Framework Laptop 12 (2nd Gen)" msgstr "Framework Laptop 12 (2e generatie)" -#: kcm/frameworkkcm.cpp:234 kcm/frameworkkcm.cpp:318 +#: kcm/frameworkkcm.cpp:251 kcm/frameworkkcm.cpp:335 #, kde-format msgid "Framework Laptop 13" msgstr "Framework Laptop 13" -#: kcm/frameworkkcm.cpp:235 kcm/frameworkkcm.cpp:320 +#: kcm/frameworkkcm.cpp:252 kcm/frameworkkcm.cpp:337 #, kde-format msgid "Framework Laptop 13 Pro" msgstr "Framework Laptop 13 Pro" -#: kcm/frameworkkcm.cpp:241 +#: kcm/frameworkkcm.cpp:258 #, kde-format msgctxt "temperature sensor" msgid "CPU" msgstr "CPU" -#: kcm/frameworkkcm.cpp:243 +#: kcm/frameworkkcm.cpp:260 #, kde-format msgctxt "temperature sensor on the mainboard next to the CPU" msgid "Near CPU" msgstr "Bij CPU" -#: kcm/frameworkkcm.cpp:245 +#: kcm/frameworkkcm.cpp:262 #, kde-format msgctxt "temperature sensor" msgid "Memory" msgstr "Geheugen" -#: kcm/frameworkkcm.cpp:247 +#: kcm/frameworkkcm.cpp:264 #, kde-format msgctxt "temperature sensor" msgid "Mainboard" msgstr "Moederbord" -#: kcm/frameworkkcm.cpp:249 +#: kcm/frameworkkcm.cpp:266 #, kde-format msgctxt "temperature sensor" msgid "Battery" msgstr "Accu" -#: kcm/frameworkkcm.cpp:251 +#: kcm/frameworkkcm.cpp:268 #, kde-format msgctxt "temperature sensor" msgid "Charger" msgstr "Lader" -#: kcm/frameworkkcm.cpp:253 +#: kcm/frameworkkcm.cpp:270 #, kde-format msgctxt "temperature sensor on the case surface" msgid "Chassis" msgstr "Behuizing" -#: kcm/frameworkkcm.cpp:255 +#: kcm/frameworkkcm.cpp:272 #, kde-format msgctxt "temperature sensor" msgid "SSD" msgstr "SSD" -#: kcm/frameworkkcm.cpp:257 +#: kcm/frameworkkcm.cpp:274 #, kde-format msgctxt "temperature sensor" msgid "GPU" msgstr "GPU" -#: kcm/frameworkkcm.cpp:259 +#: kcm/frameworkkcm.cpp:276 #, kde-format msgctxt "temperature sensor" msgid "Wi-Fi" msgstr "Wifi" -#: kcm/frameworkkcm.cpp:265 +#: kcm/frameworkkcm.cpp:282 #, kde-format msgctxt "temperature sensor state" msgid "Off" msgstr "Uit" -#: kcm/frameworkkcm.cpp:267 +#: kcm/frameworkkcm.cpp:284 #, kde-format msgctxt "temperature sensor state" msgid "Not calibrated" msgstr "Niet gekalibreerd" -#: kcm/frameworkkcm.cpp:268 +#: kcm/frameworkkcm.cpp:285 #, kde-format msgctxt "temperature sensor state" msgid "Error" msgstr "Fout" -#: kcm/frameworkkcm.cpp:273 +#: kcm/frameworkkcm.cpp:290 #, kde-format msgctxt "fan cooling the processor" msgid "CPU fan" msgstr "CPU-ventilator" -#: kcm/frameworkkcm.cpp:275 +#: kcm/frameworkkcm.cpp:292 #, kde-format msgid "Left fan" msgstr "Linkerventilator" -#: kcm/frameworkkcm.cpp:277 +#: kcm/frameworkkcm.cpp:294 #, kde-format msgid "Right fan" msgstr "Rechterventilator" -#: kcm/frameworkkcm.cpp:279 +#: kcm/frameworkkcm.cpp:296 #, kde-format msgid "Front fan" msgstr "Voorste ventilator" -#: kcm/frameworkkcm.cpp:281 +#: kcm/frameworkkcm.cpp:298 #, kde-format msgid "Third fan" msgstr "Derde ventilator" -#: kcm/frameworkkcm.cpp:602 +#: kcm/frameworkkcm.cpp:633 #, kde-format msgid "You are not authorized to change this setting." msgstr "U bent niet gemachtigd om deze instelling te wijzigen." -#: kcm/frameworkkcm.cpp:604 +#: kcm/frameworkkcm.cpp:635 #, kde-format msgid "The Framework hardware service is not running." msgstr "De Framework-hardwaredienst draait niet." -#: kcm/frameworkkcm.cpp:697 +#: kcm/frameworkkcm.cpp:739 #, kde-format msgid "Add at least one schedule." msgstr "Voeg ten minste één schema toe." -#: kcm/frameworkkcm.cpp:705 +#: kcm/frameworkkcm.cpp:747 #, kde-format msgid "Each schedule needs at least one day and a valid time in HH:MM format." msgstr "" "Elk schema heeft ten minste één dag en een geldige tijd in de notatie HH:MM " "nodig." -#: kcm/frameworkkcm.cpp:712 +#: kcm/frameworkkcm.cpp:754 #, kde-format msgid "Each schedule must use unique weekdays." msgstr "Elk schema moet unieke weekdagen gebruiken." -#: kcm/frameworkkcm.cpp:718 +#: kcm/frameworkkcm.cpp:760 #, kde-format msgid "The same weekday and time cannot be scheduled more than once." msgstr "" "Dezelfde weekdag en tijd kunnen niet meer dan één keer worden ingepland." -#: kcm/frameworkkcm.cpp:736 kcm/frameworkkcm.cpp:753 +#: kcm/frameworkkcm.cpp:778 kcm/frameworkkcm.cpp:795 #, kde-format msgid "Could not save the charge schedule configuration." msgstr "Kan de configuratie van het laadschema niet opslaan." -#: kcm/frameworkkcm.cpp:766 +#: kcm/frameworkkcm.cpp:808 #, kde-format msgid "Could not create the user systemd configuration directory." msgstr "Kan de systemd-configuratiemap van de gebruiker niet aanmaken." -#: kcm/frameworkkcm.cpp:776 +#: kcm/frameworkkcm.cpp:818 #, kde-format msgid "The user systemd manager did not respond." msgstr "De systemd-gebruikersbeheerder reageerde niet." -#: kcm/frameworkkcm.cpp:784 +#: kcm/frameworkkcm.cpp:826 #, kde-format msgid "Could not update the user systemd schedule." msgstr "Kan het systemd-schema van de gebruiker niet bijwerken." -#: kcm/frameworkkcm.cpp:799 +#: kcm/frameworkkcm.cpp:841 #, kde-format msgid "" "The Framework System command-line tools were not found. Install framework-" @@ -261,7 +262,7 @@ msgstr "" "De opdrachtregelprogramma's van Framework System zijn niet gevonden. " "Installeer framework-system om laadschema's te gebruiken." -#: kcm/frameworkkcm.cpp:832 kcm/frameworkkcm.cpp:846 +#: kcm/frameworkkcm.cpp:874 kcm/frameworkkcm.cpp:888 #, kde-format msgid "Could not write the user systemd schedule." msgstr "Kan het systemd-schema van de gebruiker niet schrijven." @@ -272,8 +273,8 @@ msgid "Battery:" msgstr "Accu:" #: kcm/ui/BatteryPage.qml:45 kcm/ui/BatteryPage.qml:110 -#: kcm/ui/BatteryPage.qml:188 kcm/ui/InputPage.qml:38 kcm/ui/InputPage.qml:39 -#: kcm/ui/InputPage.qml:40 kcm/ui/InputPage.qml:41 kcm/ui/SchedulePage.qml:218 +#: kcm/ui/BatteryPage.qml:188 kcm/ui/InputPage.qml:69 kcm/ui/InputPage.qml:70 +#: kcm/ui/InputPage.qml:71 kcm/ui/InputPage.qml:72 kcm/ui/SchedulePage.qml:236 #: kcm/ui/ThermalPage.qml:112 #, kde-format msgctxt "percent" @@ -409,22 +410,22 @@ msgstr "" "deze limiet bij een reset, dus de dienst past hem opnieuw toe wanneer hij " "start." -#: kcm/ui/InputPage.qml:10 +#: kcm/ui/InputPage.qml:12 #, kde-format msgid "Lighting" msgstr "Verlichting" -#: kcm/ui/InputPage.qml:14 +#: kcm/ui/InputPage.qml:16 #, kde-format msgid "Fingerprint reader LED:" msgstr "Led van vingerafdruklezer:" -#: kcm/ui/InputPage.qml:17 +#: kcm/ui/InputPage.qml:19 #, kde-format msgid "Custom" msgstr "Aangepast" -#: kcm/ui/InputPage.qml:17 kcm/ui/OverviewPage.qml:229 +#: kcm/ui/InputPage.qml:19 kcm/ui/OverviewPage.qml:229 #: kcm/ui/OverviewPage.qml:238 kcm/ui/OverviewPage.qml:247 #: kcm/ui/SystemPage.qml:13 kcm/ui/SystemPage.qml:84 kcm/ui/SystemPage.qml:89 #: kcm/ui/SystemPage.qml:112 kcm/ui/SystemPage.qml:117 @@ -433,79 +434,102 @@ msgstr "Aangepast" msgid "Unknown" msgstr "Onbekend" -#: kcm/ui/InputPage.qml:19 kcm/ui/ThermalPage.qml:93 +#: kcm/ui/InputPage.qml:21 kcm/ui/ThermalPage.qml:93 #, kde-format msgid "Automatic" msgstr "Automatisch" -#: kcm/ui/InputPage.qml:20 +#: kcm/ui/InputPage.qml:22 #, kde-format msgctxt "fingerprint LED brightness" msgid "High" msgstr "Hoog" -#: kcm/ui/InputPage.qml:21 +#: kcm/ui/InputPage.qml:23 #, kde-format msgctxt "fingerprint LED brightness" msgid "Medium" msgstr "Gemiddeld" -#: kcm/ui/InputPage.qml:22 +#: kcm/ui/InputPage.qml:24 #, kde-format msgctxt "fingerprint LED brightness" msgid "Low" msgstr "Laag" -#: kcm/ui/InputPage.qml:23 +#: kcm/ui/InputPage.qml:25 #, kde-format msgctxt "fingerprint LED brightness" msgid "Ultra low" msgstr "Zeer laag" -#: kcm/ui/InputPage.qml:29 +#: kcm/ui/InputPage.qml:34 +#, kde-format +msgid "Keyboard backlight:" +msgstr "Toetsenbordverlichting:" + +#: kcm/ui/InputPage.qml:38 +#, kde-format +msgid "Turn off after:" +msgstr "Uitschakelen na:" + +#: kcm/ui/InputPage.qml:49 +#, kde-format +msgctxt "keyboard backlight timeout" +msgid "%1 second" +msgid_plural "%1 seconds" +msgstr[0] "%1 seconde" +msgstr[1] "%1 seconden" + +#: kcm/ui/InputPage.qml:55 +#, kde-format +msgid "Set the brightness as usual from the desktop or with Fn+Space." +msgstr "Stel de helderheid zoals gewoonlijk in via het bureaublad of met Fn+spatie." + +#: kcm/ui/InputPage.qml:60 #, kde-format msgid "Haptic Touchpad" msgstr "Haptisch touchpad" -#: kcm/ui/InputPage.qml:33 +#: kcm/ui/InputPage.qml:64 #, kde-format msgid "Haptic feedback:" msgstr "Haptische feedback:" -#: kcm/ui/InputPage.qml:35 kcm/ui/InputPage.qml:48 +#: kcm/ui/InputPage.qml:66 kcm/ui/InputPage.qml:79 #, kde-format msgid "Not set" msgstr "Niet ingesteld" -#: kcm/ui/InputPage.qml:37 +#: kcm/ui/InputPage.qml:68 #, kde-format msgid "Off" msgstr "Uit" -#: kcm/ui/InputPage.qml:46 +#: kcm/ui/InputPage.qml:77 #, kde-format msgid "Click force:" msgstr "Klikkracht:" -#: kcm/ui/InputPage.qml:50 +#: kcm/ui/InputPage.qml:81 #, kde-format msgctxt "touchpad click force" msgid "Light" msgstr "Licht" -#: kcm/ui/InputPage.qml:51 +#: kcm/ui/InputPage.qml:82 #, kde-format msgctxt "touchpad click force" msgid "Medium" msgstr "Gemiddeld" -#: kcm/ui/InputPage.qml:52 +#: kcm/ui/InputPage.qml:83 #, kde-format msgctxt "touchpad click force" msgid "Firm" msgstr "Stevig" -#: kcm/ui/InputPage.qml:57 +#: kcm/ui/InputPage.qml:88 #, kde-format msgid "" "Only for haptic touchpads. The touchpad can't report these settings back, so " @@ -708,59 +732,59 @@ msgstr "Invoer" msgid "System" msgstr "Systeem" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Monday" msgstr "Maandag" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Tuesday" msgstr "Dinsdag" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Wednesday" msgstr "Woensdag" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Thursday" msgstr "Donderdag" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Friday" msgstr "Vrijdag" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Saturday" msgstr "Zaterdag" -#: kcm/ui/SchedulePage.qml:24 +#: kcm/ui/SchedulePage.qml:25 #, kde-format msgid "Sunday" msgstr "Zondag" -#: kcm/ui/SchedulePage.qml:108 +#: kcm/ui/SchedulePage.qml:126 #, kde-format msgid "Charge schedule" msgstr "Laadschema" -#: kcm/ui/SchedulePage.qml:113 +#: kcm/ui/SchedulePage.qml:131 #, kde-format msgid "" "Create entries that automatically apply a charge limit on selected weekdays." msgstr "" "Maak items die op gekozen weekdagen automatisch een laadlimiet toepassen." -#: kcm/ui/SchedulePage.qml:122 +#: kcm/ui/SchedulePage.qml:140 #, kde-format msgid "Schedule saved." msgstr "Schema opgeslagen." -#: kcm/ui/SchedulePage.qml:129 +#: kcm/ui/SchedulePage.qml:147 #, kde-format msgid "" "Fixture mode only previews schedule settings. No systemd timers are created." @@ -768,52 +792,52 @@ msgstr "" "De testmodus toont de schema-instellingen alleen als voorbeeld. Er worden " "geen systemd-timers aangemaakt." -#: kcm/ui/SchedulePage.qml:134 +#: kcm/ui/SchedulePage.qml:152 #, kde-format msgid "Enable charge schedules" msgstr "Laadschema's inschakelen" -#: kcm/ui/SchedulePage.qml:162 +#: kcm/ui/SchedulePage.qml:180 #, kde-format msgid "Schedule %1" msgstr "Schema %1" -#: kcm/ui/SchedulePage.qml:170 +#: kcm/ui/SchedulePage.qml:188 #, kde-format msgid "Remove schedule" msgstr "Schema verwijderen" -#: kcm/ui/SchedulePage.qml:176 +#: kcm/ui/SchedulePage.qml:194 #, kde-format msgid "Days" msgstr "Dagen" -#: kcm/ui/SchedulePage.qml:198 +#: kcm/ui/SchedulePage.qml:216 #, kde-format msgid "Time" msgstr "Tijd" -#: kcm/ui/SchedulePage.qml:210 +#: kcm/ui/SchedulePage.qml:228 #, kde-format msgid "Charge limit" msgstr "Laadlimiet" -#: kcm/ui/SchedulePage.qml:231 +#: kcm/ui/SchedulePage.qml:249 #, kde-format msgid "Add schedule" msgstr "Schema toevoegen" -#: kcm/ui/SchedulePage.qml:238 +#: kcm/ui/SchedulePage.qml:256 #, kde-format msgid "Schedule changes need saving" msgstr "Schemawijzigingen moeten worden opgeslagen" -#: kcm/ui/SchedulePage.qml:249 +#: kcm/ui/SchedulePage.qml:267 #, kde-format msgid "Save schedule" msgstr "Schema opslaan" -#: kcm/ui/SchedulePage.qml:257 +#: kcm/ui/SchedulePage.qml:275 #, kde-format msgid "" "Schedules run through your user systemd manager and require the Framework " @@ -1111,6 +1135,17 @@ msgstr "" "ventilatoren gaan terug naar automatisch wanneer de dienst stopt of de " "laptop opnieuw start." +#, kde-format +#~ msgid "" +#~ "Counts from the last keyboard, touchpad or mouse input, and turns the " +#~ "backlight back on at its previous brightness when you use one. Set the " +#~ "brightness as usual from the desktop or with Fn+Space." +#~ msgstr "" +#~ "Telt vanaf de laatste invoer via toetsenbord, touchpad of muis, en zet de " +#~ "verlichting weer aan op de vorige helderheid zodra u er een gebruikt. " +#~ "Stel de helderheid zoals gewoonlijk in via het bureaublad of met " +#~ "Fn+spatie." + #, kde-format #~ msgid "Charging" #~ msgstr "Opladen"