mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 22:41:48 +01:00
Remove unused strings
This commit is contained in:
parent
81d39ea272
commit
b27669ee32
@ -82,7 +82,7 @@ class CategoryActivity : BaseRxActivity<CategoryPresenter>(), ActionMode.Callbac
|
|||||||
fab.setOnClickListener({ v ->
|
fab.setOnClickListener({ v ->
|
||||||
MaterialDialog.Builder(this)
|
MaterialDialog.Builder(this)
|
||||||
.title(R.string.action_add_category)
|
.title(R.string.action_add_category)
|
||||||
.negativeText(R.string.button_cancel)
|
.negativeText(android.R.string.cancel)
|
||||||
.input(R.string.name, 0, false)
|
.input(R.string.name, 0, false)
|
||||||
{ dialog, input -> presenter.createCategory(input.toString()) }
|
{ dialog, input -> presenter.createCategory(input.toString()) }
|
||||||
.show()
|
.show()
|
||||||
@ -125,7 +125,7 @@ class CategoryActivity : BaseRxActivity<CategoryPresenter>(), ActionMode.Callbac
|
|||||||
private fun editCategory(category: Category) {
|
private fun editCategory(category: Category) {
|
||||||
MaterialDialog.Builder(this)
|
MaterialDialog.Builder(this)
|
||||||
.title(R.string.action_rename_category)
|
.title(R.string.action_rename_category)
|
||||||
.negativeText(R.string.button_cancel)
|
.negativeText(android.R.string.cancel)
|
||||||
.onNegative { materialDialog, dialogAction -> destroyActionModeIfNeeded() }
|
.onNegative { materialDialog, dialogAction -> destroyActionModeIfNeeded() }
|
||||||
.input(getString(R.string.name), category.name, false)
|
.input(getString(R.string.name), category.name, false)
|
||||||
{ dialog, input -> presenter.renameCategory(category, input.toString()) }
|
{ dialog, input -> presenter.renameCategory(category, input.toString()) }
|
||||||
|
@ -85,8 +85,8 @@ class SettingsAdvancedFragment : SettingsNestedFragment() {
|
|||||||
private fun clearDatabase() {
|
private fun clearDatabase() {
|
||||||
MaterialDialog.Builder(activity)
|
MaterialDialog.Builder(activity)
|
||||||
.content(R.string.clear_database_confirmation)
|
.content(R.string.clear_database_confirmation)
|
||||||
.positiveText(R.string.button_yes)
|
.positiveText(android.R.string.yes)
|
||||||
.negativeText(R.string.button_no)
|
.negativeText(android.R.string.no)
|
||||||
.onPositive { dialog, which -> db.deleteMangasNotInLibrary().executeAsBlocking() }
|
.onPositive { dialog, which -> db.deleteMangasNotInLibrary().executeAsBlocking() }
|
||||||
.show()
|
.show()
|
||||||
}
|
}
|
||||||
|
@ -51,12 +51,6 @@
|
|||||||
<string name="action_cancel">Cancel</string>
|
<string name="action_cancel">Cancel</string>
|
||||||
<string name="action_sort">Sort</string>
|
<string name="action_sort">Sort</string>
|
||||||
|
|
||||||
<!-- Buttons -->
|
|
||||||
<string name="button_ok">OK</string>
|
|
||||||
<string name="button_cancel">Cancel</string>
|
|
||||||
<string name="button_yes">Yes</string>
|
|
||||||
<string name="button_no">No</string>
|
|
||||||
|
|
||||||
<!-- Operations -->
|
<!-- Operations -->
|
||||||
<string name="deleting">Deleting…</string>
|
<string name="deleting">Deleting…</string>
|
||||||
<string name="loading">Loading…</string>
|
<string name="loading">Loading…</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user