Ticket #1413 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

some changes on date-patch and translation in german

Reported by: fabian2_de Assigned to:
Priority: low Milestone: 1.3.5
Component: qt/kde gui Version: devel
Keywords: Cc:

Description

Here is the german translation for the strings of the date-patch: /plugins/qt-gui/po/de.ts

3191a3192,3199
>         <source>Date Format:</source>
>         <translation>Datumsformatierung:</translation>
>     </message>
>     <message>
>         <source>Custom Date Format</source>
>         <translation>Eigene Datumsformatierung</translation>
>     </message>
>     <message>

(I know, there are more, shown by "What's this", but I don't really know how to translate the html-code... I can't just do it like the other strings..)

also I have fixed missing ")"s in optionsdlg.cpp: /plugins/qt-gui/src/optionsdlg.cpp

1611,1613c1611,1613
<       "<tr><td>hh</td>  <td>the hour with a leading zero (00..23 or 01..12 if AM/PM display</td></tr>"
<       "<tr><td>m</td>   <td>the minute without a leading zero (0..59</td></tr>"
<       "<tr><td>mm</td>  <td>the minute with a leading zero (00..59</td></tr>"
---
>       "<tr><td>hh</td>  <td>the hour with a leading zero (00..23 or 01..12 if AM/PM display)</td></tr>"
>       "<tr><td>m</td>   <td>the minute without a leading zero (0..59)</td></tr>"
>       "<tr><td>mm</td>  <td>the minute with a leading zero (00..59)</td></tr>"
1615c1615
<       "<tr><td>ss</td>  <td>the second whith a leading zero (00..59</td></tr>"
---
>       "<tr><td>ss</td>  <td>the second whith a leading zero (00..59)</td></tr>"
1617c1617
<       "<tr><td>zzz</td> <td>the milliseconds with leading zeroes (000..999</td></tr>"
---
>       "<tr><td>zzz</td> <td>the milliseconds with leading zeroes (000..999)</td></tr>"

and I have an advice, the german dateformate looks like the following: DD.MM.YYYY .. I added it to the choices of the patch: /plugins/qt-gui/src/optionsdlg.cpp

1583a1584,1585
>   cmbDateFormat->insertItem("dd.MM.yyyy hh:mm:ss");
>   cmbDateFormat->insertItem("dd.MM.yyyy");

Change History

2006-10-16 02:36:35 changed by erijo

  • status changed from new to closed.
  • resolution set to fixed.

Applied in r4704 and r4705, thanks!

About the html code, just translate it like a normal string but don't change the html tags (<tr>, <td>, etc) nor the strings hh, mm, zzz, etc. I changed the string a bit in r4704 to make it easier to translate (by adding some newlines).

2006-10-16 02:37:10 changed by erijo

  • milestone set to 1.3.5.