Loading...
 
Features / Usability

Features / Usability


how can I remove "Value will be re-calculated on save. Current value:"?

posts: 228 Ukraine

Does anyone know which Tiki folders/files at my web host I can find this text to shorten it? Or the best way to remove / shorten it?

Since the site is not in English, I tried a work-around by translating it, but it did not translate.

This takes a lot of space when displaying Tracker items on templates and I'd like to shorten it to:
'Current value:" or to 'current #', or, even eliminate the text.

Thanks,
Mike

posts: 2428 Czech Republic

Hi,
quick grep reveals it is in the Math.php file:

Copy to clipboard
$ grep -InER --color --exclude-dir=.svn "Value will be re-calculated" lib/core/Tracker/Field/Math.php:66: return tr('Value will be re-calculated on save. Current value: %0', $this->getValue()); ...


Translating workaround should work. Maybe you forgot to clear Tiki cache?

luci

posts: 228 Ukraine

Hi luci,

I double checked if possible through translation (cleared cache) but didn't want to translate.

No big deal, I found the file, math.php, and changed the phrase to '=' to keep it short and it worked great! Now the wiki page templates for editing tracker items are more space efficient. Now, if I could only get {f$status} and {f$status_input} working, we could switch over to using the templates...

Thanks very much for the help,
Mike


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting