Skip to content
Snippets Groups Projects
Unverified Commit d8b7d9c0 authored by Cam Saul's avatar Cam Saul Committed by GitHub
Browse files

More i18n verification in CI (#13373)

* More i18n verification in CI

* Fix CI failures

* Fixes :wrench:
parent c4353a1f
Branches
Tags
No related merge requests found
......@@ -221,7 +221,7 @@ commands:
- run:
name: << parameters.command-name >>
command: yarn << parameters.command >>
no_output_timeout: 5m
no_output_timeout: 10m
wait-for-port:
parameters:
......@@ -337,7 +337,11 @@ jobs:
name: Install gettext
command: sudo apt-get install gettext
- run:
name: Verify i18n .po files
name: Check i18n tags/make sure template can be built
command: ./bin/i18n/update-translation-template
no_output_timeout: 2m
- run:
name: Verify i18n translations (.po files)
command: ./bin/i18n/build-translation-resources
no_output_timeout: 2m
......
......@@ -190,7 +190,7 @@ class Settings {
}
const { total, ...rest } = descriptions;
const includes = Object.values(rest).join(t`, `);
const includes = Object.values(rest).join(", ");
if (total && includes) {
return t`must be ${total} and include ${includes}.`;
} else if (total) {
......
......@@ -8,7 +8,7 @@ import Popover from "metabase/components/Popover";
import * as FieldRef from "metabase/lib/query/field_ref";
import cx from "classnames";
import t from "ttag";
import { t } from "ttag";
export default class FieldWidget extends React.Component {
constructor(props, context) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment