Added translatable strings for some dialog button titles.
This commit is contained in:
@@ -862,7 +862,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
tv.setTextColor(warnTextColour);
|
||||
|
||||
tv = (TextView) findViewById(R.id.pebbleTv);
|
||||
tv.setText(getString(R.string.HR_Equals) + " --- bpm\nO2 Sat = --- %");
|
||||
tv.setText(getString(R.string.HR_Equals) + " --- bpm\n"+getString(R.string.o2_sat)+" = --- %");
|
||||
tv.setBackgroundColor(warnColour);
|
||||
tv.setTextColor(warnTextColour);
|
||||
|
||||
|
||||
@@ -552,7 +552,7 @@ public class StartupActivity extends AppCompatActivity {
|
||||
//MainActivity.this.finish();
|
||||
}
|
||||
})
|
||||
.setPositiveButton("Privacy Policy", new DialogInterface.OnClickListener() {
|
||||
.setPositiveButton(R.string.privacy_policy, new DialogInterface.OnClickListener() {
|
||||
public void onClick(DialogInterface dialog, int id) {
|
||||
dialog.cancel();
|
||||
mDialogDisplayed = false;
|
||||
@@ -564,7 +564,7 @@ public class StartupActivity extends AppCompatActivity {
|
||||
mDialogDisplayed = false;
|
||||
}
|
||||
})
|
||||
.setNegativeButton("Data Sharing", new DialogInterface.OnClickListener() {
|
||||
.setNegativeButton(R.string.data_sharing, new DialogInterface.OnClickListener() {
|
||||
public void onClick(DialogInterface dialog, int id) {
|
||||
dialog.cancel();
|
||||
mDialogDisplayed = false;
|
||||
|
||||
Reference in New Issue
Block a user