diff --git a/OsmAnd-telegram/res/values/strings.xml b/OsmAnd-telegram/res/values/strings.xml index d8b0962262..4cc84add9b 100644 --- a/OsmAnd-telegram/res/values/strings.xml +++ b/OsmAnd-telegram/res/values/strings.xml @@ -1,4 +1,5 @@ + Install Share Back Visible time for all diff --git a/OsmAnd-telegram/src/net/osmand/telegram/ui/MainActivity.kt b/OsmAnd-telegram/src/net/osmand/telegram/ui/MainActivity.kt index f6cd589c61..02de7ff700 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/ui/MainActivity.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/ui/MainActivity.kt @@ -391,8 +391,8 @@ class MainActivity : AppCompatActivity(), TelegramListener, ActionButtonsListene override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { val builder = AlertDialog.Builder(requireContext()) builder.setView(R.layout.install_osmand_dialog) - .setNegativeButton("Cancel", null) - .setPositiveButton("Install") { _, _ -> + .setNegativeButton(R.string.shared_string_cancel, null) + .setPositiveButton(R.string.shared_string_install) { _, _ -> val intent = Intent() intent.data = Uri.parse("market://details?id=net.osmand.plus") startActivity(intent)