Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 c6a4bb8
Show file tree
Hide file tree
Showing 451 changed files with 148 additions and 7,879 deletions.
1 change: 0 additions & 1 deletion resources/CMakeLists.txt
@@ -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)
5 changes: 3 additions & 2 deletions resources/context_help/CMakeLists.txt
@@ -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}")
Expand Down
File renamed without changes.
38 changes: 0 additions & 38 deletions resources/context_help/HeatmapGui-de_DE

This file was deleted.

File renamed without changes.
36 changes: 0 additions & 36 deletions resources/context_help/MapServerExport-de_DE

This file was deleted.

38 changes: 0 additions & 38 deletions resources/context_help/MapServerExport-es_ES

This file was deleted.

32 changes: 0 additions & 32 deletions resources/context_help/MapServerExport-fr_FR

This file was deleted.

36 changes: 0 additions & 36 deletions resources/context_help/MapServerExport-it_IT

This file was deleted.

32 changes: 0 additions & 32 deletions resources/context_help/MapServerExport-ja_JP

This file was deleted.

32 changes: 0 additions & 32 deletions resources/context_help/MapServerExport-pl_PL

This file was deleted.

31 changes: 0 additions & 31 deletions resources/context_help/MapServerExport-pt_BR

This file was deleted.

0 comments on commit c6a4bb8

Please sign in to comment.