mirror of https://github.com/MISP/misp-bump
add and edit translations for dialogs
parent
1caf9ad898
commit
8869c405cb
|
@ -356,16 +356,16 @@ public class QrSyncActivity extends AppCompatActivity implements View.OnClickLis
|
||||||
|
|
||||||
AlertDialog.Builder adb = new AlertDialog.Builder(this);
|
AlertDialog.Builder adb = new AlertDialog.Builder(this);
|
||||||
|
|
||||||
adb.setTitle("Proceed");
|
adb.setTitle(getString(R.string.proceed));
|
||||||
|
|
||||||
if (currentScanState == ScanState.public_key) {
|
if (currentScanState == ScanState.public_key) {
|
||||||
adb.setMessage("Did your sync partner already scan your Public Key?");
|
adb.setMessage(getString(R.string.request_scanned_pk));
|
||||||
} else {
|
} else {
|
||||||
adb.setMessage("Did your sync partner already scan your Sync Information?");
|
adb.setMessage(getString(R.string.request_scanned_si));
|
||||||
}
|
}
|
||||||
|
|
||||||
adb.setPositiveButton("Yes", posListener);
|
adb.setPositiveButton(getString(R.string.yes), posListener);
|
||||||
adb.setNegativeButton("No", null);
|
adb.setNegativeButton(getString(R.string.no), null);
|
||||||
|
|
||||||
adb.create().show();
|
adb.create().show();
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,4 +44,9 @@
|
||||||
<string name="dialog_open_browser_title">Im Browser öffnen</string>
|
<string name="dialog_open_browser_title">Im Browser öffnen</string>
|
||||||
<string name="open">öffnen</string>
|
<string name="open">öffnen</string>
|
||||||
<string name="settings">Einstellungen</string>
|
<string name="settings">Einstellungen</string>
|
||||||
|
<string name="request_scanned_pk">Wurde Ihr Öffentlicher Schlüssel bereits von Ihrem Partner gescannt?</string>
|
||||||
|
<string name="request_scanned_si">Wurden Ihre Synchronisations Informationen bereits von Ihrem Partner gescannt?</string>
|
||||||
|
<string name="yes">Ja</string>
|
||||||
|
<string name="no">Nein</string>
|
||||||
|
<string name="proceed">Fortfahren</string>
|
||||||
</resources>
|
</resources>
|
|
@ -43,6 +43,11 @@
|
||||||
<string name="dialog_open_browser_title">Open in browser</string>
|
<string name="dialog_open_browser_title">Open in browser</string>
|
||||||
<string name="open">open</string>
|
<string name="open">open</string>
|
||||||
<string name="settings">Settings</string>
|
<string name="settings">Settings</string>
|
||||||
|
<string name="request_scanned_pk">Has your sync partner scanned your Public Key?</string>
|
||||||
|
<string name="request_scanned_si">Has your sync partner scanned your Sync Information?</string>
|
||||||
|
<string name="yes">Yes</string>
|
||||||
|
<string name="no">No</string>
|
||||||
|
<string name="proceed">Proceed</string>
|
||||||
|
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in New Issue