typos.diff

Redmine Admin, 2007-03-27 12:39 AM

Download (5.58 KB)

View differences:

src/plugins/grass/qgsgrassedit.cpp (working copy)
386 386

  
387 387
  // Set symbology names
388 388
  mSymbName.resize(SYMB_COUNT);
389
  mSymbName[SYMB_BACKGROUND]    = "Background";
390
  mSymbName[SYMB_HIGHLIGHT]     = "Highlight";
391
  mSymbName[SYMB_DYNAMIC]       = "Dynamic";
392
  mSymbName[SYMB_POINT]         = "Point";
393
  mSymbName[SYMB_LINE]          = "Line";
394
  mSymbName[SYMB_BOUNDARY_0]    = "Boundary (no area)";
395
  mSymbName[SYMB_BOUNDARY_1]    = "Boundary (1 area)";
396
  mSymbName[SYMB_BOUNDARY_2]    = "Boundary (2 areas)";
397
  mSymbName[SYMB_CENTROID_IN]   = "Centroid (in area)";
398
  mSymbName[SYMB_CENTROID_OUT]  = "Centroid (outside area)";
399
  mSymbName[SYMB_CENTROID_DUPL] = "Centroid (duplicate in area)";
400
  mSymbName[SYMB_NODE_1]        = "Node (1 line)";
401
  mSymbName[SYMB_NODE_2]        = "Node (2 lines)";
389
  mSymbName[SYMB_BACKGROUND]    = tr("Background");
390
  mSymbName[SYMB_HIGHLIGHT]     = tr("Highlight");
391
  mSymbName[SYMB_DYNAMIC]       = tr("Dynamic");
392
  mSymbName[SYMB_POINT]         = tr("Point");
393
  mSymbName[SYMB_LINE]          = tr("Line");
394
  mSymbName[SYMB_BOUNDARY_0]    = tr("Boundary (no area)");
395
  mSymbName[SYMB_BOUNDARY_1]    = tr("Boundary (1 area)");
396
  mSymbName[SYMB_BOUNDARY_2]    = tr("Boundary (2 areas)");
397
  mSymbName[SYMB_CENTROID_IN]   = tr("Centroid (in area)");
398
  mSymbName[SYMB_CENTROID_OUT]  = tr("Centroid (outside area)");
399
  mSymbName[SYMB_CENTROID_DUPL] = tr("Centroid (duplicate in area)");
400
  mSymbName[SYMB_NODE_1]        = tr("Node (1 line)");
401
  mSymbName[SYMB_NODE_2]        = tr("Node (2 lines)");
402 402

  
403 403
  // Restore symbology
404 404
  QString spath = "/GRASS/edit/symb/";
......
431 431
  }
432 432

  
433 433
  // Set Symbology in dialog
434
  symbologyList->setColumnText(0,"Disp");
434
  symbologyList->setColumnText(0,tr("Disp","Column title") );
435 435
  symbologyList->setColumnWidth(0,20);
436
  symbologyList->addColumn("Color");
436
  symbologyList->addColumn( tr("Color","Column title") );
437 437
  symbologyList->setColumnWidth(0,50);
438
  symbologyList->addColumn("Type");
438
  symbologyList->addColumn( tr("Type","Column title") );
439 439
  symbologyList->setColumnWidthMode(2,Q3ListView::Maximum);
440
  symbologyList->addColumn("Index", 0);
440
  symbologyList->addColumn(tr("Index","Column title") , 0);
441 441
  symbologyList->clear();
442 442
  symbologyList->setSorting(-1);
443 443

  
......
467 467

  
468 468
  // Init table tab
469 469
  mAttributeTable->setLeftMargin(0); // hide row labels
470
  mAttributeTable->horizontalHeader()->setLabel( 0, "Column" );
471
  mAttributeTable->horizontalHeader()->setLabel( 1, "Type" );
472
  mAttributeTable->horizontalHeader()->setLabel( 2, "Length" );
470
  mAttributeTable->horizontalHeader()->setLabel( 0, tr("Column") );
471
  mAttributeTable->horizontalHeader()->setLabel( 1, tr("Type") );
472
  mAttributeTable->horizontalHeader()->setLabel( 2, tr("Length") );
473 473

  
474 474
  int ndblinks = mProvider->numDbLinks();
475 475

  
......
527 527
  mRubberBandIcon->show();
528 528

  
529 529
  // Init GUI values
530
  mCatModeBox->insertItem( "Next not used", CAT_MODE_NEXT );
531
  mCatModeBox->insertItem( "Manual entry", CAT_MODE_MANUAL );
532
  mCatModeBox->insertItem( "No category", CAT_MODE_NOCAT );
530
  mCatModeBox->insertItem( tr("Next not used"), CAT_MODE_NEXT );
531
  mCatModeBox->insertItem( tr("Manual entry"), CAT_MODE_MANUAL );
532
  mCatModeBox->insertItem( tr("No category"), CAT_MODE_NOCAT );
533 533
  catModeChanged ( );
534 534

  
535 535
  // TODO: how to get keyboard events from canvas (shortcuts)
......
1829 1829
  mCanvasPrompt = "";
1830 1830
  if ( left.length() > 0 ) mCanvasPrompt.append ( tr("Left: ") + left + "   " );
1831 1831
  if ( mid.length() > 0 ) mCanvasPrompt.append ( tr("Middle: ") + mid + "   " );
1832
  if ( rigth.length() > 0 ) mCanvasPrompt.append ( tr("Rigth: ") + rigth );
1832
  if ( rigth.length() > 0 ) mCanvasPrompt.append ( tr("Right: ") + rigth );
1833 1833
}
1834 1834

  
1835 1835
void QgsGrassEdit::attributesClosed()
src/plugins/grid_maker/plugingui.cpp (working copy)
49 49
  if (leOutputShapeFile->text().isEmpty())
50 50
  {
51 51
    QMessageBox::warning( 0, tr("QGIS - Grid Maker"),
52
            QString(tr("Please enter the file name before pressing OK!.") ));
52
            QString(tr("Please enter the file name before pressing OK!") ));
53 53
    return;
54 54
  }
55 55

  
src/gui/qgsvectorlayer.cpp (working copy)
1833 1833
  if(!isEditable())
1834 1834
  {
1835 1835
    QMessageBox::information(0, tr("Layer not editable"), 
1836
        tr("The current layer is not editable. Choose 'Allow editing' in the legend item right click menu"));
1836
        tr("The current layer is not editable. Choose 'Allow editing' in the legend item right click menu."));
1837 1837
    return false;
1838 1838
  }
1839 1839

  
src/providers/postgres/qgspostgresprovider.cpp (working copy)
2069 2069
      if (result==0)
2070 2070
      {
2071 2071
        QMessageBox::critical(0, tr("PostGIS error"), 
2072
                                 tr("An error occured contacting the PostgreSQL databse"),
2072
                                 tr("An error occured contacting the PostgreSQL database"),
2073 2073
                                 QMessageBox::Ok,
2074 2074
                                 Qt::NoButton);
2075 2075
        return false;