summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorMark Wolf <mark.wolf.music@gmail.com>2012-04-05 13:09:35 -0400
committerPhilipp Weissenbacher <p.weissenbacher@gmail.com>2012-04-12 20:36:58 +0200
commit62640a8436c837db6d1f63d98585b9929c36682d (patch)
treecdf789edcc19755265e5d360c2d7d2ed559dc727 /odk
parenta4f4e51304e9c26b58d4ab5ee4f0a63e3cd4ec91 (diff)
German comment translation for odk folder
Mark
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/OTypeInfo.hxx28
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SPreparedStatement.hxx2
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx2
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx2
-rw-r--r--odk/examples/cpp/complextoolbarcontrols/MyListener.cxx4
-rw-r--r--odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx6
6 files changed, 22 insertions, 22 deletions
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/OTypeInfo.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/OTypeInfo.hxx
index ed2f76303453..dffe3e68976c 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/OTypeInfo.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/OTypeInfo.hxx
@@ -43,26 +43,26 @@ namespace connectivity
{
struct OTypeInfo
{
- ::rtl::OUString aTypeName; // Name des Types in der Datenbank
- ::rtl::OUString aLiteralPrefix; // Prefix zum Quoten
- ::rtl::OUString aLiteralSuffix; // Suffix zum Quoten
- ::rtl::OUString aCreateParams; // Parameter zum Erstellen
+ ::rtl::OUString aTypeName; // Name of the the type in the database
+ ::rtl::OUString aLiteralPrefix; // Prefix for literals
+ ::rtl::OUString aLiteralSuffix; // Suffix for literals
+ ::rtl::OUString aCreateParams; // Parameters to create
::rtl::OUString aLocalTypeName;
- sal_Int32 nPrecision; // Laenge des Types
+ sal_Int32 nPrecision; // Length of the types
- sal_Int16 nMaximumScale; // Nachkommastellen
- sal_Int16 nMinimumScale; // Min Nachkommastellen
+ sal_Int16 nMaximumScale; // Decimal places (precision)
+ sal_Int16 nMinimumScale; // Min decimal places (precision)
- sal_Int16 nType; // Datenbanktyp
- sal_Int16 nSearchType; // kann nach dem Typen gesucht werden
+ sal_Int16 nType; // Database type
+ sal_Int16 nSearchType; // Can search for the type
sal_Int16 nNumPrecRadix; // indicating the radix, which is usually 2 or 10
- sal_Bool bCurrency : 1, // Waehrung
- bAutoIncrement : 1, // Ist es ein automatisch incrementierendes Feld
- bNullable : 1, // Kann das Feld NULL annehmen
- bCaseSensitive : 1, // Ist der Type Casesensitive
- bUnsigned : 1, // Ist der Type Unsigned
+ sal_Bool bCurrency : 1, // Currency
+ bAutoIncrement : 1, // Is this field auto incrementing?
+ bNullable : 1, // Can this field assume a NULL value?
+ bCaseSensitive : 1, // Is this type case-sensitive?
+ bUnsigned : 1, // Is this type unsigned?
bEmpty_1 : 1, // for later use
bEmpty_2 : 1;
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SPreparedStatement.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SPreparedStatement.hxx
index b01823f76a64..315d781d40fb 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SPreparedStatement.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SPreparedStatement.hxx
@@ -94,7 +94,7 @@ namespace connectivity
virtual ~OPreparedStatement();
public:
DECLARE_SERVICE_INFO();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a constructor, which is required for returning objects:
OPreparedStatement( OConnection* _pConnection,const TTypeInfoVector& _TypeInfo,const ::rtl::OUString& sql);
//XInterface
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx
index 1560801b4391..7ce5fd56fa14 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SResultSetMetaData.hxx
@@ -56,7 +56,7 @@ namespace connectivity
protected:
virtual ~OResultSetMetaData();
public:
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a constructor, which is required for returning objects:
OResultSetMetaData(OConnection* _pConnection) : m_pConnection(_pConnection){}
/// Avoid ambigous cast error from the compiler.
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx
index 7dc260c32b6b..942d43fef216 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx
@@ -159,7 +159,7 @@ namespace connectivity
protected:
virtual ~OStatement(){}
public:
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a constructor, which is required for returning objects:
OStatement( OConnection* _pConnection) : OStatement_BASE2( _pConnection){}
DECLARE_SERVICE_INFO();
diff --git a/odk/examples/cpp/complextoolbarcontrols/MyListener.cxx b/odk/examples/cpp/complextoolbarcontrols/MyListener.cxx
index 755e69123af0..94d15d80f8b6 100644
--- a/odk/examples/cpp/complextoolbarcontrols/MyListener.cxx
+++ b/odk/examples/cpp/complextoolbarcontrols/MyListener.cxx
@@ -99,8 +99,8 @@ css::uno::Any SAL_CALL MyListener::execute(const css::uno::Sequence< css::beans:
!xInfo->supportsService(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.GlobalDocument")))
);
- // Wir interessieren uns nur für Writer und Calc. Werden hier aber für
- // alle neu geöffneten Dokumente benachrichtigt ...
+ // We are interested only in Writer and Calc. However, here we are
+ // notified of all newly opened Documents...
if (!bCalc && !bWriter)
return css::uno::Any();
diff --git a/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx b/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx
index 2550faa21570..7602b129f86b 100644
--- a/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx
+++ b/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx
@@ -147,8 +147,8 @@ void SAL_CALL MyProtocolHandler::initialize( const Sequence< Any >& aArguments )
Reference < XFrame > xFrame;
if ( aArguments.getLength() )
{
- // das erste Argument ist immer der Frame, da ein ProtocolHandler den braucht um Zugriff
- // auf den Context zu haben, in dem er aufgerufen wird
+ // the first Argument is always the Frame, as a ProtocolHandler needs to have access
+ // to the context in which it is invoked.
aArguments[0] >>= xFrame;
mxFrame = xFrame;
}
@@ -167,7 +167,7 @@ Reference< XDispatch > SAL_CALL MyProtocolHandler::queryDispatch( const URL& a
Reference < XTextViewCursorSupplier > xCursor( xCtrl, UNO_QUERY );
Reference < XSpreadsheetView > xView( xCtrl, UNO_QUERY );
if ( !xCursor.is() && !xView.is() )
- // ohne ein entsprechendes Dokument funktioniert der Handler nicht
+ // without an appropriate corresponding document the handler doesn't function
return xRet;
if ( aURL.Path == "Command1" || aURL.Path == "Command2" || aURL.Path == "Command3" || aURL.Path == "Command4" || aURL.Path == "Command5"