mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-23 03:35:11 +00:00
moved string to strings.xml
This commit is contained in:
parent
a6048b4df0
commit
b20f20e853
2 changed files with 4 additions and 3 deletions
|
@ -80,7 +80,7 @@ object DialogContainer {
|
||||||
}
|
}
|
||||||
setNeutralButton(context.getString(R.string.close)) { dialog, _ -> dialog.dismiss() }
|
setNeutralButton(context.getString(R.string.close)) { dialog, _ -> dialog.dismiss() }
|
||||||
if (fullMsg != null)
|
if (fullMsg != null)
|
||||||
setNegativeButton("Advanced") { _, _ -> basicDialog("Advanced", fullMsg, context) }
|
setNegativeButton(context.getString(R.string.advanced)) { _, _ -> basicDialog(context.getString(R.string.advanced), fullMsg, context) }
|
||||||
}
|
}
|
||||||
context.getString(R.string.installation_miui) -> {
|
context.getString(R.string.installation_miui) -> {
|
||||||
setPositiveButton(context.getString(R.string.guide)) { _, _ ->
|
setPositiveButton(context.getString(R.string.guide)) { _, _ ->
|
||||||
|
@ -88,12 +88,12 @@ object DialogContainer {
|
||||||
}
|
}
|
||||||
setNeutralButton(context.getString(R.string.close)) { dialog, _ -> dialog.dismiss() }
|
setNeutralButton(context.getString(R.string.close)) { dialog, _ -> dialog.dismiss() }
|
||||||
if (fullMsg != null)
|
if (fullMsg != null)
|
||||||
setNegativeButton("Advanced") { _, _ -> basicDialog("Advanced", fullMsg, context) }
|
setNegativeButton(context.getString(R.string.advanced)) { _, _ -> basicDialog(context.getString(R.string.advanced), fullMsg, context) }
|
||||||
}
|
}
|
||||||
else -> {
|
else -> {
|
||||||
setPositiveButton(context.getString(R.string.close)) { dialog, _ -> dialog.dismiss() }
|
setPositiveButton(context.getString(R.string.close)) { dialog, _ -> dialog.dismiss() }
|
||||||
if (fullMsg != null)
|
if (fullMsg != null)
|
||||||
setNegativeButton("Advanced") { _, _ -> basicDialog("Advanced", fullMsg, context) }
|
setNegativeButton(context.getString(R.string.advanced)) { _, _ -> basicDialog(context.getString(R.string.advanced), fullMsg, context) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
create()
|
create()
|
||||||
|
|
|
@ -64,6 +64,7 @@
|
||||||
<string name="variant">Variant</string>
|
<string name="variant">Variant</string>
|
||||||
|
|
||||||
<!-- Dialogs -->
|
<!-- Dialogs -->
|
||||||
|
<string name="advanced">Advanced</string>
|
||||||
<string name="app_install_files_detected">%1$s installation files detected!</string>
|
<string name="app_install_files_detected">%1$s installation files detected!</string>
|
||||||
<string name="app_install_files_detected_summary">Manager detected that all necessary files for %1$s installation were found. Do you want to install?</string>
|
<string name="app_install_files_detected_summary">Manager detected that all necessary files for %1$s installation were found. Do you want to install?</string>
|
||||||
<string name="checking_updates">Checking for updates…</string>
|
<string name="checking_updates">Checking for updates…</string>
|
||||||
|
|
Loading…
Reference in a new issue