diff --git a/www/i18n.js b/www/i18n.js index fd454a8..6758502 100644 --- a/www/i18n.js +++ b/www/i18n.js @@ -424,6 +424,13 @@ "maps.editor.filter.unpreferred": "Unpreferred", "maps.editor.filter.speed": "Speed", "maps.editor.filter.sound": "Sound", + "maps.editor.tool.drawLine": "Vẽ line — polyline (wall, drive zone line…)", + "maps.editor.tool.drawShape": "Vẽ shape — polygon (floor, zones…)", + "maps.editor.drawLine.title": "Vẽ line mới", + "maps.editor.drawLine.lineWidth": "Độ rộng line (cm)", + "maps.editor.drawLine.hint": "Chỉnh độ rộng line (cm), xác nhận, rồi click trên map để đặt các điểm.", + "maps.editor.drawLine.confirm": "Xác nhận", + "maps.editor.drawLine.lineWidthInvalid": "Nhập độ rộng line hợp lệ (wall ≥ 5 cm, zone line ≥ 10 cm).", "maps.editor.tool.draw": "Vẽ — line hoặc polygon (walls, zones…)", "maps.editor.tool.select": "Chọn object", "maps.editor.tool.erase": "Tẩy object", @@ -431,7 +438,7 @@ "maps.editor.tool.eraseShape": "Xóa line/shape đã vẽ", "maps.editor.tool.eraseSelection": "Xóa vùng chọn — tẩy pixel trong khung", "maps.editor.tool.confirmDraw": "Xác nhận hình vẽ", - "maps.editor.drawNeedMorePoints": "Cần thêm điểm trước khi xác nhận (wall ≥ 2, polygon ≥ 3).", + "maps.editor.drawNeedMorePoints": "Cần thêm điểm trước khi xác nhận (line ≥ 2, polygon ≥ 3).", "maps.editor.position.title": "Position", "maps.editor.position.name": "Tên", "maps.editor.position.x": "X (m)", @@ -452,10 +459,10 @@ "maps.editor.directional.direction": "Hướng", "maps.editor.directional.degOption": "{deg}°", "maps.editor.directional.shapeHint": "Robot không được di chuyển ngược hướng mũi tên (bước 45°).", - "maps.editor.directional.lineWidth": "Độ rộng line (px)", + "maps.editor.directional.lineWidth": "Độ rộng line (cm)", "maps.editor.directional.reversed": "Đảo hướng", "maps.editor.directional.lineHint": "Hướng theo line từ điểm đầu đến điểm cuối.", - "maps.editor.directional.lineWidthInvalid": "Nhập độ rộng line hợp lệ (≥ 2 px).", + "maps.editor.directional.lineWidthInvalid": "Nhập độ rộng line hợp lệ (≥ 10 cm).", "maps.editor.planner.title": "Planner zone", "maps.editor.planner.noLocalization": "No localization (chỉ encoder)", "maps.editor.planner.lookAhead": "Look-ahead (thu hẹp field of view)", @@ -1031,6 +1038,13 @@ "maps.editor.filter.unpreferred": "Unpreferred", "maps.editor.filter.speed": "Speed", "maps.editor.filter.sound": "Sound", + "maps.editor.tool.drawLine": "Draw line — polyline (wall, drive zone line…)", + "maps.editor.tool.drawShape": "Draw shape — polygon (floor, zones…)", + "maps.editor.drawLine.title": "Draw a new line", + "maps.editor.drawLine.lineWidth": "Line width (cm)", + "maps.editor.drawLine.hint": "Set the line width in cm, confirm, then click on the map to place points.", + "maps.editor.drawLine.confirm": "Confirm", + "maps.editor.drawLine.lineWidthInvalid": "Enter a valid line width (wall ≥ 5 cm, zone line ≥ 10 cm).", "maps.editor.tool.draw": "Draw — line or polygon (walls, zones…)", "maps.editor.tool.select": "Select object", "maps.editor.tool.erase": "Eraser", @@ -1038,7 +1052,7 @@ "maps.editor.tool.eraseShape": "Erase shape or line", "maps.editor.tool.eraseSelection": "Erase by selection — clear pixels in rectangle", "maps.editor.tool.confirmDraw": "Confirm shape", - "maps.editor.drawNeedMorePoints": "Add more points before confirming (wall ≥ 2, polygon ≥ 3).", + "maps.editor.drawNeedMorePoints": "Add more points before confirming (line ≥ 2, polygon ≥ 3).", "maps.editor.position.title": "Position", "maps.editor.position.name": "Name", "maps.editor.position.x": "X (m)", @@ -1059,10 +1073,10 @@ "maps.editor.directional.direction": "Direction", "maps.editor.directional.degOption": "{deg}°", "maps.editor.directional.shapeHint": "Robot cannot move opposite to the arrow (45° steps).", - "maps.editor.directional.lineWidth": "Line width (px)", + "maps.editor.directional.lineWidth": "Line width (cm)", "maps.editor.directional.reversed": "Reverse direction", "maps.editor.directional.lineHint": "Direction follows the line from first to last point.", - "maps.editor.directional.lineWidthInvalid": "Enter a valid line width (≥ 2 px).", + "maps.editor.directional.lineWidthInvalid": "Enter a valid line width (≥ 10 cm).", "maps.editor.planner.title": "Planner zone", "maps.editor.planner.noLocalization": "No localization (encoders only)", "maps.editor.planner.lookAhead": "Look-ahead (narrow field of view)", diff --git a/www/index.html b/www/index.html index 8c5cdb6..b1bf254 100644 --- a/www/index.html +++ b/www/index.html @@ -1135,12 +1135,6 @@ Directional zones -