string fix #108

Merged
s411201 merged 1 commits from blackNwhiteLists into develop 2019-01-02 12:22:10 +01:00
2 changed files with 4 additions and 3 deletions

View File

@ -89,7 +89,7 @@ public class BlackList extends AppCompatActivity {
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
setContentView(R.layout.activity_black_list); setContentView(R.layout.activity_black_list);
ButterKnife.bind(this); ButterKnife.bind(this);
aSwitch.setText(getString(R.string.blacklist) +" ON"); aSwitch.setText(getString(R.string.action_black_list) +" ON");
tutorId = PrefUtils.getUserId(getApplicationContext()); tutorId = PrefUtils.getUserId(getApplicationContext());
Toolbar toolbar = findViewById(R.id.toolbar); Toolbar toolbar = findViewById(R.id.toolbar);
@ -312,10 +312,10 @@ public class BlackList extends AppCompatActivity {
private void handleSwitch(){ private void handleSwitch(){
aSwitch.setOnCheckedChangeListener((buttonView, isChecked) -> { aSwitch.setOnCheckedChangeListener((buttonView, isChecked) -> {
if (isChecked){ if (isChecked){
aSwitch.setText(getString(R.string.blacklist) + " "+ getString(R.string.on)); aSwitch.setText(getString(R.string.action_black_list) + " "+ getString(R.string.on));
handleChangeRequest(true); handleChangeRequest(true);
}else { }else {
aSwitch.setText(getString(R.string.blacklist) + " "+getString(R.string.off)); aSwitch.setText(getString(R.string.action_black_list) + " "+getString(R.string.off));
handleChangeRequest(false); handleChangeRequest(false);
} }
}); });

View File

@ -419,6 +419,7 @@
<string name="on">ON</string> <string name="on">ON</string>
<string name="off">OFF</string> <string name="off">OFF</string>
<string name="scrap_tutor_tab">Scrap!</string> <string name="scrap_tutor_tab">Scrap!</string>
<string name="scrap_tutor_msg">Data updated!</string>
<string name="no_online_users">Currently, there are no\nonline users.</string> <string name="no_online_users">Currently, there are no\nonline users.</string>
<string name="no_offline_users">Currently, there are no\noffline users.</string> <string name="no_offline_users">Currently, there are no\noffline users.</string>
<string name="only_online_users">Only online users</string> <string name="only_online_users">Only online users</string>