Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1766

[3.3.x] Translations • Avoid reusing string in cli.php

$
0
0
I notice there is a single string in the translation files (language/en/cli.php) that reuse another string.
Maybe to be consistent we could not do it like that.
But rather just have translators translate two strings. And then programmers can decide in the code if they want to combine two strings. Or just have the translators have the same text two places.

Code:

'CLI_DESCRIPTION_CRON_RUN'=> 'Runs all ready cron tasks.',[...]'CLI_HELP_CRON_RUN'=> $lang['CLI_DESCRIPTION_CRON_RUN'] . ' Optionally you can specify a cron task name to run only the specified cron task.',
I suggest:

Code:

'CLI_DESCRIPTION_CRON_RUN'=> 'Runs all ready cron tasks.',[...]'CLI_HELP_CRON_RUN'=> 'Optionally you can specify a cron task name to run only the specified cron task.',
Or:
I suggest:

Code:

'CLI_DESCRIPTION_CRON_RUN'=> 'Runs all ready cron tasks.',[...]'CLI_HELP_CRON_RUN'=> 'Runs all ready cron tasks. Optionally you can specify a cron task name to run only the specified cron task.',

Statistics: Posted by scootergrisen — Mon Sep 09, 2024 10:21 pm



Viewing all articles
Browse latest Browse all 1766

Trending Articles