Skip to content

Commit

Permalink
Use translatable string
Browse files Browse the repository at this point in the history
  • Loading branch information
seadowg committed May 23, 2024
1 parent 38960bb commit 023639c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.RecyclerView.ViewHolder
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import org.odk.collect.androidshared.ui.enableIconsVisibility
import org.odk.collect.entities.databinding.AddEntitiesDialogLayoutBinding
import org.odk.collect.entities.databinding.EntityListItemLayoutBinding
import org.odk.collect.entities.databinding.ListLayoutBinding
Expand Down Expand Up @@ -75,7 +74,7 @@ private class ListsMenuProvider(
val binding = AddEntitiesDialogLayoutBinding.inflate(LayoutInflater.from(context))
MaterialAlertDialogBuilder(context)
.setView(binding.root)
.setTitle("Add entity list")
.setTitle(org.odk.collect.strings.R.string.add_entity_list)
.setPositiveButton(org.odk.collect.strings.R.string.add) { _, _ ->
entitiesViewModel.addEntityList(binding.entityListName.text.toString())
}
Expand Down

0 comments on commit 023639c

Please sign in to comment.