Skip to content

Commit

Permalink
More spelling fixes
Browse files Browse the repository at this point in the history
* editation
* definintion
* Unabled
* capitalize QGIS
* replace algs by algorithms
* queryings
* symbo(s)
* missing space after a dot
  • Loading branch information
DelazJ committed Dec 29, 2016
1 parent ee1abdc commit 828e447
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/db_plugins/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def editTableActionSlot(self, item, action, parent):
QApplication.restoreOverrideCursor()
try:
if not isinstance(item, Table) or item.isView:
parent.infoBar.pushMessage(QApplication.translate("DBManagerPlugin", "Select a table for editation."),
parent.infoBar.pushMessage(QApplication.translate("DBManagerPlugin", "Select a table to edit."),
QgsMessageBar.INFO, parent.iface.messageTimeout())
return
from ..dlg_table_properties import DlgTableProperties
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/processing/core/ProcessingConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def initialize():
ProcessingConfig.addSetting(Setting(
ProcessingConfig.tr('General'),
ProcessingConfig.RECENT_ALGORITHMS,
ProcessingConfig.tr('Recent algs'), '', hidden=True))
ProcessingConfig.tr('Recent algorithms'), '', hidden=True))
extensions = processing.tools.dataobjects.getSupportedOutputVectorLayerExtensions()
ProcessingConfig.addSetting(Setting(
ProcessingConfig.tr('General'),
Expand Down
2 changes: 1 addition & 1 deletion resources/function_help/json/regexp_matches
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{"arg":"string", "description":"the string to capture groups from against the regular expression"},
{"arg":"regex","description":"the regular expression used to capture groups"},
{"arg":"empty_value","optional":true,"default":"''","description":"the optional string to use as replacement for empty (zero length) matches"}],
"examples": [ { "expression":"regexp_matches('qgis=>rocks','(.*)=>(.*)')", "returns":"array: 'qgis', 'rocks'"},
"examples": [ { "expression":"regexp_matches('QGIS=>rocks','(.*)=>(.*)')", "returns":"array: 'QGIS', 'rocks'"},
{ "expression":"regexp_matches('key=>','(.*)=>(.*)','empty value')", "returns":"array: 'key', 'empty value'"}
]
}
2 changes: 2 additions & 0 deletions scripts/spelling.dat
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ debians:Debian's
decompres:decompress
definate:definite
definately:definitely
definintion:definition
deimiter:delimiter
delemeter:delimiter
delemiter:delimiter
Expand Down Expand Up @@ -463,6 +464,7 @@ supress:suppress
surpress:suppress
suspicously:suspiciously
swaped:swapped
symbo:symbol
syle:style
symetrical:symmetrical
synax:syntax
Expand Down
2 changes: 1 addition & 1 deletion src/app/composer/qgscomposer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2488,7 +2488,7 @@ void QgsComposer::exportCompositionAsSVG( QgsComposer::OutputMode mode )
"with layers not being clipped to the map "
"bounding box.</p>" )
+ tr( "If you require a vector-based output file from "
"Qgis it is suggested that you try printing "
"QGIS it is suggested that you try printing "
"to PostScript if the SVG output is not "
"satisfactory."
"</p>" ) );
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6369,7 +6369,7 @@ void QgisApp::saveAsLayerDefinition()
bool saved = QgsLayerDefinition::exportLayerDefinition( path, mLayerTreeView->selectedNodes(), errorMessage );
if ( !saved )
{
messageBar()->pushMessage( tr( "Error saving layer definintion file" ), errorMessage, QgsMessageBar::WARNING );
messageBar()->pushMessage( tr( "Error saving layer definition file" ), errorMessage, QgsMessageBar::WARNING );
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/app/qgspluginregistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ void QgsPluginRegistry::loadCppPlugin( const QString& theFullPathName )
{
// something went wrong
QMessageBox::warning( mQgisInterface->mainWindow(), QObject::tr( "Error Loading Plugin" ),
QObject::tr( "There was an error loading a plugin."
QObject::tr( "There was an error loading a plugin. "
"The following diagnostic information may help the QGIS developers resolve the issue:\n%1." )
.arg( myError ) );
//disable it to the qsettings file [ts]
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsvectorfilewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,7 @@ QMap<QString, QgsVectorFileWriter::MetaData> QgsVectorFileWriter::initMetaData()
) );

layerOptions.insert( QStringLiteral( "FORMAT" ), new SetOption(
QObject::tr( "Controls the format used for the geometry column. Defaults to WKB."
QObject::tr( "Controls the format used for the geometry column. Defaults to WKB. "
"This is generally more space and processing efficient, but harder "
"to inspect or use in simple applications than WKT (Well Known Text)." ),
QStringList()
Expand Down Expand Up @@ -1569,7 +1569,7 @@ QMap<QString, QgsVectorFileWriter::MetaData> QgsVectorFileWriter::initMetaData()
"for databases that have big string blobs. However, use with care, since "
"the value of such columns will be seen as compressed binary content with "
"other SQLite utilities (or previous OGR versions). With OGR, when inserting, "
"modifying or queryings compressed columns, compression/decompression is "
"modifying or querying compressed columns, compression/decompression is "
"done transparently. However, such columns cannot be (easily) queried with "
"an attribute filter or WHERE clause. Note: in table definition, such columns "
"have the 'VARCHAR_deflate' declaration type." ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ void eVisDatabaseConnectionGui::on_pbtnLoadPredefinedQueries_clicked()
}
else
{
teditConsole->append( tr( "Error: Unabled to open file [%1]" ).arg( myFilename ) );
teditConsole->append( tr( "Error: Unable to open file [%1]" ).arg( myFilename ) );
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/ui/qgsattributeactionpropertiesdialogbase.ui
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<item row="1" column="0">
<widget class="QLabel" name="textLabel1">
<property name="whatsThis">
<string>Enter the name of an action here. The name should be unique (qgis will make it unique if necessary).</string>
<string>Enter the name of an action here. The name should be unique (QGIS will make it unique if necessary).</string>
</property>
<property name="text">
<string>Description</string>
Expand Down Expand Up @@ -243,7 +243,7 @@
<string>Enter the action name here</string>
</property>
<property name="whatsThis">
<string>Enter the name of an action here. The name should be unique (qgis will make it unique if necessary).</string>
<string>Enter the name of an action here. The name should be unique (QGIS will make it unique if necessary).</string>
</property>
<property name="placeholderText">
<string>Mandatory description</string>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgsstylemanagerdialogbase.ui
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@
<string>Export selected symbol(s) as PNG…</string>
</property>
<property name="toolTip">
<string>Export selected symbo(s) as PNG</string>
<string>Export selected symbol(s) as PNG</string>
</property>
</action>
<action name="actnExportAsSVG">
Expand Down

0 comments on commit 828e447

Please sign in to comment.