aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2025-06-27 16:50:41 +0200
committerPierre Ossman <ossman@cendio.se>2025-06-27 16:50:41 +0200
commit062f6d383745f2b414d4bb6fd137dc729ea29774 (patch)
tree66bcc470a5d1ab76ec95a72626644a99d1b6315e
parent89eaa1e297d12021430814ced240bc51ad109236 (diff)
downloadtigervnc-master.tar.gz
tigervnc-master.zip
Tell xgettext we use UTF-8 for source stringsHEADmaster
We no longer restrict ourselves to just ASCII, so we need to tell xgettext the encoding we use in the source code.
-rw-r--r--po/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index 7d316e78..03fb2632 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -23,6 +23,7 @@ if (GETTEXT_XGETTEXT_EXECUTABLE)
"--directory=${PROJECT_SOURCE_DIR}"
"--output=${CMAKE_CURRENT_SOURCE_DIR}/tigervnc.pot"
--default-domain=tigervnc
+ --from-code=UTF-8
--keyword=_
--keyword=p_:1c,2
--keyword=N_