Typos in /lib/prefs/short.php and users.php prohibit displaying help text
- Status
- Pending
- Subject
- Typos in /lib/prefs/short.php and users.php prohibit displaying help text
- Version
- 18.x
21.x
22.x - Category
- Bug
- Consistency
- Usability
- Easy for Newbie Dev
- Less than 30-minutes fix
- Feature
- Admin Interface (UI)
- Resolution status
- Partially solved
- Submitted by
- hman
- Volunteered to solve
- Jonny Bradley
- Lastmod by
- hman
- Rating
- Description
There is a typo in /lib/prefs/short.php which makes displaying the help texts impossible, and it is carried on (through copy&paste by the dev).
Look at these code snippets:
Copy to clipboardfunction prefs_short_list() { return [ 'short_date_format' => [ 'name' => tra('Short date format'), 'descriprion' => tra('Specify how Tiki displays the date (shorter version)'), ..... 'descriprion' => tra('Specify how Tiki displays the time (shorter version)'),
The error is in lines 13 and 23: "descprion" should read "description"... This results in help texts that contain a heading (contained in 'name'), but no text...This affects all languages, including English...
- Workaround
- Fixed in trunk in 59733c58
- Importance
- 5
- Easy to solve?
- 10 easy
- Priority
- 50
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7429
- Created
- Tuesday 21 July, 2020 08:32:53 UTC
by hman - LastModif
- Tuesday 21 July, 2020 12:05:59 UTC