Commit 43a5620e by Lee Jaebin

文言の%1$sに値セットするように対応

parent b6ccdb4a
...@@ -203,7 +203,7 @@ public class BlePairingSettingActivity extends ABVUIActivity { ...@@ -203,7 +203,7 @@ public class BlePairingSettingActivity extends ABVUIActivity {
switch (requestCode) { switch (requestCode) {
case REQUEST_ENABLEBLUETOOTH: // Bluetooth有効化要求 case REQUEST_ENABLEBLUETOOTH: // Bluetooth有効化要求
if( Activity.RESULT_CANCELED == resultCode ) { // 有効にされなかった if( Activity.RESULT_CANCELED == resultCode ) { // 有効にされなかった
ABVToastUtil.showMakeText(getApplicationContext(), getString(R.string.msg_scan_bluetooth_no_allow), Toast.LENGTH_SHORT); ABVToastUtil.showMakeText(getApplicationContext(), String.format(getString(R.string.msg_scan_bluetooth_no_allow), getString(R.string.chino_machine)), Toast.LENGTH_SHORT);
return; return;
} }
break; break;
......
...@@ -162,7 +162,7 @@ public class SppBluetoothPairingSettingActivity extends ABVUIActivity { ...@@ -162,7 +162,7 @@ public class SppBluetoothPairingSettingActivity extends ABVUIActivity {
switch (requestCode) { switch (requestCode) {
case REQUEST_ENABLEBLUETOOTH: // Bluetooth有効化要求 case REQUEST_ENABLEBLUETOOTH: // Bluetooth有効化要求
if( Activity.RESULT_CANCELED == resultCode ) { // 有効にされなかった if( Activity.RESULT_CANCELED == resultCode ) { // 有効にされなかった
ABVToastUtil.showMakeText(getApplicationContext(), getString(R.string.msg_scan_bluetooth_no_allow), Toast.LENGTH_SHORT); ABVToastUtil.showMakeText(getApplicationContext(), String.format(getString(R.string.msg_scan_bluetooth_no_allow), getString(R.string.spp_machine)), Toast.LENGTH_SHORT);
return; return;
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment