diff --git a/app/src/main/java/org/oxycblt/auxio/tasker/Start.kt b/app/src/main/java/org/oxycblt/auxio/tasker/Start.kt index b146ec443..1dd5c8997 100644 --- a/app/src/main/java/org/oxycblt/auxio/tasker/Start.kt +++ b/app/src/main/java/org/oxycblt/auxio/tasker/Start.kt @@ -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) : TaskerPluginConfigHelperNoOutputOrInput(config) { @@ -39,8 +40,7 @@ class StartActionHelper(config: TaskerPluginConfig) : get() = StartActionRunner::class.java override fun addToStringBlurb(input: TaskerInput, 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)) } } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a006fca33..886e5ce55 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -213,6 +213,10 @@ Donate to the project to get your name added here! Search your library… + + 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. +