Kaydet (Commit) 8fd81a11 authored tarafından David Verrier's avatar David Verrier Kaydeden (comit) Thomas Arnhold

fdo#39468: Translate German comments in dbaccess/source/ui

Change-Id: I9eb3c97ffe2dd122960bb4c5f5b0594767ea0fb9
Reviewed-on: https://gerrit.libreoffice.org/2556Reviewed-by: 's avatarThomas Arnhold <thomas@arnhold.org>
Tested-by: 's avatarThomas Arnhold <thomas@arnhold.org>
üst f9e73b74
...@@ -585,7 +585,7 @@ namespace ...@@ -585,7 +585,7 @@ namespace
else if (SQL_ISRULE(pNode,comparison_predicate)) else if (SQL_ISRULE(pNode,comparison_predicate))
{ {
// only the comparison of columns is allowed // only the comparison of columns is allowed
OSL_ENSURE(pNode->count() == 3,"OQueryDesignView::InsertJoinConnection: Fehler im Parse Tree"); OSL_ENSURE(pNode->count() == 3,"OQueryDesignView::InsertJoinConnection: Error in Parse Tree");
if (!(SQL_ISRULE(pNode->getChild(0),column_ref) && if (!(SQL_ISRULE(pNode->getChild(0),column_ref) &&
SQL_ISRULE(pNode->getChild(2),column_ref) && SQL_ISRULE(pNode->getChild(2),column_ref) &&
pNode->getChild(1)->getNodeType() == SQL_NODE_EQUAL)) pNode->getChild(1)->getNodeType() == SQL_NODE_EQUAL))
...@@ -703,7 +703,7 @@ namespace ...@@ -703,7 +703,7 @@ namespace
if ( pEntryField->isAggreateFunction() ) if ( pEntryField->isAggreateFunction() )
{ {
OSL_ENSURE(!pEntryField->GetFunction().isEmpty(),"Functionname darf hier nicht leer sein! ;-("); OSL_ENSURE(!pEntryField->GetFunction().isEmpty(),"Function name must not be empty! ;-(");
OUStringBuffer aTmpStr2( pEntryField->GetFunction()); OUStringBuffer aTmpStr2( pEntryField->GetFunction());
aTmpStr2.appendAscii("("); aTmpStr2.appendAscii("(");
aTmpStr2.append(aTmpStr.makeStringAndClear()); aTmpStr2.append(aTmpStr.makeStringAndClear());
...@@ -1187,7 +1187,7 @@ namespace ...@@ -1187,7 +1187,7 @@ namespace
OTableFieldDescRef pEntryField = *aIter; OTableFieldDescRef pEntryField = *aIter;
if ( pEntryField->IsGroupBy() ) if ( pEntryField->IsGroupBy() )
{ {
OSL_ENSURE(!pEntryField->GetField().isEmpty(),"Kein FieldName vorhanden!;-("); OSL_ENSURE(!pEntryField->GetField().isEmpty(),"No Field Name available!;-(");
OUString sGroupByPart = quoteTableAlias(bMulti,pEntryField->GetAlias(),aQuote); OUString sGroupByPart = quoteTableAlias(bMulti,pEntryField->GetAlias(),aQuote);
// only quote the field name when it isn't calculated // only quote the field name when it isn't calculated
...@@ -1265,7 +1265,7 @@ namespace ...@@ -1265,7 +1265,7 @@ namespace
::connectivity::OSQLParseNode * pCondition = pNode->getChild(1); ::connectivity::OSQLParseNode * pCondition = pNode->getChild(1);
if ( pCondition ) // no where clause if ( pCondition ) // no where clause
{ {
// now we have to chech the other conditions // now we have to check the other conditions
// first make the logical easier // first make the logical easier
::connectivity::OSQLParseNode::negateSearchCondition(pCondition); ::connectivity::OSQLParseNode::negateSearchCondition(pCondition);
::connectivity::OSQLParseNode *pNodeTmp = pNode->getChild(1); ::connectivity::OSQLParseNode *pNodeTmp = pNode->getChild(1);
...@@ -1817,7 +1817,7 @@ namespace ...@@ -1817,7 +1817,7 @@ namespace
rParseIter.getColumnRange( pColumnRef, aColumnName, aTableRange ); rParseIter.getColumnRange( pColumnRef, aColumnName, aTableRange );
sal_Bool bFound(sal_False); sal_Bool bFound(sal_False);
OSL_ENSURE(!aColumnName.isEmpty(),"Columnname darf nicht leer sein"); OSL_ENSURE(!aColumnName.isEmpty(),"Column name must not be empty");
if (aTableRange.isEmpty()) if (aTableRange.isEmpty())
{ {
// SELECT column, ... // SELECT column, ...
...@@ -1871,7 +1871,7 @@ namespace ...@@ -1871,7 +1871,7 @@ namespace
const ::connectivity::OSQLParseNode *pNode) const ::connectivity::OSQLParseNode *pNode)
{ {
OSL_ENSURE( SQL_ISRULE( pNode, qualified_join ) || SQL_ISRULE( pNode, joined_table ) || SQL_ISRULE( pNode, cross_union ), OSL_ENSURE( SQL_ISRULE( pNode, qualified_join ) || SQL_ISRULE( pNode, joined_table ) || SQL_ISRULE( pNode, cross_union ),
"OQueryDesignView::InsertJoin: Fehler im Parse Tree"); "OQueryDesignView::InsertJoin: Error in the Parse Tree");
if (SQL_ISRULE(pNode,joined_table)) if (SQL_ISRULE(pNode,joined_table))
return InsertJoin(_pView,pNode->getChild(1)); return InsertJoin(_pView,pNode->getChild(1));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment