summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Snelders <rob@ertai.nl>2011-02-10 09:59:21 +0000
committerMichael Meeks <michael.meeks@novell.com>2011-02-10 10:01:00 +0000
commit1ac2a815aa58a0636d3d0422e62a6dcf06b237e6 (patch)
tree525dc1a85a51b8500e8847e2f94ad8bc0185f799
parent9745fccacaa88bded763cc31c9aa7c04a5186a48 (diff)
translate comments
-rw-r--r--linguistic/source/dlistimp.cxx7
-rw-r--r--vbahelper/source/vbahelper/vbaapplicationbase.cxx2
2 files changed, 4 insertions, 5 deletions
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx
index aed850b803..16b6881c5f 100644
--- a/linguistic/source/dlistimp.cxx
+++ b/linguistic/source/dlistimp.cxx
@@ -345,7 +345,7 @@ void DicList::SearchForDictionaries(
if(!::IsVers2OrNewer( aURL, nLang, bNeg ))
{
- // Wenn kein
+ // When not
xub_StrLen nPos = aURL.Search('.');
String aExt(aURL.Copy(nPos + 1));
aExt.ToLowerAscii();
@@ -358,9 +358,8 @@ void DicList::SearchForDictionaries(
continue; // andere Files
}
- // Aufnehmen in die Liste der Dictionaries
- // Wenn existent nicht aufnehmen
- //
+ // Record in the list of Dictoinaries
+ // When it already exists don't record
INT16 nSystemLanguage = MsLangId::getSystemLanguage();
String aTmp1 = ToLower( aURL, nSystemLanguage );
xub_StrLen nPos = aTmp1.SearchBackward( '/' );
diff --git a/vbahelper/source/vbahelper/vbaapplicationbase.cxx b/vbahelper/source/vbahelper/vbaapplicationbase.cxx
index 3dc77cb980..33809cb205 100644
--- a/vbahelper/source/vbahelper/vbaapplicationbase.cxx
+++ b/vbahelper/source/vbahelper/vbaapplicationbase.cxx
@@ -89,7 +89,7 @@ public:
Time aTimeNow;
Date aRefDate( 1,1,1900 );
long nDiffDays = (long)(aDateNow - aRefDate);
- nDiffDays += 2; // Anpassung VisualBasic: 1.Jan.1900 == 2
+ nDiffDays += 2; // Change VisualBasic: 1.Jan.1900 == 2
long nDiffSeconds = aTimeNow.GetHour() * 3600 + aTimeNow.GetMin() * 60 + aTimeNow.GetSec();
return (double)nDiffDays + ((double)nDiffSeconds)/(double)(24*3600);