From 8cb64a02f36c94fff8a9b97735dc42df5305c0d0 Mon Sep 17 00:00:00 2001 From: Amartya Mondal Date: Tue, 16 Jul 2019 16:54:08 +0530 Subject: [PATCH 1/2] chore: Fix typos present in the app --- app/src/main/res/values/strings.xml | 32 ++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3a72b43bae..43a25d32f9 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -292,7 +292,7 @@ Device Connected successfully! Authentication credentials sent successfully! - Wifi credentials sent successfully! + Wi-Fi credentials sent successfully! Device config successfully Connection failed Failed to configure the wifi connection to your device. Please try again. @@ -302,37 +302,37 @@ Scanning for devices... No devices found If you\'re setting up a new device, make sure it\'s \n nearby and plugged into a wall outlet - No WiFi-Networks found - Make sure there are WiFi connections available \n near you. - Connect New Device - Wifi connection failed + No Wi-Fi-Networks found + Make sure there are Wi-Fi connections available \n near you. + Connect new device + Wi-Fi connection failed Please enter your account password or choose the anonymous mode Adding Room... Failed to add room to the device. Please try again Adding Room Failed Setting up your device SUSI.AI - + 1. Connect - 2. Wifi + 2. Wi-Fi 3. Room 4. Account - To start the configuration process, plug in your SUSI.AI smart device and wait for the \“Ping\” sound. The SUSI.AI device will automatically open a WiFi hotspot. Please connect your phone to the wireless network with the name \“SUSI.AI\”. + To start the configuration process, plug in your SUSI.AI smart device and wait for the \“Ping\” sound. The SUSI.AI device will automatically open a Wi-Fi hotspot. Please connect your phone to the wireless network with the name \“SUSI.AI\”. I cannot connect Connected to SUSI.AI WiFi - Please check that your SUSI.AI smart device is plugged in and the latest SUSI.AI software is installed. Ensure you are disconnected from other WiFi networks. - Your phone is not connected to SUSI.AI hotspot. Please check your wifi connections and try again. - Wifi Connection not available - Scanning for available wifi\'s - Available Wifi + Please check that your SUSI.AI smart device is plugged in and the latest SUSI.AI software is installed. Ensure you are disconnected from other Wi-Fi networks. + Your phone is not connected to SUSI.AI hotspot. Please check your Wi-Fi connections and try again. + Wi-Fi Connection not available + Scanning for available Wi-Fi\'s + Available Wi-Fi Anonymous Mode Finish If you do not link the SUSI.AI smart device with an online account, you will not be able to reconfigure your speaker with the mobile app afterwards and add personal skills of services like music providers. To change anything you will need a hard reset of the device. - I know what to do + Use anonymous mode I want to use all features and enter my password Yes, Finish Setup - The SUSI.AI smart device will now shut down the hotspot and connect with your WiFi home network and online account. If SUSI.AI is not able to connect to your home WiFi network after 3 times, it will restart the SUSI.AI hotspot again and you can start the setup process again. If SUSI.AI connects successfully with the Internet and your account, it will show up in your list of connected devices and you can continue to configure its settings. + The SUSI.AI smart device will now shut down the hotspot and connect with your Wi-Fi home network and online account. If SUSI.AI is not able to connect to your home Wi-Fi network after 3 times, it will restart the SUSI.AI hotspot again and you can start the setup process again. If SUSI.AI connects successfully with the Internet and your account, it will show up in your list of connected devices and you can continue to configure its settings. Go Back Finish Setup You have configured a SUSI.AI smart device. Please wait a moment to check if the process was successful and go to the list of \“Smart Devices\” in your settings to check and continue to configure your device settings. Please connect your phone with the Internet now. @@ -504,7 +504,7 @@ What skills do SUSI have? To know about the skills that SUSI posses move to \'SUSI.AI Skills\' page. You can reach there just by clicking on the \'SUSI\' logo present at the top right corner of the Chat page. How to change SUSI voice ? - In order to change voice and pitch of Susi, go to \'Settings \' and scroll down until you find \'Click here to change SUSI voice\' and change voice according to your preference. + In order to change voice and pitch of Susi, go to \'Settings \' and scroll down until you find \'Click here to change SUSI voice\' and change voice according to your preference. Welcome to SUSI.AI Thanks for using our products and services (“Services”). The Services are provided by SUSI Inc. (“SUSI”), located at 93 Mau Than, Can Tho City, Vietnam. By using our Services, you are agreeing to these terms. Please read them carefully. Using Our Services From 93edd876eeb801dd759822add0608c4786e30bfd Mon Sep 17 00:00:00 2001 From: Amartya Mondal Date: Wed, 17 Jul 2019 11:20:58 +0530 Subject: [PATCH 2/2] fix: Rename string --- .../susi/ai/device/deviceconnect/DeviceConnectFragment.kt | 2 +- app/src/main/res/values/strings.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/fossasia/susi/ai/device/deviceconnect/DeviceConnectFragment.kt b/app/src/main/java/org/fossasia/susi/ai/device/deviceconnect/DeviceConnectFragment.kt index bde3e8b772..8386dd0c02 100644 --- a/app/src/main/java/org/fossasia/susi/ai/device/deviceconnect/DeviceConnectFragment.kt +++ b/app/src/main/java/org/fossasia/susi/ai/device/deviceconnect/DeviceConnectFragment.kt @@ -357,7 +357,7 @@ class DeviceConnectFragment : Fragment(), IDeviceConnectView { val dialogBuilder = AlertDialog.Builder(requireContext()) dialogBuilder.setMessage(getString(R.string.anonymous_details)) .setCancelable(false) - .setPositiveButton(getString(R.string.know_what_to_do), DialogInterface.OnClickListener { dialog, id -> + .setPositiveButton(getString(R.string.use_anonymous_mode), DialogInterface.OnClickListener { dialog, id -> dialog.cancel() ANONYMOUS_MODE = true deviceConnectPresenter.makeConfigRequest() diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 43a25d32f9..c97fa69d03 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -329,7 +329,7 @@ Anonymous Mode Finish If you do not link the SUSI.AI smart device with an online account, you will not be able to reconfigure your speaker with the mobile app afterwards and add personal skills of services like music providers. To change anything you will need a hard reset of the device. - Use anonymous mode + Yes, use anonymous mode I want to use all features and enter my password Yes, Finish Setup The SUSI.AI smart device will now shut down the hotspot and connect with your Wi-Fi home network and online account. If SUSI.AI is not able to connect to your home Wi-Fi network after 3 times, it will restart the SUSI.AI hotspot again and you can start the setup process again. If SUSI.AI connects successfully with the Internet and your account, it will show up in your list of connected devices and you can continue to configure its settings.