Skip to content

Commit db31696

Browse files
fix(i18n): ops singular (#466)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 88d7d7a commit db31696

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

app/components/HeaderAccountMenu.client.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,11 @@ function openAuthModal() {
165165
: 'bg-blue-500/20 text-blue-500'
166166
"
167167
>
168-
{{ operationCount }} {{ $t('account_menu.ops') }}
168+
{{
169+
$t('account_menu.ops', {
170+
count: operationCount,
171+
})
172+
}}
169173
</span>
170174
</button>
171175

i18n/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@
744744
"connect_npm_cli": "Connect to npm CLI",
745745
"connect_atmosphere": "Connect to Atmosphere",
746746
"connecting": "Connecting...",
747-
"ops": "ops",
747+
"ops": "{count} op | {count} ops",
748748
"disconnect": "Disconnect"
749749
},
750750
"auth": {

lunaria/files/en-US.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@
744744
"connect_npm_cli": "Connect to npm CLI",
745745
"connect_atmosphere": "Connect to Atmosphere",
746746
"connecting": "Connecting...",
747-
"ops": "ops",
747+
"ops": "{count} op | {count} ops",
748748
"disconnect": "Disconnect"
749749
},
750750
"auth": {

0 commit comments

Comments
 (0)