mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 21:55:10 +00:00
Fixed untranslatable strings
BUG: 400810
This commit is contained in:
@@ -198,6 +198,7 @@
|
|||||||
<string name="pair_device_action">Pair a new device</string>
|
<string name="pair_device_action">Pair a new device</string>
|
||||||
<string name="unpair_device_action">Unpair %s</string>
|
<string name="unpair_device_action">Unpair %s</string>
|
||||||
<string name="custom_device_list">Add devices by IP</string>
|
<string name="custom_device_list">Add devices by IP</string>
|
||||||
|
<string name="delete_custom_device">Delete %s?</string>
|
||||||
<string name="share_notification_preference">Noisy notifications</string>
|
<string name="share_notification_preference">Noisy notifications</string>
|
||||||
<string name="share_notification_preference_summary">Vibrate and play a sound when receiving a file</string>
|
<string name="share_notification_preference_summary">Vibrate and play a sound when receiving a file</string>
|
||||||
<string name="share_destination_customize">Customize destination directory</string>
|
<string name="share_destination_customize">Customize destination directory</string>
|
||||||
|
@@ -95,9 +95,9 @@ public class CustomDevicesActivity extends AppCompatActivity {
|
|||||||
};
|
};
|
||||||
|
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(CustomDevicesActivity.this);
|
AlertDialog.Builder builder = new AlertDialog.Builder(CustomDevicesActivity.this);
|
||||||
builder.setMessage("Delete " + ipAddressList.get(position) + " ?");
|
builder.setMessage(getString(R.string.delete_custom_device, ipAddressList.get(position)));
|
||||||
builder.setPositiveButton("Yes", confirmationListener);
|
builder.setPositiveButton(R.string.ok, confirmationListener);
|
||||||
builder.setNegativeButton("No", confirmationListener);
|
builder.setNegativeButton(R.string.cancel, confirmationListener);
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { //DismissListener
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { //DismissListener
|
||||||
dialogAlreadyShown = true;
|
dialogAlreadyShown = true;
|
||||||
|
Reference in New Issue
Block a user