projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Component
/
Gettext
/
PoMemoryWriter.php
diff --git
a/web/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php
b/web/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php
index c5416b6fa420643df0069286c171a10363a746bd..bac9e44c6b1791c1755fe3de17661d87846e85b2 100644
(file)
--- a/
web/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php
+++ b/
web/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php
@@
-12,13
+12,13
@@
class PoMemoryWriter implements PoWriterInterface {
*
* @var array
*/
*
* @var array
*/
- pr
ivate $_
items;
+ pr
otected $
items;
/**
* Constructor, initialize empty items.
*/
public function __construct() {
/**
* Constructor, initialize empty items.
*/
public function __construct() {
- $this->
_
items = [];
+ $this->items = [];
}
/**
}
/**
@@
-30,7
+30,7
@@
class PoMemoryWriter implements PoWriterInterface {
$item->setTranslation(implode(LOCALE_PLURAL_DELIMITER, $item->getTranslation()));
}
$context = $item->getContext();
$item->setTranslation(implode(LOCALE_PLURAL_DELIMITER, $item->getTranslation()));
}
$context = $item->getContext();
- $this->
_
items[$context != NULL ? $context : ''][$item->getSource()] = $item->getTranslation();
+ $this->items[$context != NULL ? $context : ''][$item->getSource()] = $item->getTranslation();
}
/**
}
/**
@@
-49,7
+49,7
@@
class PoMemoryWriter implements PoWriterInterface {
* @return array PoItem
*/
public function getData() {
* @return array PoItem
*/
public function getData() {
- return $this->
_
items;
+ return $this->items;
}
/**
}
/**