blob: 95283b014009a8d32235aa5782f90fc8feb52c37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
From 12387b01a1c7e529580c6f27e92dad3e8b4f9858 Mon Sep 17 00:00:00 2001
From: Bryan Tan <techniux@gmail.com>
Date: Fri, 7 Feb 2020 19:47:18 -0800
Subject: [PATCH] Fix translation target
- Do not modify po files in place
- Always build translations
---
po/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index f957a199d..73ce0f04f 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -20,7 +20,7 @@ if (XGETTEXT_FOUND)
"${PROJECT_SOURCE_DIR}/ui/*.glade"
)
- gettext_create_translations ("${potfile}")
+ gettext_create_translations ("${potfile}" ALL NOUPDATE)
else (XGETTEXT_FOUND)
message (ERROR "Gettext not found!")
|