Skip to content
Snippets Groups Projects
Commit 78bc3606 authored by Joe Bordes's avatar Joe Bordes Committed by Kyle Doherty
Browse files

i18n(App) syntax errors found while translating (#11506)

parent 71a58264
No related merge requests found
......@@ -64,6 +64,6 @@
[parsed-query param->value]
(let [[sql args missing] (substitute* param->value parsed-query false)]
(when (seq missing)
(throw (ex-info (tru "Cannot run query: missing required parameters: {0}" (set missing))
(throw (ex-info (tru "Cannot run the query: missing required parameters: {0}" (set missing))
{:type error-type/invalid-query})))
[(str/trim sql) args]))
......@@ -112,6 +112,6 @@
[(format-temporal-str timezone-id a col) (format-temporal-str timezone-id b col)])
(catch Throwable _
;; TODO - there is code that calls this in `render.body` regardless of the types of values
(log/warn (trs "FIXME: These aren''t valid temporal literals: {0} {1}. Why are we attemping to format them as such?"
(log/warn (trs "FIXME: These aren''t valid temporal literals: {0} {1}. Why are we attempting to format them as such?"
(pr-str a) (pr-str b)))
nil)))
......@@ -117,7 +117,7 @@
;; grab the oldest admins email address, that's who we'll send to
(when-let [admin-email (db/select-one-field :email User :is_superuser true, {:order-by [:date_joined]})]
(when (should-send-abandoment-email?)
(log/info (trs "Sending abandoment email!"))
(log/info (trs "Sending abandonment email!"))
(try
(messages/send-follow-up-email! admin-email "abandon")
(catch Throwable e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment