Bugs that cannot be explained?
- Status
- Closed
- Subject
- Bugs that cannot be explained?
- Version
- 18.x
- Category
- Bug
- Consistency
- Feature
- Admin Interface (UI)
- Resolution status
- Fixed or Solved
- Submitted by
- hman
- Lastmod by
- hman
- Rating
- Description
There are also those bugs, whose inner workings look like a miracle to someone who is not familiar with the code.
For instance, I cannot translate "Sticky Popup" from the admin page of calendar. There are two different features by the same GUI (!) name on lines 62 and 826 of /lib/wiki_plugins/wikiplugin_trackerlist.php:
Copy to clipboard'stickypopup' => [ 'required' => false, 'name' => tra('Sticky Popup'), 'description' => tra('Choose whether the popup tooltip will stay displayed on mouse out (does not stay open by default)'), 'since' => '2.0', 'filter' => 'alpha', 'default' => '', 'options' => [ ['text' => '', 'value' => ''], ['text' => tra('Yes'), 'value' => 'y'], ['text' => tra('No'), 'value' => 'n'] ] ], [...] 'calendarstickypopup' => [ 'required' => false, 'name' => tra('Sticky Popup'), 'description' => tra('Calendar item popups will stay open if set to y (Yes). Not sticky by default'), 'since' => '6.0', 'doctype' => 'calendar', 'filter' => 'alpha', 'default' => 'n', 'options' => [ ['text' => '', 'value' => ''], ['text' => tra('Yes'), 'value' => 'y'], ['text' => tra('No'), 'value' => 'n'] ] ],
As you can see, both (!) call the translation subroutine, and both (!) have a description, so that help string should be visible under a blue question mark icon, next to the feature checkbox on tiki-admin.php?page=calendar, but they don't !! And I cannot translate the name, so it shows only "Sticky Popup" and the checkbox, and that's it.The reason must lie deeper than what I can see in the code by going over it...
And yes, I did check that the space between "Sticky" and "Popup" is really a space (0x20) and not something weird like a shift-space...
Pls see the attachment.
- Files
- Importance
- 7
- Easy to solve?
- 3
- Priority
- 21
- 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
- 7445
- Created
- Monday 27 July, 2020 13:48:02 UTC
by hman - LastModif
- Saturday 06 July, 2024 10:21:44 UTC