diff --git a/src/main/kotlin/nl/deschepers/laraveltinker/util/PlugUtil.kt b/src/main/kotlin/nl/deschepers/laraveltinker/util/PlugUtil.kt index ab0f4ab..f556149 100644 --- a/src/main/kotlin/nl/deschepers/laraveltinker/util/PlugUtil.kt +++ b/src/main/kotlin/nl/deschepers/laraveltinker/util/PlugUtil.kt @@ -7,8 +7,10 @@ import nl.deschepers.laraveltinker.settings.PersistentApplicationCache /** * Before you place a bug: I am aware this is insecure. I just don't want to bother actual supporters - * with my 'consider supporting' messages. Just note that decoding this does not give you any extra features, it - * JUST removes the 'consider supporting' message. Consider financially supporting me to get a legit key <3 + * with my 'consider supporting' messages without connecting to third party services. Just note that + * decoding this does not give you any extra features, it JUST removes the 'consider supporting' message. + * + * Consider financially supporting me to get a legit key <3 */ object PlugUtil { internal const val SUPPORT_MESSAGE_EXECUTIONS = 10 @@ -21,7 +23,7 @@ object PlugUtil { SUPPORT_MESSAGE_EXECUTIONS ) { PersistentApplicationCache.instance.state.executionsCount = 0 - val plugType = listOf("patreon", "paypal", "kofi", "linktree", "colleagues", "rating").asSequence().shuffled().find { true } + val plugType = listOf("github", "kofi", "linktree", "colleagues", "rating").asSequence().shuffled().find { true } return Strings.get("lt.consider_supporting", Strings.get("lt.consider_supporting.$plugType")) } } diff --git a/src/main/resources/strings/strings.properties b/src/main/resources/strings/strings.properties index 7ee3182..b868ed9 100644 --- a/src/main/resources/strings/strings.properties +++ b/src/main/resources/strings/strings.properties @@ -1,53 +1,52 @@ -name=Laravel Tinker -lt.run=Run Tinker -lt.running=Running Tinker console.. -lt.started_at=// Laravel Tinker started at {0} -lt.execution_finished=\n*** Execution finished *** -lt.consider_supporting=Does the Laravel Tinker Plugin help you being more productive? \nConsider {0}. \n - Thank you! -lt.consider_supporting.patreon=becoming a Patreon -lt.consider_supporting.paypal=a donation through PayPal -lt.consider_supporting.kofi=buying me a coffee -lt.consider_supporting.linktree=sharing on social media -lt.consider_supporting.colleagues=telling your colleagues, friends and/or network -lt.consider_supporting.rating=giving a rating or starring on GitHub +name = Laravel Tinker +lt.run = Run Tinker +lt.running = Running Tinker console.. +lt.started_at = // Laravel Tinker started at {0} +lt.execution_finished = \n*** Execution finished *** +lt.consider_supporting = Does the Laravel Tinker Plugin help you being more productive? \nConsider {0}. \n - Thank you! +lt.consider_supporting.github = sponsoring me on GitHub Sponsors +lt.consider_supporting.kofi = sponsoring me on Ko-fi +lt.consider_supporting.linktree = sharing on social media +lt.consider_supporting.colleagues = telling your colleagues, friends and/or network +lt.consider_supporting.rating = giving a rating or starring on GitHub -lt.settings.php_interpreter=PHP interpreter settings -lt.settings.tinker_project_settings=Tinker project settings +lt.settings.php_interpreter = PHP interpreter settings +lt.settings.tinker_project_settings = Tinker project settings -lt.error.no_php_interpreter=PHP CLI interpreter is missing -lt.error.php_interpreter_error=PHP CLI Interpreter error -lt.error.please_check_interpreter_settings=Please check your PHP CLI interpreter settings. -lt.error.laravel_root_does_not_exist.title=The configured Laravel root directory does not exist -lt.error.laravel_root_does_not_exist.message=Please check if it's the right path. Current setting: {0} -lt.error.laravel_root_no_vendor.title=Could not find vendor directory. -lt.error.laravel_root_no_vendor.message=If your vendor folder is not in your laravel root, please configure it in the plugin settings. Current setting: {0} +lt.error.no_php_interpreter = PHP CLI interpreter is missing +lt.error.php_interpreter_error = PHP CLI Interpreter error +lt.error.please_check_interpreter_settings = Please check your PHP CLI interpreter settings. +lt.error.laravel_root_does_not_exist.title = The configured Laravel root directory does not exist +lt.error.laravel_root_does_not_exist.message = Please check if it's the right path. Current setting: {0} +lt.error.laravel_root_no_vendor.title = Could not find vendor directory. +lt.error.laravel_root_no_vendor.message = If your vendor folder is not in your laravel root, please configure it in the plugin settings. Current setting: {0} -lt.settings.output_settings=Output Settings -lt.settings.show_execution_start=Show the start time of the execution in the output -lt.settings.show_execution_end=Show when execution finishes -lt.settings.use_word_wrapping=Use text-wrapping in tinker output (removing horizontal scrolling) -lt.settings.terminate_app=Terminate the app after execution -lt.settings.other_settings=Other Settings -lt.settings.project_settings=Project Settings -lt.settings.laravel_root=Laravel root folder -lt.settings.vendor_root=Vendor root folder -lt.settings.laravel_root.tooltip1=Override the folder in which tinker will execute. -lt.settings.laravel_root.tooltip2=Leave empty to let the plugin automatically guess the root. -lt.settings.laravel_root.tooltip3=When using a remote, make sure your interpreter path mapping is correct! -lt.settings.support_key=Support key -lt.settings.support_key.tooltip=A valid key only disables the "Consider supporting"-plug every {0} executions. -lt.settings.support_key.tooltip_support_options=Check the "Sponsor" button at https://github.com/Roboroads/laravel-tinker. +lt.settings.output_settings = Output Settings +lt.settings.show_execution_start = Show the start time of the execution in the output +lt.settings.show_execution_end = Show when execution finishes +lt.settings.use_word_wrapping = Use text-wrapping in tinker output (removing horizontal scrolling) +lt.settings.terminate_app = Terminate the app after execution +lt.settings.other_settings = Other Settings +lt.settings.project_settings = Project Settings +lt.settings.laravel_root = Laravel root folder +lt.settings.vendor_root = Vendor root folder +lt.settings.laravel_root.tooltip1 = Override the folder in which tinker will execute. +lt.settings.laravel_root.tooltip2 = Leave empty to let the plugin automatically guess the root. +lt.settings.laravel_root.tooltip3 = When using a remote, make sure your interpreter path mapping is correct! +lt.settings.support_key = Support key +lt.settings.support_key.tooltip = A valid key only disables the "Consider supporting"-plug every {0} executions. +lt.settings.support_key.tooltip_support_options = Check the "Sponsor" button at https://github.com/Roboroads/laravel-tinker. -lt.console.filename=LaravelTinkerConsole.php -lt.console.name=Tinker Console -lt.console.default_content=