Skip to content

Commit

Permalink
Request gettext 0.22 for official pot files
Browse files Browse the repository at this point in the history
  • Loading branch information
fellen committed Jun 25, 2024
1 parent 3482a48 commit a11636a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,10 @@ find_library (REGEX_LIBRARY NAMES regex)
set (BUILD_GNUCASH_POT ${BUILDING_FROM_VCS})

find_package (Gettext 0.19.6 REQUIRED)
if (${GETTEXT_VERSION_STRING} VERSION_LESS 0.22)
message (WARNING "Gettext version 0.22 or more recent is required to detect c++-formats. Do not use pot files from older versions in official msgmerges.")
endif()

if (${GETTEXT_VERSION_STRING} VERSION_LESS 0.20)
message (WARNING "Gettext version 0.20 or more recent is required to translate the 'developer_name' tag in gnucash.appdata.xml. All but that tag will be translated in the generated file.")
if(BUILD_GNUCASH_POT)
Expand Down

0 comments on commit a11636a

Please sign in to comment.