Skip to content

Commit

Permalink
Clarify comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz committed Dec 6, 2023
1 parent 82075eb commit 2bf99ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/VuFindDevTools/src/VuFindDevTools/LanguageHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ protected function findMissingLanguageStrings($lang1, $lang2)
public function compareLanguages($lang1, $lang2, $lang1NoAliases, $lang2NoAliases)
{
// We don't want to double-count aliased terms, nor do we want to count alias
// overrides as "extra lines". Thus, we need to use aliased and non-aliased versions
// of the data in different circumstances.
// overrides as "extra lines". Thus, we find meaningful differences by subtracting
// the aliased data of one language from the non-aliased data of the other.
return [
'notInL1' => $this->findMissingLanguageStrings($lang2NoAliases, $lang1),
'notInL2' => $this->findMissingLanguageStrings($lang1NoAliases, $lang2),
Expand Down

0 comments on commit 2bf99ba

Please sign in to comment.