From c6d0ad1b30ea481b582aacfc99bc87cd50a8e660 Mon Sep 17 00:00:00 2001 From: Zhangyu Date: Mon, 27 May 2024 06:46:51 +0000 Subject: [PATCH] * zin: modify tips lang of thinktableinput. --- lib/zin/wg/thinktableinput/v1.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/zin/wg/thinktableinput/v1.php b/lib/zin/wg/thinktableinput/v1.php index b62fffd2a9..dc2836fb9a 100644 --- a/lib/zin/wg/thinktableinput/v1.php +++ b/lib/zin/wg/thinktableinput/v1.php @@ -46,7 +46,7 @@ class thinkTableInput extends thinkQuestion } jsVar('canAddRows', (int)$canAddRows); jsVar('fieldsCount', count($fields)); - jsVar('deleteTip', $lang->thinkrun->deleteTip); + jsVar('deleteTip', $lang->thinkrun->tips->delete); $tableInputItems = array(); foreach($fields as $index => $item) @@ -77,7 +77,7 @@ class thinkTableInput extends thinkQuestion 'plus', setClass('mr-1 btn-add ml-2 text-sm text-primary add-rows'), bind::click('addRow(event)'), - set::title(sprintf($lang->thinkrun->addTips, $canAddRows)), + set::title(sprintf($lang->thinkrun->tips->add, $canAddRows)), ) : null, ) ); @@ -119,7 +119,7 @@ class thinkTableInput extends thinkQuestion 'plus', setClass('mr-1 btn-add ml-2 text-sm text-primary add-rows'), bind::click('addRow(event)'), - set::title(sprintf($lang->thinkrun->addTips, $canAddRows)), + set::title(sprintf($lang->thinkrun->tips->add, $canAddRows)), ), icon ( @@ -161,7 +161,7 @@ class thinkTableInput extends thinkQuestion 'plus', setClass('mr-1 btn-add ml-2 text-sm text-primary add-rows'), bind::click('addRow(event)'), - set::title(sprintf($lang->thinkrun->addTips, $canAddRows)), + set::title(sprintf($lang->thinkrun->tips->add, $canAddRows)), ), icon (