diff --git a/components/status/StatusPreviewStackBlitz.vue b/components/status/StatusPreviewStackBlitz.vue index e26c0aba..c23039bb 100644 --- a/components/status/StatusPreviewStackBlitz.vue +++ b/components/status/StatusPreviewStackBlitz.vue @@ -58,25 +58,25 @@ const vnodeCode = $computed(() => {
-
+

- Code Snippet from{{ meta.file }}{{ `- Lines ${meta.lines}` }} + {{ $t('custom_cards.stackblitz.snippet_from', [meta.file]) }}{{ `- ${$t('custom_cards.stackblitz.lines', [meta.lines])}` }}

- - Open - -
-
- {{ meta.project }}StackBlitz +
+ {{ meta.project }}StackBlitz +
+ + {{ $t('custom_cards.stackblitz.open') }} +
diff --git a/locales/en-US.json b/locales/en-US.json index daa3ecbc..4c493f6c 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -138,6 +138,13 @@ "conversation": { "with": "with" }, + "custom_cards": { + "stackblitz": { + "lines": "Lines {0}", + "open": "Open", + "snippet_from": "Snippet from {0}" + } + }, "error": { "account_not_found": "Account {0} not found", "explore-list-empty": "Nothing is trending right now. Check back later!",