Egon is translated into Norwegian.

This commit is contained in:
Tiril Anette Langfeldt Rødland 2008-09-06 14:23:58 +00:00
parent 85cfc171d2
commit cf7cab2e4a
5 changed files with 2844 additions and 2 deletions

2
egon.pro Normal file
View File

@ -0,0 +1,2 @@
SOURCES += egon.py
TRANSLATIONS += egon_nb.ts

2183
egon.py Executable file

File diff suppressed because it is too large Load Diff

View File

@ -335,14 +335,14 @@ class MainWindow(QMainWindow):
## Make and open the About dialog
def helpAbout(self):
QMessageBox.about(self, "About %s" % self.title, u"""
QMessageBox.about(self, "About %s" % self.title, self.trUtf8("""
<b>%s</b> v %s
<p>Copyright &copy; 2008 Tiril Anette Langfeldt Rødland. No rights reserved.
<p>You may modify and redistribute the program under the terms of the GPL. The license can be found here: http://www.gnu.org/licenses/gpl.html
<p>This application is mainly for use by students, and can be used to keep track of assignments, planned readings and the schedule.
<p>Python %s - Qt %s - PyQt %s on %s
<p>Developer: Tiril Anette Langfeldt Rødland, tirilane@pvv.ntnu.no
""" % (self.title, __version__, platform.python_version(), QT_VERSION_STR, PYQT_VERSION_STR, platform.system()))
""" % (self.title, __version__, platform.python_version(), QT_VERSION_STR, PYQT_VERSION_STR, platform.system())))
## Updates the File menu
def updateFileMenu(self):

BIN
egon_nb.qm Normal file

Binary file not shown.

657
egon_nb.ts Normal file
View File

@ -0,0 +1,657 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS><TS version="1.1" language="nb">
<defaultcodec></defaultcodec>
<context>
<name>AssignmentDlg</name>
<message>
<location filename="egon.py" line="660"/>
<source>&amp;Date</source>
<translation>&amp;Dato</translation>
</message>
<message>
<location filename="egon.py" line="661"/>
<source>&amp;Course</source>
<translation>&amp;Fag</translation>
</message>
<message>
<location filename="egon.py" line="662"/>
<source>&amp;Number</source>
<translation>&amp;Nummer</translation>
</message>
<message>
<location filename="egon.py" line="663"/>
<source>De&amp;scription</source>
<translation>&amp;Beskrivelse</translation>
</message>
<message>
<location filename="egon.py" line="664"/>
<source>&amp;Status</source>
<translation>&amp;Status</translation>
</message>
<message>
<location filename="egon.py" line="675"/>
<source>Not available</source>
<translation>Ikke tilgjengelig</translation>
</message>
<message>
<location filename="egon.py" line="675"/>
<source>Available</source>
<translation>Tilgjengelig</translation>
</message>
<message>
<location filename="egon.py" line="675"/>
<source>Begun</source>
<translation>Påbegynt</translation>
</message>
<message>
<location filename="egon.py" line="675"/>
<source>Finished</source>
<translation>Ferdig</translation>
</message>
<message>
<location filename="egon.py" line="675"/>
<source>Delivered</source>
<translation>Levert</translation>
</message>
<message>
<location filename="egon.py" line="675"/>
<source>Approved</source>
<translation>Godkjent</translation>
</message>
<message>
<location filename="egon.py" line="676"/>
<source>Not approved</source>
<translation>Underkjent</translation>
</message>
<message>
<location filename="egon.py" line="706"/>
<source>Add new assignment</source>
<translation>Ny øving</translation>
</message>
<message>
<location filename="egon.py" line="732"/>
<source>The date is not in a correct format.</source>
<translation>Datoen er ikke i et godkjent format.</translation>
</message>
<message>
<location filename="egon.py" line="746"/>
<source>The day is not valid. Please enter a valid date.</source>
<translation>Dagen er ikke gyldig. Vennligst oppgi et gyldig dato.</translation>
</message>
<message>
<location filename="egon.py" line="749"/>
<source>The hour is not valid. Please enter a valid time.</source>
<translation>Timen er ikke gyldig. Vennligst oppgi et gyldig tidspunkt.</translation>
</message>
<message>
<location filename="egon.py" line="752"/>
<source>The minutes are not valid. Please enter a valid time.</source>
<translation>Minuttene er ikke gyldig. Vennligst oppgi et gyldig tidspunkt.</translation>
</message>
<message>
<location filename="egon.py" line="760"/>
<source>The date is not valid. Please enter a date on the DD.MM.YYYY HH:MM form.</source>
<translation>Datoen er ikke gyldig. Vennligst oppgi en dato formatet DD.MM.YYYY HH:MM.</translation>
</message>
</context>
<context>
<name>AssignmentTab</name>
<message>
<location filename="egon.py" line="560"/>
<source>Not available</source>
<translation>Ikke tilgjengelig</translation>
</message>
<message>
<location filename="egon.py" line="629"/>
<source>Available</source>
<translation>Tilgjengelig</translation>
</message>
<message>
<location filename="egon.py" line="632"/>
<source>Begun</source>
<translation>Påbegynt</translation>
</message>
<message>
<location filename="egon.py" line="635"/>
<source>Finished</source>
<translation>Ferdig</translation>
</message>
<message>
<location filename="egon.py" line="638"/>
<source>Delivered</source>
<translation>Levert</translation>
</message>
<message>
<location filename="egon.py" line="641"/>
<source>Approved</source>
<translation>Godkjent</translation>
</message>
<message>
<location filename="egon.py" line="644"/>
<source>Not approved</source>
<translation>Underkjent</translation>
</message>
<message>
<location filename="egon.py" line="583"/>
<source>Date</source>
<translation>Dato</translation>
</message>
<message>
<location filename="egon.py" line="584"/>
<source>Course</source>
<translation>Fag</translation>
</message>
<message>
<location filename="egon.py" line="585"/>
<source>Number</source>
<translation>Nummer</translation>
</message>
<message>
<location filename="egon.py" line="586"/>
<source>Description</source>
<translation>Beskrivelse</translation>
</message>
<message>
<location filename="egon.py" line="587"/>
<source>Status</source>
<translation>Status</translation>
</message>
</context>
<context>
<name>BookDlg</name>
<message>
<location filename="egon.py" line="1439"/>
<source>&amp;Title</source>
<translation>&amp;Tittel</translation>
</message>
<message>
<location filename="egon.py" line="1440"/>
<source>&amp;Author</source>
<translation>&amp;Forfatter</translation>
</message>
<message>
<location filename="egon.py" line="1441"/>
<source>&amp;Edition</source>
<translation>&amp;Utgave</translation>
</message>
<message>
<location filename="egon.py" line="1442"/>
<source>&amp;ISBN</source>
<translation>&amp;ISBN</translation>
</message>
<message>
<location filename="egon.py" line="1476"/>
<source>Add new book</source>
<translation>Ny bok</translation>
</message>
</context>
<context>
<name>CourseDlg</name>
<message>
<location filename="egon.py" line="1302"/>
<source>&amp;Code</source>
<translation>Fag&amp;kode</translation>
</message>
<message>
<location filename="egon.py" line="1303"/>
<source>&amp;Title</source>
<translation>Fag&amp;navn</translation>
</message>
<message>
<location filename="egon.py" line="1304"/>
<source>&amp;Short form</source>
<translation>&amp;Kortform</translation>
</message>
<message>
<location filename="egon.py" line="1305"/>
<source>&amp;Books</source>
<translation>&amp;Bøker</translation>
</message>
<message>
<location filename="egon.py" line="1344"/>
<source>Add new course</source>
<translation>Nytt fag</translation>
</message>
<message>
<location filename="egon.py" line="1352"/>
<source>. edition</source>
<translation>. utgave</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="egon.py" line="45"/>
<source>Egon</source>
<translation>Egon</translation>
</message>
<message>
<location filename="egon.py" line="45"/>
<source>Monday</source>
<translation>Mandag</translation>
</message>
<message>
<location filename="egon.py" line="45"/>
<source>Tuesday</source>
<translation>Tirsdag</translation>
</message>
<message>
<location filename="egon.py" line="45"/>
<source>Wednesday</source>
<translation>Onsdag</translation>
</message>
<message>
<location filename="egon.py" line="45"/>
<source>Thursday</source>
<translation>Torsdag</translation>
</message>
<message>
<location filename="egon.py" line="48"/>
<source>Friday</source>
<translation>Fredag</translation>
</message>
<message>
<location filename="egon.py" line="54"/>
<source>&amp;Assignment</source>
<translation>&amp;Øving</translation>
</message>
<message>
<location filename="egon.py" line="55"/>
<source>&amp;Reading List</source>
<translation>&amp;Leselekse</translation>
</message>
<message>
<location filename="egon.py" line="56"/>
<source>&amp;Schedule</source>
<translation>&amp;Timeplan</translation>
</message>
<message>
<location filename="egon.py" line="64"/>
<source>Calendar</source>
<translation>Kalender</translation>
</message>
<message>
<location filename="egon.py" line="79"/>
<source>Spring</source>
<translation>Vår</translation>
</message>
<message>
<location filename="egon.py" line="167"/>
<source>Autumn</source>
<translation>Høst</translation>
</message>
<message>
<location filename="egon.py" line="87"/>
<source>&amp;New</source>
<translation>&amp;Ny</translation>
</message>
<message>
<location filename="egon.py" line="87"/>
<source>Create a new semester plan</source>
<translation>Lag ny semesterplan</translation>
</message>
<message>
<location filename="egon.py" line="88"/>
<source>&amp;Open</source>
<translation>&amp;Åpne</translation>
</message>
<message>
<location filename="egon.py" line="88"/>
<source>Open an existing semester plan</source>
<translation>Åpne en eksisterende semesterplan</translation>
</message>
<message>
<location filename="egon.py" line="89"/>
<source>&amp;Quit</source>
<translation>&amp;Avslutt</translation>
</message>
<message>
<location filename="egon.py" line="89"/>
<source>Quit program</source>
<translation>Avslutt program</translation>
</message>
<message>
<location filename="egon.py" line="90"/>
<source>Add &amp;course</source>
<translation>Nytt &amp;fag</translation>
</message>
<message>
<location filename="egon.py" line="90"/>
<source>Add a new course</source>
<translation>Legg til et nytt fag</translation>
</message>
<message>
<location filename="egon.py" line="91"/>
<source>Add &amp;book</source>
<translation>Ny &amp;bok</translation>
</message>
<message>
<location filename="egon.py" line="91"/>
<source>Add a new book</source>
<translation>Legg til en ny bok</translation>
</message>
<message>
<location filename="egon.py" line="92"/>
<source>Add &amp;assignment</source>
<translation>Ny &amp;øving</translation>
</message>
<message>
<location filename="egon.py" line="92"/>
<source>Add a new assignment</source>
<translation>Legg til en ny øving</translation>
</message>
<message>
<location filename="egon.py" line="93"/>
<source>Add &amp;reading</source>
<translation>Ny &amp;leselekse</translation>
</message>
<message>
<location filename="egon.py" line="93"/>
<source>Add a new reading</source>
<translation>Legg til en ny leselekse</translation>
</message>
<message>
<location filename="egon.py" line="94"/>
<source>Add &amp;lesson</source>
<translation>Ny &amp;time</translation>
</message>
<message>
<location filename="egon.py" line="94"/>
<source>Add a new lesson</source>
<translation>Legg til en ny time</translation>
</message>
<message>
<location filename="egon.py" line="95"/>
<source>Cal&amp;endar</source>
<translation>Kal&amp;ender</translation>
</message>
<message>
<location filename="egon.py" line="95"/>
<source>Show the calendar</source>
<translation>Vis kalenderen</translation>
</message>
<message>
<location filename="egon.py" line="96"/>
<source>&amp;About Egon</source>
<translation>Om &amp;Egon</translation>
</message>
<message>
<location filename="egon.py" line="99"/>
<source>&amp;File</source>
<translation>&amp;Fil</translation>
</message>
<message>
<location filename="egon.py" line="100"/>
<source>&amp;Edit</source>
<translation>&amp;Rediger</translation>
</message>
<message>
<location filename="egon.py" line="101"/>
<source>&amp;Help</source>
<translation>&amp;Hjelp</translation>
</message>
<message>
<location filename="egon.py" line="126"/>
<source>File</source>
<translation>Fil</translation>
</message>
<message>
<location filename="egon.py" line="129"/>
<source>Edit</source>
<translation>Rediger</translation>
</message>
<message>
<location filename="egon.py" line="242"/>
<source>Not done</source>
<translation>Ikke ferdig</translation>
</message>
<message>
<location filename="egon.py" line="238"/>
<source>Done</source>
<translation>Ferdig</translation>
</message>
</context>
<context>
<name>NewSemesterDlg</name>
<message>
<location filename="egon.py" line="405"/>
<source>Semester</source>
<translation>Semester</translation>
</message>
<message>
<location filename="egon.py" line="406"/>
<source>Year</source>
<translation>År</translation>
</message>
<message>
<location filename="egon.py" line="430"/>
<source>New semester</source>
<translation>Nytt semester</translation>
</message>
</context>
<context>
<name>OpenSemesterDlg</name>
<message>
<location filename="egon.py" line="472"/>
<source>Open semester</source>
<translation>Åpne en semesterplan</translation>
</message>
</context>
<context>
<name>ReadingDlg</name>
<message>
<location filename="egon.py" line="908"/>
<source>&amp;Week</source>
<translation>&amp;Uke</translation>
</message>
<message>
<location filename="egon.py" line="909"/>
<source>&amp;Course</source>
<translation>&amp;Fag</translation>
</message>
<message>
<location filename="egon.py" line="910"/>
<source>&amp;Book</source>
<translation>&amp;Bok</translation>
</message>
<message>
<location filename="egon.py" line="911"/>
<source>Cha&amp;pter</source>
<translation>&amp;Kapittel</translation>
</message>
<message>
<location filename="egon.py" line="912"/>
<source>&amp;Pages</source>
<translation>&amp;Sider</translation>
</message>
<message>
<location filename="egon.py" line="960"/>
<source>Add new reading</source>
<translation>Ny leselekse</translation>
</message>
</context>
<context>
<name>ReadingTab</name>
<message>
<location filename="egon.py" line="826"/>
<source>Add pages to read</source>
<translation>Legg til leselekse</translation>
</message>
<message>
<location filename="egon.py" line="827"/>
<source>Delete pages</source>
<translation>Slett leselekse</translation>
</message>
<message>
<location filename="egon.py" line="883"/>
<source>Done</source>
<translation>Ferdig</translation>
</message>
<message>
<location filename="egon.py" line="849"/>
<source>Week</source>
<translation>Uke</translation>
</message>
<message>
<location filename="egon.py" line="850"/>
<source>Course</source>
<translation>Fag</translation>
</message>
<message>
<location filename="egon.py" line="851"/>
<source>Book</source>
<translation>Bok</translation>
</message>
<message>
<location filename="egon.py" line="852"/>
<source>Chapter</source>
<translation>Kapittel</translation>
</message>
<message>
<location filename="egon.py" line="853"/>
<source>Pages</source>
<translation>Sider</translation>
</message>
<message>
<location filename="egon.py" line="854"/>
<source>Number of pages</source>
<translation>Antall sider</translation>
</message>
<message>
<location filename="egon.py" line="886"/>
<source>Not done</source>
<translation>Ikke ferdig</translation>
</message>
</context>
<context>
<name>ScheduleDlg</name>
<message>
<location filename="egon.py" line="1174"/>
<source>&amp;Day</source>
<translation>&amp;Dag</translation>
</message>
<message>
<location filename="egon.py" line="1175"/>
<source>&amp;From</source>
<translation>Fr&amp;a</translation>
</message>
<message>
<location filename="egon.py" line="1176"/>
<source>&amp;To</source>
<translation>&amp;Til</translation>
</message>
<message>
<location filename="egon.py" line="1177"/>
<source>&amp;Course</source>
<translation>&amp;Fag</translation>
</message>
<message>
<location filename="egon.py" line="1178"/>
<source>Ty&amp;pe</source>
<translation>T&amp;ype</translation>
</message>
<message>
<location filename="egon.py" line="1179"/>
<source>&amp;Room</source>
<translation>&amp;Rom</translation>
</message>
<message>
<location filename="egon.py" line="1197"/>
<source>Lecture</source>
<translation>Forelesning</translation>
</message>
<message>
<location filename="egon.py" line="1197"/>
<source>Assignment lecture</source>
<translation>Øvingsforelesning</translation>
</message>
<message>
<location filename="egon.py" line="1197"/>
<source>Assignment help</source>
<translation>Øvingshjelp</translation>
</message>
<message>
<location filename="egon.py" line="1197"/>
<source>Lab</source>
<translation>Lab</translation>
</message>
<message>
<location filename="egon.py" line="1197"/>
<source>Seminar</source>
<translation>Seminar</translation>
</message>
<message>
<location filename="egon.py" line="1198"/>
<source>Other</source>
<translation>Annet</translation>
</message>
<message>
<location filename="egon.py" line="1232"/>
<source>Add new lesson</source>
<translation>Legg til ny time</translation>
</message>
</context>
<context>
<name>ScheduleTab</name>
<message>
<location filename="egon.py" line="1130"/>
<source>Monday</source>
<translation>Mandag</translation>
</message>
<message>
<location filename="egon.py" line="1132"/>
<source>Tuesday</source>
<translation>Tirsdag</translation>
</message>
<message>
<location filename="egon.py" line="1134"/>
<source>Wednesday</source>
<translation>Onsdag</translation>
</message>
<message>
<location filename="egon.py" line="1136"/>
<source>Thursday</source>
<translation>Torsdag</translation>
</message>
<message>
<location filename="egon.py" line="1138"/>
<source>Friday</source>
<translation>Fredag</translation>
</message>
<message>
<location filename="egon.py" line="1090"/>
<source>%i</source>
<translation>%i</translation>
</message>
<message>
<location filename="egon.py" line="1145"/>
<source>Lecture</source>
<translation>Forelesning</translation>
</message>
<message>
<location filename="egon.py" line="1147"/>
<source>Assignment lecture</source>
<translation>Øvingsforelesning</translation>
</message>
<message>
<location filename="egon.py" line="1149"/>
<source>Assignment help</source>
<translation>Øvingshjelp</translation>
</message>
<message>
<location filename="egon.py" line="1151"/>
<source>Lab</source>
<translation>Lab</translation>
</message>
<message>
<location filename="egon.py" line="1153"/>
<source>Seminar</source>
<translation>Seminar</translation>
</message>
<message>
<location filename="egon.py" line="1155"/>
<source>Other</source>
<translation>Annet</translation>
</message>
</context>
</TS>