Skip to content
Snippets Groups Projects
Commit 54c360a1 authored by André Bonon's avatar André Bonon
Browse files

fix: [#3437898] Enable translation on Branch hours block

parent b02c5d1e
No related branches found
No related tags found
1 merge request!27fix: [#3437898] Enable translation on Branch hours block
......@@ -57,7 +57,7 @@ class HoursToday implements TrustedCallbackInterface {
* @throws \Drupal\Core\TypedData\Exception\MissingDataException
*/
public function generateHoursToday($nid) {
$label = 'Closed';
$label = $this->t('Closed');
// If we are not on a node, then return a placeholder.
if (is_null($nid)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment