Skip to content
Permalink
Browse files

context_help/function_help:

- remove en_US postfix
- remove translated files (translation were moved to ts files earlier)
- remove unused jQuery (python help doesn't use it anymore)
- change expression label in QgsQueryBuilder and add context help (partly fixes
  #8129)
  • Loading branch information
jef-n committed Jun 21, 2013
1 parent 3747c2b commit c6a4bb86aad7bf7f9d41d90b84d439c3d17a186c
Showing 451 changed files with 148 additions and 7,879 deletions.
@@ -1,7 +1,6 @@
INSTALL(FILES srs.db qgis.db symbology-ng-style.db spatialite.db customization.xml
DESTINATION ${QGIS_DATA_DIR}/resources)
INSTALL(DIRECTORY cpt-city-qgis-min DESTINATION ${QGIS_DATA_DIR}/resources)
INSTALL(DIRECTORY jQuery DESTINATION ${QGIS_DATA_DIR}/resources)

ADD_SUBDIRECTORY(context_help)
ADD_SUBDIRECTORY(function_help)
@@ -1,11 +1,12 @@
FILE(GLOB HELP_FILES *-en_US)
FILE(GLOB HELP_FILES *)
LIST(REMOVE_ITEM HELP_FILES ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt)

SET(HELP_OUTPUT "${CMAKE_SOURCE_DIR}/src/core/qgscontexthelp_texts.cpp")

FILE(WRITE ${HELP_OUTPUT} "#include \"qgscontexthelp.h\"\n#include <QCoreApplication>\n\nQHash<QString, QString> QgsContextHelp::gContextHelpTexts;\n\nvoid QgsContextHelp::init()\n{\n if( !gContextHelpTexts.isEmpty() )\n return;\n")

FOREACH(HELP_FILE ${HELP_FILES})
STRING(REGEX REPLACE "^.*/([^/]+)-en_US$" "\\1" CONTEXT ${HELP_FILE})
STRING(REGEX REPLACE "^.*/([^/]+)$" "\\1" CONTEXT ${HELP_FILE})

FILE(READ ${HELP_FILE} HELP)
STRING(REPLACE "\\" "&#92;" HELP "${HELP}")
File renamed without changes.

This file was deleted.

File renamed without changes.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit c6a4bb8

Please sign in to comment.
You can’t perform that action at this time.