v.backgroundColor = .clear
v.delegate = self
v.recordBtn.activeView.backgroundColor = .color(.bgColor)
- v.leftItem.valueLabel.text = "手机".l10n
+ v.leftItem.valueLabel.text = "原文".l10n
+ v.rightItem.valueLabel.text = "译文".l10n
v.leftItem.language = AiLanguageCache.get(type: .tscy_left) ?? .chinse
v.rightItem.language = AiLanguageCache.get(type: .tscy_right) ?? .english
+
}
view.backgroundColor = .color(.bgColor)
v.backgroundColor = .clear
v.delegate = self
v.recordBtn.activeView.backgroundColor = .color(.bgColor)
- v.leftItem.valueLabel.text = "手机".l10n
+ v.leftItem.valueLabel.text = "原文".l10n
+ v.rightItem.valueLabel.text = "译文".l10n
v.leftItem.language = AiLanguageCache.get(type: .tscy_left) ?? .chinse
v.rightItem.language = AiLanguageCache.get(type: .tscy_right) ?? .english
}
valueLabel.do { v in
v.textColor = .color(.level2)
v.font = .regular(10)
- v.text = CCConfig.appType == .deepchords ? "耳机".l10n:"眼镜".l10n
+// v.text = CCConfig.appType == .deepchords ? "耳机".l10n:"眼镜".l10n
}
}