summaryrefslogtreecommitdiffstats
path: root/kjsembed/jsbuiltin_imp.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 21:58:19 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 21:58:19 -0600
commit26abe38d0748c549f2458da57507614fad599d83 (patch)
tree02bc387417c25ba4cc5744f8addf7e3dacf24292 /kjsembed/jsbuiltin_imp.cpp
parente1a0e352b6ead69ed6f55476272ace842fbbdf74 (diff)
downloadtdebindings-26abe38d0748c549f2458da57507614fad599d83.tar.gz
tdebindings-26abe38d0748c549f2458da57507614fad599d83.zip
Fix retquire
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);
}