-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX Remove legacy sprintf style translations in favour of placeholders #12
FIX Remove legacy sprintf style translations in favour of placeholders #12
Conversation
@robbieaverill can you please rebase. |
cb6d9f1
to
44b86e9
Compare
@tractorcow rebased, thanks |
44b86e9
to
ab9ec3c
Compare
ab9ec3c
to
aa93194
Compare
@@ -172,7 +172,7 @@ public function doUnpublish($data, $form) | |||
$record->doUnpublish(); | |||
|
|||
$message = sprintf( | |||
_t('SilverStripe\\Versioned\\VersionedGridFieldItemRequest.Unpublished', 'Unpublished %s %s'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to replace sprintf() with the parameterised form of _t()
call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D'oh. 2 secs
aa93194
to
43be1a0
Compare
@tractorcow this was merged into |
@flamerohr FYI the other PRs are all in master too |
I'll merge them back before tag. |
Issue: silverstripe/silverstripe-framework#6582