Fixes for a few strings
This commit is contained in:
parent
ff0516726b
commit
2ee69c2ac4
@ -230,7 +230,7 @@ class SettingsEhController : SettingsController() {
|
|||||||
key = PreferenceKeys.eh_tag_filtering_value
|
key = PreferenceKeys.eh_tag_filtering_value
|
||||||
defaultValue = 0
|
defaultValue = 0
|
||||||
|
|
||||||
summaryRes = R.string.tag_filtering_threshhold_summary
|
summary = context.getString(R.string.tag_filtering_threshhold_summary, preferences.ehTagFilterValue().get())
|
||||||
|
|
||||||
onClick {
|
onClick {
|
||||||
MaterialDialog(activity!!)
|
MaterialDialog(activity!!)
|
||||||
@ -253,6 +253,7 @@ class SettingsEhController : SettingsController() {
|
|||||||
.positiveButton(android.R.string.ok) {
|
.positiveButton(android.R.string.ok) {
|
||||||
val value = it.getInputField().text.toString().toInt()
|
val value = it.getInputField().text.toString().toInt()
|
||||||
preferences.ehTagFilterValue().set(value)
|
preferences.ehTagFilterValue().set(value)
|
||||||
|
summary = context.getString(R.string.tag_filtering_threshhold_summary, preferences.ehTagFilterValue().get())
|
||||||
preferences.ehTagFilterValue().reconfigure()
|
preferences.ehTagFilterValue().reconfigure()
|
||||||
}
|
}
|
||||||
.show()
|
.show()
|
||||||
@ -264,7 +265,7 @@ class SettingsEhController : SettingsController() {
|
|||||||
key = PreferenceKeys.eh_tag_watching_value
|
key = PreferenceKeys.eh_tag_watching_value
|
||||||
defaultValue = 0
|
defaultValue = 0
|
||||||
|
|
||||||
summaryRes = R.string.tag_watching_threshhold_summary
|
summary = context.getString(R.string.tag_watching_threshhold_summary, preferences.ehTagWatchingValue().get())
|
||||||
|
|
||||||
onClick {
|
onClick {
|
||||||
MaterialDialog(activity!!)
|
MaterialDialog(activity!!)
|
||||||
@ -288,6 +289,7 @@ class SettingsEhController : SettingsController() {
|
|||||||
.positiveButton(android.R.string.ok) {
|
.positiveButton(android.R.string.ok) {
|
||||||
val value = it.getInputField().text.toString().toInt()
|
val value = it.getInputField().text.toString().toInt()
|
||||||
preferences.ehTagWatchingValue().set(value)
|
preferences.ehTagWatchingValue().set(value)
|
||||||
|
summary = context.getString(R.string.tag_watching_threshhold_summary, preferences.ehTagWatchingValue().get())
|
||||||
preferences.ehTagWatchingValue().reconfigure()
|
preferences.ehTagWatchingValue().reconfigure()
|
||||||
}
|
}
|
||||||
.show()
|
.show()
|
||||||
|
@ -53,10 +53,10 @@
|
|||||||
<string name="watched_tags_eh">Tags assistidas do E-Hentai</string>
|
<string name="watched_tags_eh">Tags assistidas do E-Hentai</string>
|
||||||
<string name="tag_filtering_threshold">Limite de filtragem de tags</string>
|
<string name="tag_filtering_threshold">Limite de filtragem de tags</string>
|
||||||
<string name="tag_filtering_threshhold_error">Deve estar entre -9999 e 0.</string>
|
<string name="tag_filtering_threshhold_error">Deve estar entre -9999 e 0.</string>
|
||||||
<string name="tag_filtering_threshhold_summary">Você pode filtrar as tags adicionando-as à página "My tags" do E/ExHentai com um valor negativo. Se uma galeria tiver tags com valor abaixo desse número, ela será filtrada da exibição. Esse limite pode ser entre -9999 e 0. Atualmente: %1$s</string>
|
<string name="tag_filtering_threshhold_summary">Você pode filtrar as tags adicionando-as à página "My tags" do E/ExHentai com um valor negativo. Se uma galeria tiver tags com valor abaixo desse número, ela será filtrada da exibição. Esse limite pode ser entre -9999 e 0. Atualmente: %1$d</string>
|
||||||
<string name="tag_watching_threshhold">Limite de exibição de tags</string>
|
<string name="tag_watching_threshhold">Limite de exibição de tags</string>
|
||||||
<string name="tag_watching_threshhold_error">Deve estar entre 0 e 9999</string>
|
<string name="tag_watching_threshhold_error">Deve estar entre 0 e 9999</string>
|
||||||
<string name="tag_watching_threshhold_summary">Galerias enviadas recentemente serão incluídas na tela de tags assistidas se houver ao menos uma das tags com valor positivo, e se a soma dos valores nas tags assistidas chegarem a esse número ou a um maior. Esse limite pode ser entre 0 e 9999. Atualmente: %1$s</string>
|
<string name="tag_watching_threshhold_summary">Galerias enviadas recentemente serão incluídas na tela de tags assistidas se houver ao menos uma das tags com valor positivo, e se a soma dos valores nas tags assistidas chegarem a esse número ou a um maior. Esse limite pode ser entre 0 e 9999. Atualmente: %1$d</string>
|
||||||
<string name="language_filtering">Filtro de idioma</string>
|
<string name="language_filtering">Filtro de idioma</string>
|
||||||
<string name="language_filtering_summary">Se quer ocultar galerias em certos idiomas da lista da galeria e das pesquisas, selecione-as na caixa que exibirá.\nNote que essas galerias nunca aparecerão, independentemente da sua pesquisa.\nEm suma: marcado = excluído</string>
|
<string name="language_filtering_summary">Se quer ocultar galerias em certos idiomas da lista da galeria e das pesquisas, selecione-as na caixa que exibirá.\nNote que essas galerias nunca aparecerão, independentemente da sua pesquisa.\nEm suma: marcado = excluído</string>
|
||||||
<string name="frong_page_categories">Categorias na página inicial</string>
|
<string name="frong_page_categories">Categorias na página inicial</string>
|
||||||
|
@ -53,10 +53,10 @@
|
|||||||
<string name="watched_tags_eh">E-Hentai Watched Tags</string>
|
<string name="watched_tags_eh">E-Hentai Watched Tags</string>
|
||||||
<string name="tag_filtering_threshold">Tag Filtering Threshold</string>
|
<string name="tag_filtering_threshold">Tag Filtering Threshold</string>
|
||||||
<string name="tag_filtering_threshhold_error">Must be between -9999 and 0!</string>
|
<string name="tag_filtering_threshhold_error">Must be between -9999 and 0!</string>
|
||||||
<string name="tag_filtering_threshhold_summary">You can soft filter tags by adding them to the "My Tags" E/ExHentai page with a negative weight. If a gallery has tags that add up to weight below this value, it is filtered from view. This threshold can be set between -9999 and 0. Currently: %s</string>
|
<string name="tag_filtering_threshhold_summary">You can soft filter tags by adding them to the "My Tags" E/ExHentai page with a negative weight. If a gallery has tags that add up to weight below this value, it is filtered from view. This threshold can be set between -9999 and 0. Currently: %1$d</string>
|
||||||
<string name="tag_watching_threshhold">Tag Watching Threshold</string>
|
<string name="tag_watching_threshhold">Tag Watching Threshold</string>
|
||||||
<string name="tag_watching_threshhold_error">Must be between 0 and 9999!</string>
|
<string name="tag_watching_threshhold_error">Must be between 0 and 9999!</string>
|
||||||
<string name="tag_watching_threshhold_summary">Recently uploaded galleries will be included on the watched screen if it has at least one watched tag with positive weight, and the sum of weights on its watched tags add up to this value or higher. This threshold can be set between 0 and 9999. Currently: %s</string>
|
<string name="tag_watching_threshhold_summary">Recently uploaded galleries will be included on the watched screen if it has at least one watched tag with positive weight, and the sum of weights on its watched tags add up to this value or higher. This threshold can be set between 0 and 9999. Currently: %1$d</string>
|
||||||
<string name="language_filtering">Language Filtering</string>
|
<string name="language_filtering">Language Filtering</string>
|
||||||
<string name="language_filtering_summary">If you wish to hide galleries in certain languages from the gallery list and searches, select them in the dialog that will popup.\nNote that matching galleries will never appear regardless of your search query.\nTldr checkmarked = exclude</string>
|
<string name="language_filtering_summary">If you wish to hide galleries in certain languages from the gallery list and searches, select them in the dialog that will popup.\nNote that matching galleries will never appear regardless of your search query.\nTldr checkmarked = exclude</string>
|
||||||
<string name="frong_page_categories">Front Page Categories</string>
|
<string name="frong_page_categories">Front Page Categories</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user