From a9761dda284c59b2812a18d00c2f1472d1e938a0 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Thu, 16 May 2024 16:53:20 +0700 Subject: [PATCH] Fix lang on remaining --- system/autoload/Lang.php | 2 +- system/lan/english.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/system/autoload/Lang.php b/system/autoload/Lang.php index 46f101a8..d5569ab4 100644 --- a/system/autoload/Lang.php +++ b/system/autoload/Lang.php @@ -127,7 +127,7 @@ class Lang if (!$full) $string = array_slice($string, 0, 1); - return $string ? implode(', ', $string) . ' ago' : 'just now'; + return $string ? implode(', ', $string) .' '. Lang::T('ago') : Lang::T('just now'); } public static function nl2br($text) diff --git a/system/lan/english.json b/system/lan/english.json index fe65c543..3d33b6e9 100644 --- a/system/lan/english.json +++ b/system/lan/english.json @@ -580,5 +580,6 @@ "Extend": "Extend", "Created___Expired": "Created \/ Expired", "Bank_Transfer": "Bank Transfer", - "Recharge_Using": "Recharge Using" + "Recharge_Using": "Recharge Using", + "ago": "ago" } \ No newline at end of file