1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 08:27:42 +02:00

fix: caught warnings and missing locale

This commit is contained in:
Sami Mazouz
2024-10-25 10:13:11 +01:00
parent 30c7602814
commit 4715293164
5 changed files with 31 additions and 34 deletions

View File

@@ -14,16 +14,12 @@ export default [
.setting(() => ({
setting: 'flarum-extension-manager.queue_jobs',
label: app.translator.trans('flarum-extension-manager.admin.settings.queue_jobs'),
help: m.trust(
extractText(
app.translator.trans('flarum-extension-manager.admin.settings.queue_jobs_help', {
basic_impl_link: 'https://discuss.flarum.org/d/28151-database-queue-the-simplest-queue-even-for-shared-hosting',
adv_impl_link: 'https://discuss.flarum.org/d/21873-redis-sessions-cache-queues',
php_version: `<strong>${app.data.phpVersion}</strong>`,
folder_perms_link: 'https://docs.flarum.org/install#folder-ownership',
})
)
),
help: app.translator.trans('flarum-extension-manager.admin.settings.queue_jobs_help', {
basic_impl_link: <a href="https://discuss.flarum.org/d/28151-database-queue-the-simplest-queue-even-for-shared-hosting" />,
adv_impl_link: <a href="https://discuss.flarum.org/d/21873-redis-sessions-cache-queues" />,
php_version: <strong>{app.data.phpVersion}</strong>,
folder_perms_link: <a href="https://docs.flarum.org/install#folder-ownership" />,
}),
type: 'boolean',
disabled: app.data['flarum-extension-manager.using_sync_queue'],
}))

View File

@@ -128,6 +128,7 @@ flarum-extension-manager:
party_filter:
all: All
premium: Premium
toggle_dropdown_accessible_label: Toggle party filter
queue:
columns:
details: Details
@@ -169,8 +170,8 @@ flarum-extension-manager:
debug_mode_warning: You are running in debug mode, the extension manager cannot properly install and update local development packages. Please use the command line interface instead for such purposes.
queue_jobs: Run operations in the background queue
queue_jobs_help: >
You can read about a <a href='{basic_impl_link}'>basic queue</a> implementation or a <a href='{adv_impl_link}'>more advanced</a> one.
Make sure the PHP version used for the queue is {php_version}. Make sure <a href='{folder_perms_link}'>folder permissions</a> are correctly configured.
You can read about a <basic_impl_link>basic queue</basic_impl_link> implementation or a <adv_impl_link>more advanced</adv_impl_link> one.
Make sure the PHP version used for the queue is {php_version}. Make sure <folder_perms_link>folder permissions</folder_perms_link> are correctly configured.
task_retention_days: Task retention days
task_retention_days_help: >
The number of days to keep completed tasks in the database. Tasks older than this will be deleted.