Skip to content

Commit

Permalink
Updated messages as translation keys.
Browse files Browse the repository at this point in the history
  • Loading branch information
shinde-rahul committed Oct 11, 2022
1 parent 481267d commit 7344de6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Integration/Support/ConfigSupport.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,16 +115,16 @@ public function getSupportedFeatures(): array

public function getAuthorizationNote(): ?Note
{
return new Note('Additional information for Authorization tab.', Note::TYPE_INFO);
return new Note('helloworld.config.auth_tab', Note::TYPE_INFO);
}

public function getFeaturesNote(): ?Note
{
return new Note('Alert for Features tab.', Note::TYPE_WARNING);
return new Note('helloworld.config.feat_tab', Note::TYPE_WARNING);
}

public function getFieldMappingNote(): ?Note
{
return new Note('Additional information for Field mapping tab.', Note::TYPE_INFO);
return new Note('helloworld.config.field_mapping_tab', Note::TYPE_INFO);
}
}
3 changes: 3 additions & 0 deletions Translations/en_US/messages.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ helloworld.world.earth="Earth"
helloworld.world.jupiter="Jupiter"
helloworld.world.mars="Mars"
helloworld.world.saturn="Saturn"
helloworld.config.auth_tab="Additional information for Authorization tab."
helloworld.config.feat_tab="Warning for Features tab."
helloworld.config.field_mapping_tab="Additional information for Field mapping tab."

0 comments on commit 7344de6

Please sign in to comment.