Commit 67da2edb authored by Laurent Montel's avatar Laurent Montel 😁

Better to rename it as DICTIONARYLANGUAGE

parent 4af45544
......@@ -311,9 +311,9 @@ void TemplateParser::processWithTemplate( const QString &tmpl )
QString q;
int len = parseQuotes( QLatin1String("REM="), cmd, q );
i += len;
} else if ( cmd.startsWith( QLatin1String( "LANGUAGE=" ) ) ) {
} else if ( cmd.startsWith( QLatin1String( "DICTIONARYLANGUAGE=" ) ) ) {
QString q;
const int len = parseQuotes( QLatin1String("LANGUAGE="), cmd, q );
const int len = parseQuotes( QLatin1String("DICTIONARYLANGUAGE="), cmd, q );
i += len;
if (!q.isEmpty()) {
KMime::Headers::Generic *header =
......
......@@ -50,7 +50,7 @@ QStringList TemplateParser::Util::keywordsWithArgs()
<< QLatin1String( "%TEXTPIPE=\"\"" )
<< QLatin1String( "%OHEADER=\"\"" )
<< QLatin1String( "%HEADER=\"\"" )
<< QLatin1String( "%LANGUAGE=\"\"" );
<< QLatin1String( "%DICTIONARYLANGUAGE=\"\"" );
return keywordsWithArgs;
}
......@@ -70,7 +70,7 @@ QStringList TemplateParser::Util::keywordsWithArgsForCompleter()
<< QLatin1String( "%TEXTPIPE=\".*\"" )
<< QLatin1String( "%OHEADER=\".*\"" )
<< QLatin1String( "%HEADER=\".*\"" )
<< QLatin1String( "%LANGUAGE=\".*\"" );
<< QLatin1String( "%DICTIONARYLANGUAGE=\".*\"" );
return keywordsWithArgs;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment