Skip to content
Permalink
Browse files

another round of typo fixes (and use color instead of colour - like Q…

…t; no string updates)

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12600 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Dec 23, 2009
1 parent 61377cf commit 709cf2415b6b6a8f304c8d6f02a05fb6709bb6b7
Showing with 213 additions and 399 deletions.
  1. +2 −2 ChangeLog
  2. +2 −2 INSTALL
  3. +2 −2 doc/INSTALL.t2t
  4. +1 −1 python/core/qgsrasterlayer.sip
  5. +1 −1 python/core/qgsrenderer.sip
  6. +1 −1 python/gui/qgsmapcanvas.sip
  7. +1 −1 python/plugins/osm/OsmUploadDlg.py
  8. +1 −1 python/plugins/plugin_installer/installer_gui.py
  9. +15 −15 resources/context_help/QgsPluginInstallerDialog-en_US
  10. +1 −1 resources/context_help/QgsVectorLayerProperties-en_US
  11. +2 −2 scripts/chkspelling.sh
  12. +6 −1 scripts/prepare-commit.sh
  13. +18 −0 scripts/spelling.dat
  14. +1 −1 src/analysis/interpolation/DualEdgeTriangulation.h
  15. +7 −7 src/app/qgisapp.cpp
  16. +17 −17 src/app/qgsoptions.cpp
  17. +7 −7 src/app/qgsoptions.h
  18. +21 −21 src/app/qgsprojectproperties.cpp
  19. +3 −3 src/app/qgsprojectproperties.h
  20. +1 −1 src/app/qgsrasterlayerproperties.cpp
  21. +1 −1 src/app/qgsvectorlayerproperties.h
  22. +1 −1 src/core/qgsapplication.cpp
  23. +1 −1 src/core/qgsattributeaction.h
  24. +1 −1 src/core/qgsrunprocess.cpp
  25. +3 −3 src/core/qgssearchstringparser.yy
  26. +1 −1 src/core/raster/qgsfreakoutshader.cpp
  27. +1 −1 src/core/raster/qgslinearminmaxenhancement.h
  28. +1 −1 src/core/raster/qgspseudocolorshader.cpp
  29. +8 −8 src/core/raster/qgsrasterlayer.cpp
  30. +1 −1 src/core/raster/qgsrasterlayer.h
  31. +1 −1 src/core/renderer/qgscontinuouscolorrenderer.cpp
  32. +1 −1 src/core/renderer/qgsgraduatedsymbolrenderer.cpp
  33. +1 −1 src/core/renderer/qgsrenderer.h
  34. +1 −1 src/core/renderer/qgsuniquevaluerenderer.cpp
  35. +1 −1 src/core/spatialite/sqlite3.c
  36. +2 −2 src/core/symbology/qgssymbol.cpp
  37. +1 −1 src/designer/README.txt
  38. +1 −1 src/gui/qgsprojectionselector.cpp
  39. +7 −7 src/gui/qgsquickprint.cpp
  40. +1 −1 src/gui/qgsquickprint.h
  41. +5 −5 src/helpviewer/CMakeLists.txt
  42. +2 −2 src/plugins/copyright_label/plugin.cpp
  43. +2 −2 src/plugins/copyright_label/plugin.h
  44. +0 −70 src/plugins/copyright_label/pluginguibase.ui.h
  45. +1 −1 src/plugins/dxf2shp_converter/dxflib/src/dl_codes.h
  46. +1 −1 src/plugins/grass/qgsgrassedit.h
  47. +1 −1 src/plugins/grass/qgsgrassmodule.cpp
  48. +2 −2 src/plugins/grass/qtermwidget/CharacterColor.h
  49. +1 −1 src/plugins/grass/qtermwidget/Screen.h
  50. +1 −1 src/plugins/grass/qtermwidget/Session.cpp
  51. +1 −1 src/plugins/grass/qtermwidget/TerminalCharacterDecoder.cpp
  52. +4 −4 src/plugins/grass/qtermwidget/TerminalCharacterDecoder.h
  53. +2 −2 src/plugins/grass/qtermwidget/TerminalDisplay.cpp
  54. +0 −58 src/plugins/north_arrow/pluginguibase.ui.h
  55. +12 −12 src/plugins/scale_bar/plugin.cpp
  56. +4 −4 src/plugins/scale_bar/plugin.h
  57. +7 −7 src/plugins/scale_bar/plugingui.cpp
  58. +3 −3 src/plugins/scale_bar/plugingui.h
  59. +3 −3 src/plugins/scale_bar/pluginguibase.ui
  60. +0 −81 src/plugins/scale_bar/pluginguibase.ui.h
  61. +7 −7 src/ui/qgsoptionsbase.ui
  62. +3 −3 src/ui/qgsprojectpropertiesbase.ui
  63. +5 −5 tests/src/core/testqgsgeometry.cpp
@@ -909,7 +909,7 @@ linking with -rdynamic and using dlopen()'s RTLD_GLOBAL flag.
Tidied up the SPIT gui to match the plugin template.
Fixed bug in scale bar which displayed the bar the wrong size!
Fixed all the plugins so they do not do multiple refreshes on exit.
Added colour selection for scale bar.
Added color selection for scale bar.

2004-06-09 [mcoletti] 0.3.0devel25
Added support for a feature type name in QgsFeature. The GDAL/OGR shape file
@@ -1474,7 +1474,7 @@ Version 0.1 'Moroz' February 25, 2004
**Symbol renderers for simple, graduated, and continuous symbols
**Raster support for most GDAL formats
**Raster implementation supports a variety of rendering settings including
semi transparent overlays, pallette inversion, flexible band to colour mapping
semi transparent overlays, pallette inversion, flexible band to color mapping
in multiband images and creation of pseudocolor.
**Change to a data provider architecture for vector layers. Addtional data
types can be supported by writing a provider plugin
@@ -2266,7 +2266,7 @@ First thing we need to get is MSVC Express from here:
http://msdn2.microsoft.com/en-us/express/aa975050.aspx

The page is really confusing so don't feel bad if you cant actually find the
download at first! There are six coloured blocks on the page for the various
download at first! There are six colored blocks on the page for the various
studio family members (vb / c# / j# etc). Simply choose your language under
the 'select your language' combo under the yellow C++ block, and your download
will begin. Under internet explorer I had to disable popup blocking for the
@@ -2275,7 +2275,7 @@ download to be able to commence.
Once the setup commences you will be prompted with various options. Here is what
I chose :

* Send useage information to Microsoft (No)
* Send usage information to Microsoft (No)
* Install options:
* Graphical IDE (Yes)
* Microsoft MSDN Express Edition (No)
@@ -1999,7 +1999,7 @@ First thing we need to get is MSVC Express from here:
http://msdn2.microsoft.com/en-us/express/aa975050.aspx

The page is really confusing so don't feel bad if you cant actually find the
download at first! There are six coloured blocks on the page for the various
download at first! There are six colored blocks on the page for the various
studio family members (vb / c# / j# etc). Simply choose your language under
the 'select your language' combo under the yellow C++ block, and your download
will begin. Under internet explorer I had to disable popup blocking for the
@@ -2008,7 +2008,7 @@ download to be able to commence.
Once the setup commences you will be prompted with various options. Here is what
I chose :

* Send useage information to Microsoft (No)
* Send usage information to Microsoft (No)
* Install options:
* Graphical IDE (Yes)
* Microsoft MSDN Express Edition (No)
@@ -305,7 +305,7 @@ public:

/** \brief Returns a string representation of drawing style
*
* Implementaed mainly for serialisation / deserialisation of settings to xml.
* Implemented mainly for serialisation / deserialisation of settings to xml.
* NOTE: May be deprecated in the future!. DrawingStyle drawingStyle() instead.
* */
QString drawingStyleAsString() const;
@@ -7,7 +7,7 @@ class QgsRenderer
%End

public:
/** Default ctor sets up selection colour from project properties */
/** Default ctor sets up selection color from project properties */
QgsRenderer();
/** Virtual destructor because we have virtual methods... */
virtual ~QgsRenderer();
@@ -122,7 +122,7 @@ class QgsMapCanvas : QGraphicsView
/** Updates the full extent */
void updateFullExtent();

//! return the map layer at postion index in the layer stack
//! return the map layer at position index in the layer stack
QgsMapLayer *layer(int index);

//! return number of layers on the map
@@ -1481,7 +1481,7 @@ def __authRequired(self,s,a,b):
We are really not interested in function parameters - we just cancel the connection.
"""

self.cancelUpload("Authentification failed. Please try again with correct login and password.")
self.cancelUpload("Authentication failed. Please try again with correct login and password.")


def __setProxy(self):
@@ -500,7 +500,7 @@ def addItem(p):
a.setToolTip(4,"")
a.setText(5,repository)
a.setToolTip(5,p["url"])
# set fonts and colours
# set fonts and colors
for i in [0,1,2,3,4,5]:
if p["error"]:
a.setForeground(i,QBrush(QColor(Qt.red)))
@@ -12,26 +12,26 @@ Downloads and installs plugins from remote repositories.
<p align='justify'>
The <label>Plugins</label> tab contains a list of all locally installed Python plugins, as well as plugins available in
remote repositories. Each plugin can be either:
<ul>
<li> not installed - this means the plugin is available in the repository, but is not installed yet. In
order to install it, select the plugin from the list and click the <label>Install plugin</label> button.</li>
<li> new - this means that the plugin is newly available in the repository.</li>
<li> installed - this indicates that the plugin is already installed. If it is also available in any repository
<dl>
<dt>not installed</dt><dd>this means the plugin is available in the repository, but is not installed yet. In
order to install it, select the plugin from the list and click the <label>Install plugin</label> button.</dd>
<dt>new</dt><dd>this means that the plugin is newly available in the repository.</dd>
<dt>installed</dt><dd>this indicates that the plugin is already installed. If it is also available in any repository
the <label>Reinstall plugin</label> button will be enabled. If the available version is older than the installed
version, the <label>Downgrade plugin</label> button will appear instead.</li>
<li> upgradeable - this means that the plugin is installed, but there is an updated version available.
In this case, the <label>Upgrade plugin</label> button will be enabled.</li>
<li> invalid - this means that the plugin is installed, but is unavailable or broken. The reason will be
explained in the plugin description field.</li>
</ul>
version, the <label>Downgrade plugin</label> button will appear instead.</dd>
<dt>upgradeable</dt><dd>this means that the plugin is installed, but there is an updated version available.
In this case, the <label>Upgrade plugin</label> button will be enabled.</dd>
<dt>invalid</dt><dd>this means that the plugin is installed, but is unavailable or broken. The reason will be
explained in the plugin description field.</dd>
</dl>
</p>

To install a plugin, select it from the list and click the <label>Install plugin</label> button. The plugin is installed in its own directory in:
<table border=1>
<tr><td>OS</td><td>system plugins</td><td>plugins installed by user</td></tr>
<tr><td>Linux and other unices</td><td>./share/qgis/python/plugins</td><td>/home/$USERNAME/.qgis/python/plugins</td></tr>
<tr><td>Mac OS X</td><td>./Contents/MacOS/share/qgis/python/plugins</td><td>/Users/$USERNAME/.qgis/python/plugins</td></tr>
<tr><td>Windows</td><td>C:\Program Files\QGIS\python\plugins</td><td>C:\Documents and Settings\$USERNAME\.qgis\python\plugins</td></tr>
<tr><th>OS</th><th>system plugins</th><th>plugins installed by user</th></tr>
<tr><td>Linux and other unices</td><td>./share/qgis/python/plugins</td><td rowspan=2>$HOME/qgis/python/plugins</td></tr>
<tr><td>Mac OS X</td><td>./Contents/MacOS/share/qgis/python/plugins</td></tr>
<tr><td>Windows</td><td>(QGIS install directory)\python\plugins</td><td>%USERPROFILE%\.qgis\python\plugins</td></tr>
</table>
<br/>

@@ -20,7 +20,7 @@ QGIS supports a number of symbology renderers to control how vector features are
<ul>
<li><label>Single symbol</label> - a single style is applied to every object in the layer.
<li><label>Graduated symbol</label> - objects within the layer are displayed with different symbols classified by the values of a particular field.
<li><label>Continuous color</label> - objects within the layer are displayed with a spread of colours classified by the numerical values within a specified field.
<li><label>Continuous color</label> - objects within the layer are displayed with a spread of colors classified by the numerical values within a specified field.
<li><label>Unique value</label> - objects are classified by the unique values within a specified field with each value having a different symbol.
</ul>

@@ -4,5 +4,5 @@
RE=$(echo $(cut -d: -f1 scripts/spelling.dat | sed -e 's/^/\\</; s/$/\\>|/;') | sed -e 's/| /|/g; s/|$//;')
EX="\.(svn-base|tmp|xpm|ts)|context_help|spelling\.dat"

egrep --color=always "$RE" -r . | egrep -v "$EX"
egrep --color=always "$RE" resources/context_help/*-en_US
egrep --color=always "$RE" -ir . | egrep -iv "$EX"
egrep --color=always "$RE" -i resources/context_help/*-en_US
@@ -34,7 +34,12 @@ ASTYLEDIFF=astyle.r$REV.diff
# reformat
for f in $MODIFIED; do
case "$f" in
*.cpp|*.h|*.c|*.h|*.cxx|*.hxx|*.c++|*.h++|*.cc|*.hh|*.C|*.H)
src/core/spatialite/*)
echo $f skipped
continue
;;

*.cpp|*.c|*.h|*.cxx|*.hxx|*.c++|*.h++|*.cc|*.hh|*.C|*.H)
;;

*)
@@ -428,3 +428,21 @@ immediatelly:immediately
actully:actually
disolve:dissolve
furter:further
instersction:intersection
traslates:translates
deimiter:delimiter
analysies:analyses
postion:position
rigth:right
syle:style
manger:manager
signto:sign to
attemtps:attempts
palletted:paletted
statics:statistics
useage:usage
aribitary:arbitrary
colour:color
recommeneded:recommended
implementaed:implemented
containging:containing
@@ -142,7 +142,7 @@ class ANALYSIS_EXPORT DualEdgeTriangulation: public Triangulation
unsigned int insertEdge( int dual, int next, int point, bool mbreak, bool forced );
/**inserts a forced segment between the points with the numbers p1 and p2 into the triangulation and returns the number of a HalfEdge belonging to this forced edge or -100 in case of failure*/
int insertForcedSegment( int p1, int p2, bool breakline );
/**Treshold for the leftOfTest to handle numerical instabilities*/
/**Threshold for the leftOfTest to handle numerical instabilities*/
//const static double leftOfTresh=0.00001;
/**Security to prevent endless loops in 'baseEdgeOfTriangle'. It there are more iteration then this number, the point will not be inserted*/
const static int nBaseOfRuns = 300000;
@@ -425,7 +425,7 @@ QgisApp::QgisApp( QSplashScreen *splash, QWidget * parent, Qt::WFlags fl )
QgsProject::instance()->setBadLayerHandler( new QgsProjectBadLayerGuiHandler() );

#if 0
// Set the background colour for toolbox and overview as they default to
// Set the background color for toolbox and overview as they default to
// white instead of the window color
QPalette myPalette = toolBox->palette();
myPalette.setColor( QPalette::Button, myPalette.window().color() );
@@ -2667,9 +2667,9 @@ void QgisApp::fileNew( bool thePromptToSaveFlag )

QSettings settings;

//set the colour for selections
//set the color for selections
//the default can be set in qgisoptions
//use project properties to override the colour on a per project basis
//use project properties to override the color on a per project basis
int myRed = settings.value( "/qgis/default_selection_color_red", 255 ).toInt();
int myGreen = settings.value( "/qgis/default_selection_color_green", 255 ).toInt();
int myBlue = settings.value( "/qgis/default_selection_color_blue", 0 ).toInt();
@@ -2678,9 +2678,9 @@ void QgisApp::fileNew( bool thePromptToSaveFlag )
prj->writeEntry( "Gui", "/SelectionColorBluePart", myBlue );
QgsRenderer::setSelectionColor( QColor( myRed, myGreen, myBlue ) );

//set the canvas to the default background colour
//set the canvas to the default background color
//the default can be set in qgisoptions
//use project properties to override the colour on a per project basis
//use project properties to override the color on a per project basis
myRed = settings.value( "/qgis/default_canvas_color_red", 255 ).toInt();
myGreen = settings.value( "/qgis/default_canvas_color_green", 255 ).toInt();
myBlue = settings.value( "/qgis/default_canvas_color_blue", 255 ).toInt();
@@ -2945,7 +2945,7 @@ bool QgisApp::addProject( QString projectFile )
int myGreenInt = QgsProject::instance()->readNumEntry( "Gui", "/CanvasColorGreenPart", 255 );
int myBlueInt = QgsProject::instance()->readNumEntry( "Gui", "/CanvasColorBluePart", 255 );
QColor myColor = QColor( myRedInt, myGreenInt, myBlueInt );
mMapCanvas->setCanvasColor( myColor ); //this is fill colour before rendering starts
mMapCanvas->setCanvasColor( myColor ); //this is fill color before rendering starts
QgsDebugMsg( "Canvas background color restored..." );

mMapCanvas->updateScale();
@@ -5124,7 +5124,7 @@ void QgisApp::projectProperties()
int myGreenInt = QgsProject::instance()->readNumEntry( "Gui", "/CanvasColorGreenPart", 255 );
int myBlueInt = QgsProject::instance()->readNumEntry( "Gui", "/CanvasColorBluePart", 255 );
QColor myColor = QColor( myRedInt, myGreenInt, myBlueInt );
mMapCanvas->setCanvasColor( myColor ); // this is fill colour before rendering onto canvas
mMapCanvas->setCanvasColor( myColor ); // this is fill color before rendering onto canvas

// Set the window title.
setTitleBarText_( *this );
@@ -181,11 +181,11 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) :
cbxIdentifyResultsDocked->setChecked( settings.value( "/qgis/dockIdentifyResults", false ).toBool() );
cbxAddPostgisDC->setChecked( settings.value( "/qgis/addPostgisDC", false ).toBool() );

//set the colour for selections
//set the color for selections
int myRed = settings.value( "/qgis/default_selection_color_red", 255 ).toInt();
int myGreen = settings.value( "/qgis/default_selection_color_green", 255 ).toInt();
int myBlue = settings.value( "/qgis/default_selection_color_blue", 0 ).toInt();
pbnSelectionColour->setColor( QColor( myRed, myGreen, myBlue ) );
pbnSelectionColor->setColor( QColor( myRed, myGreen, myBlue ) );

//set the default color for canvas background
myRed = settings.value( "/qgis/default_canvas_color_red", 255 ).toInt();
@@ -197,7 +197,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) :
myRed = settings.value( "/qgis/default_measure_color_red", 180 ).toInt();
myGreen = settings.value( "/qgis/default_measure_color_green", 180 ).toInt();
myBlue = settings.value( "/qgis/default_measure_color_blue", 180 ).toInt();
pbnMeasureColour->setColor( QColor( myRed, myGreen, myBlue ) );
pbnMeasureColor->setColor( QColor( myRed, myGreen, myBlue ) );

capitaliseCheckBox->setChecked( settings.value( "qgis/capitaliseLayerName", QVariant( false ) ).toBool() );

@@ -228,7 +228,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) :
myRed = settings.value( "/qgis/digitizing/line_color_red", 255 ).toInt();
myGreen = settings.value( "/qgis/digitizing/line_color_green", 0 ).toInt();
myBlue = settings.value( "/qgis/digitizing/line_color_blue", 0 ).toInt();
mLineColourToolButton->setColor( QColor( myRed, myGreen, myBlue ) );
mLineColorToolButton->setColor( QColor( myRed, myGreen, myBlue ) );

//default snap mode
mDefaultSnapModeComboBox->insertItem( 0, tr( "To vertex" ), "to vertex" );
@@ -327,12 +327,12 @@ QgsOptions::~QgsOptions()
settings.setValue( "/Windows/Options/row", listWidget->currentRow() );
}

void QgsOptions::on_pbnSelectionColour_clicked()
void QgsOptions::on_pbnSelectionColor_clicked()
{
QColor color = QColorDialog::getColor( pbnSelectionColour->color(), this );
QColor color = QColorDialog::getColor( pbnSelectionColor->color(), this );
if ( color.isValid() )
{
pbnSelectionColour->setColor( color );
pbnSelectionColor->setColor( color );
}
}

@@ -345,21 +345,21 @@ void QgsOptions::on_pbnCanvasColor_clicked()
}
}

void QgsOptions::on_pbnMeasureColour_clicked()
void QgsOptions::on_pbnMeasureColor_clicked()
{
QColor color = QColorDialog::getColor( pbnMeasureColour->color(), this );
QColor color = QColorDialog::getColor( pbnMeasureColor->color(), this );
if ( color.isValid() )
{
pbnMeasureColour->setColor( color );
pbnMeasureColor->setColor( color );
}
}

void QgsOptions::on_mLineColourToolButton_clicked()
void QgsOptions::on_mLineColorToolButton_clicked()
{
QColor color = QColorDialog::getColor( mLineColourToolButton->color(), this );
QColor color = QColorDialog::getColor( mLineColorToolButton->color(), this );
if ( color.isValid() )
{
mLineColourToolButton->setColor( color );
mLineColorToolButton->setColor( color );
}
}

@@ -497,8 +497,8 @@ void QgsOptions::saveOptions()
settings.setValue( "/qgis/measure/displayunits", "meters" );
}
settings.setValue( "/qgis/measure/ellipsoid", getEllipsoidAcronym( cmbEllipsoid->currentText() ) );
//set the colour for selections
QColor myColor = pbnSelectionColour->color();
//set the color for selections
QColor myColor = pbnSelectionColor->color();
settings.setValue( "/qgis/default_selection_color_red", myColor.red() );
settings.setValue( "/qgis/default_selection_color_green", myColor.green() );
settings.setValue( "/qgis/default_selection_color_blue", myColor.blue() );
@@ -510,7 +510,7 @@ void QgsOptions::saveOptions()
settings.setValue( "/qgis/default_canvas_color_blue", myColor.blue() );

//set the default color for the measure tool
myColor = pbnMeasureColour->color();
myColor = pbnMeasureColor->color();
settings.setValue( "/qgis/default_measure_color_red", myColor.red() );
settings.setValue( "/qgis/default_measure_color_green", myColor.green() );
settings.setValue( "/qgis/default_measure_color_blue", myColor.blue() );
@@ -520,7 +520,7 @@ void QgsOptions::saveOptions()

//digitizing
settings.setValue( "/qgis/digitizing/line_width", mLineWidthSpinBox->value() );
QColor digitizingColor = mLineColourToolButton->color();
QColor digitizingColor = mLineColorToolButton->color();
settings.setValue( "/qgis/digitizing/line_color_red", digitizingColor.red() );
settings.setValue( "/qgis/digitizing/line_color_green", digitizingColor.green() );
settings.setValue( "/qgis/digitizing/line_color_blue", digitizingColor.blue() );
@@ -64,24 +64,24 @@ class QgsOptions : public QDialog, private Ui::QgsOptionsBase
*/
bool newVisible();
/*!
* Slot to select the default map selection colour
* Slot to select the default map selection color
*/
void on_pbnSelectionColour_clicked();
void on_pbnSelectionColor_clicked();

/*!
* Slot to select the default measure tool colour
* Slot to select the default measure tool color
*/
void on_pbnMeasureColour_clicked();
void on_pbnMeasureColor_clicked();

/*!
* Slot to select the default map selection colour
* Slot to select the default map selection color
*/
void on_pbnCanvasColor_clicked();

/*!
* Slot to select the colour of the digitizing rubber band
* Slot to select the color of the digitizing rubber band
*/
void on_mLineColourToolButton_clicked();
void on_mLineColorToolButton_clicked();

/**Add a new URL to exclude from Proxy*/
void on_mAddUrlPushButton_clicked();

0 comments on commit 709cf24

Please sign in to comment.
You can’t perform that action at this time.