Skip to content

Commit

Permalink
Add dummy args to fix translation build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dkmyta committed Oct 16, 2024
1 parent 0613eed commit d0c65b3
Showing 1 changed file with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,18 @@ const FirewallAdminSectionHero = () => {
case 'on':
statusLabel = standaloneMode
? __( 'Standalone mode', 'jetpack-protect' )
: __( 'Active', 'jetpack-protect' );
: __( 'Active', 'jetpack-protect', /* dummy arg to avoid bad minification */ 0 );
heading = (
<>
{ ! wafSupported && __( 'Brute force protection is active', 'jetpack-protect' ) }
{ wafSupported &&
( jetpackWafAutomaticRules
? __( 'Automatic firewall is on', 'jetpack-protect' )
: __( 'Firewall is on', 'jetpack-protect' ) ) }
: __(
'Firewall is on',
'jetpack-protect',
/* dummy arg to avoid bad minification */ 0
) ) }
</>
);
subheading = <FirewallSubheading />;
Expand All @@ -49,7 +53,11 @@ const FirewallAdminSectionHero = () => {
{ wafSupported &&
( automaticRulesAvailable
? __( 'Automatic firewall is off', 'jetpack-protect' )
: __( 'Firewall is off', 'jetpack-protect' ) ) }
: __(
'Firewall is off',
'jetpack-protect',
/* dummy arg to avoid bad minification */ 0
) ) }
</>
);
subheading = <FirewallSubheading />;
Expand Down

0 comments on commit d0c65b3

Please sign in to comment.