Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix(i18n): internal error (#15049)
boojack6915380b6650
diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/ActionSentence.vue b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/ActionSentence.vueindex 5b61d45c1d..1d726cbacc 100644--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/ActionSentence.vue+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/ActionSentence.vue@@ -248,26 +248,24 @@ type VerbTypeTarget = {};const renderVerbTypeTarget = (params: VerbTypeTarget, props: object = {}) => {- let translation;- switch (extractUserResourceName(params.issueComment.creator)) {- case userStore.systemBotUser?.email:- translation = t("activity.sentence.verb-type-target-by-system-bot", {- verb: params.verb,- type: params.type,- target: params.target,- ...props,- });- break;- default:- translation = t("activity.sentence.verb-type-target-by-people", {- verb: params.verb,- type: params.type,- target: params.target,- ...props,- });- }-- return <span>{translation}</span>;+ // Touch related keypaths to make linter happy.+ // TODO(vh): Please remove me after dynamic i18n path is implemented.+ t("activity.sentence.verb-type-target-by-people");+ t("activity.sentence.verb-type-target-by-system-bot");+ const keypath =+ extractUserResourceName(params.issueComment.creator) ===+ userStore.systemBotUser?.email+ ? "activity.sentence.verb-type-target-by-system-bot"+ : "activity.sentence.verb-type-target-by-people";+ return (+ <Translation {...props} keypath={keypath}>+ {{+ verb: () => params.verb,+ type: () => params.type,+ target: () => params.target,+ }}+ </Translation>+ );};const Renderer = defineComponent({