From 7c419df649a1cf1fe5b25c3cdaf5a262ed83ac75 Mon Sep 17 00:00:00 2001 From: Repo <47093363+Titian3@users.noreply.github.com> Date: Mon, 14 Aug 2023 04:56:30 +1200 Subject: [PATCH] Fix scientific notation showing in pressure description. (#19076) * Change pressure significant places to 4 * Added 4 significant places for power displays too. --- Resources/Locale/en-US/_lib.ftl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/Locale/en-US/_lib.ftl b/Resources/Locale/en-US/_lib.ftl index 7c2befa7a9..9061392616 100644 --- a/Resources/Locale/en-US/_lib.ftl +++ b/Resources/Locale/en-US/_lib.ftl @@ -1,7 +1,7 @@ ### Special messages used by internal localizer stuff. # Used internally by the PRESSURE() function. -zzzz-fmt-pressure = { TOSTRING($divided, "G3") } { $places -> +zzzz-fmt-pressure = { TOSTRING($divided, "G4") } { $places -> [0] kPa [1] MPa [2] GPa @@ -11,7 +11,7 @@ zzzz-fmt-pressure = { TOSTRING($divided, "G3") } { $places -> } # Used internally by the POWERWATTS() function. -zzzz-fmt-power-watts = { TOSTRING($divided, "G3") } { $places -> +zzzz-fmt-power-watts = { TOSTRING($divided, "G4") } { $places -> [0] W [1] kW [2] MW @@ -23,7 +23,7 @@ zzzz-fmt-power-watts = { TOSTRING($divided, "G3") } { $places -> # Used internally by the POWERJOULES() function. # Reminder: 1 joule = 1 watt for 1 second (multiply watts by seconds to get joules). # Therefore 1 kilowatt-hour is equal to 3,600,000 joules (3.6MJ) -zzzz-fmt-power-joules = { TOSTRING($divided, "G3") } { $places -> +zzzz-fmt-power-joules = { TOSTRING($divided, "G4") } { $places -> [0] J [1] kJ [2] MJ