Continue localization (#503)

* Comments in agent.

* Fix copyable view
This commit is contained in:
Max Goedjen
2024-01-05 12:37:59 -08:00
committed by GitHub
parent 5af84583ab
commit 5718ae6805
3 changed files with 32 additions and 3 deletions

View File

@@ -66,12 +66,12 @@ struct CopyableView: View {
)
}
var hoverText: String {
var hoverText: LocalizedStringKey {
switch interactionState {
case .hovering:
return "Click to Copy"
return "copyable_click_to_copy_button"
case .clicking:
return "Copied"
return "copyable_copied"
case .normal:
fatalError()
}