<?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>189751</bug_id>
          
          <creation_ts>2009-04-15 22:37:44 +0000</creation_ts>
          <short_desc>Default playlist layout names are not translatable</short_desc>
          <delta_ts>2010-01-22 23:27:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>amarok</product>
          <component>general</component>
          <version>2.3-GIT</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>189750</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>HI</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Albert Astals Cid">aacid</reporter>
          <assigned_to name="Amarok Bugs">amarok-bugs-null</assigned_to>
          <cc>aspotashev</cc>
    
    <cc>cycoone</cc>
    
    <cc>ian.monroe</cc>
    
    <cc>kfunk</cc>
    
    <cc>lfranchi</cc>
    
    <cc>nhn</cc>
    
    <cc>yurchor</cc>
          
          <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>743450</commentid>
    <comment_count>0</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2009-04-15 22:37:44 +0000</bug_when>
    <thetext>Version:            (using Devel)
Installed from:    Compiled sources

Default layout names (like &quot;No Grouping&quot;) are not translatable</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>743453</commentid>
    <comment_count>1</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2009-04-15 22:39:57 +0000</bug_when>
    <thetext>See http://techbase.kde.org/Development/Tutorials/Localization/Building_KDE&apos;s_l10n_Module for how to use the x-test language for testing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>743455</commentid>
    <comment_count>2</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2009-04-15 22:42:41 +0000</bug_when>
    <thetext>My suggestion:
 * Add to the xml a attribute that is default=&quot;true&quot; for the ones that are shipped by default
 * Add to Messages.sh a way to parse the XML and extract the default values and store it in rc.cpp
 * When showing the layout name, check if it has the default=&quot;true&quot; tag, if it has it, you pass the layout name thorugh i18n, if it has not, you just show it
 * User created layouts have default=&quot;false&quot;
 * If a user edits a default layout it stops being a default layout so default goes to false too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752474</commentid>
    <comment_count>3</comment_count>
    <who name="Lydia Pintscher">lydia</who>
    <bug_when>2009-05-05 13:19:39 +0000</bug_when>
    <thetext>Ian: I seem to remember you saying something about Plasma devs having a fix for this. Can you please comment?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>802733</commentid>
    <comment_count>4</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2009-08-02 16:39:49 +0000</bug_when>
    <thetext>Any news about this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>844828</commentid>
    <comment_count>5</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2009-10-14 10:22:10 +0000</bug_when>
    <thetext>Bumb. This is old, could somebody comment on this, please?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>846919</commentid>
    <comment_count>6</comment_count>
    <who name="Kevin Funk">kfunk</who>
    <bug_when>2009-10-18 22:42:39 +0000</bug_when>
    <thetext>commit 5300a8328e1b0f9e90e95ff72e450e11b4c18447
Author: Kevin Funk &lt;krf@electrostorm.net&gt;
Date:   Sun Oct 18 22:39:43 2009 +0200

    Make playlist layouts translatable
    BR: 189751

Just before string freeze ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>846933</commentid>
    <comment_count>7</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2009-10-18 23:21:36 +0000</bug_when>
    <thetext>That bug really doesn&apos;t fix the bug, thanks for working on it though :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>853287</commentid>
    <comment_count>8</comment_count>
    <who name="Mark Kretschmann">kretschmann</who>
    <bug_when>2009-10-31 09:38:50 +0000</bug_when>
    <thetext>Our ChangeLog claims that this bug was fixed. KRF, what gives?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>853302</commentid>
    <comment_count>9</comment_count>
    <who name="Yuri Chornoivan">yurchor</who>
    <bug_when>2009-10-31 10:15:21 +0000</bug_when>
    <thetext>No, it is not fixed. Today&apos;s git build, Ukrainian, 100% translated. All layout names and fields are in English:
http://omploader.org/vMm50dQ/amarok.png</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>853305</commentid>
    <comment_count>10</comment_count>
    <who name="Mark Kretschmann">kretschmann</who>
    <bug_when>2009-10-31 10:20:29 +0000</bug_when>
    <thetext>So Kevin, what did your patch actually do then? :)

Maybe it should be reverted and the ChangeLog entry removed as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>853777</commentid>
    <comment_count>11</comment_count>
    <who name="Kevin Funk">kfunk</who>
    <bug_when>2009-11-01 05:09:26 +0000</bug_when>
    <thetext>Mark, my commit made it possible to translate the strings. However, the translated strings are not used in Amarok itself. The bug is not fixed yet, yep.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>853991</commentid>
    <comment_count>12</comment_count>
      <attachid>38010</attachid>
    <who name="Kevin Funk">kfunk</who>
    <bug_when>2009-11-01 16:39:46 +0000</bug_when>
    <thetext>Created attachment 38010
Patch to fix l10n for playlist layouts

Try to use the translated strings in Amarok.
Please test the attached diff as my l10n setup is horribly broken and cant test it locally. Please make sure the strings are already translated (check po file, etc.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>854009</commentid>
    <comment_count>13</comment_count>
      <attachid>38011</attachid>
    <who name="Yuri Chornoivan">yurchor</who>
    <bug_when>2009-11-01 17:29:53 +0000</bug_when>
    <thetext>Created attachment 38011
Part of &quot;amarok --debug&quot; output on layouts</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>854010</commentid>
    <comment_count>14</comment_count>
    <who name="Yuri Chornoivan">yurchor</who>
    <bug_when>2009-11-01 17:30:37 +0000</bug_when>
    <thetext>Applied to the last git-version (Ukrainian translation - messages 1389-1392 (layout names) are translated). Playlist is completely gone. All layout names (&quot;Default&quot;, &quot;No grouping&quot;, &quot;Verbose&quot;) are gone as well. Only my own layout (&quot;My&quot;) can be viewed in the list.

Screenshot:
http://omploader.org/vMm82dw/amarok1.png

Part of the debug output attached.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>854589</commentid>
    <comment_count>15</comment_count>
    <who name="Kevin Funk">kfunk</who>
    <bug_when>2009-11-02 20:45:41 +0000</bug_when>
    <thetext>Okay. No idea then, maybe Nikolaj has an idea how to work around this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>855328</commentid>
    <comment_count>16</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2009-11-04 00:39:55 +0000</bug_when>
    <thetext>Nikolaj?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>903687</commentid>
    <comment_count>17</comment_count>
    <who name="Stephen Baker">cycoone</who>
    <bug_when>2010-01-22 22:36:12 +0000</bug_when>
    <thetext>Nikolaj Hald Nielsen (nhn@kde.org)
see #189750 (which looks like a dupe to me, but I&apos;m not familiar with the issue)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>903707</commentid>
    <comment_count>18</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2010-01-22 23:27:16 +0000</bug_when>
    <thetext>Well spotted, Stephen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>903708</commentid>
    <comment_count>19</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2010-01-22 23:27:46 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 189750 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>38010</attachid>
            <date>2009-11-01 16:39:46 +0000</date>
            <delta_ts>2009-11-02 20:46:20 +0000</delta_ts>
            <desc>Patch to fix l10n for playlist layouts</desc>
            <filename>fix-l10n.diff</filename>
            <type>text/plain</type>
            <size>761</size>
            <attacher name="Kevin Funk">kfunk</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL3NyYy9wbGF5bGlzdC9sYXlvdXRzL0xheW91dE1hbmFnZXIuY3BwIGIvc3Jj
L3BsYXlsaXN0L2xheW91dHMvTGF5b3V0TWFuYWdlci5jcHAKaW5kZXggYjI5MDNlZS4uZjVmNGQ2
MSAxMDA2NDQKLS0tIGEvc3JjL3BsYXlsaXN0L2xheW91dHMvTGF5b3V0TWFuYWdlci5jcHAKKysr
IGIvc3JjL3BsYXlsaXN0L2xheW91dHMvTGF5b3V0TWFuYWdlci5jcHAKQEAgLTE4OCw3ICsxODgs
MTEgQEAgdm9pZCBMYXlvdXRNYW5hZ2VyOjpsb2FkTGF5b3V0cyggY29uc3QgUVN0cmluZyAmZmls
ZU5hbWUsIGJvb2wgdXNlciApCiAgICAgICAgIFFEb21Ob2RlIGxheW91dCA9IGxheW91dHMuaXRl
bSggaW5kZXggKTsKICAgICAgICAgaW5kZXgrKzsKIAotICAgICAgICBRU3RyaW5nIGxheW91dE5h
bWUgPSBsYXlvdXQudG9FbGVtZW50KCkuYXR0cmlidXRlKCAibmFtZSIsICIiICk7CisgICAgICAg
IFFTdHJpbmcgbGF5b3V0TmFtZTsKKyAgICAgICAgaWYoIHVzZXIgKQorICAgICAgICAgICAgbGF5
b3V0TmFtZSA9IGxheW91dC50b0VsZW1lbnQoKS5hdHRyaWJ1dGUoICJuYW1lIiwgIiIgKTsKKyAg
ICAgICAgZWxzZQorICAgICAgICAgICAgaTE4biggbGF5b3V0LnRvRWxlbWVudCgpLmF0dHJpYnV0
ZSggIm5hbWUiLCAiIiApLnRvVXRmOCgpLmNvbnN0RGF0YSgpICk7CiAgICAgICAgIGRlYnVnKCkg
PDwgImxvYWRpbmcgbGF5b3V0ICIgPDwgbGF5b3V0TmFtZTsKIAogICAgICAgICBQbGF5bGlzdExh
eW91dCBjdXJyZW50TGF5b3V0Owo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>38011</attachid>
            <date>2009-11-01 17:29:53 +0000</date>
            <delta_ts>2009-11-01 17:29:53 +0000</delta_ts>
            <desc>Part of &quot;amarok --debug&quot; output on layouts</desc>
            <filename>layouts.txt</filename>
            <type>text/plain</type>
            <size>2170</size>
            <attacher name="Yuri Chornoivan">yurchor</attacher>
            
              <data encoding="base64">YW1hcm9rOiAgICAgICAgIEJFR0lOOiBQbGF5bGlzdDo6V2lkZ2V0OjpXaWRnZXQoUVdpZGdldCop
IAphbWFyb2s6ICAgICAgICAgICBCRUdJTjogUGxheWxpc3Q6OlByb2dyZXNzaXZlU2VhcmNoV2lk
Z2V0OjpQcm9ncmVzc2l2ZVNlYXJjaFdpZGdldChRV2lkZ2V0KikgCmFtYXJvazogICAgICAgICAg
IEVORF9fOiBQbGF5bGlzdDo6UHJvZ3Jlc3NpdmVTZWFyY2hXaWRnZXQ6OlByb2dyZXNzaXZlU2Vh
cmNoV2lkZ2V0KFFXaWRnZXQqKSAtIFRvb2sgMC4wMDE1cyAKYW1hcm9rOiAgICAgICAgICAgQkVH
SU46IFBsYXlsaXN0QnJvd3Nlck5TOjpEeW5hbWljTW9kZWw6OkR5bmFtaWNNb2RlbCgpIAphbWFy
b2s6ICAgICAgICAgICAgIEJFR0lOOiB2b2lkIFBsY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4wMDMycyAKYW1hcm9rOiAgICAgICAgICAgIEFkZGluZyBwcm92aWRlcjog
ICIiIAphbWFyb2s6ICAgICAgICAgICAgQWRkaW5nIHByb3ZpZGVyOiAgIiIgCmFtYXJvazogICAg
ICAgICBFTkRfXzogUGxheWxpc3Q6OldpZGdldDo6V2lkZ2V0KFFXaWRnZXQqKSAtIFRvb2sgMC4w
MjdzIA==
</data>

          </attachment>
      

    </bug>

</bugzilla>