[california] Add "this" to TIME prepositions



commit b509a60feee4ef809e095eaefe0548309ba72cca
Author: Jim Nelson <jim yorba org>
Date:   Wed Jun 25 18:39:50 2014 -0700

    Add "this" to TIME prepositions
    
    Allows for [Meeting this Thursday]

 src/component/component.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/component/component.vala b/src/component/component.vala
index d4521d8..d1004f1 100644
--- a/src/component/component.vala
+++ b/src/component/component.vala
@@ -128,9 +128,9 @@ public void init() throws Error {
     // It's allowable for some or all of these words to
     // be duplicated in the location prepositions list (elsewhere) but not another time list.
     // The list can be empty, but that will limit the parser.
-    // Examples: "at 9am", "from 10pm to 11:30pm", "on monday", "until June 3rd"
+    // Examples: "at 9am", "from 10pm to 11:30pm", "on monday", "until June 3rd", "this Friday"
     // For more information see https://wiki.gnome.org/Apps/California/TranslatingQuickAdd
-    TIME_PREPOSITIONS = _("at;from;to;on;until;").casefold().split(";");
+    TIME_PREPOSITIONS = _("at;from;to;on;until;this;").casefold().split(";");
     
     // Used by quick-add to determine if the word is a DURATION preposition (indicating a
     // a duration of time, not a specific time).  Each word must be separated by semi-colons.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]