Update TDEL10n module

+ Add *.theme and eventsrc to files known as desktop style.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/51/head
Slávek Banko 4 年之前
父節點 e4b370839f
當前提交 55cdb3a75e
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 608F5293A04BE668

@ -514,9 +514,10 @@ macro( tde_l10n_create_template )
endif( )
endforeach( )
# pick desktop files - *.desktop, *.directory, *.kcsrc, *.protocol and *.themerc
# pick desktop files - *.desktop, *.directory, *.kcsrc, *.protocol, *.theme, *.themerc and eventsrc
foreach( _src ${_files} )
if( ${_src} MATCHES "\\.(desktop|directory|kcsrc|protocol|themerc)(\\.cmake)?$" )
if( ${_src} MATCHES "\\.(desktop|directory|kcsrc|protocol|theme|themerc)(\\.cmake)?$"
OR ${_src} MATCHES "(^|/)eventsrc(\\.cmake)?$" )
list( APPEND _desktops ${_src} )
list( REMOVE_ITEM _files ${_src} )
endif( )

Loading…
取消
儲存