Skip to content
Snippets Groups Projects
Unverified Commit 75138e1a authored by Paul Rosenzweig's avatar Paul Rosenzweig Committed by GitHub
Browse files

mark vis warnings as translateable (#10847)

parent 8db82b51
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ export const NULL_DIMENSION_WARNING = "NULL_DIMENSION_WARNING";
export function nullDimensionWarning() {
return {
key: NULL_DIMENSION_WARNING,
text: "Data includes missing dimension values.",
text: t`Data includes missing dimension values.`,
};
}
......@@ -14,7 +14,7 @@ export const INVALID_DATE_WARNING = "INVALID_DATE_WARNING";
export function invalidDateWarning(value) {
return {
key: INVALID_DATE_WARNING,
text: `We encountered an invalid date: "${value}"`,
text: t`We encountered an invalid date: "${value}"`,
};
}
......
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