Compare commits
No commits in common. "master" and "3.1.2" have entirely different histories.
12
app.js
12
app.js
@ -1,15 +1,3 @@
|
||||
const settings = require("settings-store")
|
||||
|
||||
settings.init({
|
||||
appName: "MiWatchKleaner", //required,
|
||||
// publisherName: "Bar", //optional
|
||||
// reverseDNS: "com.bar.foo" //required for macOS
|
||||
})
|
||||
|
||||
// if (process.env.KLEANER_CLEAR_LANG = 'X') {
|
||||
// settings.clear("Lang")
|
||||
// }
|
||||
|
||||
const pages = require('./pages/pages')
|
||||
|
||||
pages.selectLanguage()
|
||||
|
@ -1,217 +1,45 @@
|
||||
[
|
||||
{
|
||||
"name": "com.android.messaging",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.eg.android.AlipayGphone",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.google.android.clockwork.flashlight",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.google.android.clockwork.gestures.tutorial",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.google.android.clockwork.lesetup",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.google.android.inputmethod.pinyin",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.google.android.theme.baiji.default",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.google.android.wearable.frameworkpackagestubs",
|
||||
"klean": "",
|
||||
"global": "X"
|
||||
},
|
||||
{
|
||||
"name": "com.google.android.wearable.localedition.overlay.cmiit",
|
||||
"klean": "",
|
||||
"global": "X"
|
||||
},
|
||||
{
|
||||
"name": "com.google.android.wearable.overlay.common.baiji",
|
||||
"klean": "",
|
||||
"global": "X"
|
||||
},
|
||||
{
|
||||
"name": "com.google.android.wearable.overlay.helium.baiji",
|
||||
"klean": "",
|
||||
"global": "X"
|
||||
},
|
||||
{
|
||||
"name": "com.google.android.wearable.overlay.home.baiji",
|
||||
"klean": "",
|
||||
"global": "X"
|
||||
},
|
||||
{
|
||||
"name": "com.google.android.wearable.overlay.home.baiji.tiles",
|
||||
"klean": "",
|
||||
"global": "X"
|
||||
},
|
||||
{
|
||||
"name": "com.gotokeep.keep",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.onetrack.watch",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.qb.qtranslator",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.sogou.ime.wear",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.sogou.map.android.maps",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.tencent.qqmusicwatch",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.tigerbrokers.stock",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.umetrip.android.msky.app",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.mihome",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.anonymous.xiaoai",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.calculator",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.camera",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.card",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.charging",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.compass",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.deskclock",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.hotwordle",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.market",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.mqs",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.pressure",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.setupprovider",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.tutorial",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.watchface.album",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.watchface.art",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.watchface.classic",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.watchface.decomposite",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.watchface.function",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.ximalayaos.wear.common",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "com.xiaomi.wear.xiaoai",
|
||||
"klean": "",
|
||||
"global": ""
|
||||
},
|
||||
{
|
||||
"name": "org.codeaurora.ims",
|
||||
"klean": "X",
|
||||
"global": ""
|
||||
}
|
||||
]
|
||||
{
|
||||
"apps": [
|
||||
"com.android.messaging",
|
||||
"com.google.android.clockwork.flashlight",
|
||||
"com.google.android.clockwork.gestures.tutorial",
|
||||
"com.google.android.clockwork.lesetup",
|
||||
"com.google.android.inputmethod.pinyin",
|
||||
"com.google.android.theme.baiji.default",
|
||||
"com.google.android.wearable.frameworkpackagestubs",
|
||||
"com.google.android.wearable.localedition.overlay.cmiit",
|
||||
"com.google.android.wearable.overlay.common.baiji",
|
||||
"com.google.android.wearable.overlay.helium.baiji",
|
||||
"com.google.android.wearable.overlay.home.baiji",
|
||||
"com.google.android.wearable.overlay.home.baiji.tiles",
|
||||
"com.gotokeep.keep",
|
||||
"com.onetrack.watch",
|
||||
"com.qb.qtranslator",
|
||||
"com.sogou.ime.wear",
|
||||
"com.sogou.map.android.maps",
|
||||
"com.tencent.qqmusicwatch",
|
||||
"com.tigerbrokers.stock",
|
||||
"com.umetrip.android.msky.app",
|
||||
"com.xiaomi.mihome",
|
||||
"com.xiaomi.wear.anonymous.xiaoai",
|
||||
"com.xiaomi.wear.calculator",
|
||||
"com.xiaomi.wear.camera",
|
||||
"com.xiaomi.wear.card",
|
||||
"com.xiaomi.wear.charging",
|
||||
"com.xiaomi.wear.compass",
|
||||
"com.xiaomi.wear.deskclock",
|
||||
"com.xiaomi.wear.hotwordle",
|
||||
"com.xiaomi.wear.market",
|
||||
"com.xiaomi.wear.mqs",
|
||||
"com.xiaomi.wear.pressure",
|
||||
"com.xiaomi.wear.setupprovider",
|
||||
"com.xiaomi.wear.tutorial",
|
||||
"com.xiaomi.wear.watchface.album",
|
||||
"com.xiaomi.wear.watchface.art",
|
||||
"com.xiaomi.wear.watchface.classic",
|
||||
"com.xiaomi.wear.watchface.decomposite",
|
||||
"com.xiaomi.wear.watchface.function",
|
||||
"com.ximalayaos.wear.common",
|
||||
"org.codeaurora.ims"
|
||||
]
|
||||
}
|
121
lang/de.json
121
lang/de.json
@ -1,67 +1,56 @@
|
||||
{
|
||||
"alberto-locale-activated-on-watch": "Alberto Locale aktiviert auf der Uhr",
|
||||
"batch-install-apps-complete": "Stapel-Installation von Apps abgeschlossen",
|
||||
"compatible-apps": "Kompatible Apps",
|
||||
"compatible-apps-installed": "Kompatible Apps installiert",
|
||||
"complete": "Abgeschlossen",
|
||||
"connect-to-watch": "Verbinde mit Uhr",
|
||||
"connect-wifi-complete": "Verbindung über WiFi hergestellt",
|
||||
"connect-wifi-message": "Wie ist die IP-Adresse deiner MiWatch?",
|
||||
"connected": "Verbunden",
|
||||
"connected-via-usb": "Verbunden mit USB",
|
||||
"connected-via-wifi": "Verbunden über WiFi",
|
||||
"connection-type-message": "Wie möchtest du dich verbinden?",
|
||||
"device-not-authorised": "Gerät nicht autorisiert",
|
||||
"downloading-compatible-apps": "Lade kompatible Apps herunter",
|
||||
"downloading-latest": "Lade aktuellste Version",
|
||||
"error": "Fehler",
|
||||
"error-device-not-authorised": "Fehler - Gerät nicht autorisiert",
|
||||
"failed": "Fehlgeschlagen",
|
||||
"header-remove-installed-apps": "Entferne installierte Apps",
|
||||
"install-compatible-apps-header": "Installation kompatible Apps",
|
||||
"install-compatible-apps-message": "Welche Apps möchtest du installieren?",
|
||||
"installing": "Installiere",
|
||||
"installing-apps": "Installiere Apps",
|
||||
"main-menu-item-1": "1-Klick Karl0ss Klean",
|
||||
"main-menu-item-2": "Entferne Xiaomi Apps",
|
||||
"main-menu-item-3": "Wiederherstellung von Xiaomi Apps",
|
||||
"main-menu-item-4": "Installiere kompatible Apps",
|
||||
"main-menu-item-5": "Wiederherstellung beliebiger App",
|
||||
"main-menu-item-6": "Entferne beliebige App",
|
||||
"main-menu-item-7": "Stapel-Installation von Apps",
|
||||
"main-menu-item-8": "Stapel-Deinstallation von installierten Apps",
|
||||
"main-menu-item-9": "Beenden",
|
||||
"main-menu-question": "Was möchtest du tun?",
|
||||
"morelocale-activated-on-watch": "moreLocale aktiviert auf der Uhr",
|
||||
"not-authenticated": "Nicht autorisiert",
|
||||
"not-connected": "Nicht verbunden",
|
||||
"not-found": "Nicht gefunden",
|
||||
"packages-recieved-from-watch": "Pakete erhalten von der Uhr",
|
||||
"please-reconnect-to-watch": "Bitte verbinde deine Uhr erneut",
|
||||
"removal-complete": "Deinstallation abgeschlossen",
|
||||
"remove-any-app-message": "Welche App möchtest du entfernen?",
|
||||
"remove-installed-apps-failed": "Deinstallation von Apps fehlgeschlagen",
|
||||
"remove-installed-apps-message": "Welche installierten Apps möchtest du entfernen?",
|
||||
"remove-selected-user-apps": "Entferne ausgewählte Benutzer-Apps",
|
||||
"remove-xiaomi-apps": "Emtferne Xiaomi Apps",
|
||||
"removing": "Entferne",
|
||||
"removing-apps-complete": "Deinstallation der Apps abgeschlossen",
|
||||
"restarting-adb": "Neustart ADB",
|
||||
"restore-any-app-message": "Welche App möchtest du wiederherstellen?",
|
||||
"restore-app-message": "Welche Apps möchtest du wiederherstellen?",
|
||||
"restoring": "Wiederherstellung in Gang",
|
||||
"restoring-apps-complete": "Wiederherstellung von Apps abgeschlossen",
|
||||
"simple-weather-activated-on-watch": "simpleWeather aktiviert auf der Uhr",
|
||||
"try-again": "Versuche erneut",
|
||||
"main-menu-item-10": "Watch DPI ändern",
|
||||
"set-dpi-message": "Neuen DPI-Wert eingeben:",
|
||||
"default-dpi-is": "Standard-DPI ist",
|
||||
"current-dpi-is": "aktuelle DPI ist ",
|
||||
"usb-one-device": "Stellen Sie sicher, dass NUR Ihre Uhr angeschlossen ist",
|
||||
"accept-authorisation": "Bitte wählen Sie \"Immer zulassen\" für die Autorisierung auf der Uhr",
|
||||
"usb-not-connected": "Stellen Sie sicher, dass Ihre Uhr nicht über USB angeschlossen ist",
|
||||
"main-menu-item-11": "Global Theme",
|
||||
"enable-global-theme": "Enable Global Theme",
|
||||
"disable-global-theme": "Disable Global Theme",
|
||||
"main-menu-item-12": "Xiaomi Apps"
|
||||
}
|
||||
"main-menu-question": "What do you want to do?",
|
||||
"main-menu-item-1": "1-Click Karl0ss Klean",
|
||||
"main-menu-item-2": "Remove Xiaomi Apps",
|
||||
"main-menu-item-3": "Restore Xiaomi Apps",
|
||||
"main-menu-item-4": "Install Compatible Apps",
|
||||
"main-menu-item-5": "Restore ANY app",
|
||||
"main-menu-item-6": "Remove ANY app",
|
||||
"main-menu-item-7": "Batch Install Apps",
|
||||
"main-menu-item-8": "Batch Remove Installed Apps",
|
||||
"main-menu-item-9": "Quit",
|
||||
"connection-type-message": "How do you want to connect?",
|
||||
"connect-wifi-message":"What is your MiWatch IpAdress?",
|
||||
"restore-app-message": "What apps do you want to restore?",
|
||||
"install-compatible-apps-message": "What apps do you want to Install?",
|
||||
"remove-installed-apps-message": "What Installed apps do you want to remove?",
|
||||
"restore-any-app-message": "What App do you want to restore?",
|
||||
"header-remove-installed-apps": "Remove Installed Apps",
|
||||
"packages-recieved-from-watch": "Packages recieved from watch",
|
||||
"device-not-authorised": "Device not authorised",
|
||||
"restarting-adb": "Restarting ADB",
|
||||
"please-reconnect-to-watch": "Please reconnect to watch",
|
||||
"remove-installed-apps-failed": "Remove Installed Apps Failed",
|
||||
"removing": "Removing",
|
||||
"removal-complete": "Removal Complete",
|
||||
"installing": "Installing",
|
||||
"restoring": "Restoring",
|
||||
"remove-selected-user-apps": "Removed Selected User Apps",
|
||||
"install-compatible-apps-header": "Install Compatible Apps",
|
||||
"simple-weather-activated-on-watch": "simpleWeather Activated On Watch",
|
||||
"morelocale-activated-on-watch": "moreLocale Activated On Watch",
|
||||
"alberto-locale-activated-on-watch": "Alberto Locale Activated On Watch",
|
||||
"compatible-apps-installed": "Compatible Apps Installed",
|
||||
"compatible-apps": "Compatible Apps",
|
||||
"remove-xiaomi-apps": "Remove Xiaomi Apps",
|
||||
"downloading-compatible-apps": "Downloading Compatible Apps",
|
||||
"installing-apps": "Installing Apps",
|
||||
"downloading-latest": "Downloading Latest",
|
||||
"complete": "Complete",
|
||||
"failed": "Failed",
|
||||
"restoring-apps-complete": "Restoring Apps Complete",
|
||||
"batch-install-apps-complete": "Batch Install Apps Complete",
|
||||
"connect-to-watch": "Connect to watch",
|
||||
"connected-via-usb": "Connected via USB",
|
||||
"connected-via-wifi": "Connected via Wifi",
|
||||
"connected": "Connected",
|
||||
"not-connected": "Not Connected",
|
||||
"error-device-not-authorised": "Error - Device not authorised",
|
||||
"not-found": "Not Found",
|
||||
"try-again": "Try Again",
|
||||
"connect-wifi-complete": "Connect Wifi Complete",
|
||||
"not-authenticated": "Not Authenticated",
|
||||
"error": "Error",
|
||||
"remove-any-app-message": "What App do you want to remove?",
|
||||
"removing-apps-complete": "Removing Apps Complete"
|
||||
}
|
||||
|
15
lang/en.json
15
lang/en.json
@ -10,7 +10,7 @@
|
||||
"main-menu-item-8": "Batch Remove Installed Apps",
|
||||
"main-menu-item-9": "Quit",
|
||||
"connection-type-message": "How do you want to connect?",
|
||||
"connect-wifi-message": "What is your MiWatch IpAdress?",
|
||||
"connect-wifi-message":"What is your MiWatch IpAdress?",
|
||||
"restore-app-message": "What apps do you want to restore?",
|
||||
"install-compatible-apps-message": "What apps do you want to Install?",
|
||||
"remove-installed-apps-message": "What Installed apps do you want to remove?",
|
||||
@ -52,16 +52,5 @@
|
||||
"not-authenticated": "Not Authenticated",
|
||||
"error": "Error",
|
||||
"remove-any-app-message": "What App do you want to remove?",
|
||||
"removing-apps-complete": "Removing Apps Complete",
|
||||
"main-menu-item-10": "Change Watch DPI",
|
||||
"set-dpi-message": "Enter New DPI Value:",
|
||||
"default-dpi-is": "Default DPI is",
|
||||
"current-dpi-is": "Current DPI is",
|
||||
"usb-one-device": "Make sure ONLY your watch is connected",
|
||||
"accept-authorisation": "Please select \"Always Allow\" for authorisation on watch",
|
||||
"usb-not-connected": "Make sure your watch is not connected via USB",
|
||||
"main-menu-item-11": "Global Theme",
|
||||
"enable-global-theme": "Enable Global Theme",
|
||||
"disable-global-theme": "Disable Global Theme",
|
||||
"main-menu-item-12": "Xiaomi Apps"
|
||||
"removing-apps-complete": "Removing Apps Complete"
|
||||
}
|
13
lang/es.json
13
lang/es.json
@ -52,16 +52,5 @@
|
||||
"not-authenticated": "No Autenticado",
|
||||
"error": "Error",
|
||||
"remove-any-app-message": "¿Qué Aplicación quieres borrar?",
|
||||
"removing-apps-complete": "Borrado de Aplicaciones Finalizado",
|
||||
"main-menu-item-10": "Cambiar DPI del reloj",
|
||||
"set-dpi-message": "Introduzca un nuevo valor de DPI:",
|
||||
"default-dpi-is": "El DPI predeterminado es",
|
||||
"current-dpi-is": "Actual DPI es",
|
||||
"usb-one-device": "Asegúrate de que SOLO tu reloj esté conectado",
|
||||
"accept-authorisation": "Selecciona \"Permitir siempre\" para la autorización de servicio",
|
||||
"usb-not-connected": "Asegúrese de que su reloj no esté conectado a través de USB",
|
||||
"main-menu-item-11": "Global Theme",
|
||||
"enable-global-theme": "Enable Global Theme",
|
||||
"disable-global-theme": "Disable Global Theme",
|
||||
"main-menu-item-12": "Xiaomi Apps"
|
||||
"removing-apps-complete": "Borrado de Aplicaciones Finalizado"
|
||||
}
|
68
lang/fr.json
68
lang/fr.json
@ -1,67 +1 @@
|
||||
{
|
||||
"alberto-locale-activated-on-watch": "Alberto Locale activé sur la montre",
|
||||
"batch-install-apps-complete": "Installation des lots d'applications terminées",
|
||||
"compatible-apps": "Applications compatibles",
|
||||
"compatible-apps-installed": "Applications compatibles installées",
|
||||
"complete": "Terminé",
|
||||
"connect-to-watch": "Connectez-vous à la montre",
|
||||
"connect-wifi-complete": "Connexion par Wifi effectuée",
|
||||
"connect-wifi-message": "Quelle est l'adresse IP de votre Mi Watch ?",
|
||||
"connected": "Connecté",
|
||||
"connected-via-usb": "Connecté par USB",
|
||||
"connected-via-wifi": "Connecté par WiFi",
|
||||
"connection-type-message": "Comment voulez-vous vous connecter ?",
|
||||
"device-not-authorised": "Appareil non autorisé",
|
||||
"downloading-compatible-apps": "Téléchargement des applications compatibles en cours",
|
||||
"downloading-latest": "Téléchargement de la dernière version",
|
||||
"error": "Erreur",
|
||||
"error-device-not-authorised": "Erreur - Appareil non autorisé",
|
||||
"failed": "Échoué",
|
||||
"header-remove-installed-apps": "Supprimer des applications installées",
|
||||
"install-compatible-apps-header": "Installer des applications compatibles",
|
||||
"install-compatible-apps-message": "Quelles applications voulez-vous installer ?",
|
||||
"installing": "Installation en cours",
|
||||
"installing-apps": "Installation des applications en cours",
|
||||
"main-menu-item-1": "1-Click Karl0ss Klean",
|
||||
"main-menu-item-2": "Supprimer les applications Xiaomi",
|
||||
"main-menu-item-3": "Restaurer les applications Xiaomi",
|
||||
"main-menu-item-4": "Installer des applications compatibles",
|
||||
"main-menu-item-5": "Restaurer une application",
|
||||
"main-menu-item-6": "Supprimer une application",
|
||||
"main-menu-item-7": "Installer plusieurs applications",
|
||||
"main-menu-item-8": "Supprimer plusieurs applications",
|
||||
"main-menu-item-9": "Quitter",
|
||||
"main-menu-question": "Que souhaitez-vous faire ?",
|
||||
"morelocale-activated-on-watch": "moreLocale activé sur la montre",
|
||||
"not-authenticated": "Non authentifié",
|
||||
"not-connected": "Non connecté",
|
||||
"not-found": "Introuvable",
|
||||
"packages-recieved-from-watch": "Packets reçus depuis la montre",
|
||||
"please-reconnect-to-watch": "Merci de reconnecter la montre",
|
||||
"removal-complete": "Suppression terminée",
|
||||
"remove-any-app-message": "Quelle application voulez-vous supprimer ?",
|
||||
"remove-installed-apps-failed": "La suppression d'applications installées a échoué",
|
||||
"remove-installed-apps-message": "Quelles applications installées voulez-vous supprimer ?",
|
||||
"remove-selected-user-apps": "Les applications sélectionnées ont été supprimées",
|
||||
"remove-xiaomi-apps": "Supprimer les applications Xiaomi",
|
||||
"removing": "Suppression en cours",
|
||||
"removing-apps-complete": "Suppression d'application effectuée",
|
||||
"restarting-adb": "Redémarrage d'ADB",
|
||||
"restore-any-app-message": "Quelles applications voulez-vous restaurer ?",
|
||||
"restore-app-message": "Quelles applications voulez-vous restaurer ?",
|
||||
"restoring": "Restauration en cours",
|
||||
"restoring-apps-complete": "Restauration des applications terminée",
|
||||
"simple-weather-activated-on-watch": "simpleWeather activé sur la montre",
|
||||
"try-again": "Réessayer",
|
||||
"main-menu-item-10": "Changer le DPI de la montre",
|
||||
"set-dpi-message": "Entrez une nouvelle valeur PPP:",
|
||||
"default-dpi-is": "Le DPI par défaut est",
|
||||
"current-dpi-is": "Le DPI actuel est",
|
||||
"usb-one-device": "Assurez-vous que SEULE votre montre est connectée",
|
||||
"accept-authorisation": "Veuillez sélectionner \"Toujours autoriser\" pour l'autorisation sur la montre",
|
||||
"usb-not-connected": "Assurez-vous que votre montre n'est pas connectée via USB",
|
||||
"main-menu-item-11": "Global Theme",
|
||||
"enable-global-theme": "Enable Global Theme",
|
||||
"disable-global-theme": "Disable Global Theme",
|
||||
"main-menu-item-12": "Xiaomi Apps"
|
||||
}
|
||||
{"alberto-locale-activated-on-watch":"Alberto Locale activé sur la montre","batch-install-apps-complete":"Installation des lots d'applications terminées","compatible-apps":"Applications compatibles","compatible-apps-installed":"Applications compatibles installées","complete":"Terminé","connect-to-watch":"Connectez-vous à la montre","connect-wifi-complete":"Connexion par Wifi effectuée","connect-wifi-message":"Quelle est l'adresse IP de votre Mi Watch ?","connected":"Connecté","connected-via-usb":"Connecté par USB","connected-via-wifi":"Connecté par WiFi","connection-type-message":"Comment voulez-vous vous connecter ?","device-not-authorised":"Appareil non autorisé","downloading-compatible-apps":"Téléchargement des applications compatibles en cours","downloading-latest":"Téléchargement de la dernière version","error":"Erreur","error-device-not-authorised":"Erreur - Appareil non autorisé","failed":"Échoué","header-remove-installed-apps":"Supprimer des applications installées","install-compatible-apps-header":"Installer des applications compatibles","install-compatible-apps-message":"Quelles applications voulez-vous installer ?","installing":"Installation en cours","installing-apps":"Installation des applications en cours","main-menu-item-1":"1-Click Karl0ss Klean","main-menu-item-2":"Supprimer les applications Xiaomi","main-menu-item-3":"Restaurer les applications Xiaomi","main-menu-item-4":"Installer des applications compatibles","main-menu-item-5":"Restaurer une application","main-menu-item-6":"Supprimer une application","main-menu-item-7":"Installer plusieurs applications","main-menu-item-8":"Supprimer plusieurs applications","main-menu-item-9":"Quitter","main-menu-question":"Que souhaitez-vous faire ?","morelocale-activated-on-watch":"moreLocale activé sur la montre","not-authenticated":"Non authentifié","not-connected":"Non connecté","not-found":"Introuvable","packages-recieved-from-watch":"Packets reçus depuis la montre","please-reconnect-to-watch":"Merci de reconnecter la montre","removal-complete":"Suppression terminée","remove-any-app-message":"Quelle application voulez-vous supprimer ?","remove-installed-apps-failed":"La suppression d'applications installées a échoué","remove-installed-apps-message":"Quelles applications installées voulez-vous supprimer ?","remove-selected-user-apps":"Les applications sélectionnées ont été supprimées","remove-xiaomi-apps":"Supprimer les applications Xiaomi","removing":"Suppression en cours","removing-apps-complete":"Suppression d'application effectuée","restarting-adb":"Redémarrage d'ADB","restore-any-app-message":"Quelles applications voulez-vous restaurer ?","restore-app-message":"Quelles applications voulez-vous restaurer ?","restoring":"Restauration en cours","restoring-apps-complete":"Restauration des applications terminée","simple-weather-activated-on-watch":"simpleWeather activé sur la montre","try-again":"Réessayer"}
|
67
lang/gr.json
67
lang/gr.json
@ -1,67 +0,0 @@
|
||||
{
|
||||
"main-menu-question": "Τι θες να κάνεις?",
|
||||
"main-menu-item-1": "1-Πάτησε Karl0ss Klean",
|
||||
"main-menu-item-2": "Αφαίρεσε Xiaomi Εφαρμογές",
|
||||
"main-menu-item-3": "Επανέφερε Xiaomi Εφαρμογές",
|
||||
"main-menu-item-4": "Εγκατέστησε συμβατές Εφαρμογές",
|
||||
"main-menu-item-5": "Επανέφερε οποιαδήποτε εφαρμογή",
|
||||
"main-menu-item-6": "Αφαίρεσε οποιαδήποτε εφαρμογή",
|
||||
"main-menu-item-7": "Εγκατέστησε ομάδα εφαρμογών",
|
||||
"main-menu-item-8": "Απεγκατάστησε ομάδα εγκατεστημένων εφαρμογών",
|
||||
"main-menu-item-9": "Έξοδος",
|
||||
"connection-type-message": "Πως θέλεις να συνδεθείς?",
|
||||
"connect-wifi-message": "Ποια είναι η IP διεύθυνση του MiWatch?",
|
||||
"restore-app-message": "Ποιες Εφαρμογές θέλεις να επαναφέρεις?",
|
||||
"install-compatible-apps-message": "Ποιες Εφαρμογές θέλεις να εγκαταστήσεις?",
|
||||
"remove-installed-apps-message": "Ποιες εγκατεστημένες Εφαρμογές θέλεις να απεγκαταστήσεις?",
|
||||
"restore-any-app-message": "Ποια Εφαρμογή θέλεις να επαναφέρεις?",
|
||||
"header-remove-installed-apps": "Αφαίρεσε Εγκατεστημένες Εφαρμογές",
|
||||
"packages-recieved-from-watch": "Τα πακέτα ελήφθησαν από το ρολόϊ",
|
||||
"device-not-authorised": "Η συσκευή δεν εγκρίθηκε",
|
||||
"restarting-adb": "Επανεκκίνηση ADB",
|
||||
"please-reconnect-to-watch": "Παρακαλώ ξανασύνδεσε το ρολόϊ",
|
||||
"remove-installed-apps-failed": "Αφαίρεση εγκατεστημένων εφαρμογών απέτυχε",
|
||||
"removing": "Αφαίρεση",
|
||||
"removal-complete": "Αφαίρεση Ολοκληρώθηκε",
|
||||
"installing": "Εγκατάσταση",
|
||||
"restoring": "Επαναφορά",
|
||||
"remove-selected-user-apps": "Αφαιρέθηκαν Εφαρμογές επιλεγμένες από τον χρήστη",
|
||||
"install-compatible-apps-header": "Εγκατέστησε συμβατές Εφαρμογές",
|
||||
"simple-weather-activated-on-watch": "simpleWeather Ενεργοποιήθηκε στο ρολόϊ",
|
||||
"morelocale-activated-on-watch": "moreLocale Ενεργοποιήθηκε στο ρολόϊ",
|
||||
"alberto-locale-activated-on-watch": "Alberto Locale Ενεργοποιήθηκε στο ρολόϊ",
|
||||
"compatible-apps-installed": "Συμβατές Εφαρμογές εγκαταστάθηκαν",
|
||||
"compatible-apps": "Συμβατές Εφαρμογές",
|
||||
"remove-xiaomi-apps": "Αφαίρεσε Xiaomi Εφαρμογές",
|
||||
"downloading-compatible-apps": "Λήψη Συμβατών Εφαρμογών",
|
||||
"installing-apps": "Εγκατάσταση Εφαρμογών",
|
||||
"downloading-latest": "Λήψη τελευταίων",
|
||||
"complete": "Ολοκληρώθηκε",
|
||||
"failed": "Απέτυχε",
|
||||
"restoring-apps-complete": "Επαναφορά Εφαρμογών Ολοκληρώθηκε",
|
||||
"batch-install-apps-complete": "Πακέτο εγκατάστασης Εφαρμογών Ολοκληρώθηκε",
|
||||
"connect-to-watch": "Συνδέσου στο ρολόϊ",
|
||||
"connected-via-usb": "Συνδέθηκε με USB",
|
||||
"connected-via-wifi": "Συνδέθηκε με Wifi",
|
||||
"connected": "Συνδέθηκε",
|
||||
"not-connected": "Δεν Συνδέθηκε",
|
||||
"error-device-not-authorised": "Σφάλμα - Η συσκευή δεν εγκρίθηκε",
|
||||
"not-found": "Δεν βρέθηκε",
|
||||
"try-again": "Δοκίμασε ξανά",
|
||||
"connect-wifi-complete": "Σύνδεση Wifi Ολοκληρώθηκε",
|
||||
"not-authenticated": "Δεν πιστοποιήθηκε",
|
||||
"error": "Σφάλμα",
|
||||
"remove-any-app-message": "Ποια Εφαρμογή θέλεις να αφαιρέσεις?",
|
||||
"removing-apps-complete": "Αφαίρεση εφαρμογών ολοκληρώθηκε",
|
||||
"main-menu-item-10": "Αλλαγή DPI παρακολούθησης",
|
||||
"set-dpi-message": "Εισαγάγετε νέα τιμή DPI:",
|
||||
"default-dpi-is": "Το προεπιλεγμένο DPI είναι",
|
||||
"current-dpi-is": "το τρέχον DPI είναι",
|
||||
"usb-one-device": "Βεβαιωθείτε ΜΟΝΟ ότι το ρολόι σας είναι συνδεδεμένο",
|
||||
"accept-authorisation": "Επιλέξτε \"Να επιτρέπεται πάντα\" για εξουσιοδότηση στο ρολόι",
|
||||
"usb-not-connected": "Βεβαιωθείτε ότι το ρολόι σας δεν είναι συνδεδεμένο μέσω USB",
|
||||
"main-menu-item-11": "Global Theme",
|
||||
"enable-global-theme": "Enable Global Theme",
|
||||
"disable-global-theme": "Disable Global Theme",
|
||||
"main-menu-item-12": "Xiaomi Apps"
|
||||
}
|
13
lang/he.json
13
lang/he.json
@ -52,16 +52,5 @@
|
||||
"not-authenticated": "לא התחבר",
|
||||
"error": "שגיאה",
|
||||
"remove-any-app-message": "איזה אפליקציות תרצה להסיר?",
|
||||
"removing-apps-complete": "הסרה הושלמה בהצלחה",
|
||||
"main-menu-item-10": "שנה DPI של שעון",
|
||||
"set-dpi-message": "הזן ערך DPI חדש",
|
||||
"default-dpi-is": "ברירת מחדל ל- DPI",
|
||||
"current-dpi-is": "DPI הנוכחי הוא",
|
||||
"usb-one-device": "וודא שהשעון שלך מחובר רק",
|
||||
"accept-authorisation": "אנא בחר תמיד אפשר לצורך הרשאה בשעון",
|
||||
"usb-not-connected": "וודא שהשעון שלך אינו מחובר באמצעות USB",
|
||||
"main-menu-item-11": "Global Theme",
|
||||
"enable-global-theme": "Enable Global Theme",
|
||||
"disable-global-theme": "Disable Global Theme",
|
||||
"main-menu-item-12": "Xiaomi Apps"
|
||||
"removing-apps-complete": "הסרה הושלמה בהצלחה"
|
||||
}
|
17
lang/it.json
17
lang/it.json
@ -10,8 +10,8 @@
|
||||
"main-menu-item-8": "Rimuovi tutte le App Installate",
|
||||
"main-menu-item-9": "Esci",
|
||||
"connection-type-message": "Come vuoi connetterti?",
|
||||
"connect-wifi-message": "Qualè l'indirizzo IP del tuo MiWatch?",
|
||||
"restore-app-message": "Che apps vuoi ripristinare?",
|
||||
"connect-wifi-message":"Qualè l'indirizzo IP del tuo MiWatch?",
|
||||
"restore-app-message": "Che apps vuoi ripristinare?",
|
||||
"install-compatible-apps-message": "Che apps compatibili vuoi installare?",
|
||||
"remove-installed-apps-message": "Che apps Installate vuoi rimuovere?",
|
||||
"restore-any-app-message": "Che Apps vuoi ripristinare?",
|
||||
@ -52,16 +52,5 @@
|
||||
"not-authenticated": "Non Autenticato",
|
||||
"error": "Errore",
|
||||
"remove-any-app-message": "Che App vuoi rimuovere?",
|
||||
"removing-apps-complete": "Rimozione Apps Completata",
|
||||
"main-menu-item-10": "Cambia DPI orologio",
|
||||
"set-dpi-message": "Immetti nuovo valore DPI:",
|
||||
"default-dpi-is": "DPI predefinito è",
|
||||
"current-dpi-is": "current DPI is",
|
||||
"usb-one-device": "Assicurati che SOLO il tuo orologio sia connesso",
|
||||
"accept-authorisation": "Seleziona \"Consenti sempre\" per l'autorizzazione sull'orologio",
|
||||
"usb-not-connected": "Assicurati che l'orologio non sia connesso tramite USB",
|
||||
"main-menu-item-11": "Global Theme",
|
||||
"enable-global-theme": "Enable Global Theme",
|
||||
"disable-global-theme": "Disable Global Theme",
|
||||
"main-menu-item-12": "Xiaomi Apps"
|
||||
"removing-apps-complete": "Rimozione Apps Completata"
|
||||
}
|
68
lang/nl.json
68
lang/nl.json
@ -1,67 +1 @@
|
||||
{
|
||||
"main-menu-question": "Wat wil je doen?",
|
||||
"main-menu-item-1": "1-Click Karl0ss Klean",
|
||||
"main-menu-item-2": "Xiaomi Apps verwijderen",
|
||||
"main-menu-item-3": "Xiaomi Apps herstellen",
|
||||
"main-menu-item-4": "Compatible Apps installeren",
|
||||
"main-menu-item-5": "Andere Apps herstellen",
|
||||
"main-menu-item-6": "Andere Apps verwijderen",
|
||||
"main-menu-item-7": "Batch Apps Installeren",
|
||||
"main-menu-item-8": "Batch Geïnstalleerde Apps verwijderen",
|
||||
"main-menu-item-9": "Afsluiten",
|
||||
"connection-type-message": "Hoe wil je connectie maken?",
|
||||
"connect-wifi-message": "Wat is het IpAdres van je miWatch?",
|
||||
"restore-app-message": "Welke Apps wil je herstellen?",
|
||||
"install-compatible-apps-message": "Welke Apps wil je installeren?",
|
||||
"remove-installed-apps-message": "Welke geïnstalleerde Apps wil je verwijderen?",
|
||||
"restore-any-app-message": "Welke App wil je herstellen?",
|
||||
"header-remove-installed-apps": "Verwijderen Geïnstalleerde Apps",
|
||||
"packages-recieved-from-watch": "Pakketten ontvangen van horloge",
|
||||
"device-not-authorised": "Apparaat niet geauthoriseerd",
|
||||
"restarting-adb": "ADB herstarten",
|
||||
"please-reconnect-to-watch": "Opnieuw verbinden met Horloge aub",
|
||||
"remove-installed-apps-failed": "Verwijderen van geïnstalleerde Apps mislukt",
|
||||
"removing": "Verwijderen",
|
||||
"removal-complete": "Verwijderen afgerond",
|
||||
"installing": "Installeren",
|
||||
"restoring": "Herstellen",
|
||||
"remove-selected-user-apps": "Geselecteerde gebruiker Apps verwijderd",
|
||||
"install-compatible-apps-header": "Installeren Compatible Apps",
|
||||
"simple-weather-activated-on-watch": "simpleWeather Actief op Horloge",
|
||||
"morelocale-activated-on-watch": "moreLocale Actief op Horloge",
|
||||
"alberto-locale-activated-on-watch": "Alberto Locale Actief op Horloge",
|
||||
"compatible-apps-installed": "Compatible Apps geïnstalleerd",
|
||||
"compatible-apps": "Compatible Apps",
|
||||
"remove-xiaomi-apps": "Verwijderen Xiaomi Apps",
|
||||
"downloading-compatible-apps": "Downloaden van Compatible Apps",
|
||||
"installing-apps": "Apps installeren",
|
||||
"downloading-latest": "Laatste versie downloaden",
|
||||
"complete": "Afgerond",
|
||||
"failed": "Mislukt",
|
||||
"restoring-apps-complete": "Herstellen Apps Afgerond",
|
||||
"batch-install-apps-complete": "Batch Installeren Apps Afgerond",
|
||||
"connect-to-watch": "Verbinden met Horloge",
|
||||
"connected-via-usb": "Verbonden via USB",
|
||||
"connected-via-wifi": "Verbonden via WiFi",
|
||||
"connected": "Verbonden",
|
||||
"not-connected": "Niet verbonden",
|
||||
"error-device-not-authorised": "Error - Apparaat niet geauthoriseerd",
|
||||
"not-found": "Niet gevonden",
|
||||
"try-again": "Probeer opnieuw",
|
||||
"connect-wifi-complete": "Verbinden via Wifi Afgerond",
|
||||
"not-authenticated": "Niet geauthenticeerd",
|
||||
"error": "Fout",
|
||||
"remove-any-app-message": "Welke App wil je verwijderen?",
|
||||
"removing-apps-complete": "Verwijderen van Apps Afgerond",
|
||||
"main-menu-item-10": "Watch DPI wijzigen",
|
||||
"set-dpi-message": "Voer nieuwe DPI-waarde in:",
|
||||
"default-dpi-is": "Standaard DPI is",
|
||||
"current-dpi-is": "huidige DPI is",
|
||||
"usb-one-device": "Zorg ervoor dat ALLEEN uw horloge is aangesloten",
|
||||
"accept-authorisation": "Selecteer \"Altijd toestaan\" voor autorisatie op horloge",
|
||||
"usb-not-connected": "Zorg ervoor dat uw horloge niet is aangesloten via USB",
|
||||
"main-menu-item-11": "Global Theme",
|
||||
"enable-global-theme": "Enable Global Theme",
|
||||
"disable-global-theme": "Disable Global Theme",
|
||||
"main-menu-item-12": "Xiaomi Apps"
|
||||
}
|
||||
{"main-menu-question":"Wat wil je doen?","main-menu-item-1":"1-Click Karl0ss Klean","main-menu-item-2":"Xiaomi Apps verwijderen","main-menu-item-3":"Xiaomi Apps herstellen","main-menu-item-4":"Compatible Apps installeren","main-menu-item-5":"Andere Apps herstellen","main-menu-item-6":"Andere Apps verwijderen","main-menu-item-7":"Batch Apps Installeren","main-menu-item-8":"Batch Geïnstalleerde Apps verwijderen","main-menu-item-9":"Afsluiten","connection-type-message":"Hoe wil je connectie maken?","connect-wifi-message":"Wat is het IpAdres van je miWatch?","restore-app-message":"Welke Apps wil je herstellen?","install-compatible-apps-message":"Welke Apps wil je installeren?","remove-installed-apps-message":"Welke geïnstalleerde Apps wil je verwijderen?","restore-any-app-message":"Welke App wil je herstellen?","header-remove-installed-apps":"Verwijderen Geïnstalleerde Apps","packages-recieved-from-watch":"Pakketten ontvangen van horloge","device-not-authorised":"Apparaat niet geauthoriseerd","restarting-adb":"ADB herstarten","please-reconnect-to-watch":"Opnieuw verbinden met Horloge aub","remove-installed-apps-failed":"Verwijderen van geïnstalleerde Apps mislukt","removing":"Verwijderen","removal-complete":"Verwijderen afgerond","installing":"Installeren","restoring":"Herstellen","remove-selected-user-apps":"Geselecteerde gebruiker Apps verwijderd","install-compatible-apps-header":"Installeren Compatible Apps","simple-weather-activated-on-watch":"simpleWeather Actief op Horloge","morelocale-activated-on-watch":"moreLocale Actief op Horloge","alberto-locale-activated-on-watch":"Alberto Locale Actief op Horloge","compatible-apps-installed":"Compatible Apps geïnstalleerd","compatible-apps":"Compatible Apps","remove-xiaomi-apps":"Verwijderen Xiaomi Apps","downloading-compatible-apps":"Downloaden van Compatible Apps","installing-apps":"Apps installeren","downloading-latest":"Laatste versie downloaden","complete":"Afgerond","failed":"Mislukt","restoring-apps-complete":"Herstellen Apps Afgerond","batch-install-apps-complete":"Batch Installeren Apps Afgerond","connect-to-watch":"Verbinden met Horloge","connected-via-usb":"Verbonden via USB","connected-via-wifi":"Verbonden via WiFi","connected":"Verbonden","not-connected":"Niet verbonden","error-device-not-authorised":"Error - Apparaat niet geauthoriseerd","not-found":"Niet gevonden","try-again":"Probeer opnieuw","connect-wifi-complete":"Verbinden via Wifi Afgerond","not-authenticated":"Niet geauthenticeerd","error":"Fout","remove-any-app-message":"Welke App wil je verwijderen?","removing-apps-complete":"Verwijderen van Apps Afgerond"}
|
15
lang/pl.json
15
lang/pl.json
@ -10,7 +10,7 @@
|
||||
"main-menu-item-8": "Usuń wiele aplikacji",
|
||||
"main-menu-item-9": "Wyjdź",
|
||||
"connection-type-message": "Jak chcesz się połączyć?",
|
||||
"connect-wifi-message": "Jaki jest adres IP Twojego MiWatch?",
|
||||
"connect-wifi-message":"Jaki jest adres IP Twojego MiWatch?",
|
||||
"restore-app-message": "Jakie aplikacje chcesz przywrócić?",
|
||||
"install-compatible-apps-message": "Jakie aplikacje chcesz zainstalować?",
|
||||
"remove-installed-apps-message": "Jakie zainstalowane aplikacje chcesz usunąć?",
|
||||
@ -52,16 +52,5 @@
|
||||
"not-authenticated": "Brak uwierzytelnienia",
|
||||
"error": "Błąd",
|
||||
"remove-any-app-message": "Którą aplikacje chcesz usunąć?",
|
||||
"removing-apps-complete": "Usuwanie aplikacji zakończone",
|
||||
"main-menu-item-10": "Zmień DPI zegarka",
|
||||
"set-dpi-message": "Wprowadź nową wartość DPI:",
|
||||
"default-dpi-is": "Default DPI to",
|
||||
"bieżąca-dpi-to": "bieżąca wartość DPI to",
|
||||
"usb-one-device": "Upewnij się, że TYLKO zegarek jest podłączony",
|
||||
"accept-authorisation": "Aby uzyskać autoryzację na zegarku, wybierz Zawsze zezwalaj",
|
||||
"usb-not-connected": "Upewnij się, że zegarek nie jest podłączony przez USB",
|
||||
"main-menu-item-11": "Global Theme",
|
||||
"enable-global-theme": "Enable Global Theme",
|
||||
"disable-global-theme": "Disable Global Theme",
|
||||
"main-menu-item-12": "Xiaomi Apps"
|
||||
"removing-apps-complete": "Usuwanie aplikacji zakończone"
|
||||
}
|
@ -10,7 +10,7 @@
|
||||
"main-menu-item-8": "Remover Apps por lote",
|
||||
"main-menu-item-9": "Sair",
|
||||
"connection-type-message": "Como você quer Conectar?",
|
||||
"connect-wifi-message": "Qual o endereço IP do seu MiWatch?",
|
||||
"connect-wifi-message":"Qual o endereço IP do seu MiWatch?",
|
||||
"restore-app-message": "Quais Apps você quer restaurar?",
|
||||
"install-compatible-apps-message": "Quais Apps você quer instalar?",
|
||||
"remove-installed-apps-message": "Quais APPs instalados você quer remover?",
|
||||
@ -52,16 +52,5 @@
|
||||
"not-authenticated": "Não Autenticado",
|
||||
"error": "Erro",
|
||||
"remove-any-app-message": "Qual App você quer remover?",
|
||||
"removing-apps-complete": "Remoção de Apps Completa",
|
||||
"main-menu-item-10": "Alterar DPI do relógio",
|
||||
"set-dpi-message": "Digite o novo valor de DPI:",
|
||||
"default-dpi-is": "O DPI padrão é",
|
||||
"current-dpi-is": "o DPI atual é",
|
||||
"usb-one-device": "Certifique-se de que SOMENTE seu relógio esteja conectado",
|
||||
"accept-authorisation": "Selecione \"Sempre permitir\" para autorização no relógio",
|
||||
"usb-not-connected": "Certifique-se de que seu relógio não esteja conectado via USB",
|
||||
"main-menu-item-11": "Global Theme",
|
||||
"enable-global-theme": "Enable Global Theme",
|
||||
"disable-global-theme": "Disable Global Theme",
|
||||
"main-menu-item-12": "Xiaomi Apps"
|
||||
"removing-apps-complete": "Remoção de Apps Completa"
|
||||
}
|
15
lang/ru.json
15
lang/ru.json
@ -10,7 +10,7 @@
|
||||
"main-menu-item-8": "Пакетное удаление приложений",
|
||||
"main-menu-item-9": "Выход",
|
||||
"connection-type-message": "Тип соединения с часами?",
|
||||
"connect-wifi-message": "IP адрес ваших часов?",
|
||||
"connect-wifi-message":"IP адрес ваших часов?",
|
||||
"restore-app-message": "Какие приложения вы хотите восстановить?",
|
||||
"install-compatible-apps-message": "Какие приложения вы хотите установить?",
|
||||
"remove-installed-apps-message": "Какие приложения из установленных вы хотите удалить?",
|
||||
@ -52,16 +52,5 @@
|
||||
"not-authenticated": "Не аутентифицировано",
|
||||
"error": "Ошибка",
|
||||
"remove-any-app-message": "Какое приложение вы хотите удалить?",
|
||||
"removing-apps-complete": "Удаление приложений завершено",
|
||||
"main-menu-item-10": "Изменить разрешение часов",
|
||||
"set-dpi-message": "Введите новое значение DPI:",
|
||||
"default-dpi-is": "DPI по умолчанию",
|
||||
"current-dpi-is": "текущий DPI",
|
||||
"usb-one-device": "Убедитесь, что подключены ТОЛЬКО ваши часы",
|
||||
"accept-authorisation": "Пожалуйста, выберите \"Всегда разрешать\" для авторизации на часах",
|
||||
"usb-not-connected": "Убедитесь, что ваши часы не подключены через USB.",
|
||||
"main-menu-item-11": "Global Theme",
|
||||
"enable-global-theme": "Enable Global Theme",
|
||||
"disable-global-theme": "Disable Global Theme",
|
||||
"main-menu-item-12": "Xiaomi Apps"
|
||||
"removing-apps-complete": "Removing Apps Complete"
|
||||
}
|
67
lang/tr.json
67
lang/tr.json
@ -1,67 +0,0 @@
|
||||
{
|
||||
"main-menu-question": "Ne yapmak istiyorsunuz?",
|
||||
"main-menu-item-1": "1-Tık Karl0ss Klean",
|
||||
"main-menu-item-2": "Xiaomi Uygulamalarını Kaldır",
|
||||
"main-menu-item-3": "Xiaomi Uygulamalarını Geri Yükle",
|
||||
"main-menu-item-4": "Uyumlu Uygulamaları Kur",
|
||||
"main-menu-item-5": "HERHANGİ BİR uygulamayı geri yükle",
|
||||
"main-menu-item-6": "HERHANGİ BİR uygulamayı kaldır",
|
||||
"main-menu-item-7": "Toplu Yükleme Uygulamaları",
|
||||
"main-menu-item-8": "Yüklü Uygulamaları Toplu Olarak Kaldır",
|
||||
"main-menu-item-9": "Çık",
|
||||
"connection-type-message": "Nasıl bağlanmak istiyorsunuz?",
|
||||
"connect-wifi-message": "MiWatch IpAdress'iniz nedir?",
|
||||
"restore-app-message": "Hangi uygulamaları geri yüklemek istiyorsunuz?",
|
||||
"install-compatible-apps-message": "Hangi uygulamaları yüklemek istiyorsunuz?",
|
||||
"remove-installed-apps-message": "Hangi Yüklü uygulamaları kaldırmak istiyorsun?",
|
||||
"restore-any-app-message": "Hangi Uygulamayı geri yüklemek istiyorsun?",
|
||||
"header-remove-installed-apps": "Yüklü Uygulamaları Kaldır",
|
||||
"packages-recieved-from-watch": "Saatten alınan paketler",
|
||||
"device-not-authorised": "Cihaz yetkilendirilmedi",
|
||||
"restarting-adb": "ADB yeniden başlatılıyor",
|
||||
"please-reconnect-to-watch": "İzlemek için lütfen yeniden bağlanın",
|
||||
"remove-installed-apps-failed": "Yüklü Uygulamaları Kaldırma Başarısız Oldu",
|
||||
"removing": "Kaldırılıyor",
|
||||
"removal-complete": "Kaldırma Tamamlandı",
|
||||
"installing": "Kuruluyor",
|
||||
"restoring": "Geri yükleniyor",
|
||||
"remove-selected-user-apps": "Seçili Kullanıcı Uygulamaları Kaldırıldı",
|
||||
"install-compatible-apps-header": "Uyumlu Uygulamaları Kur",
|
||||
"simple-weather-activated-on-watch": "Saatte simpleWeather Etkinleştirildi",
|
||||
"morelocale-activated-on-watch": "moreLocale Watch On Watch'ta Etkinleştirildi",
|
||||
"alberto-locale-activated-on-watch": "Alberto Locale Watch On Activated",
|
||||
"compatible-apps-installed": "Yüklü Uyumlu Uygulamalar",
|
||||
"compatible-apps": "Uyumlu Uygulamalar",
|
||||
"remove-xiaomi-apps": "Xiaomi Uygulamalarını Kaldır",
|
||||
"downloading-compatible-apps": "Uyumlu Uygulamaları İndirme",
|
||||
"installing-apps": "Uygulama Yükleme",
|
||||
"downloading-latest": "En Son İndiriliyor",
|
||||
"complete": "Tamamlandı",
|
||||
"failed": "Başarısız",
|
||||
"restoring-apps-complete": "Uygulamaları Geri Yükleme Tamamlandı",
|
||||
"batch-install-apps-complete": "Toplu Yükleme Uygulamaları Tamamlandı",
|
||||
"connect-to-watch": "İzlemeye bağlan",
|
||||
"connected-via-usb": "USB ile bağlı",
|
||||
"connected-via-wifi": "Wi-Fi ile bağlı",
|
||||
"connected": "Bağlandı",
|
||||
"not-connected": "Bağlı Değil",
|
||||
"error-device-not-authorised": "Hata - Cihaz yetkilendirilmedi",
|
||||
"not-found": "Bulunamadı",
|
||||
"try-again": "Tekrar Deneyin",
|
||||
"connect-wifi-complete": "Kablosuz Bağlantı Tamamlandı",
|
||||
"not-authenticated": "Kimliği Doğrulanmadı",
|
||||
"error": "Error",
|
||||
"remove-any-app-message": "Hangi Uygulamayı kaldırmak istiyorsunuz?",
|
||||
"removing-apps-complete": "Uygulamaları Kaldırma Tamamlandı",
|
||||
"main-menu-item-10": "Saat DPI'yı Değiştir",
|
||||
"set-dpi-message": "Yeni DPI Değerini Girin:",
|
||||
"default-dpi-is": "Varsayılan DPI",
|
||||
"current-dpi-is": "Geçerli DPI:",
|
||||
"usb-one-device": "YALNIZCA saatinizin bağlı olduğundan emin olun",
|
||||
"accept-authorisation": "Saatte yetkilendirme için lütfen \"Her Zaman İzin Ver\" seçeneğini seçin",
|
||||
"usb-not-connected": "Saatinizin USB ile bağlı olmadığından emin olun",
|
||||
"main-menu-item-11": "Global Theme",
|
||||
"enable-global-theme": "Enable Global Theme",
|
||||
"disable-global-theme": "Disable Global Theme",
|
||||
"main-menu-item-12": "Xiaomi Apps"
|
||||
}
|
15
lang/vn.json
15
lang/vn.json
@ -10,7 +10,7 @@
|
||||
"main-menu-item-8": "Gỡ bỏ hàng loạt các phần mềm đã cài",
|
||||
"main-menu-item-9": "Thoát",
|
||||
"connection-type-message": "Bạn muốn chọn kết nối nào",
|
||||
"connect-wifi-message": "Địa chỉ IP của Miwatch của bạn là gì?",
|
||||
"connect-wifi-message":"Địa chỉ IP của Miwatch của bạn là gì?",
|
||||
"restore-app-message": "Những phần mềm nào bạn muốn Khôi phục?",
|
||||
"install-compatible-apps-message": "Những phần mềm nào bạn muốn Cài đặt?",
|
||||
"remove-installed-apps-message": "Những phần mềm đã cài đặt nào bạn muốn gỡ bỏ?",
|
||||
@ -52,16 +52,5 @@
|
||||
"not-authenticated": "Không thể xác thực",
|
||||
"error": "Lỗi",
|
||||
"remove-any-app-message": "Bạn muốn gỡ bỏ Phần mềm nào?",
|
||||
"removing-apps-complete": "Gỡ bỏ Phần mềm hoàn tất",
|
||||
"main-menu-item-10": "Thay đổi DPI của Đồng hồ",
|
||||
"set-dpi-message": "Nhập Giá trị DPI Mới:",
|
||||
"default-dpi-is": "DPI mặc định là",
|
||||
"current-dpi-is": "DPI hiện tại là",
|
||||
"usb-one-device": "Đảm bảo CHỈ đồng hồ của bạn được kết nối",
|
||||
"accept-authorisation": "Vui lòng chọn \"Luôn cho phép\" để ủy quyền trên đồng hồ",
|
||||
"usb-not-connected": "Đảm bảo rằng đồng hồ của bạn không được kết nối qua USB",
|
||||
"main-menu-item-11": "Global Theme",
|
||||
"enable-global-theme": "Enable Global Theme",
|
||||
"disable-global-theme": "Disable Global Theme",
|
||||
"main-menu-item-12": "Xiaomi Apps"
|
||||
"removing-apps-complete": "Gỡ bỏ Phần mềm hoàn tất"
|
||||
}
|
57
lib/adb.js
57
lib/adb.js
@ -6,9 +6,7 @@ const inquirer = require('../lib/inquirer');
|
||||
const common = require('./common')
|
||||
const chalk = require('chalk');
|
||||
const globalVariables = require('../lib/globalVars');
|
||||
const extractNumber = require('extract-numbers')
|
||||
const settings = require("settings-store");
|
||||
|
||||
const { dualLog } = require('./common');
|
||||
|
||||
if (process.platform === 'win32' || process.platform === 'win64') {
|
||||
adbRun = 'adb'
|
||||
@ -18,7 +16,7 @@ if (process.platform === 'win32' || process.platform === 'win64') {
|
||||
|
||||
module.exports = {
|
||||
installApk: async (element) => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
result = await shellExec(adbRun + ' install -r ' + element).then(async function (result) {
|
||||
if (result.stderr != '') {
|
||||
common.dualLog('device-not-authorised' + ' ' + result.stderr, 'red')
|
||||
@ -26,8 +24,8 @@ module.exports = {
|
||||
common.dualLog(element + ' - ' + result.stdout)
|
||||
|
||||
if (element === "data\\apps\\simpleweather_base.apk") {
|
||||
await common.downloadFile('https://github.com/karl0ss/MiWatchKleaner-APKs/raw/master/Others/simpleweather_split_config.armeabi_v7a.apk', './data/apps/simpleweather_split_config.armeabi_v7a.apk')
|
||||
await common.downloadFile('https://github.com/karl0ss/MiWatchKleaner-APKs/raw/master/Others/simpleweather_split_config.xhdpi.apk', './data/apps/simpleweather_split_config.xhdpi.apk')
|
||||
await common.downloadFile('http://kithub.cf/Karl/MiWatchKleaner-APKs/raw/master/Others/simpleweather_split_config.armeabi_v7a.apk', './data/apps/simpleweather_split_config.armeabi_v7a.apk')
|
||||
await common.downloadFile('http://kithub.cf/Karl/MiWatchKleaner-APKs/raw/master/Others/simpleweather_split_config.xhdpi.apk', './data/apps/simpleweather_split_config.xhdpi.apk')
|
||||
await shellExec(adbRun + ' install-multiple "data\\apps\\simpleweather_base.apk" "data\\apps\\simpleweather_split_config.armeabi_v7a.apk" "data\\apps\\simpleweather_split_config.xhdpi.apk"').then(async function (result) {
|
||||
common.log(result)
|
||||
common.dualLog('simple-weather-activated-on-watch')
|
||||
@ -48,7 +46,7 @@ module.exports = {
|
||||
});
|
||||
},
|
||||
removeApk: async (package) => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
result = await shellExec(adbRun + ' uninstall ' + package)
|
||||
if (result.stderr != '') {
|
||||
common.dualLog('device-not-authorised' + ' ' + result.stderr, 'red')
|
||||
@ -57,7 +55,7 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
removeXiaomiApk: async (package) => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
result = await shellExec(adbRun + ' shell pm uninstall -k --user 0 ' + package)
|
||||
if (result.stderr != '') {
|
||||
common.dualLog('device-not-authorised' + ' ' + result.stderr, 'red')
|
||||
@ -66,7 +64,7 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
restoreXiaomiApk: async (package) => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
result = await shellExec(adbRun + ' shell cmd package install-existing ' + package)
|
||||
if (result.stderr != '') {
|
||||
common.dualLog('device-not-authorised' + ' ' + result.stderr, 'red')
|
||||
@ -75,7 +73,7 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
restoreAnyApk: async (package) => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
result = await shellExec(adbRun + ' shell cmd package install-existing ' + package.removeAnyApp)
|
||||
if (result.stderr != '') {
|
||||
common.dualLog('device-not-authorised' + ' ' + result.stderr, 'red')
|
||||
@ -87,7 +85,7 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
removeAnyApk: async (package) => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
result = await shellExec(adbRun + ' shell pm uninstall -k --user 0 ' + package.removeAnyApp)
|
||||
if (result.stderr != '') {
|
||||
common.dualLog('device-not-authorised' + ' ' + result.stderr, 'red')
|
||||
@ -99,7 +97,7 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
getInstalledPacakges: async () => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
result = await shellExec(adbRun + ' shell pm list packages -3')
|
||||
logger.info(await Language.get('packages-recieved-from-watch'))
|
||||
if (result.stderr.includes('error')) {
|
||||
@ -127,40 +125,14 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
killAdbServer: async () => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
let result = await shellExec(adbRun + ' kill-server')
|
||||
// common.log('')
|
||||
// common.dualLog('restarting-adb' + ' ' + result.stderr, 'red')
|
||||
},
|
||||
getCurrentDPI: async () => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
let result = await shellExec(adbRun + ' shell wm density')
|
||||
if (result.stdout != "") {
|
||||
currentDPI = extractNumber(result.stdout)
|
||||
if (currentDPI.length > 1) {
|
||||
return currentDPI[1]
|
||||
} else {
|
||||
return currentDPI[0]
|
||||
}
|
||||
} else {
|
||||
return result.stderr
|
||||
}
|
||||
|
||||
},
|
||||
setDPI: async (setDPI) => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
let result = await shellExec(adbRun + ' shell wm density ' + setDPI)
|
||||
// currentDPI = extractNumber(result.stdout)
|
||||
// return currentDPI[0]
|
||||
},
|
||||
watchConnection: async (value) => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
if (value.connection === "usb") {
|
||||
common.dualLog(await Language.get('usb-one-device', 'whiteBright'))
|
||||
await common.pause(2000)
|
||||
common.dualLog(await Language.get('accept-authorisation', 'whiteBright'))
|
||||
common.dualLog(await Language.get('--------------------', 'whiteBright'))
|
||||
await common.pause(3000)
|
||||
await module.exports.killAdbServer()
|
||||
result = await shellExec(adbRun + ' devices')
|
||||
console.log(result.stdout)
|
||||
@ -178,12 +150,7 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
if (value.connection === "wifi") {
|
||||
common.dualLog(await Language.get('usb-not-connected', 'whiteBright'))
|
||||
await common.pause(2000)
|
||||
const value = await inquirer.connectWifi();
|
||||
common.dualLog(await Language.get('accept-authorisation', 'whiteBright'))
|
||||
common.dualLog(await Language.get('--------------------', 'whiteBright'))
|
||||
await common.pause(3000)
|
||||
await module.exports.killAdbServer()
|
||||
result = await shellExec(adbRun + ' connect ' + value.connectWifi)
|
||||
logger.info("Connect Wifi Result " + result.stdout)
|
||||
|
@ -8,12 +8,11 @@ var shell = require('shelljs');
|
||||
const logger = require('perfect-logger');
|
||||
const Language = require("@shypes/language-translator");
|
||||
const globalVariables = require('../lib/globalVars');
|
||||
const settings = require("settings-store");
|
||||
var chalkRainbow = require('chalk-rainbow')
|
||||
|
||||
module.exports = {
|
||||
header: async (page) => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
clear();
|
||||
console.log(
|
||||
chalkRainbow(
|
||||
@ -37,7 +36,7 @@ module.exports = {
|
||||
await new Promise(resolve => setTimeout(resolve, time));
|
||||
},
|
||||
connectionCheck: async () => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
if (globalVariables.localUSB === "X") {
|
||||
console.log(chalk.white('MiWatch: ') + chalk.green(await Language.get('connected-via-usb')))
|
||||
}
|
||||
@ -49,7 +48,7 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
downloadFile: async (url, path) => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
const res = await fetch(url);
|
||||
// await module.exports.downloadSize(url)
|
||||
await new Promise(async (resolve, reject) => {
|
||||
@ -71,13 +70,7 @@ module.exports = {
|
||||
},
|
||||
getCompatibleAppsList: async () => {
|
||||
let settings = { method: "Get" };
|
||||
const response = await fetch("http://kithub.ga/Karl/MiWatchKleaner-APKs/raw/master/compatibleApps.json", settings)
|
||||
.then(res => res.json())
|
||||
return response
|
||||
},
|
||||
getXiaomiAppsList: async () => {
|
||||
let settings = { method: "Get" };
|
||||
const response = await fetch("http://kithub.ga/Karl/MiWatchKleaner/raw/master/data/xiaomiPackageRemovalList.json", settings)
|
||||
const response = await fetch("http://kithub.cf/Karl/MiWatchKleaner-APKs/raw/master/compatibleApps.json", settings)
|
||||
.then(res => res.json())
|
||||
return response
|
||||
},
|
||||
@ -88,7 +81,7 @@ module.exports = {
|
||||
logger.info(await Language.get(item, 'en'))
|
||||
},
|
||||
print: async (item, colour) => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
switch (colour) {
|
||||
case 'green':
|
||||
console.log(chalk.green(await Language.get(item)))
|
||||
|
@ -4,10 +4,8 @@ const tiny = require("@peterpanhihi/tiny");
|
||||
const getFilesIn = require('get-files-in')
|
||||
const globalVariables = require('../lib/globalVars');
|
||||
const Language = require("@shypes/language-translator");
|
||||
const settings = require("settings-store");
|
||||
|
||||
|
||||
Language.setActiveLang(settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
|
||||
|
||||
module.exports = {
|
||||
|
@ -1,6 +1,7 @@
|
||||
class globalVariables {
|
||||
localUSB = "";
|
||||
miWatchIpaddress = "";
|
||||
language = "";
|
||||
usersList=[];
|
||||
}
|
||||
|
||||
|
@ -3,26 +3,23 @@ const files = require("./files");
|
||||
const common = require("./common");
|
||||
const Language = require("@shypes/language-translator");
|
||||
const globalVariables = require('../lib/globalVars');
|
||||
const settings = require("settings-store");
|
||||
|
||||
module.exports = {
|
||||
mainMenu: async () => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
const questions = [{
|
||||
type: "list",
|
||||
name: "mainMenu",
|
||||
message: await Language.get('main-menu-question'),
|
||||
choices: [
|
||||
'-----------------------',
|
||||
await Language.get('main-menu-item-1'),
|
||||
await Language.get('main-menu-item-12'),
|
||||
await Language.get('main-menu-item-11'),
|
||||
await Language.get('main-menu-item-2'),
|
||||
await Language.get('main-menu-item-3'),
|
||||
await Language.get('main-menu-item-4'),
|
||||
await Language.get('main-menu-item-5'),
|
||||
await Language.get('main-menu-item-6'),
|
||||
await Language.get('main-menu-item-7'),
|
||||
await Language.get('main-menu-item-8'),
|
||||
await Language.get('main-menu-item-10'),
|
||||
await Language.get('main-menu-item-9'),
|
||||
],
|
||||
filter: function (val) {
|
||||
@ -46,7 +43,7 @@ module.exports = {
|
||||
return inquirer.prompt(questions);
|
||||
},
|
||||
connectionType: async () => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
const questions = [{
|
||||
type: "list",
|
||||
name: "connection",
|
||||
@ -62,7 +59,7 @@ module.exports = {
|
||||
return inquirer.prompt(questions);
|
||||
},
|
||||
connectWifi: async () => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
const questions = [{
|
||||
type: "input",
|
||||
name: "connectWifi",
|
||||
@ -70,33 +67,20 @@ module.exports = {
|
||||
},];
|
||||
return inquirer.prompt(questions);
|
||||
},
|
||||
setDPI: async () => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
const questions = [{
|
||||
type: "input",
|
||||
name: "setDPI",
|
||||
message: await Language.get('set-dpi-message'),
|
||||
},];
|
||||
return inquirer.prompt(questions);
|
||||
},
|
||||
xiaomiAppsList: async () => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
const packages = await common.getXiaomiAppsList();
|
||||
let appList = []
|
||||
packages.forEach(element => {
|
||||
appList.push(element.name)
|
||||
});
|
||||
removeAppsList: async () => {
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
const packages = await files.loadPackageList();
|
||||
|
||||
const questions = [{
|
||||
type: "checkbox",
|
||||
name: "appList",
|
||||
name: "removeAppsList",
|
||||
message: await Language.get('restore-app-message'),
|
||||
choices: appList,
|
||||
choices: packages.apps,
|
||||
},];
|
||||
return inquirer.prompt(questions);
|
||||
},
|
||||
compatibleApps: async () => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
const compatibleApps = await common.getCompatibleAppsList()
|
||||
const appList = []
|
||||
for (let element of compatibleApps) {
|
||||
@ -111,7 +95,7 @@ module.exports = {
|
||||
return inquirer.prompt(questions);
|
||||
},
|
||||
installedApps: async (installedApps) => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
const questions = [{
|
||||
type: "checkbox",
|
||||
name: "removeAppsList",
|
||||
@ -121,7 +105,7 @@ module.exports = {
|
||||
return inquirer.prompt(questions);
|
||||
},
|
||||
restoreAnyApp: async () => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
const questions = [{
|
||||
type: "input",
|
||||
name: "restoreAnyApp",
|
||||
@ -130,7 +114,7 @@ module.exports = {
|
||||
return inquirer.prompt(questions);
|
||||
},
|
||||
removeAnyApp: async () => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
Language.setActiveLang(globalVariables.language)
|
||||
const questions = [{
|
||||
type: "input",
|
||||
name: "removeAnyApp",
|
||||
@ -138,36 +122,4 @@ module.exports = {
|
||||
},];
|
||||
return inquirer.prompt(questions);
|
||||
},
|
||||
globalMenu: async () => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
const questions = [{
|
||||
type: "list",
|
||||
name: "globalSelection",
|
||||
message: await Language.get('main-menu-item-11'),
|
||||
choices: [
|
||||
await Language.get('enable-global-theme'),
|
||||
await Language.get('disable-global-theme')
|
||||
],
|
||||
filter: function (val) {
|
||||
return val.toLowerCase();
|
||||
},
|
||||
},];
|
||||
return inquirer.prompt(questions);
|
||||
},
|
||||
xiaomiMenu: async () => {
|
||||
Language.setActiveLang(await settings.value("Lang"))
|
||||
const questions = [{
|
||||
type: "list",
|
||||
name: "xiaomiSelection",
|
||||
message: await Language.get('main-menu-item-12'),
|
||||
choices: [
|
||||
await Language.get('main-menu-item-2'),
|
||||
await Language.get('main-menu-item-3')
|
||||
],
|
||||
filter: function (val) {
|
||||
return val.toLowerCase();
|
||||
},
|
||||
},];
|
||||
return inquirer.prompt(questions);
|
||||
},
|
||||
};
|
12
package-lock.json
generated
12
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "miwatchkleaner",
|
||||
"version": "3.2.1",
|
||||
"version": "3.1.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
@ -493,11 +493,6 @@
|
||||
"tmp": "^0.0.33"
|
||||
}
|
||||
},
|
||||
"extract-numbers": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/extract-numbers/-/extract-numbers-1.0.5.tgz",
|
||||
"integrity": "sha512-MWmC/RPYU6qoOnm0tGIAaOdHcQ4DEL1JfODEF6Jpaji13KmB08EbkKRDH5W8gGJlJ6JjzwbDqpXa25WLWOltAQ=="
|
||||
},
|
||||
"extsprintf": {
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
|
||||
@ -1242,11 +1237,6 @@
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
|
||||
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
|
||||
},
|
||||
"settings-store": {
|
||||
"version": "1.4.1",
|
||||
"resolved": "https://registry.npmjs.org/settings-store/-/settings-store-1.4.1.tgz",
|
||||
"integrity": "sha512-AJ7EYdaL9TksOStjablB/6EqOJN8ZW97Kp3Vi+YuPDoegRuCJvsbZolxoqHpgSFG2Jc8trQGF+0RPeN5My2G/A=="
|
||||
},
|
||||
"shell-exec": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/shell-exec/-/shell-exec-1.0.2.tgz",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "miwatchkleaner",
|
||||
"version": "3.3.1",
|
||||
"version": "3.1.2",
|
||||
"description": "MiWatch Cleaning Tool",
|
||||
"main": "app.js",
|
||||
"bin": "app.js",
|
||||
@ -10,7 +10,7 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/karl0ss/MiWatchKleaner.git"
|
||||
"url": "http://kithub.cf/Karl/MiWatchKleaner.git"
|
||||
},
|
||||
"author": "Karl Hudgell",
|
||||
"license": "ISC",
|
||||
@ -21,14 +21,12 @@
|
||||
"chalk-rainbow": "^1.0.0",
|
||||
"clear": "^0.1.0",
|
||||
"clui": "^0.3.6",
|
||||
"extract-numbers": "^1.0.5",
|
||||
"figlet": "^1.3.0",
|
||||
"get-files-in": "^1.2.0",
|
||||
"inquirer": "^7.1.0",
|
||||
"node-fetch": "^2.6.0",
|
||||
"perfect-logger": "^2.0.1",
|
||||
"pkg": "^4.4.7",
|
||||
"settings-store": "^1.4.1",
|
||||
"shell-exec": "^1.0.2",
|
||||
"shelljs": "^0.8.4"
|
||||
},
|
||||
|
136
pages/pages.js
136
pages/pages.js
@ -6,8 +6,6 @@ const logger = require('perfect-logger');
|
||||
const Language = require("@shypes/language-translator");
|
||||
const globalVariables = require('../lib/globalVars');
|
||||
const adb = require('../lib/adb');
|
||||
const settings = require("settings-store");
|
||||
|
||||
|
||||
logger.info(process.platform + " detected")
|
||||
if (process.platform === 'win32' || process.platform === 'win64') {
|
||||
@ -27,11 +25,9 @@ module.exports = {
|
||||
common.log('main-menu-item-1')
|
||||
common.header('main-menu-item-1')
|
||||
common.print('remove-xiaomi-apps', 'whiteBright')
|
||||
const removalPackagesList = await common.getXiaomiAppsList()
|
||||
for (let package of removalPackagesList) {
|
||||
if (package.klean === "X" || package.global === "X") {
|
||||
await adb.removeXiaomiApk(package.name)
|
||||
}
|
||||
const removalPackagesList = files.loadPackageList()
|
||||
for (let package of removalPackagesList.apps) {
|
||||
await adb.removeXiaomiApk(package)
|
||||
}
|
||||
common.print('removal-complete', 'green')
|
||||
await common.pause(2000)
|
||||
@ -72,8 +68,8 @@ module.exports = {
|
||||
removeXiaomiApps: async () => {
|
||||
common.header('main-menu-item-2')
|
||||
common.log('main-menu-item-2')
|
||||
const value = await inquirer.xiaomiAppsList();
|
||||
for (let package of value.appList) {
|
||||
const value = await inquirer.removeAppsList();
|
||||
for (let package of value.removeAppsList) {
|
||||
await adb.removeXiaomiApk(package)
|
||||
}
|
||||
common.dualLog('removal-complete', 'green')
|
||||
@ -84,8 +80,8 @@ module.exports = {
|
||||
restoreXiaomiApps: async () => {
|
||||
common.header('main-menu-item-3')
|
||||
common.log('main-menu-item-3')
|
||||
const value = await inquirer.xiaomiAppsList();
|
||||
for (let package of value.appList) {
|
||||
const value = await inquirer.removeAppsList();
|
||||
for (let package of value.removeAppsList) {
|
||||
await adb.restoreXiaomiApk(package)
|
||||
}
|
||||
common.dualLog('restoring-apps-complete', 'green')
|
||||
@ -145,9 +141,9 @@ module.exports = {
|
||||
common.header('main-menu-item-7')
|
||||
common.log('main-menu-item-7')
|
||||
|
||||
let apkList = await files.getListOfAPk('./my_apk/')
|
||||
let apkList = await files.getListOfAPk('./my-apk/')
|
||||
await files.renameLocalApk(apkList)
|
||||
apkList = await files.getListOfAPk('./my_apk/')
|
||||
apkList = await files.getListOfAPk('./my-apk/')
|
||||
|
||||
for (let element of apkList) {
|
||||
console.log(await Language.get('installing') + ' ' + element)
|
||||
@ -176,38 +172,10 @@ module.exports = {
|
||||
module.exports.mainMenu()
|
||||
},
|
||||
|
||||
|
||||
changeWatchDPI: async () => {
|
||||
common.header('main-menu-item-10')
|
||||
common.log('main-menu-item-10')
|
||||
|
||||
const defaultDPI = 320
|
||||
const currentDPI = await adb.getCurrentDPI()
|
||||
console.log(chalk.white(await Language.get('default-dpi-is') + ' ' + defaultDPI))
|
||||
await common.pause(1000)
|
||||
console.log(chalk.whiteBright(await Language.get('current-dpi-is') + ' ' + currentDPI))
|
||||
if (currentDPI.includes('error')) {
|
||||
common.dualLog('failed', 'red')
|
||||
await common.pause(2000)
|
||||
module.exports.mainMenu()
|
||||
} else {
|
||||
await common.pause(1000)
|
||||
const v = await inquirer.setDPI()
|
||||
const setDPIValue = v.setDPI
|
||||
|
||||
const t = await adb.setDPI(setDPIValue)
|
||||
|
||||
common.dualLog('complete', 'green')
|
||||
await common.pause(2000)
|
||||
module.exports.mainMenu()
|
||||
}
|
||||
},
|
||||
|
||||
connectWatch: async () => {
|
||||
common.header('connect-to-watch')
|
||||
common.log('connect-to-watch')
|
||||
const value = await inquirer.connectionType()
|
||||
await common.pause(1000)
|
||||
connected = await adb.watchConnection(value)
|
||||
if (connected != true) {
|
||||
module.exports.connectWatch()
|
||||
@ -217,88 +185,36 @@ module.exports = {
|
||||
},
|
||||
|
||||
selectLanguage: async () => {
|
||||
if (await settings.value("Lang") != undefined) {
|
||||
common.log(await settings.value("Lang") + " Selected")
|
||||
module.exports.connectWatch()
|
||||
} else {
|
||||
common.header('Select Language')
|
||||
common.log('Select Language')
|
||||
const v = await inquirer.LanguageSelect()
|
||||
settings.setValue("Lang", v.selection)
|
||||
}
|
||||
},
|
||||
|
||||
globalTheme: async () => {
|
||||
const v = await inquirer.globalMenu()
|
||||
console.log(v)
|
||||
if (v.globalSelection === "enable global theme") {
|
||||
common.log('main-menu-item-11')
|
||||
common.header('main-menu-item-11')
|
||||
common.print('enable-global-theme', 'whiteBright')
|
||||
const removalPackagesList = await common.getXiaomiAppsList()
|
||||
for (let package of removalPackagesList) {
|
||||
if (package.global === "X") {
|
||||
await adb.removeXiaomiApk(package.name)
|
||||
}
|
||||
}
|
||||
common.print('removal-complete', 'green')
|
||||
await common.pause(2000)
|
||||
// common.log('removal-complete')
|
||||
// common.log('compatible-apps')
|
||||
module.exports.mainMenu()
|
||||
} else {
|
||||
common.log('main-menu-item-11')
|
||||
common.header('main-menu-item-11')
|
||||
common.print('disable-global-theme', 'whiteBright')
|
||||
const removalPackagesList = await common.getXiaomiAppsList()
|
||||
for (let package of removalPackagesList) {
|
||||
if (package.global === "X") {
|
||||
await adb.restoreXiaomiApk(package.name)
|
||||
}
|
||||
}
|
||||
// common.print('removal-complete', 'green')
|
||||
await common.pause(2000)
|
||||
// common.log('removal-complete')
|
||||
// common.log('compatible-apps')
|
||||
module.exports.mainMenu()
|
||||
}
|
||||
},
|
||||
|
||||
xiaomiApps: async () => {
|
||||
const v = await inquirer.xiaomiMenu()
|
||||
console.log(v)
|
||||
n = await Language.get('main-menu-item-2')
|
||||
if (v.xiaomiSelection === n.toLowerCase()) {
|
||||
module.exports.removeXiaomiApps()
|
||||
} else {
|
||||
module.exports.restoreXiaomiApps()
|
||||
}
|
||||
common.header('Select Language')
|
||||
common.log('Select Language')
|
||||
const v = await inquirer.LanguageSelect()
|
||||
globalVariables.language = v.selection
|
||||
module.exports.connectWatch()
|
||||
},
|
||||
|
||||
mainMenu: async () => {
|
||||
common.header('Main Menu')
|
||||
const mainMenuSelection = await inquirer.mainMenu();
|
||||
menu_1 = await Language.get('main-menu-item-1')
|
||||
menu_12 = await Language.get('main-menu-item-12')
|
||||
menu_2 = await Language.get('main-menu-item-2')
|
||||
menu_3 = await Language.get('main-menu-item-3')
|
||||
menu_4 = await Language.get('main-menu-item-4')
|
||||
menu_5 = await Language.get('main-menu-item-5')
|
||||
menu_6 = await Language.get('main-menu-item-6')
|
||||
menu_7 = await Language.get('main-menu-item-7')
|
||||
menu_8 = await Language.get('main-menu-item-8')
|
||||
menu_9 = await Language.get('main-menu-item-9')
|
||||
menu_10 = await Language.get('main-menu-item-10')
|
||||
menu_11 = await Language.get('main-menu-item-11')
|
||||
|
||||
switch (mainMenuSelection.mainMenu) {
|
||||
case menu_1.toLowerCase():
|
||||
module.exports.oneClick()
|
||||
break;
|
||||
case menu_12.toLowerCase():
|
||||
module.exports.xiaomiApps()
|
||||
case menu_2.toLowerCase():
|
||||
module.exports.removeXiaomiApps()
|
||||
break;
|
||||
case menu_3.toLowerCase():
|
||||
module.exports.restoreXiaomiApps()
|
||||
break;
|
||||
// case menu_3.toLowerCase():
|
||||
// module.exports.restoreXiaomiApps()
|
||||
// break;
|
||||
case menu_4.toLowerCase():
|
||||
module.exports.installCompatibleApps()
|
||||
break;
|
||||
@ -314,17 +230,7 @@ module.exports = {
|
||||
case menu_8.toLowerCase():
|
||||
module.exports.batchRemoveInstalledApps()
|
||||
break;
|
||||
case '-----------------------':
|
||||
module.exports.mainMenu()
|
||||
break;
|
||||
case menu_10.toLowerCase():
|
||||
module.exports.changeWatchDPI()
|
||||
break;
|
||||
case menu_9.toLowerCase():
|
||||
process.kill(process.pid)
|
||||
break;
|
||||
case menu_11.toLowerCase():
|
||||
module.exports.globalTheme();
|
||||
break;
|
||||
default:
|
||||
// code block
|
||||
|
Loading…
x
Reference in New Issue
Block a user