]> source.dussan.org Git - tigervnc.git/commitdiff
Enforce accelerators in translations
authorPierre Ossman <ossman@cendio.se>
Fri, 29 Sep 2023 08:13:04 +0000 (10:13 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 29 Sep 2023 08:13:04 +0000 (10:13 +0200)
Make sure we don't overlook missing accelerators in the translations
again.

po/CMakeLists.txt

index 94f4395ea26d6164ce3634fd8c67623fbdb30a9a..0be492c8d3842eaccecb1ded0bea91dcd6de88be 100644 (file)
@@ -43,7 +43,7 @@ foreach(lang ${po_FILES})
 
   # Add command to build X.mo from X.po
   add_custom_command(OUTPUT ${mo}
-    COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check -o ${mo} ${po}
+    COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check --check-accelerators -o ${mo} ${po}
     DEPENDS ${po}
   )