mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-01 17:12:39 +00:00
Putting __() in strings that missing internationalization.
Signed-off-by: Mark Story <mark@mark-story.com>
This commit is contained in:
parent
0ac99eddb5
commit
473e07a674
27 changed files with 61 additions and 78 deletions
|
@ -402,7 +402,7 @@ class XmlNode extends Object {
|
|||
|
||||
if (is_object($child)) {
|
||||
if ($this->compare($child)) {
|
||||
trigger_error('Cannot append a node to itself.');
|
||||
trigger_error(__('Cannot append a node to itself.', true));
|
||||
$return = false;
|
||||
return $return;
|
||||
}
|
||||
|
@ -909,7 +909,7 @@ class Xml extends XmlNode {
|
|||
} elseif (file_exists($input)) {
|
||||
$this->__rawData = file_get_contents($input);
|
||||
} else {
|
||||
trigger_error('XML cannot be read');
|
||||
trigger_error(__('XML cannot be read', true));
|
||||
return false;
|
||||
}
|
||||
return $this->parse();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue