[Kst] kdeextragear-2/kst/kst/extensions/js/kjsembed (silent)

Andrew Coles andrew_coles at yahoo.co.uk
Tue Mar 29 17:32:51 CEST 2005


CVS commit by coles: 




CVS_SILENT

Corrected typos and i18n plural-form usage.


  M +1 -1      slotutils.cpp   1.4
  M +2 -2      bindings/painter_imp.cpp   1.4


--- kdeextragear-2/kst/kst/extensions/js/kjsembed/slotutils.cpp  #1.3:1.4
@@ -578,5 +578,5 @@ KJS::Value JSSlotUtils::invokeSlot( KJS:
     if ( args.size() > MAX_SUPPORTED_ARGS )
     {
-        QString msg = i18n( "Slots with more than %1 arguments are not supported." ).arg( MAX_SUPPORTED_ARGS );
+        QString msg = i18n( "Slots with more than 1 argument are not supported.", "Slots with more than %n arguments are not supported.", MAX_SUPPORTED_ARGS );
   return throwError(exec, msg,KJS::ReferenceError);
     }

--- kdeextragear-2/kst/kst/extensions/js/kjsembed/bindings/painter_imp.cpp  #1.3:1.4
@@ -173,5 +173,5 @@ KJS::Value Painter::call( KJS::ExecState
                 if( p->isNull() )
                 {
-                    QString msg = i18n( "Cannto paint to a null pixmap." ).arg( op->typeName()  );
+                    QString msg = i18n( "Cannot paint to a null pixmap." ).arg( op->typeName()  );
                     throwError(exec,msg);
                     retValue =  KJS::Boolean(false);
@@ -199,5 +199,5 @@ KJS::Value Painter::call( KJS::ExecState
         else
         {
-            QString msg = i18n( "Incorrect number of arguements '%1'." ).arg( args.size() );
+            QString msg = i18n( "Incorrect number of arguments '%1'." ).arg( args.size() );
             throwError(exec,msg);
             retValue =  KJS::Boolean(false);




More information about the Kst mailing list