[Calendar and Contacts Server] #411: [PATCH] fix some gettext issues
#411: [PATCH] fix some gettext issues ----------------------------------+----------------------------------------- Reporter: mail@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Severity: Other Keywords: | Radar: ----------------------------------+----------------------------------------- Running gettext one got the following output: {{{ fm@thinkpad:~/CalendarServer # pygettext.py twistedcaldav/localization.py twistedcaldav/mail.py *** twistedcaldav/localization.py:225: Seen unexpected token "daysFull" *** twistedcaldav/localization.py:226: Seen unexpected token "monthsFull" *** twistedcaldav/localization.py:250: Seen unexpected token "ampm" *** twistedcaldav/localization.py:269: Seen unexpected token "%" }}} The first three are doubled as far as i can see and the last one is a real bug. Attached patch fixes it. -- Ticket URL: <http://trac.calendarserver.org/ticket/411> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#411: [PATCH] fix some gettext issues ----------------------------------+----------------------------------------- Reporter: mail@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Severity: Other Keywords: | Radar: ----------------------------------+----------------------------------------- Comment(by mail@…): The first part of my patch was wrong as _ is not bound to gettext the first time and therefore the values are not translated twice... -- Ticket URL: <http://trac.calendarserver.org/ticket/411#comment:1> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#411: [PATCH] fix some gettext issues ----------------------------------+----------------------------------------- Reporter: mail@… | Owner: sagen@… Type: Defect | Status: new Priority: 2: Expected | Milestone: CalendarServer-3.2 Component: Calendar Server | Severity: Other Keywords: | Radar: ----------------------------------+----------------------------------------- Changes (by wsanchez@…): * owner: wsanchez@… => sagen@… * priority: 5: Not set => 2: Expected * milestone: => CalendarServer-3.2 -- Ticket URL: <http://trac.calendarserver.org/ticket/411#comment:2> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
participants (1)
-
Calendar and Contacts Server