bruno1505 / pyetv

Automatically exported from code.google.com/p/pyetv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

German translation for PyeTV #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is a german translation of the PyeTV strings.

Original issue reported on code.google.com by thomas.h...@gmail.com on 10 Jan 2010 at 12:11

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks.

Is there perhaps a shorter phrase or translation for:

      'Recorded at' : u'Aufgenommen am',

This is used on on the recording info pane and all fields get aligned based on 
the
longest title.  Since the translated phrase is so long, the episode title often 
winds
up getting truncated.

Original comment by jon.chri...@gmail.com on 12 Jan 2010 at 6:48

GoogleCodeExporter commented 8 years ago
I will experiment to find a good looking, shorter alternative.

Original comment by thomas.h...@gmail.com on 12 Jan 2010 at 7:59

GoogleCodeExporter commented 8 years ago
I suggest using 'Datum' instead of 'Aufgenommen am'.  It is a lot shorter, and
matches the text that the german EyeTV uses.  This patch also changes 
'Naechstes' to
'Es folgt' (wrong umlaut in the former, and again same text as in EyeTV in the
latter). Thanks.

Index: translate.py
===================================================================
--- translate.py        (revision 79)
+++ translate.py        (working copy)
@@ -74,8 +74,8 @@
        'Episode' : u'Folge',
        'Channel' : u'Sender',
        'Position' : u'Position',
-       'Recorded at' : u'Aufgenommen am',
-       "Next" : u'Naechstes',
+       'Recorded at' : u'Datum',
+       "Next" : u'Es folgt',
        "At" : u'Am'

        },

Original comment by thomas.h...@gmail.com on 12 Jan 2010 at 9:26

GoogleCodeExporter commented 8 years ago
There is another issue but I don't have a complete working patch for that.  The 
dates
that the plugin displays are still formatted in english locale (english month 
names,
and 12-hour AM/PM time format).  This patch MAY be a start, it fixes the month 
names,
but not the time format. It may be necessary to use the result of a call to
'locale.nl_longinfo(locale.D_T_FMT)' as strftime format string, but then it 
will use
24-hour format even in engish locales.  Is there a portable apple api to format 
a
time string?

Index: etv.py
===================================================================
--- etv.py      (revision 79)
+++ etv.py      (working copy)
@@ -3,6 +3,9 @@
 import AppKit
 from appscript import *
 import time
+import locale
+loc = 
Foundation.NSUserDefaults.standardUserDefaults().objectForKey_('AppleLocale')
+locale.setlocale(locale.LC_ALL, str(loc))

 import PyFR.Utilities

Original comment by thomas.h...@gmail.com on 12 Jan 2010 at 9:33

GoogleCodeExporter commented 8 years ago
Thanks,

Translation changes applied

Original comment by jon.chri...@gmail.com on 12 Jan 2010 at 9:47

GoogleCodeExporter commented 8 years ago

Original comment by jon.chri...@gmail.com on 21 Feb 2010 at 1:07