Codebase list fcitx-table-extra / 438a1eb2-d2c2-4e49-b4db-32a62f54c105/main po / CMakeLists.txt
438a1eb2-d2c2-4e49-b4db-32a62f54c105/main

Tree @438a1eb2-d2c2-4e49-b4db-32a62f54c105/main (Download .tar.gz)

CMakeLists.txt @438a1eb2-d2c2-4e49-b4db-32a62f54c105/mainraw · history · blame

1
2
3
4
5
6
7
file(GLOB PO_FILES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" *.po)

foreach(po_file ${PO_FILES})
  string(REPLACE ".po" "" po_lang "${po_file}")
  fcitx_translate_add_po_file("${po_lang}" "${po_file}")
endforeach()
fcitx_translate_set_pot_target(pot fcitx-table-extra fcitx-table-extra.pot)