[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdewebdev/kxsldbg/kxsldbgpart/libxsldbg
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-07-31 20:23:38
Message-ID: 20040731202338.C163799F5 () office ! kde ! org
[Download RAW message or body]

CVS commit by goutte: 

I18N: untranslatable strings (plurals)
(I still cannot compile, so please check!)
CCMAIL:k_isdale@tpg.com.au
CCMAIL:kde-i18n-doc@kde.org
CCMAIL:quanta-devel@kde.org


  M +1 -1      breakpoint_cmds.cpp   1.11
  M +2 -2      debugXSL.cpp   1.15
  M +1 -1      file_cmds.cpp   1.10
  M +3 -3      template_cmds.cpp   1.10


--- kdewebdev/kxsldbg/kxsldbgpart/libxsldbg/breakpoint_cmds.cpp  #1.10:1.11
@@ -618,5 +618,5 @@ xslDbgShellBreak(xmlChar * arg, xsltStyl
             result = 1;
             if (newBreakPoints){
-                xsldbgGenericErrorFunc(i18n("Information: Added %1 new \
breakpoints.\n", "Information: Added %1 new breakpoint.\n", \
newBreakPoints).arg(newBreakPoints)); +                \
xsldbgGenericErrorFunc(i18n("Information: Added %n new breakpoint.", "Information: \
Added %n new breakpoints.", newBreakPoints) + QString("\n"));  }
         }

--- kdewebdev/kxsldbg/kxsldbgpart/libxsldbg/debugXSL.cpp  #1.14:1.15
@@ -603,5 +603,5 @@ xslDbgCd(xsltTransformContextPtr styleCt
                             result = 1;
                         } else
-                            xsldbgGenericErrorFunc(i18n("Warning: XPath %1 is a Node \
Set with %2 children.\n", "Warning: XPath %1 is a Node Set with %2 children.\n", \
list->nodesetval->nodeNr).arg((char*)arg).arg(list->nodesetval->nodeNr)); +           \
xsldbgGenericErrorFunc(i18n("Warning: XPath %1 is a Node Set with %n child.", \
"Warning: XPath %1 is a Node Set with %n children.", \
list->nodesetval->nodeNr).arg((char*)arg) + QString("\n"));  } else {
                         xsldbgGenericErrorFunc(i18n("Warning: XPath %1 is an empty \
Node Set.\n").arg((char*)arg)); @@ -1584,5 +1584,5 @@ shellPrompt(xmlNodePtr source, \
                xmlNodePt
                         xsldbgGenericErrorFunc(i18n("\nNo breakpoints are set for \
the file.\n"));  else
-                        xsldbgGenericErrorFunc(i18n("\tTotal of %1 breakpoints \
present.\n","\tTotal of %1 breakpoint present.\n", printCount).arg(printCount)); +    \
xsldbgGenericErrorFunc(i18n("\tTotal of %n breakpoint present.","\tTotal of %n \
breakpoints present.", printCount) + QString("\n"));  }
                 cmdResult = 1;

--- kdewebdev/kxsldbg/kxsldbgpart/libxsldbg/file_cmds.cpp  #1.9:1.10
@@ -78,5 +78,5 @@ xslDbgEntities(void)
                 xsldbgGenericErrorFunc(i18n("No external General Parsed entities \
present.\n"));  } else {
-                xsldbgGenericErrorFunc(i18n("\tTotal of %1 entities found.\n", \
"\tTotal of %1 entity found.\n", \
arrayListCount(filesEntityList())).arg(arrayListCount(filesEntityList()))); +         \
xsldbgGenericErrorFunc(i18n("\tTotal of %n entity found.", "\tTotal of %n entities \
found.", arrayListCount(filesEntityList())) + QString("\n"));  }
 

--- kdewebdev/kxsldbg/kxsldbgpart/libxsldbg/template_cmds.cpp  #1.9:1.10
@@ -226,6 +226,6 @@ xslDbgShellPrintTemplateNames(xsltTransf
             xsldbgGenericErrorFunc(i18n("\tNo XSLT templates found.\n"));
         } else {
-            xsldbgGenericErrorFunc(i18n("\tTotal of %1 XSLT templates found\n", \
                "\tTotal of %1 XSLT template found\n", \
                templateCount).arg(templateCount));
-            xsldbgGenericErrorFunc(i18n("\tTotal of %1 XSLT templates printed\n", \
"\tTotal of %2 XSLT template printed\n", \
printedTemplateCount).arg(printedTemplateCount)); +            \
xsldbgGenericErrorFunc(i18n("\tTotal of %n XSLT template found", "\tTotal of %n XSLT \
templates found", templateCount) + QString("\n")); +            \
xsldbgGenericErrorFunc(i18n("\tTotal of %n XSLT template printed", "\tTotal of %2 \
XSLT templates printed", printedTemplateCount) + QString("\n"));  }
     }
@@ -323,5 +323,5 @@ xslDbgShellPrintStyleSheets(xmlChar * ar
                      NULL, filesGetStylesheet());
         if (printCounter != 0)
-            xsldbgGenericErrorFunc(i18n("\tTotal of %1 XSLT stylesheets \
found.\n","\n\tTotal of %1 XSLT stylesheet found.\n", \
printCounter).arg(printCounter)); +            xsldbgGenericErrorFunc(i18n("\tTotal \
of %n XSLT stylesheet found.\n","\n\tTotal of %n XSLT stylesheets found.\n", \
printCounter) + QString("\n"));  else
             /* strange but possible */


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic