Skip to content

Commit

Permalink
fix(i18n): device rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
AkiChase committed May 22, 2024
1 parent a4da2d4 commit b8dbabb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Device.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ onMounted(async () => {
} else {
store.screenSizeW = payload.width;
store.screenSizeH = payload.height;
message.info("设备旋转");
message.info(t("pages.Device.deviceRotation"));
}
break;
default:
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"wsClose": "Close",
"wsConnect": "Control",
"adbDeviceError": "Unable to get available devices",
"adbConnectError": "Wireless connection failed"
"adbConnectError": "Wireless connection failed",
"deviceRotation": "Device rotation"
},
"Mask": {
"inputBoxPlaceholder": "Input text and then press enter/esc",
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"wsClose": "断开",
"wsConnect": "控制",
"adbDeviceError": "无法获取可用设备",
"adbConnectError": "无线连接失败"
"adbConnectError": "无线连接失败",
"deviceRotation": "设备旋转"
},
"Mask": {
"keyconfigException": "按键方案异常,请删除此方案",
Expand Down

0 comments on commit b8dbabb

Please sign in to comment.