]> git.lyx.org Git - features.git/commit
Cmake build: Try to omit using directory names as source-files in po
authorKornel Benko <kornel@lyx.org>
Mon, 7 Sep 2020 19:12:22 +0000 (21:12 +0200)
committerKornel Benko <kornel@lyx.org>
Mon, 7 Sep 2020 19:12:22 +0000 (21:12 +0200)
commitaadfb583740a2e1be58201408e3fcccf720b8803
tree03f8999a0a944799e00d3c19215ff4378ab032aa
parentb2109b9d39ed0b6e40a282bcd0f314a5c20d2fd5
Cmake build: Try to omit using directory names as source-files in po

Previously there are po-entries like
  #: lib/examples/Articles:0 src/TocBackend.cpp:296
  #:src/frontends/qt/GuiExternal.cpp:87
  msgid "External Material"
  msgstr ""

now:
  #: src/TocBackend.cpp:296 src/frontends/qt/GuiExternal.cpp:87
  #: lib/examples/Articles:0
  msgid "External Material"
  msgstr ""

(The string at 'lib/examples/Articles:0' proceeds also from the directory name 'lib/examples/External_Material')

This makes it easier to use some po-editors like 'linguist'
development/cmake/modules/FindLyXGettext.cmake
po/CMakeLists.txt