Browse Source

Added automatic reading of languages list

6.0.7
Marco Ciampa 10 years ago
parent
commit
3a8bef69aa
  1. 3
      CMakeLists.txt
  2. 2
      LINGUAS

3
CMakeLists.txt

@ -4,7 +4,8 @@ project( kicad-i18n NONE )
find_package( Gettext REQUIRED )
set( LANG_ARRAY ca cs de es fi fr hu it ja ko nl pl pt ru sl sv zh_CN )
file(STRINGS LINGUAS LANG_ARRAY REGEX "^[^#].*")
foreach( LANG ${LANG_ARRAY} )
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/${LANG})

2
LINGUAS

@ -1,3 +1,5 @@
# please keep this list sorted alphabetically
#
bg
ca
cs

Loading…
Cancel
Save