From 83241541773df3ef6f06adf59ca54c71b7c88a04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Fdez?= Date: Wed, 8 Jul 2020 17:55:17 +0200 Subject: [PATCH] keep newlines outside translations --- frontend/device/android/device.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/device/android/device.lua b/frontend/device/android/device.lua index 94ec45a9d..7af379f75 100644 --- a/frontend/device/android/device.lua +++ b/frontend/device/android/device.lua @@ -343,17 +343,17 @@ function Device:info() local platform_text = "" if product_type ~= "android" then - platform_text = T(_("\nDevice type: %1\n"), product_type) + platform_text = "\n" .. T(_("Device type: %1"), product_type) .. "\n" end local eink_text = "" if is_eink then - eink_text = T(_("\nE-ink display supported.\nPlatform: %1\n"), eink_platform) + eink_text = "\n" .. T(_("E-ink display supported.\nPlatform: %1"), eink_platform) .. "\n" end local wakelocks_text = "" if android.needsWakelocks() then - wakelocks_text = _("\nThis device needs CPU, screen and touchscreen always on.\nScreen timeout will be ignored while the app is in the foreground!\n") + wakelocks_text = "\n" .. _("This device needs CPU, screen and touchscreen always on.\nScreen timeout will be ignored while the app is in the foreground!") .. "\n" end return common_text..platform_text..eink_text..wakelocks_text