Skip to content

Commit cc1b7c8

Browse files
takaokoujiclaude
andcommitted
feat: add Japanese localization for smalrubot S1 sensor labels
- Add sensorPositionsMenu namespace translations with port numbers: - 左(A4), 右(A5), タッチ(A2), 光(A6), 音(A7) - Simplify positionsMenu for motors/LEDs to just '左', '右' - Improves hardware port visibility and user experience - Supports unified sensor label namespace from scratch-vm Related to: #405 Companion to: smalruby/scratch-vm#37 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent f0fbb10 commit cc1b7c8

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/locales/ja.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,13 @@ export default {
4949
'smalrubotS1.actionMenu.turnLeft': '左に曲げる',
5050
'smalrubotS1.actionMenu.turnRight': '右に曲げる',
5151
'smalrubotS1.actionMenu.stop': '止める',
52-
'smalrubotS1.positionsMenu.left': '左 (A4)',
53-
'smalrubotS1.positionsMenu.right': '右 (A5)',
54-
'smalrubotS1.positionsMenu.touch': 'タッチ (A2)',
55-
'smalrubotS1.positionsMenu.light': '光 (A6)',
56-
'smalrubotS1.positionsMenu.sound': '音 (A7)',
52+
'smalrubotS1.positionsMenu.left': '左',
53+
'smalrubotS1.positionsMenu.right': '右',
54+
'smalrubotS1.sensorPositionsMenu.left': '左(A4)',
55+
'smalrubotS1.sensorPositionsMenu.right': '右(A5)',
56+
'smalrubotS1.sensorPositionsMenu.touch': 'タッチ(A2)',
57+
'smalrubotS1.sensorPositionsMenu.light': '光(A6)',
58+
'smalrubotS1.sensorPositionsMenu.sound': '音(A7)',
5759
'gui.smalruby3.blockDisplayModal.title': 'ブロック表示設定',
5860
'gui.smalruby3.blockDisplayModal.selectAll': 'すべて選択',
5961
'gui.smalruby3.blockDisplayModal.selectNone': 'すべて選択解除',

0 commit comments

Comments
 (0)