From b44759ec3f85a3cab441d6975da25142531b36f9 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Tue, 31 May 2022 10:41:20 +0300 Subject: [PATCH] libcamera: improve the front/back camera descriptions --- src/scripts/monitors/libcamera.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/monitors/libcamera.lua b/src/scripts/monitors/libcamera.lua index d44e3ffc..6150c8d1 100644 --- a/src/scripts/monitors/libcamera.lua +++ b/src/scripts/monitors/libcamera.lua @@ -85,9 +85,9 @@ function createNode(parent, id, type, factory, properties) -- set the node description local desc = dev_props["device.description"] or "libcamera-device" if location == "front" then - desc = I18n.gettext("Internal front camera") + desc = I18n.gettext("Built-in Front Camera") elseif location == "back" then - desc = I18n.gettext("Internal back camera") + desc = I18n.gettext("Built-in Back Camera") end -- sanitize description, replace ':' with ' ' properties["node.description"] = desc:gsub("(:)", " ")