mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
use gettext cover for defaults
This commit is contained in:
parent
477f4ff441
commit
a45965637d
7 changed files with 16 additions and 16 deletions
|
|
@ -20,7 +20,7 @@ abstract class Button
|
|||
);
|
||||
|
||||
$this->gtk->set_label(
|
||||
$this->_label
|
||||
_($this->_label)
|
||||
);
|
||||
|
||||
// Render
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue