r14820 by subik - Norwegian for calendarwizard. Cheers to Joacim Thomassen
scribus-commit
scribus-commit at lists.scribus.net
Thu Feb 25 19:44:12 CET 2010
Revision: 14820
Author: subik
Date: 2010-02-25T18:03:31.583029Z
Commit message: Norwegian for calendarwizard. Cheers to Joacim Thomassen
Changeset:
M /branches/Version135/Scribus/scribus/plugins/scriptplugin/scripts/CalendarWizard.py
Diffs:
Index: scribus/plugins/scriptplugin/scripts/CalendarWizard.py
===================================================================
--- scribus/plugins/scriptplugin/scripts/CalendarWizard.py (revision 14819)
+++ scribus/plugins/scriptplugin/scripts/CalendarWizard.py (revision 14820)
@@ -133,6 +133,10 @@
'Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre',
'Ottobre', 'Novembre', 'Dicembre'],
[u'Luned\xec', u'Marted\xec', u'Mercoled\xec', u'Gioved\xec', u'Venerd\xec', 'Sabato', 'Domenica']],
+# Norwegian by Joacim Thomassen joacim at net.homelinux.org
+'Norwegian' :
+ [['Januar', 'Februar','Mars', 'April','Mai', 'Juni','Juli', 'August','September', 'Oktober', 'November', 'Desember'],
+ ['Mandag', 'Tirsdag','Onsdag', 'Torsdag','Fredag', 'Lørdag','Søndag']],
# Polish by "Åukasz [DeeJay1] JernaÅ" <deejay1 at nsj.srem.pl>
'Polish' :
[['StyczeÅ', 'Luty', 'Marzec', 'KwiecieÅ', 'Maj',
@@ -276,7 +280,7 @@
newPage(-1, self.masterPage)
class ScEventCalendar(ScCalendar):
- """ Parent class for event
+ """ Parent class for event
(horizontal event, vertical event) calendar types """
def __init__(self, year, months = [], firstDay = calendar.SUNDAY, drawSauce=True, sepMonths='/', lang='English'):
@@ -327,7 +331,7 @@
self.rowSize = self.height / 8
def printWeekNo(self, week):
- """ Dummy for now
+ """ Dummy for now
(for this type of calendar - see ScVerticalEventCalendar) """
return
@@ -354,10 +358,10 @@
def setupMasterPage(self):
""" Create a master page (not used for this type of calendar """
createMasterPage(self.masterPage)
- closeMasterPage()
+ closeMasterPage()
class ScVerticalCalendar(ScCalendar):
- """ Parent class for vertical
+ """ Parent class for vertical
(classic, vertical event) calendar types """
def __init__(self, year, months = [], firstDay = calendar.SUNDAY, drawSauce=True, sepMonths='/', lang='English'):
@@ -446,7 +450,7 @@
def printWeekNo(self, week):
""" Print the week number for the given week"""
weekCel = createText(self.marginl, self.calHeight, self.width, self.rowSize)
- # Week number: of this week's Thursday.
+ # Week number: of this week's Thursday.
# See http://docs.python.org/library/datetime.html#datetime.date.isocalendar
# Note that week calculation isn't perfectly universal yet:
# http://en.wikipedia.org/wiki/Week_number#Week_number
More information about the scribus-commit
mailing list