Skip to content

Commit e88842d

Browse files
Merge pull request #14 from johnhowe/master
Translated some error strings from Portuguese to English
2 parents 48c3843 + 6c88787 commit e88842d

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

BluetoothClassicLibrary/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ android {
77
minSdkVersion 7
88
targetSdkVersion 7
99
versionCode 11
10-
versionName "0.3.4"
10+
versionName "0.3.5"
1111
}
1212
buildTypes {
1313
release {

BluetoothClassicLibrary/src/main/java/com/github/douglasjunior/bluetoothclassiclibrary/BluetoothClassicService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private void connectionFailed() {
184184
runOnMainThread(new Runnable() {
185185
@Override
186186
public void run() {
187-
onEventCallback.onToast("Não foi possível conectar ao dispositivo.");
187+
onEventCallback.onToast("Could not connect to device");
188188
}
189189
});
190190
}
@@ -201,7 +201,7 @@ private void connectionLost() {
201201
runOnMainThread(new Runnable() {
202202
@Override
203203
public void run() {
204-
onEventCallback.onToast("Conexão perdida com o dispositivo.");
204+
onEventCallback.onToast("Connection lost");
205205
}
206206
});
207207
}

BluetoothClassicLibrary/src/main/java/com/github/douglasjunior/bluetoothclassiclibrary/BluetoothDeviceDecoratorNull.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static BluetoothDeviceDecoratorNull getInstance() {
4141

4242
@Override
4343
public String getName() {
44-
return "Nenhum dispositivo encontrado.";
44+
return "No device found";
4545
}
4646

4747
@Override

BluetoothLowEnergyLibrary/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ android {
77
minSdkVersion 18
88
targetSdkVersion 18
99
versionCode 11
10-
versionName "0.3.4"
10+
versionName "0.3.5"
1111
}
1212
buildTypes {
1313
release {

BluetoothLowEnergyLibrary/src/main/java/com/github/douglasjunior/bluetoothlowenergylibrary/BluetoothLeService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ public void onConnectionStateChange(final BluetoothGatt gatt, int status, final
142142
if (status != BluetoothGatt.GATT_SUCCESS || newState == BluetoothProfile.STATE_DISCONNECTED) {
143143
gatt.close();
144144
if (mStatus == BluetoothStatus.NONE || mStatus == BluetoothStatus.CONNECTING)
145-
makeToast("Não foi possível conectar ao dispositivo");
145+
makeToast("Unable to connect to device");
146146
else if (mStatus == BluetoothStatus.CONNECTED)
147-
makeToast("Conexão perdida com o dispositivo");
147+
makeToast("Connection lost");
148148
updateState(BluetoothStatus.NONE);
149149
} else {
150150
if (newState == BluetoothProfile.STATE_CONNECTED) {

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ See the [sample project](https://github.com/douglasjunior/AndroidBluetoothLibrar
119119
2.1. Bluetooth Classic
120120
```javascript
121121
dependencies {
122-
compile 'com.github.douglasjunior.AndroidBluetoothLibrary:BluetoothClassicLibrary:0.3.4'
122+
compile 'com.github.douglasjunior.AndroidBluetoothLibrary:BluetoothClassicLibrary:0.3.5'
123123
}
124124
```
125125

126126
2.2. Bluetooth Low Energy
127127
```javascript
128128
dependencies {
129-
compile 'com.github.douglasjunior.AndroidBluetoothLibrary:BluetoothLowEnergyLibrary:0.3.4'
129+
compile 'com.github.douglasjunior.AndroidBluetoothLibrary:BluetoothLowEnergyLibrary:0.3.5'
130130
}
131131
```
132132

0 commit comments

Comments
 (0)