Skip to content

Commit

Permalink
fix: 🐛 Bps unit error
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Dec 2, 2023
1 parent cd5bbeb commit 07f7ded
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/locales/languages/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
"preferences.video.resolution.name": "Resolution",
"preferences.video.resolution.placeholder": "Device resolution, format: 1920",
"preferences.video.bit.name": "Video Bit Rate",
"preferences.video.bit.placeholder": "8000000",
"preferences.video.bit.placeholder": "8000000, format: 8M,8000000",
"preferences.video.video-code.name": "Video Codec",
"preferences.video.video-code.placeholder": "h.264",
"preferences.video.refresh-rate.name": "Frame Rate",
Expand Down Expand Up @@ -269,7 +269,7 @@
"preferences.audio.audio-code.name": "Audio Codec",
"preferences.audio.audio-code.placeholder": "opus",
"preferences.audio.audio-bit-rate.name": "Audio Bit Rate",
"preferences.audio.audio-bit-rate.placeholder": "128000",
"preferences.audio.audio-bit-rate.placeholder": "128000, format: 128K,128000",
"preferences.audio.audio-bit-rate.tips": "Note: This option does not apply to RAW audio codecs.",
"preferences.audio.audio-buffer.name": "Audio Buffer",
"preferences.audio.audio-buffer.placeholder": "0",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/languages/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
"preferences.video.resolution.name": "分辨率",
"preferences.video.resolution.placeholder": "设备分辨率,格式:1920,1920x1080",
"preferences.video.bit.name": "视频比特率",
"preferences.video.bit.placeholder": "8000000",
"preferences.video.bit.placeholder": "8000000,格式:8M,8000000",
"preferences.video.refresh-rate.name": "刷新率",
"preferences.video.refresh-rate.placeholder": "60",
"preferences.video.video-code.name": "视频编码",
Expand Down Expand Up @@ -267,7 +267,7 @@
"preferences.audio.audio-code.name": "音频编码",
"preferences.audio.audio-code.placeholder": "opus",
"preferences.audio.audio-bit-rate.name": "音频比特率",
"preferences.audio.audio-bit-rate.placeholder": "128000",
"preferences.audio.audio-bit-rate.placeholder": "128000,格式:128K,128000",
"preferences.audio.audio-bit-rate.tips": "注意:此选项不适用于 RAW 音频编解码器",
"preferences.audio.audio-buffer.name": "音频缓冲",
"preferences.audio.audio-buffer.placeholder": "0",
Expand Down
4 changes: 2 additions & 2 deletions src/store/preference/model/audio/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ export default {
audioBitRate: {
label: 'preferences.audio.audio-bit-rate.name',
field: '--audio-bit-rate',
type: 'Input.number',
type: 'Input',
value: undefined,
placeholder: 'preferences.audio.audio-bit-rate.placeholder',
append: 'kbps',
append: 'bps',
},
audioBuffer: {
label: 'preferences.audio.audio-buffer.name',
Expand Down
4 changes: 2 additions & 2 deletions src/store/preference/model/video/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ export default {
videoBitRate: {
label: 'preferences.video.bit.name',
field: '--video-bit-rate',
type: 'Input.number',
type: 'Input',
value: undefined,
placeholder: 'preferences.video.bit.placeholder',
append: 'kbps',
append: 'bps',
},
maxFps: {
label: 'preferences.video.refresh-rate.name',
Expand Down

0 comments on commit 07f7ded

Please sign in to comment.