Przeglądaj źródła

Validate translations during build

Incorrect format strings can cause crashes, so we want to catch those
early.
tags/v1.11.90
Pierre Ossman 3 lat temu
rodzic
commit
9752315da0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      po/CMakeLists.txt

+ 1
- 1
po/CMakeLists.txt Wyświetl plik

@@ -41,7 +41,7 @@ foreach(lang ${po_FILES})

# Add command to build X.mo from X.po
add_custom_command(OUTPUT ${mo}
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${mo} ${po}
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check -o ${mo} ${po}
DEPENDS ${po}
)


Ładowanie…
Anuluj
Zapisz