<?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>286245</bug_id>
          
          <creation_ts>2011-11-10 07:46:50 +0000</creation_ts>
          <short_desc>Localised place holder for SHORTWEEKDAY (dt. &quot;WOCHENTAGKURZ&quot;) parses to full day WEEKDAY (&quot;WOCHENTAG&quot;) with suffix &quot;KURZ&quot;</short_desc>
          <delta_ts>2011-11-10 10:42:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Translations</classification>
          <product>i18n</product>
          <component>de</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>279174</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Torbjörn K.">torbjoern.k</reporter>
          <assigned_to name="German-Translators">kde-i18n-de</assigned_to>
          <cc>kde</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>1183488</commentid>
    <comment_count>0</comment_count>
    <who name="Torbjörn K.">torbjoern.k</who>
    <bug_when>2011-11-10 07:46:50 +0000</bug_when>
    <thetext>Version:           unspecified (using KDE 4.7.3) 
OS:                Linux

The place holder for the short version of the day of the week (SHORTWEEKDAY) does not work for the German translation.

The German translation says to use &quot;WOCHENTAGKURZ&quot; for &quot;SHORTWEEKDAY&quot; and &quot;WOCHENTAG&quot; for &quot;WEEKDAY&quot;. The latter works, the first doesn&apos;t.

Reproducible: Always

Steps to Reproduce:
1. Switch to German localised KDE
2. Go to System Settings (dt. &quot;Systemeinstellungen&quot;) -&gt; Region &amp; Language (dt. &quot;Region&quot;) -&gt; Date &amp; Time (dt. &quot;Datum &amp; Zeit&quot;)
3. add &quot;WOCHENTAGKURZ&quot; somewhere (possible useful)

Actual Results:  
The day of the week is displayed in the long version and &quot;KURZ&quot; is directly appended:

&quot;WOCHENTAGKURZ, DD.MM.YY&quot; -&gt; &quot;DonnerstagKURZ, 10.11.11&quot;

Expected Results:  
The short version of the day of week should be displayed:

&quot;WOCHENTAGKURZ, DD.MM.YY&quot; -&gt; &quot;Do, 10.11.11&quot;

I assume the problem is, that the place holder for the short day starts with the place holder for the full day and thus the parser stops after detecting the place holder for the full day.

As a quick fix I suggest altering the place holder for the short day into something, which starts differently to the other place holders.

A fix for the long run would be to change the parser to detect the longest place holder possible and not stopping after the first match.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1183505</commentid>
    <comment_count>1</comment_count>
    <who name="Kai Uwe Broulik">kde</who>
    <bug_when>2011-11-10 09:37:28 +0000</bug_when>
    <thetext>Maybe until the initial bug that causes that is fixed, we can change the translation to “KURZERWOCHENTAG” et al?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1183532</commentid>
    <comment_count>2</comment_count>
    <who name="Burkhard Lück">lueck</who>
    <bug_when>2011-11-10 10:42:03 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 279174 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>