diff --git a/components/command/Key.vue b/components/command/CommandKey.vue similarity index 100% rename from components/command/Key.vue rename to components/command/CommandKey.vue diff --git a/components/command/Panel.vue b/components/command/CommandPanel.vue similarity index 98% rename from components/command/Panel.vue rename to components/command/CommandPanel.vue index 614818fb..7a049016 100644 --- a/components/command/Panel.vue +++ b/components/command/CommandPanel.vue @@ -220,7 +220,7 @@ const onKeyDown = (e: KeyboardEvent) => { :class="active === cmd.index ? 'opacity-100' : 'opacity-0'" >
- Complete + {{ $t('command.complete') }}
@@ -230,7 +230,7 @@ const onKeyDown = (e: KeyboardEvent) => { :class="active === cmd.index ? 'opacity-100' : 'opacity-0'" >
- Activate + {{ $t('command.activate') }}
diff --git a/components/command/Root.vue b/components/command/CommandRoot.vue similarity index 100% rename from components/command/Root.vue rename to components/command/CommandRoot.vue diff --git a/locales/en-US.json b/locales/en-US.json index f36a54d2..731bfae9 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -21,11 +21,18 @@ "save_changes": "Save changes", "sign_in": "Sign in" }, + "command": { + "activate": "Activate", + "complete": "Complete" + }, "common": { "end_of_list": "End of the list", "error": "ERROR", "not_found": "404 Not Found" }, + "error": { + "account_not_found": "Account {0} not found" + }, "feature_flag": { "virtual_scroll": "Virtual Scrolling" }, diff --git a/pages/@[account]/index.vue b/pages/@[account]/index.vue index b914a834..aac1d6b2 100644 --- a/pages/@[account]/index.vue +++ b/pages/@[account]/index.vue @@ -31,7 +31,7 @@ onReactivated(() => { - Account @{{ accountName }} not found + {{ $t('error.account_not_found', [`@${accountName}`]) }} diff --git a/pages/blocks.vue b/pages/blocks.vue index 24ce4857..c96cc266 100644 --- a/pages/blocks.vue +++ b/pages/blocks.vue @@ -13,7 +13,7 @@ useHead({