Skip to content

Commit

Permalink
debug only
Browse files Browse the repository at this point in the history
  • Loading branch information
YannLocatelli committed Mar 22, 2024
1 parent c106055 commit 985289f
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 109 deletions.
212 changes: 106 additions & 106 deletions Modules/RobotKit/Resources/Localizable.xcstrings
Original file line number Diff line number Diff line change
@@ -1,114 +1,114 @@
{
"version": "1.0",
"sourceLanguage": "en",
"strings": {
"robotkit.robot_connect_view.cancel_button": {
"comment": "The title of the cancel button in the toolbar",
"extractionState": "extracted_with_value",
"localizations": {
"en": {
"stringUnit": {
"state": "new",
"value": "Cancel"
}
},
"fr": {
"stringUnit": {
"state": "translated",
"value": "Annuler"
}
}
}
"sourceLanguage" : "en",
"strings" : {
"robotkit.robot_connect_view.cancel_button" : {
"comment" : "The title of the cancel button in the toolbar",
"extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Cancel"
}
},
"robotkit.robot_connect_view.connect_button": {
"comment": "The title of the connect button",
"extractionState": "extracted_with_value",
"localizations": {
"en": {
"stringUnit": {
"state": "new",
"value": "Connect"
}
},
"fr": {
"stringUnit": {
"state": "translated",
"value": "Se connecter"
}
}
}
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Annuler"
}
}
}
},
"robotkit.robot_connect_view.connect_button" : {
"comment" : "The title of the connect button",
"extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Connect"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Se connecter"
}
}
}
},
"robotkit.robot_connect_view.continue_button" : {
"comment" : "The title of the continue button",
"extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Continue"
}
},
"robotkit.robot_connect_view.continue_button": {
"comment": "The title of the continue button",
"extractionState": "extracted_with_value",
"localizations": {
"en": {
"stringUnit": {
"state": "new",
"value": "Continue"
}
},
"fr": {
"stringUnit": {
"state": "translated",
"value": "Continuer"
}
}
}
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Continuer"
}
}
}
},
"robotkit.robot_connect_view.disconnect_button" : {
"comment" : "The title of the disconnect button",
"extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Disconnect"
}
},
"robotkit.robot_connect_view.disconnect_button": {
"comment": "The title of the disconnect button",
"extractionState": "extracted_with_value",
"localizations": {
"en": {
"stringUnit": {
"state": "new",
"value": "Disconnect"
}
},
"fr": {
"stringUnit": {
"state": "translated",
"value": "Se d\u00e9connecter"
}
}
}
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Se déconnecter"
}
}
}
},
"robotkit.robot_connect_view.navigation_title" : {
"comment" : "The title of the robot connection view",
"extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Connect to a robot"
}
},
"robotkit.robot_connect_view.navigation_title": {
"comment": "The title of the robot connection view",
"extractionState": "extracted_with_value",
"localizations": {
"en": {
"stringUnit": {
"state": "new",
"value": "Connect to a robot"
}
},
"fr": {
"stringUnit": {
"state": "translated",
"value": "Connecter un robot"
}
}
}
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Connecter un robot"
}
}
}
},
"robotkit.robot_connect_view.searching_view_text" : {
"comment" : "The text displayed in the searching view",
"extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Searching for robots..."
}
},
"robotkit.robot_connect_view.searching_view_text": {
"comment": "The text displayed in the searching view",
"extractionState": "extracted_with_value",
"localizations": {
"en": {
"stringUnit": {
"state": "new",
"value": "Searching for robots..."
}
},
"fr": {
"stringUnit": {
"state": "translated",
"value": "Recherche en cours..."
}
}
}
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Recherche en cours..."
}
}
}
}
}
},
"version" : "1.0"
}
6 changes: 3 additions & 3 deletions Modules/RobotKit/Sources/Robot+Information.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ extension Robot {
onNotification: { data in
if let value = data?.first {
self.battery.send(Int(value))
log.trace("🤖 battery: \(self.battery.value)%")
// log.trace("🤖 battery: \(self.battery.value)%")
}
}
)
Expand All @@ -29,7 +29,7 @@ extension Robot {
onNotification: { data in
if let value = data?.first {
self.isCharging.send(value == 1)
log.trace("🤖 isCharging: \(self.isCharging.value)")
// log.trace("🤖 isCharging: \(self.isCharging.value)")
}
}
)
Expand Down Expand Up @@ -79,7 +79,7 @@ extension Robot {
onRead: { data in
if let value = data?.first {
self.isCharging.send(value == 1)
log.trace("🤖 isCharging: \(self.isCharging.value)")
// log.trace("🤖 isCharging: \(self.isCharging.value)")
}
}
)
Expand Down

0 comments on commit 985289f

Please sign in to comment.