tasker: use translated tasker action description
This commit is contained in:
parent
cc7f9ba539
commit
2c976374f3
2 changed files with 6 additions and 2 deletions
|
@ -32,6 +32,7 @@ import com.joaomgcd.taskerpluginlibrary.runner.TaskerPluginResult
|
|||
import com.joaomgcd.taskerpluginlibrary.runner.TaskerPluginResultSucess
|
||||
import org.oxycblt.auxio.AuxioService
|
||||
import org.oxycblt.auxio.IntegerTable
|
||||
import org.oxycblt.auxio.R
|
||||
|
||||
class StartActionHelper(config: TaskerPluginConfig<Unit>) :
|
||||
TaskerPluginConfigHelperNoOutputOrInput<StartActionRunner>(config) {
|
||||
|
@ -39,8 +40,7 @@ class StartActionHelper(config: TaskerPluginConfig<Unit>) :
|
|||
get() = StartActionRunner::class.java
|
||||
|
||||
override fun addToStringBlurb(input: TaskerInput<Unit>, blurbBuilder: StringBuilder) {
|
||||
blurbBuilder.append(
|
||||
"Starts Auxio using the previously saved state. If no saved state is available, all songs will be shuffled. Playback will start immediately. Be careful controlling this service, if you close it and then try to use it again, you will probably crash the app.")
|
||||
blurbBuilder.append(context.getString(R.string.lng_tasker_start))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -213,6 +213,10 @@
|
|||
<string name="lng_supporters_promo">Donate to the project to get your name added here!</string>
|
||||
<!-- As in music library -->
|
||||
<string name="lng_search_library">Search your library…</string>
|
||||
<string name="lng_tasker_start">
|
||||
Starts Auxio using the previously saved state. If no saved state is available, all songs will be shuffled. Playback will start immediately.
|
||||
\n\nWARNING: Be careful controlling this service, if you close it and then try to use it again, you will probably crash the app.
|
||||
</string>
|
||||
|
||||
<!-- Settings namespace | Settings-related labels -->
|
||||
<eat-comment />
|
||||
|
|
Loading…
Reference in a new issue