Skip to content

Commit

Permalink
Use SMF_VERSION in $txt['credits_intro']
Browse files Browse the repository at this point in the history
Signed-off-by: Bugo <[email protected]>
dragomano committed Feb 20, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent f89b855 commit 129559d
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Languages/en_US/Who.php
Original file line number Diff line number Diff line change
@@ -174,7 +174,7 @@

// Credits text
$txt['credits'] = 'Credits';
$txt['credits_intro'] = 'Simple Machines wants to thank everyone who helped make SMF 2.1 what it is today; shaping and directing our project, all through the thick and the thin. It wouldn\'t have been possible without you. This includes our users and especially Charter Members - thanks for installing and using our software as well as providing valuable feedback, bug reports, and opinions.';
$txt['credits_intro'] = 'Simple Machines wants to thank everyone who helped make SMF {SMF_VERSION} what it is today; shaping and directing our project, all through the thick and the thin. It wouldn\'t have been possible without you. This includes our users and especially Charter Members - thanks for installing and using our software as well as providing valuable feedback, bug reports, and opinions.';
$txt['credits_team'] = 'The Team';
$txt['credits_special'] = 'Special Thanks';
$txt['credits_list'] = '{names}.';
2 changes: 1 addition & 1 deletion Sources/Actions/Credits.php
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@ public function execute(): void

Utils::$context['credits'] = [
[
'pretext' => Lang::$txt['credits_intro'],
'pretext' => Lang::getTxt('credits_intro', ['SMF_VERSION' => SMF_VERSION]),
'title' => Lang::$txt['credits_team'],
'groups' => [
[

0 comments on commit 129559d

Please sign in to comment.