diff --git a/src/Kdyby/Translation/Diagnostics/Panel.php b/src/Kdyby/Translation/Diagnostics/Panel.php index a24089e5..2110950e 100644 --- a/src/Kdyby/Translation/Diagnostics/Panel.php +++ b/src/Kdyby/Translation/Diagnostics/Panel.php @@ -91,7 +91,7 @@ public function __construct($rootDir) public function getTab() { return '' - . $this->translator->getLocale() . ($this->untranslated ? ' (' . count(array_unique($this->untranslated)) . ' errors)' : '') + . $this->translator->getLocale() . ($this->untranslated ? ' (' . count(array_unique($this->untranslated, SORT_REGULAR)) . ' errors)' : '') . ''; } @@ -156,7 +156,7 @@ public function getPanel() } return empty($panel) ? '' : - '