parent
d09888c454
commit
480d94f7f5
@ -1,25 +0,0 @@
|
|||||||
Description: to be descided upstream
|
|
||||||
no need to put this upstream, but we are not
|
|
||||||
sure how to implement the new translation
|
|
||||||
routines - time will tell, this fixes the new
|
|
||||||
behaviour until we maybe rework translation upstream.
|
|
||||||
|
|
||||||
--- a/cmake/LXQtTranslateDesktop.cmake
|
|
||||||
+++ b/cmake/LXQtTranslateDesktop.cmake
|
|
||||||
@@ -71,13 +71,13 @@
|
|
||||||
set(_pattern "'\\[.*]\\s*='")
|
|
||||||
if (_translations)
|
|
||||||
add_custom_command(OUTPUT ${_outFile}
|
|
||||||
- COMMAND grep -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
|
|
||||||
- COMMAND grep -h ${_pattern} ${_translations} >> ${_outFile}
|
|
||||||
+ COMMAND grep -v -a "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
|
|
||||||
+ COMMAND grep -h -a ${_pattern} ${_translations} >> ${_outFile}
|
|
||||||
COMMENT "Generating ${_fileName}${_fileExt}"
|
|
||||||
)
|
|
||||||
else()
|
|
||||||
add_custom_command(OUTPUT ${_outFile}
|
|
||||||
- COMMAND grep -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
|
|
||||||
+ COMMAND grep -v -a "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
|
|
||||||
COMMENT "Generating ${_fileName}${_fileExt}"
|
|
||||||
)
|
|
||||||
endif()
|
|
@ -1 +0,0 @@
|
|||||||
fix-new-grep-behaviour.patch
|
|
Loading…
Reference in new issue