LibreTasks icon indicating copy to clipboard operation
LibreTasks copied to clipboard

Consistent Capitalization in Events/Filters/Actions

Open GoogleCodeExporter opened this issue 8 years ago • 3 comments


Capitalization in Event/Action/Filter names should be consistent (only 
capitalize the first word?)

Original issue reported on code.google.com by [email protected] on 2 Aug 2010 at 12:09

GoogleCodeExporter avatar Apr 05 '16 23:04 GoogleCodeExporter

I think what really need to happen here is separation of the human readable 
version of Events/Applications/Actions/Filters/Attributes/etc. from the 
omnidroid used key for these entries.

For example, the EVENT_NAME="GMAIL Send" which uniquelly identifies this event 
is currently being used to display this information to the user and is also the 
key in the database for this event.

What I propose is that we keep the EVENT_NAME="GMAIL Send" as the database key 
(so we don't have to update the DB), but each event also has a human readable 
string such as:
  EVENT_NAME_DISPLAYED=getString(R.strings.event_name_gmail_send)
which corresponds to "Gmail send email" or something similar in strings.xml

We would need to do this with all the data types, events, actions, filters, etc.


Other suggestions?

Original comment by [email protected] on 2 Aug 2010 at 4:26

GoogleCodeExporter avatar Apr 05 '16 23:04 GoogleCodeExporter

If we can afford to reset the DB, I would prefer the keys to be an enum 
instance that has a long value over String...

Original comment by [email protected] on 2 Aug 2010 at 6:29

GoogleCodeExporter avatar Apr 05 '16 23:04 GoogleCodeExporter

Original comment by [email protected] on 6 Aug 2010 at 12:28

  • Changed state: Started

GoogleCodeExporter avatar Apr 05 '16 23:04 GoogleCodeExporter