Skip to content
Snippets Groups Projects
Commit 34cc4e41 authored by Joe Bordes's avatar Joe Bordes Committed by Maz Ameli
Browse files

i18n() syntax fixes found while translating (#10501)

parent 39a507e3
Branches
Tags
No related merge requests found
......@@ -317,7 +317,7 @@ export default class DatabaseDetailsForm extends Component {
<div className="px2">
<h3>{t`Automatically run queries when doing simple filtering and summarizing`}</h3>
<div style={{ maxWidth: "40rem" }} className="pt1">
{t`When this is on Metabase will automatically run queries when users do simple explorations with the Summarize and Filter buttons when viewing a table or chart. You can turn this off if querying this database is slow. This setting doesn’t affect drill-throughs or SQL queries.`}
{t`When this is on, Metabase will automatically run queries when users do simple explorations with the Summarize and Filter buttons when viewing a table or chart. You can turn this off if querying this database is slow. This setting doesn’t affect drill-throughs or SQL queries.`}
</div>
</div>
</div>
......
......@@ -75,7 +75,7 @@
:else
(do
(log/error (trs "Don't know how to alias {0}, expected an Identifer." col))
(log/error (trs "Don't know how to alias {0}, expected an Identifier." col))
[col col]))))
(defn select-clause-deduplicate-aliases
......
......@@ -106,7 +106,7 @@
(setting/set-string! :humanization-strategy (some-> new-value name))
;; now rehumanize all the Tables and Fields using the new strategy.
;; TODO: Should we do this in a background thread because it is potentially slow?
(log/info (trs "Chaning Table & Field names humanization strategy from ''{0}'' to ''{1}''" old-strategy new-strategy))
(log/info (trs "Changing Table & Field names humanization strategy from ''{0}'' to ''{1}''" old-strategy new-strategy))
(re-humanize-table-and-field-names! old-strategy))))
(defsetting ^{:added "0.28.0"} humanization-strategy
......
......@@ -76,7 +76,7 @@
(when (and source-query (empty? source-metadata))
(when-not qp.i/*disable-qp-logging*
(log/warn
(trs "Warining: cannot determine fields for an explicit `source-query` unless you also include `source-metadata`."))))
(trs "Warning: cannot determine fields for an explicit `source-query` unless you also include `source-metadata`."))))
;; Determine whether we can add the implicit `:fields`
(and (or source-table
(and source-query (seq source-metadata)))
......
......@@ -46,7 +46,7 @@
(log/debug (trs "Got InterruptedException. Canceling query."))
(a/close! out-chan))
(do
(log/warn e (trs "Unhandled exception, exepected `catch-exceptions` middleware to handle it."))
(log/warn e (trs "Unhandled exception, expected `catch-exceptions` middleware to handle it."))
(respond e)))))
(def ^:private in-flight* (atom 0))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment