added_tr.diff

Redmine Admin, 2007-02-17 01:56 AM

Download (928 Bytes)

View differences:

src/gui/qgsattributeactiondialog.cpp (working copy)
54 54
void QgsAttributeActionDialog::init()
55 55
{
56 56
  Q3Header* header = attributeActionTable->horizontalHeader();
57
  header->setLabel(0, "Name");
58
  header->setLabel(1, "Action");
59
  header->setLabel(2, "Capture");
57
  header->setLabel(0, tr("Name") );
58
  header->setLabel(1, tr("Action") );
59
  header->setLabel(2, tr("Capture") );
60 60

  
61 61
  attributeActionTable->setColumnStretchable(0, true);
62 62
  attributeActionTable->setColumnStretchable(1, true);
......
139 139
  // widget 
140 140

  
141 141
  QString action = QFileDialog::getOpenFileName(
142
    this, "Select an action");
142
    this, tr("Select an action","File dialog window title") );
143 143

  
144 144
  if (!action.isNull())
145 145
    actionAction->insert(action);