From 46b1015478854cacdd5b09d97cf3728e556c2a7c Mon Sep 17 00:00:00 2001 From: Germain Souquet Date: Mon, 26 Apr 2021 17:14:55 +0100 Subject: [PATCH] Fix typo in _t function declaration --- src/language-helper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/language-helper.js b/src/language-helper.js index 4964693..baf6c46 100644 --- a/src/language-helper.js +++ b/src/language-helper.js @@ -18,7 +18,7 @@ const counterpart = require('counterpart'); const DEFAULT_LOCALE = "en"; -function _t(text) { +function _td(text) { return text; } @@ -125,5 +125,5 @@ class AppLocalization { module.exports = { AppLocalization, _t, - _t, + _td, };