mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
include saga strings in translations
This commit is contained in:
parent
c154b2f31e
commit
87a8a16bbd
@ -114,3 +114,5 @@ rm -rf ${RELEASE_DIR}
|
||||
popd
|
||||
|
||||
echo "Release in $ZIP_NAME ready."
|
||||
|
||||
# vim: et ts=4 :
|
||||
|
@ -64,21 +64,21 @@ for my $f (<python/plugins/processing/algs/grass*/description/*.txt>) {
|
||||
$strings{"GrassAlgorithm"}{$group} = $f;
|
||||
}
|
||||
|
||||
for my $f (<python/plugins/processing/algs/saga/description/*/*.txt>) {
|
||||
for my $f (<python/plugins/processing/algs/saga/description/*.txt>) {
|
||||
open I, $f;
|
||||
my $desc = scalar(<I>);
|
||||
|
||||
while( my($class, $name, $description, $rest) = split /\|/, scalar(<I>) ) {
|
||||
next unless defined $description;
|
||||
$description =~ s/\s+$//;
|
||||
$strings{"SAGAAlgorithm"}{$description} = 1
|
||||
$strings{"SAGAAlgorithm"}{$description} = $f
|
||||
}
|
||||
|
||||
close I;
|
||||
|
||||
chop $desc;
|
||||
|
||||
$strings{"SAGAAlgorithm"}{$desc} = 1;
|
||||
$strings{"SAGAAlgorithm"}{$desc} = $f;
|
||||
}
|
||||
|
||||
for my $f (<python/plugins/processing/algs/help/*.yaml>) {
|
||||
@ -86,7 +86,7 @@ for my $f (<python/plugins/processing/algs/help/*.yaml>) {
|
||||
$base = uc $base;
|
||||
my $yaml = LoadFile($f);
|
||||
for my $k (keys %$yaml) {
|
||||
$strings{"${base}Algorithm"}{$yaml->{$k}} = $f;
|
||||
$strings{"${base}Algorithm"}{$yaml->{$k}} = $k;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2965,7 +2965,11 @@ int QgsCoordinateReferenceSystem::syncDatabase()
|
||||
return -1;
|
||||
}
|
||||
|
||||
QgsDebugMsgLevel( QStringLiteral( "CRS update (inserted:%1 updated:%2 deleted:%3 errors:%4)" ).arg( QString::number( inserted ), QString::number( updated ), QString::number( deleted ), QString::number( errors ) ), 4 );
|
||||
#ifdef QGISDEBUG
|
||||
QgsDebugMsgLevel( QStringLiteral( "CRS update (inserted:%1 updated:%2 deleted:%3 errors:%4)" ).arg( inserted ).arg( updated ).arg( deleted ).arg( errors ), 4 );
|
||||
#else
|
||||
Q_UNUSED( deleted )
|
||||
#endif
|
||||
|
||||
if ( errors > 0 )
|
||||
return -errors;
|
||||
|
@ -458,7 +458,9 @@ void QgsSnappingUtils::prepareIndex( const QList<LayerAndAreaOfInterest> &layers
|
||||
}
|
||||
|
||||
if ( !relaxed )
|
||||
{
|
||||
QgsDebugMsg( QStringLiteral( "Prepare index total: %1 ms" ).arg( t.elapsed() ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user