|
@@ -37,13 +37,13 @@ module.exports = {
|
|
|
},
|
|
|
connectionCheck: async () => {
|
|
|
if (globalVariables.localUSB === "X") {
|
|
|
- console.log(chalk.white('MiWatch: ') + chalk.green('Connected via USB'))
|
|
|
+ console.log(chalk.white('MiWatch: ') + chalk.green(await Language.get('connected-via-usb')))
|
|
|
}
|
|
|
if (globalVariables.miWatchIpaddress != "") {
|
|
|
- console.log(chalk.white('MiWatch: ') + chalk.green('Connected via Wifi - ' + chalk.white(globalVariables.miWatchIpaddress)))
|
|
|
+ console.log(chalk.white('MiWatch: ') + chalk.green(await Language.get('connected-via-wifi') + ' ' + chalk.white(globalVariables.miWatchIpaddress)))
|
|
|
}
|
|
|
if (globalVariables.localUSB === "" && globalVariables.miWatchIpaddress === "") {
|
|
|
- console.log(chalk.white('MiWatch: ') + chalk.red('Not Connected'))
|
|
|
+ console.log(chalk.white('MiWatch: ') + chalk.red(await Language.get('not-connected')))
|
|
|
}
|
|
|
},
|
|
|
downloadFile: async (url, path) => {
|