Ignore:
Timestamp:
28 Feb 2012, 19:34:51 (13 years ago)
Author:
Henrik Bettermann
Message:

Internationalize hostels package.

Remove exception catcher in switchReservations and corresponding test.

When testing the hostel configuration manually I found out that the beds_reserved list attribute of halls
only changed during the lifetime of a running instance. After restarting the portal all changes were gone.
Also "hostel._p_changed = True" didn't help. The only solution was to reassign the attribute to ensure persistance.

Unfortunately, the current tests don't catch such a malfunction. This has to be improved.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/locales/de/LC_MESSAGES
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/locales/de/LC_MESSAGES/waeup.sirp.po

    r7717 r7718  
    1515msgstr ""
    1616"Project-Id-Version: WAeUP.SIRP\n"
    17 "POT-Creation-Date: Tue Feb 28 12:37:24 2012\n"
    18 "PO-Revision-Date: 2012-02-28 12:41+0100\n"
     17"POT-Creation-Date: Tue Feb 28 18:06:20 2012\n"
     18"PO-Revision-Date: 2012-02-28 18:10+0100\n"
    1919"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
    2020"Language-Team: WAeUP Germany <henrik@waeup.org>\n"
     
    107107#: waeup/sirp/browser/pages.py:1749
    108108#: waeup/sirp/browser/pages.py:1770
     109#: waeup/sirp/hostels/browser.py:209
     110#: waeup/sirp/hostels/browser.py:231
     111#: waeup/sirp/hostels/browser.py:317
    109112msgid "Save"
    110113msgstr "Speichern"
     
    127130#: waeup/sirp/browser/pages.py:1773
    128131#: waeup/sirp/browser/pages.py:1885
     132#: waeup/sirp/hostels/browser.py:54
    129133msgid "Form has been saved."
    130134msgstr "Das Formular wurde gespeichert."
     
    254258#: waeup/sirp/browser/pages.py:1336
    255259#: waeup/sirp/browser/pages.py:1371
     260#: waeup/sirp/hostels/browser.py:131
    256261msgid "Remove selected"
    257262msgstr "Ausgewählte Objekte löschen"
     
    382387#: waeup/sirp/applicants/browser_templates/applicantdisplaypage.pt:49
    383388msgid "Payment Id"
    384 msgstr "Id der Zahlung"
     389msgstr "Zahlungs-Id"
    385390
    386391#: waeup/sirp/applicants/browser_templates/applicanteditpage.pt:101
     
    875880
    876881#: waeup/sirp/browser/pages.py:113
     882#: waeup/sirp/hostels/browser.py:256
     883#: waeup/sirp/hostels/browser.py:285
    877884msgid "No item selected."
    878885msgstr "Nichts ausgewählt."
     
    11021109
    11031110#: waeup/sirp/browser/pages.py:387
     1111#: waeup/sirp/hostels/browser.py:195
    11041112msgid "Manage"
    11051113msgstr "Verwalten"
     
    14581466#: waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt:112
    14591467#: waeup/sirp/applicants/browser_templates/applicantsrootmanagepage.pt:58
     1468#: waeup/sirp/hostels/browser_templates/containerpage.pt:10
     1469#: waeup/sirp/hostels/browser_templates/containermanagepage.pt:11
    14601470msgid "Name"
    14611471msgstr "Name"
     
    14911501
    14921502#: waeup/sirp/browser/templates/facultypage.pt:1
     1503#: waeup/sirp/hostels/browser_templates/containerpage.pt:1
    14931504msgid "There no subobjects registered yet."
    14941505msgstr "Es existieren bisher keine Unterobjekte."
     
    15491560
    15501561#: waeup/sirp/browser/templates/searchpage.pt:15
     1562#: waeup/sirp/hostels/browser_templates/hostelmanagepage.pt:54
    15511563msgid "Type"
    15521564msgstr "Typ"
     
    16651677msgstr "Bearbeiten"
    16661678
    1667 #: waeup/sirp/hostels/browser.py:67
     1679#: waeup/sirp/hostels/browser.py:105
     1680msgid "Accommodation Section"
     1681msgstr "Wohnheime"
     1682
     1683#: waeup/sirp/hostels/browser.py:113
     1684#: waeup/sirp/hostels/browser.py:123
     1685msgid "Manage accommodation section"
     1686msgstr "Wohnheime verwalten"
     1687
     1688#: waeup/sirp/hostels/browser.py:145
     1689#: waeup/sirp/hostels/browser.py:158
     1690msgid "Add hostel"
     1691msgstr "Wohnheim hinzufügen"
     1692
     1693#: waeup/sirp/hostels/browser.py:161
     1694msgid "Create hostel"
     1695msgstr "Wohnheim erzeugen"
     1696
     1697#: waeup/sirp/hostels/browser.py:170
     1698msgid "The hostel already exists."
     1699msgstr "Das Wohnheim existiert bereits."
     1700
     1701#: waeup/sirp/hostels/browser.py:172
     1702msgid "Hostel created."
     1703msgstr "Wohnheim erzeugt."
     1704
     1705#: waeup/sirp/hostels/browser.py:207
     1706msgid "Manage hostel"
     1707msgstr "Wohnheim verwalten"
     1708
     1709#: waeup/sirp/hostels/browser.py:210
     1710#: waeup/sirp/hostels/browser.py:236
     1711msgid "Update all beds"
     1712msgstr "Alle Betten aktualisieren"
     1713
     1714#: waeup/sirp/hostels/browser.py:211
     1715#: waeup/sirp/hostels/browser.py:250
     1716msgid "Switch reservation of selected beds"
     1717msgstr "Reservierung der ausgewählten Betten ändern"
     1718
     1719#: waeup/sirp/hostels/browser.py:212
     1720#: waeup/sirp/hostels/browser.py:279
     1721msgid "Release selected beds"
     1722msgstr "Ausgewählte Betten freigeben"
     1723
     1724#. Default: ""
     1725#: waeup/sirp/hostels/browser.py:241
     1726msgid "${a} empty beds removed, ${b} beds added, ${c} occupied beds modified (${d})"
     1727msgstr "${a} leere Betten entfernt, ${b} Betten hinzugefügt, ${c} belegte Betten geändert (${d})"
     1728
     1729#. Default: ""
     1730#: waeup/sirp/hostels/browser.py:273
     1731msgid "Successfully switched beds: ${a}"
     1732msgstr "Erfolgreich geänderte Betten: ${a}"
     1733
     1734#. Default: ""
     1735#: waeup/sirp/hostels/browser.py:297
     1736msgid "Successfully released beds: ${a}"
     1737msgstr "Erfolgreich freigegebene Betten: ${a}"
     1738
     1739#: waeup/sirp/hostels/browser.py:302
     1740msgid "No allocated bed selected."
     1741msgstr "Keine Betten ausgewählt."
     1742
     1743#: waeup/sirp/hostels/browser.py:314
     1744msgid "Allocate student"
     1745msgstr "Student zuweisen"
     1746
     1747#: waeup/sirp/hostels/browser.py:68
     1748#: waeup/sirp/hostels/browser.py:78
    16681749msgid "Hostels"
    16691750msgstr "Wohnheime"
     1751
     1752#. Default: ""
     1753#: waeup/sirp/hostels/browser.py:95
     1754msgid "Block ${a}, Room ${b}, Bed ${c}"
     1755msgstr "Block ${a}, Raum ${b}, Bett ${c}"
     1756
     1757#: waeup/sirp/hostels/browser_templates/containerpage.pt:9
     1758#: waeup/sirp/hostels/browser_templates/containermanagepage.pt:9
     1759#: waeup/sirp/hostels/browser_templates/hostelmanagepage.pt:53
     1760msgid "Id"
     1761msgstr "Id"
     1762
     1763#: waeup/sirp/hostels/browser_templates/hostelmanagepage.pt:55
     1764msgid "Number"
     1765msgstr "Nummer"
     1766
     1767#: waeup/sirp/hostels/browser_templates/hostelmanagepage.pt:56
     1768msgid "Owner"
     1769msgstr "Eigentümer"
     1770
     1771#: waeup/sirp/hostels/browser_templates/hostelmanagepage.pt:6
     1772msgid "Hostel Data"
     1773msgstr "Wohnheimdaten"
     1774
     1775#: waeup/sirp/hostels/browser_templates/hostelmanagepage.pt:74
     1776msgid "[allocate student]"
     1777msgstr "[Student zuweisen]"
     1778
     1779#: waeup/sirp/hostels/browser_templates/hostelmanagepage.pt:9
     1780msgid "Beds"
     1781msgstr "Betten"
     1782
     1783#: waeup/sirp/hostels/hostel.py:163
     1784msgid "unreserved"
     1785msgstr "nicht reserviert"
     1786
     1787#: waeup/sirp/hostels/hostel.py:176
     1788msgid "reserved"
     1789msgstr "reserviert"
     1790
     1791#: waeup/sirp/hostels/interfaces.py:105
     1792msgid "Beds for Returning Students"
     1793msgstr "Betten für rückgemeldete Studenten"
     1794
     1795#: waeup/sirp/hostels/interfaces.py:112
     1796msgid "Beds for Final Year Students"
     1797msgstr "Betten für Studenten im letzten Studienjahr"
     1798
     1799#: waeup/sirp/hostels/interfaces.py:119
     1800msgid "Beds without category"
     1801msgstr "Unkategorisierte Betten"
     1802
     1803#: waeup/sirp/hostels/interfaces.py:126
     1804msgid "Special Handling"
     1805msgstr "Spezielle Handhabung"
     1806
     1807#: waeup/sirp/hostels/interfaces.py:137
     1808msgid "Female and male blocks overlap."
     1809msgstr "Blöcke für Männer und Frauen überlappen."
     1810
     1811#: waeup/sirp/hostels/interfaces.py:146
     1812msgid "Bed categories overlap."
     1813msgstr "Bettkategorien überlappen."
     1814
     1815#: waeup/sirp/hostels/interfaces.py:169
     1816msgid "Bed Id"
     1817msgstr "Betten Id"
     1818
     1819#: waeup/sirp/hostels/interfaces.py:175
     1820msgid "Bed Type"
     1821msgstr "Betttyp"
     1822
     1823#: waeup/sirp/hostels/interfaces.py:181
     1824msgid "Bed Number"
     1825msgstr "Bettnummer"
     1826
     1827#: waeup/sirp/hostels/interfaces.py:186
     1828#: waeup/sirp/hostels/interfaces.py:199
     1829msgid "Owner (Student)"
     1830msgstr "Eigentümer (Student)"
     1831
     1832#: waeup/sirp/hostels/interfaces.py:44
     1833msgid "Hostel Id"
     1834msgstr "Wohnheim-Id"
     1835
     1836#: waeup/sirp/hostels/interfaces.py:49
     1837msgid "Sort Id"
     1838msgstr "Sortierungsnummer"
     1839
     1840#: waeup/sirp/hostels/interfaces.py:55
     1841msgid "Hostel Name"
     1842msgstr "Wohnheimname"
     1843
     1844#: waeup/sirp/hostels/interfaces.py:61
     1845msgid "Floors per Block"
     1846msgstr "Etagen pro Block"
     1847
     1848#: waeup/sirp/hostels/interfaces.py:67
     1849msgid "Rooms per Floor"
     1850msgstr "Räume pro Flur"
     1851
     1852#: waeup/sirp/hostels/interfaces.py:73
     1853msgid "Reserved Beds"
     1854msgstr "Reservierte Betten"
     1855
     1856#: waeup/sirp/hostels/interfaces.py:84
     1857msgid "Blocks for Female Students"
     1858msgstr "Blöcke für Frauen"
     1859
     1860#: waeup/sirp/hostels/interfaces.py:91
     1861msgid "Blocks for Male Students"
     1862msgstr "Blöcke für Männer"
     1863
     1864#: waeup/sirp/hostels/interfaces.py:98
     1865msgid "Beds for Fresh Students"
     1866msgstr "Betten für Erstsemester"
     1867
     1868#: waeup/sirp/hostels/vocabularies.py:57
     1869msgid "Bed A"
     1870msgstr "Bett A"
     1871
     1872#: waeup/sirp/hostels/vocabularies.py:58
     1873msgid "Bed B"
     1874msgstr "Bett B"
     1875
     1876#: waeup/sirp/hostels/vocabularies.py:59
     1877msgid "Bed C"
     1878msgstr "Bett C"
     1879
     1880#: waeup/sirp/hostels/vocabularies.py:60
     1881msgid "Bed D"
     1882msgstr "Bett D"
     1883
     1884#: waeup/sirp/hostels/vocabularies.py:61
     1885msgid "Bed E"
     1886msgstr "Bett E"
     1887
     1888#: waeup/sirp/hostels/vocabularies.py:62
     1889msgid "Bed F"
     1890msgstr "Bett F"
     1891
     1892#: waeup/sirp/hostels/vocabularies.py:63
     1893msgid "Bed G"
     1894msgstr "Bett G"
     1895
     1896#: waeup/sirp/hostels/vocabularies.py:64
     1897msgid "Bed H"
     1898msgstr "Bett H"
     1899
     1900#: waeup/sirp/hostels/vocabularies.py:65
     1901msgid "Bed I"
     1902msgstr "Bett I"
     1903
     1904#: waeup/sirp/hostels/vocabularies.py:69
     1905msgid "Block A"
     1906msgstr "Block A"
     1907
     1908#: waeup/sirp/hostels/vocabularies.py:70
     1909msgid "Block B"
     1910msgstr "Block B"
     1911
     1912#: waeup/sirp/hostels/vocabularies.py:71
     1913msgid "Block C"
     1914msgstr "Block C"
     1915
     1916#: waeup/sirp/hostels/vocabularies.py:72
     1917msgid "Block D"
     1918msgstr "Block D"
     1919
     1920#: waeup/sirp/hostels/vocabularies.py:73
     1921msgid "Block E"
     1922msgstr "Block E"
     1923
     1924#: waeup/sirp/hostels/vocabularies.py:74
     1925msgid "Block F"
     1926msgstr "Block F"
     1927
     1928#: waeup/sirp/hostels/vocabularies.py:75
     1929msgid "Block G"
     1930msgstr "Block G"
     1931
     1932#: waeup/sirp/hostels/vocabularies.py:76
     1933msgid "Block H"
     1934msgstr "Block H"
     1935
     1936#: waeup/sirp/hostels/vocabularies.py:77
     1937msgid "Block I"
     1938msgstr "Block I"
     1939
     1940#: waeup/sirp/hostels/vocabularies.py:78
     1941msgid "Block K"
     1942msgstr "Block K"
     1943
     1944#: waeup/sirp/hostels/vocabularies.py:79
     1945msgid "Block L"
     1946msgstr "Block L"
     1947
     1948#: waeup/sirp/hostels/vocabularies.py:80
     1949msgid "Block M"
     1950msgstr "Block M"
     1951
     1952#: waeup/sirp/hostels/vocabularies.py:81
     1953msgid "Block N"
     1954msgstr "Block N"
     1955
     1956#: waeup/sirp/hostels/vocabularies.py:82
     1957msgid "Block O"
     1958msgstr "Block O"
     1959
     1960#: waeup/sirp/hostels/vocabularies.py:83
     1961msgid "Block P"
     1962msgstr "Block P"
     1963
     1964#: waeup/sirp/hostels/vocabularies.py:87
     1965msgid "Regular Hostel"
     1966msgstr "Standard-Wohnheim"
     1967
     1968#: waeup/sirp/hostels/vocabularies.py:88
     1969msgid "Blocked Hostel"
     1970msgstr "Gesperrtes Wohnheim"
     1971
     1972#: waeup/sirp/hostels/vocabularies.py:89
     1973msgid "Postgraduate Hostel"
     1974msgstr "Postgraduierten-Wohnheim"
    16701975
    16711976#: waeup/sirp/interfaces.py:72
     
    21162421msgstr "8. Studienjahr"
    21172422
    2118 #~ msgid "${a} Application Record ${a}"
    2119 #~ msgstr "${a} Antrag ${b}"
    2120 
    2121 #~ msgid "Could not delete"
    2122 #~ msgstr "Konnte nicht gelöscht werden:"
     2423#~ msgid "Could not switch: ${a}: ${b}: ${c}"
     2424#~ msgstr "Konnte nicht geändert werden: ${a}: ${b}: ${c}"
Note: See TracChangeset for help on using the changeset viewer.