Changeset 491:3109e293df85


Ignore:
Timestamp:
04/01/13 12:00:55 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added the ID of the ticket to the reply dialog (re #190)

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • locale/en/mlx.po

    r484 r491  
    18381838
    18391839msgid "sendBugReport_success"
    1840 msgstr "Bug report sent successfully."
     1840msgstr "Bug report #%d created successfully."
    18411841
    18421842msgid "sendBugReport_success_sec"
    18431843msgstr ""
    18441844"The report will be analysed and you will be contacted "
    1845 "as soon as possible."
     1845"as soon as possible. Write down the ID above, so that "
     1846"you could refer to it later."
    18461847
    18471848msgid "sendBugReport_error"
  • locale/hu/mlx.po

    r484 r491  
    18531853
    18541854msgid "sendBugReport_success"
    1855 msgstr "A hibajelentést elküldtem."
     1855msgstr "A %d. számú hibajelentés létrehozva."
    18561856
    18571857msgid "sendBugReport_success_sec"
    18581858msgstr ""
    18591859"A jelentést elemezzük és felvesszük veled a kapcsolatot "
    1860 "amilyen hamar csak lehet."
     1860"amilyen hamar csak lehet. A fenti számot jegyezd fel, "
     1861"hogy a későbbiekben hivatkozhass rá."
    18611862
    18621863msgid "sendBugReport_error"
  • src/mlx/gui/gui.py

    r490 r491  
    14151415            if result.success:
    14161416                type = MESSAGETYPE_INFO
    1417                 messageFormat = xstr("sendBugReport_success")
     1417                messageFormat = xstr("sendBugReport_success") % (result.ticketID,)
    14181418                secondaryMarkup = xstr("sendBugReport_success_sec")
    14191419            else:
  • src/mlx/web.py

    r488 r491  
    811811
    812812        result = Result()
     813        result.success = False
    813814
    814815        attributes = {}
     
    816817            attributes["reporter"] = self._email
    817818
    818         id = serverProxy.ticket.create(self._summary, self._description,
    819                                        attributes, True)
    820         print "Created ticket with ID:", id
     819        result.ticketID = serverProxy.ticket.create(self._summary, self._description,
     820                                                    attributes, True)
     821        print "Created ticket with ID:", result.ticketID
    821822        result.success = True
    822823
Note: See TracChangeset for help on using the changeset viewer.