summaryrefslogtreecommitdiff
path: root/sot/source/base/exchange.cxx
diff options
context:
space:
mode:
authorJohnny_M <klasse@partyheld.de>2017-07-12 22:41:14 +0200
committerMichael Stahl <mstahl@redhat.com>2017-07-13 14:36:36 +0200
commit0018fd1b81b3c4ec5ee1de092760479aeae7cd96 (patch)
treef79a9568d405a3bb42357bd5a762e5c5fe350630 /sot/source/base/exchange.cxx
parenta307ad7ae029a0a62404996a63954e7026001ce3 (diff)
Translate German comments/debug strings (leftovers in the sot dir)
Translates leftovers found using a custom regex and manually checking the rest of the affected file. Change-Id: I0e44957d58e089b82738c65a8774d1a45ea7068d Reviewed-on: https://gerrit.libreoffice.org/39879 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sot/source/base/exchange.cxx')
-rw-r--r--sot/source/base/exchange.cxx33
1 files changed, 16 insertions, 17 deletions
diff --git a/sot/source/base/exchange.cxx b/sot/source/base/exchange.cxx
index 286f4c7e49e2..f4a51bff5121 100644
--- a/sot/source/base/exchange.cxx
+++ b/sot/source/base/exchange.cxx
@@ -37,12 +37,11 @@ using namespace::com::sun::star::uno;
using namespace::com::sun::star::datatransfer;
/*
- In diesen Tabellen stehen alle im Office verwendeten MimeTypes,
- Format-Bezeichner und Types.
- Die Tabelle ist nach den Formatstring-Ids sortiert und jede Id
- ist um genau 1 groesser als ihre Vorgaenger-Id, damit die Id als
- Tabellenindex benutzt werden kann.
-*/
+ * These tables contain all MimeTypes, format identifiers, and types used in
+ * the Office. The table is sorted by the format string ID, and each ID is
+ * exactly 1 greater than its predecessor ID, so that the ID can be used as a
+ * table index.
+ */
struct DataFlavorRepresentation
{
const char* pMimeType;
@@ -251,12 +250,12 @@ static tDataFlavorList& InitFormats_Impl()
|*
|* SotExchange::RegisterFormatName()
|*
-|* Beschreibung CLIP.SDW
+|* Description CLIP.SDW
*************************************************************************/
SotClipboardFormatId SotExchange::RegisterFormatName( const OUString& rName )
{
const DataFlavorRepresentation *pFormatArray_Impl = FormatArray_Impl::get();
- // teste zuerst die Standard - Name
+ // test the default first - name
for( SotClipboardFormatId i = SotClipboardFormatId::STRING; i <= SotClipboardFormatId::FILE_LIST; ++i )
if( rName.equalsAscii( pFormatArray_Impl[ static_cast<int>(i) ].pName ) )
return i;
@@ -270,7 +269,7 @@ SotClipboardFormatId SotExchange::RegisterFormatName( const OUString& rName )
? SotClipboardFormatId::STARCHART_50
: i );
- // dann in der dynamischen Liste
+ // then in the dynamic list
tDataFlavorList& rL = InitFormats_Impl();
for( tDataFlavorList::size_type i = 0; i < rL.size(); i++ )
{
@@ -292,7 +291,7 @@ SotClipboardFormatId SotExchange::RegisterFormatName( const OUString& rName )
SotClipboardFormatId SotExchange::RegisterFormatMimeType( const OUString& rMimeType )
{
const DataFlavorRepresentation *pFormatArray_Impl = FormatArray_Impl::get();
- // teste zuerst die Standard - Name
+ // test the default first - name
for( SotClipboardFormatId i = SotClipboardFormatId::STRING; i <= SotClipboardFormatId::FILE_LIST; ++i )
if( rMimeType.equalsAscii( pFormatArray_Impl[ static_cast<int>(i) ].pMimeType ) )
return i;
@@ -301,7 +300,7 @@ SotClipboardFormatId SotExchange::RegisterFormatMimeType( const OUString& rMimeT
if( rMimeType.equalsAscii( pFormatArray_Impl[ static_cast<int>(i) ].pMimeType ) )
return i;
- // dann in der dynamischen Liste
+ // then in the dynamic list
tDataFlavorList& rL = InitFormats_Impl();
for( tDataFlavorList::size_type i = 0; i < rL.size(); i++ )
{
@@ -324,7 +323,7 @@ SotClipboardFormatId SotExchange::RegisterFormatMimeType( const OUString& rMimeT
|*
|* SotExchange::RegisterFormatName()
|*
-|* Beschreibung CLIP.SDW
+|* Description CLIP.SDW
*************************************************************************/
SotClipboardFormatId SotExchange::RegisterFormat( const DataFlavor& rFlavor )
{
@@ -430,7 +429,7 @@ SotClipboardFormatId SotExchange::GetFormatIdFromMimeType( const OUString& rMime
? SotClipboardFormatId::STARCHART_50
: i );
- // dann in der dynamischen Liste
+ // then in the dynamic list
tDataFlavorList& rL = InitFormats_Impl();
for( tDataFlavorList::size_type i = 0; i < rL.size(); i++ )
@@ -447,11 +446,11 @@ SotClipboardFormatId SotExchange::GetFormatIdFromMimeType( const OUString& rMime
|*
|* SotExchange::GetFormatName()
|*
-|* Beschreibung CLIP.SDW
+|* Description CLIP.SDW
*************************************************************************/
SotClipboardFormatId SotExchange::GetFormat( const DataFlavor& rFlavor )
{
- // teste zuerst die Standard - Name
+ // test the default first - name
const OUString& rMimeType = rFlavor.MimeType;
const DataFlavorRepresentation *pFormatArray_Impl = FormatArray_Impl::get();
@@ -468,7 +467,7 @@ SotClipboardFormatId SotExchange::GetFormat( const DataFlavor& rFlavor )
? SotClipboardFormatId::STARCHART_50
: i );
- // dann in der dynamischen Liste
+ // then in the dynamic list
tDataFlavorList& rL = InitFormats_Impl();
for( tDataFlavorList::size_type i = 0; i < rL.size(); i++ )
{
@@ -484,7 +483,7 @@ SotClipboardFormatId SotExchange::GetFormat( const DataFlavor& rFlavor )
|*
|* SotExchange::GetFormatName()
|*
-|* Beschreibung CLIP.SDW
+|* Description CLIP.SDW
*************************************************************************/
OUString SotExchange::GetFormatName( SotClipboardFormatId nFormat )
{