php-gettext / Gettext

PHP library to collect and manipulate gettext (.po, .mo, .php, .json, etc)
MIT License
687 stars 134 forks source link

Access to Comments object #247

Closed xordiv closed 4 years ago

xordiv commented 4 years ago

I want to delete one comment in Comments object or replace it, but Comments class has no methods for it. And Translation class has no methods for setting up a new Comments object. How I can replace a comment? Maybe is there a PHP trick for it?

oscarotero commented 4 years ago

Mmmm, you're right, there's no way to remove comments!! (I've never need it :) And the same happens with flags.

I'm implementing this:

$comments->delete('This is a comment');

and let you know when it's shipped. Thanks for notify!

oscarotero commented 4 years ago

v5.3.0 released

vielhuber commented 4 years ago

Very cool, thank you @oscarotero.