Skip to content

Commit cafe9d4

Browse files
committedSep 28, 2017
remove qgscontexthelp_texts.cpp from i18n
1 parent 69f370e commit cafe9d4

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed
 

‎.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ scripts/astyle.exe
5252
scripts/Debug
5353
scripts/qgisstyle*
5454
scripts/RelWithDebInfo
55-
src/core/qgscontexthelp_texts.cpp
5655
src/core/qgsexpression_texts.cpp
5756
tests/testdata/cache/
5857
tests/testdata/checker360by180.asc.aux.xml

‎scripts/update_ts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ files=
7878
if [ -d "$2" ]; then
7979
builddir=$(realpath $2)
8080
textcpp=
81-
for i in $builddir/src/core/qgsexpression_texts.cpp $builddir/src/core/qgscontexthelp_texts.cpp; do
81+
for i in $builddir/src/core/qgsexpression_texts.cpp; do
8282
if [ -f $i ]; then
8383
textcpp="$textcpp $i"
8484
elif [ "$action" != "pull" ]; then

‎scripts/update_ts_files.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
# name is reserved for the Windows qmake project file
2323

2424
echo "deprecated - use push_ts.sh and pull_ts.sh" >&2
25-
echo "deprecated - src/core/qgscontexthelp_texts.cpp are no longer used" >&2
2625

2726
set -e
2827

@@ -112,7 +111,7 @@ if [ -d "$builddir" ]; then
112111
exit 1
113112
fi
114113

115-
if [ ! -f "$builddir/src/core/qgsexpression_texts.cpp" -o ! -f "$builddir/src/core/qgscontexthelp_texts.cpp" ]; then
114+
if [ ! -f "$builddir/src/core/qgsexpression_texts.cpp" ]; then
116115
echo Generated help files not found
117116
exit 1
118117
fi
@@ -140,7 +139,7 @@ for i in \
140139
do
141140
[ -f "$i" ] && mv "$i" "$i.save"
142141
done
143-
$QMAKE -project -o qgis_ts.pro -nopwd src python i18n "$builddir/src/core/qgsexpression_texts.cpp" "$builddir/src/core/qgscontexthelp_texts.cpp"
142+
$QMAKE -project -o qgis_ts.pro -nopwd src python i18n "$builddir/src/core/qgsexpression_texts.cpp"
144143
if [ -n "$add" ]; then
145144
for i in $add; do
146145
echo "Adding translation for $i"

0 commit comments

Comments
 (0)
Please sign in to comment.