~fcitx-team/fcitx/debian-hangul

« back to all changes in this revision

Viewing changes to po/CMakeLists.txt

  • Committer: Boyuan Yang
  • Date: 2017-09-29 16:33:26 UTC
  • mfrom: (1.2.4)
  • Revision ID: git-v1:92e087ebe26ace704284f385a623f91880d006f1
Updated version 0.3.1 from 'upstream/0.3.1'

with Debian dir fe37bd91a49ece4b12a6a11734de7c0ca8b066ad

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
set(PO_LANGS de zh_CN zh_TW ja ko)
2
 
foreach(lang ${PO_LANGS})
3
 
   fcitx_translate_add_po_file("${lang}" "${lang}.po")
 
1
file(GLOB PO_FILES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" *.po)
 
2
 
 
3
foreach(po_file ${PO_FILES})
 
4
  string(REPLACE ".po" "" po_lang "${po_file}")
 
5
  fcitx_translate_add_po_file("${po_lang}" "${po_file}")
4
6
endforeach()
5
7
fcitx_translate_set_pot_target(pot fcitx-hangul fcitx-hangul.pot)