Skip to content

Commit 0ea1add

Browse files
author
homann
committed
Applied patch #603. Thanks! (also fixed a compilation error introduced in r6610)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6618 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 2c15ad5 commit 0ea1add

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/app/qgsattributeactiondialog.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ QgsAttributeActionDialog::QgsAttributeActionDialog(QgsAttributeAction* actions,
5454
void QgsAttributeActionDialog::init()
5555
{
5656
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") );
6060

6161
attributeActionTable->setColumnStretchable(0, true);
6262
attributeActionTable->setColumnStretchable(1, true);
@@ -139,7 +139,7 @@ void QgsAttributeActionDialog::browse()
139139
// widget
140140

141141
QString action = QFileDialog::getOpenFileName(
142-
this, "Select an action");
142+
this, tr("Select an action","File dialog window title") );
143143

144144
if (!action.isNull())
145145
actionAction->insert(action);

src/providers/postgres/qgspostgresprovider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ void QgsPostgresProvider::findColumns(tableCols& cols)
12401240
"\"?\\.\"?" + QRegExp::escape(temp.column_name) +
12411241
"\"? AS \"?(\\w+)\"?,* .*");
12421242

1243-
QgsDebugMsg(viewQuery + "\n" + viewDef + "\n" + s.pattern());
1243+
QgsDebugMsg(viewDef + "\n" + s.pattern());
12441244

12451245
if (s.indexIn(viewDef) != -1)
12461246
{

0 commit comments

Comments
 (0)