Merge pull request #3095 from ssuppe/dev
Include profile name in profile delete confirmation dialog
This commit is contained in:
commit
0beaacbe31
|
@ -300,7 +300,7 @@ class ProfileFragment : DaggerFragment() {
|
|||
|
||||
binding.profileRemove.setOnClickListener {
|
||||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, rh.gs(R.string.delete_current_profile), {
|
||||
OKDialog.showConfirmation(activity, rh.gs(R.string.delete_current_profile, profilePlugin.currentProfile()?.name), {
|
||||
uel.log(
|
||||
UserEntry.Action.PROFILE_REMOVED, UserEntry.Sources.LocalProfile, ValueWithUnit.SimpleString(
|
||||
profilePlugin.currentProfile()?.name
|
||||
|
|
|
@ -149,7 +149,7 @@
|
|||
<string name="a11y_add_new_to_list">add new to list</string>
|
||||
<string name="do_you_want_switch_profile">Do you want to switch profile and discard changes made to current profile?</string>
|
||||
<string name="save_or_reset_changes_first">Save or reset current changes first</string>
|
||||
<string name="delete_current_profile">Delete current profile?</string>
|
||||
<string name="delete_current_profile">Delete profile \"%1$s\"?</string>
|
||||
<string name="units_colon">Units:</string>
|
||||
<string name="missing_profile_name">Missing profile name</string>
|
||||
<string name="error_in_ic_values">Error in IC values</string>
|
||||
|
|
Loading…
Reference in a new issue