use gettext cover for defaults

This commit is contained in:
yggverse 2024-07-20 11:49:08 +03:00
parent 477f4ff441
commit a45965637d
7 changed files with 16 additions and 16 deletions

View file

@ -20,7 +20,7 @@ abstract class Button
);
$this->gtk->set_label(
$this->_label
_($this->_label)
);
// Render

View file

@ -19,7 +19,7 @@ abstract class Entry
$this->gtk = new \GtkEntry;
$this->gtk->set_placeholder_text(
$this->_placeholder
_($this->_placeholder)
);
$this->gtk->set_max_length(
@ -27,7 +27,7 @@ abstract class Entry
);
$this->gtk->set_text(
$this->_value
_($this->_value)
);
$this->gtk->set_visibility(