diff --git a/app/src/main/java/org/schabi/newpipe/about/LicenseFragmentHelper.kt b/app/src/main/java/org/schabi/newpipe/about/LicenseFragmentHelper.kt index f9c7807d0..f24116e23 100644 --- a/app/src/main/java/org/schabi/newpipe/about/LicenseFragmentHelper.kt +++ b/app/src/main/java/org/schabi/newpipe/about/LicenseFragmentHelper.kt @@ -135,9 +135,9 @@ object LicenseFragmentHelper { alert.setView(webView) Localization.assureCorrectAppLanguage(context) alert.setPositiveButton( - "DISMISS" + R.string.dismiss ) { dialog, _ -> dialog.dismiss() } - alert.setNeutralButton("Open website") { _, _ -> + alert.setNeutralButton(R.string.open_website_license) { _, _ -> ShareUtils.openUrlInBrowser(context, component.link) } alert.show() diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4fb4019bd..f6b740c14 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -732,4 +732,5 @@ Unlisted Private Internal + Open Website \ No newline at end of file