Commit cd33dc7b authored by Felipe Kinoshita's avatar Felipe Kinoshita 🌎 Committed by Nate Graham
Browse files

applets/batterymonitor: make string translatable

This commit makes the string "No Batteries Available" translatable.

BUG: 454114


(cherry picked from commit 7f308065)
parent 8e609daa
Pipeline #179305 passed with stage
in 8 minutes and 10 seconds
......@@ -86,7 +86,7 @@ Item {
}
if (batteries.count === 0) {
parts.push("No Batteries Available");
parts.push(i18n("No Batteries Available"));
} else if (remainingTime > 0) {
const remainingTimeString = KCoreAddons.Format.formatDuration(remainingTime, KCoreAddons.FormatTypes.HideSeconds);
if (pmSource.data["Battery"]["State"] === "FullyCharged") {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment