Skip to content

Commit

Permalink
Comply with brace-style "stroustrup"
Browse files Browse the repository at this point in the history
  • Loading branch information
mayakokits committed Mar 15, 2023
1 parent d056197 commit 0af5d56
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions campaignion_email_to_target/messages_app/drupal-fixture.js
Expand Up @@ -142,9 +142,11 @@ const Drupal = {

if (index == 0) {
return Drupal.t(singular, args, options)
} else if (index == 1) {
}
else if (index == 1) {
return Drupal.t(plural, args, options)
} else {
}
else {
args['@count[' + index + ']'] = args['@count']
delete args['@count']
return Drupal.t(plural.replace('@count', '@count[' + index + ']'), args, options)
Expand Down

0 comments on commit 0af5d56

Please sign in to comment.