Skip to content

Commit 0281ed9

Browse files
snomiaoclaude
andcommitted
fix: resolve remaining PR review comments
- Update plugin references from @spaced-out/eslint-plugin-i18n to eslint-plugin-i18n-json in static-label-pairing files - Fix NodeStatusReason L{{number}} interpolation to use proper i18next format 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f7232e4 commit 0281ed9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

components/NodeStatusReason.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,9 @@ export function NodeStatusReason(nv: NodeVersion) {
402402
{(e.file_path?.length ?? 0) > 18 + 2
403403
? `…${e.file_path?.slice(-18)}`
404404
: e.file_path}
405-
{t('L', 'L')}
406-
{e.line_number}
405+
{t('L{{number}}', 'L{{number}}', {
406+
number: e.line_number,
407+
})}
407408
</code>
408409
</div>
409410
<code className="flex-1 ml-4 whitespace-nowrap text">

translations/static-label-pairing.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Static label pairing configuration for @spaced-out/eslint-plugin-i18n
1+
// Static label pairing configuration for eslint-plugin-i18n-json
22
// This file helps the plugin understand the relationship between static labels and their translations
33

44
// Export the expected structure for the plugin to work properly

0 commit comments

Comments
 (0)