<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>57642</bug_id>
          
          <creation_ts>2003-04-24 13:04:27 +0000</creation_ts>
          <short_desc>Incorrect format in the file header</short_desc>
          <delta_ts>2003-05-26 18:11:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kbabel</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Antoni Bella">vasten</reporter>
          <assigned_to name="Stanislav Visnovsky">visnovsky</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>130270</commentid>
    <comment_count>0</comment_count>
    <who name="Antoni Bella">vasten</who>
    <bug_when>2003-04-24 13:04:27 +0000</bug_when>
    <thetext>Version:           1.0.1 (using KDE 3.1.1)
Installed from:     (testing/unstable)
Compiler:          gcc version 3.2.3 20030309 (Debian prerelease)
OS:          Linux (i686) release 2.4.20

Following detected problems are based in my experience on the Translation Project and you ROBOT, which is used to verify the PO files.
	&lt;http://www.iro.umontreal.ca/contrib/po/HTML/index.html&gt;

  * The action to add the years in the lines of the Copyright and translator:

	- (**) When another year is added this debit to be separated by a
	comma and a space - in this case lacks the space.

	- In the line of the translator a point would have appear at the end.

# Translator name &lt;email_adress&gt;, 2002,2003
# Translator name &lt;email_adress&gt;, 2002, 2003.

  * The Project-Id-Version field:

	- (*) If the name of the file is util-linux-2.11z.ca.po the program 
	should eliminate the code of the language and to leave a space 
	between the name of the program and its version. 

&quot;Project-Id-Version: util-linux-2.11z.ca\n&quot;
&quot;Project-Id-Version: util-linux 2.11z\n&quot;

(*) Mr ROBOT does not like.
(**) Mr ROBOT does not like and reject. 

  Well, all that is what I have observed up to the moment and that can improve kbabel.

  Regards
  Toni</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130290</commentid>
    <comment_count>1</comment_count>
    <who name="Stanislav Visnovsky">visnovsky</who>
    <bug_when>2003-04-24 14:33:54 +0000</bug_when>
    <thetext>OK, will try to improve the macros there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136086</commentid>
    <comment_count>2</comment_count>
    <who name="Stanislav Visnovsky">visnovsky</who>
    <bug_when>2003-05-26 18:11:38 +0000</bug_when>
    <thetext>Subject: kdesdk/kbabel/common

CVS commit by nanulo: 

Strip language code from PO filename to setup project/package name.

CCMAIL: 57642-done@bugs.kde.org


  M +5 -4      catalog.cpp   1.117


--- kdesdk/kbabel/common/catalog.cpp  #1.116:1.117
@@ -658,5 +658,5 @@ QString Catalog::packageName() const
     QString package=d-&gt;_url.fileName();
 
-    int index=package.findRev(QRegExp(&quot;\\.pot?&quot;));
+    int index=package.find(QRegExp(&quot;(\\.&quot;+d-&gt;_identitySettings.languageCode+&quot;)?\\.pot?$&quot;));
 
     if(index&gt;0)
@@ -681,5 +681,4 @@ void Catalog::setPackage(const QString&amp; 
         d-&gt;_packageName = package.right(package.length()-pos);
         d-&gt;_packageName.replace( QRegExp(&quot;^/+&quot;),&quot;&quot;);
-        kdDebug(KBABEL) &lt;&lt; &quot;package dir &quot; &lt;&lt; d-&gt;_packageDir &lt;&lt; &quot; and package name &quot; &lt;&lt; d-&gt;_packageName &lt;&lt; endl; 
     }
 }
@@ -2997,5 +2996,7 @@ Catalog::DiffResult Catalog::diff(uint e
             {
                 disconnect( this, SIGNAL( signalStopActivity() ), this, SLOT( stopInternal() ));
-                kdDebug(KBABEL) &lt;&lt; &quot;diffv not active&quot; &lt;&lt; endl;
+                kdDebug
+                
+                (KBABEL) &lt;&lt; &quot;diffv not active&quot; &lt;&lt; endl;
                 d-&gt;_active=false;
                 d-&gt;_stop=false;


</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>