Ticket #43736: patch-i18n-CMakeLists.txt.diff

File patch-i18n-CMakeLists.txt.diff, 428 bytes (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)
  • i18n/CMakeLists.txt

    old new  
    1111
    1212set(UI_LANG "")
    1313foreach(tsfile ${TRANSLATIONS_FILES})
    14         string(REGEX REPLACE "[^_]*_(.*)\\.ts" "\\1" rmatch ${tsfile})
     14        string(REGEX REPLACE "^.+/tagainijisho_([^/]+)\\.ts$" "\\1" rmatch ${tsfile})
    1515        set(UI_LANG "${UI_LANG};${rmatch}")
    1616endforeach(tsfile ${TRANSLATIONS_FILES})
    1717