summaryrefslogtreecommitdiff
path: root/comms/klog/files/patch-src_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'comms/klog/files/patch-src_main.cpp')
-rw-r--r--comms/klog/files/patch-src_main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/klog/files/patch-src_main.cpp b/comms/klog/files/patch-src_main.cpp
new file mode 100644
index 000000000000..88e0f3adcefa
--- /dev/null
+++ b/comms/klog/files/patch-src_main.cpp
@@ -0,0 +1,13 @@
+--- src/main.cpp.orig 2023-12-26 00:00:15 UTC
++++ src/main.cpp
+@@ -151,6 +151,10 @@ int main(int argc, char *argv[])
+ myappTranslator.load(QCoreApplication::applicationDirPath() + "/translations/klog_" + (QLocale::system().name())); /* Flawfinder: ignore */
+ }
+
++ else if (((QLocale::system().name()).left(1)) == "C") /* Flawfinder: ignore */
++ { // If language is C, it will execute without showing message
++
++ }
+ else if (((QLocale::system().name()).left(2)) == "en") /* Flawfinder: ignore */
+ { // If language is English, it will execute without showing message
+