bsw@11: event_names = { bsw@11: issue_created = _"New issue", bsw@11: issue_canceled = _"Issue canceled", bsw@11: issue_accepted = _"Issue accepted", bsw@11: issue_half_frozen = _"Issue frozen", bsw@11: issue_finished_without_voting = _"Issue finished without voting", bsw@11: issue_voting_started = _"Voting started", bsw@11: issue_finished_after_voting = _"Issue finished", bsw@11: initiative_created = _"New initiative", bsw@11: initiative_revoked = _"Initiative revoked", bsw@11: draft_created = _"New draft", bsw@11: suggestion_created = _"New suggestion" bsw@11: } bsw@11: bsw@11: filter_names = { bsw@11: contact = _"Saved as contact", bsw@11: interested = _"Interested", bsw@11: supporter = _"Supported", bsw@11: potential_supporter = _"Potential supported", bsw@11: initiator = _"Initiated", bsw@11: membership = _"Member of area" bsw@11: } bsw@11: bsw@11: option_names = {} bsw@11: for key, val in pairs(event_names) do bsw@11: option_names[key] = val bsw@11: end bsw@11: for key, val in pairs(filter_names) do bsw@11: option_names[key] = val bsw@11: end bsw@11: