Skip to content

Commit d1e2605

Browse files
Copilotswissspidy
andcommitted
Fix method name: use getComments() instead of getTranslatorComments()
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 82e097f commit d1e2605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UpdatePoCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private function translations_differ( Translations $original, Translations $upda
174174
return true;
175175
}
176176

177-
if ( $translation->getTranslatorComments() !== $updated_translation->getTranslatorComments() ) {
177+
if ( $translation->getComments() !== $updated_translation->getComments() ) {
178178
return true;
179179
}
180180
}

0 commit comments

Comments
 (0)