From c891143b05eff17d9908fa88dcb1aa759c0a728b Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 29 Sep 2023 10:13:04 +0200 Subject: [PATCH] Enforce accelerators in translations Make sure we don't overlook missing accelerators in the translations again. --- po/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 94f4395e..0be492c8 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -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} ) -- 2.39.5