summaryrefslogtreecommitdiffstats
path: root/kjsembed/jsbuiltin_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/jsbuiltin_imp.cpp')
-rw-r--r--kjsembed/jsbuiltin_imp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kjsembed/jsbuiltin_imp.cpp b/kjsembed/jsbuiltin_imp.cpp
index c0f758e2..ddcb3dd2 100644
--- a/kjsembed/jsbuiltin_imp.cpp
+++ b/kjsembed/jsbuiltin_imp.cpp
@@ -85,7 +85,7 @@ KJS::Value JSBuiltInImp::call( KJS::ExecState *exec, KJS::Object &self, const KJ
return KJS::Boolean( ok );
}
else {
- TQString msg = i18n( "Method retquires 1 or 2 arguments, received %1." ).arg( args.size() );
+ TQString msg = i18n( "Method requires 1 or 2 arguments, received %1." ).arg( args.size() );
return throwError(exec, msg);
}
}
@@ -171,7 +171,7 @@ KJS::Value JSBuiltInImp::call( KJS::ExecState *exec, KJS::Object &self, const KJ
}
else if ( id == MethodSaxLoadFile ) {
if ( args.size() != 2 ) {
- TQString msg = i18n( "Method retquires 2 arguments, received %1." ).arg( args.size() );
+ TQString msg = i18n( "Method requires 2 arguments, received %1." ).arg( args.size() );
return throwError(exec, msg);
}
@@ -193,7 +193,7 @@ KJS::Value JSBuiltInImp::call( KJS::ExecState *exec, KJS::Object &self, const KJ
else if ( id == MethodDumpCompletion ) {
KJS::Object obj = obj.isValid() ? args[0].toObject(exec) : KJS::Object();
if ( !obj.isValid() ) {
- TQString msg = i18n( "Method retquires an object." );
+ TQString msg = i18n( "Method requires an object." );
return throwError(exec, msg,KJS::TypeError);
}