aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sisreqrecord.cpp
diff options
context:
space:
mode:
authorDaniel Brahneborg <basic@chello.se>2002-03-09 21:07:08 +0000
committerDaniel Brahneborg <basic@chello.se>2002-03-09 21:07:08 +0000
commitb105b61017274eec171269b0d0f9cc617f01d423 (patch)
tree8632bbea1942c50b934546d026de4ab67ef584ec /lib/sisreqrecord.cpp
parentec3470be2c7f3db0b9c23c6827ab56c935f801e4 (diff)
downloadplptools-b105b61017274eec171269b0d0f9cc617f01d423.tar.gz
plptools-b105b61017274eec171269b0d0f9cc617f01d423.tar.bz2
plptools-b105b61017274eec171269b0d0f9cc617f01d423.zip
I18N-ify sis classes
Diffstat (limited to 'lib/sisreqrecord.cpp')
-rw-r--r--lib/sisreqrecord.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/sisreqrecord.cpp b/lib/sisreqrecord.cpp
index 9d32a88..654e8de 100644
--- a/lib/sisreqrecord.cpp
+++ b/lib/sisreqrecord.cpp
@@ -22,6 +22,7 @@
#include "sisreqrecord.h"
#include "sisfile.h"
+#include "plpintl.h"
#include <stdio.h>
@@ -58,19 +59,19 @@ SISReqRecord::fillFrom(uint8_t* buf, int* base, off_t len, SISFile* sisFile)
m_namePtrs[i] = read32(p + size);
if (m_namePtrs[i] + m_nameLengths[i] > len)
{
- printf("Position/length too large for req record %d.\n", i);
+ printf(_("Position/length too large for req record %d.\n"), i);
return SIS_CORRUPTED;
}
size += 4;
if (logLevel >= 2)
- printf("Name %d (for %s) is %.*s\n",
+ printf(_("Name %d (for %s) is %.*s\n"),
i,
sisFile->getLanguage(i)->m_name,
m_nameLengths[i],
buf + m_namePtrs[i]);
}
if (logLevel >= 1)
- printf("%d .. %d (%d bytes): Req record\n",
+ printf(_("%d .. %d (%d bytes): Req record\n"),
*base, *base + size, size);
*base += size;
return SIS_OK;