Strangely untranslatable text in /lib/prefs/wiki.php
- Status
- Open
- Subject
- Strangely untranslatable text in /lib/prefs/wiki.php
- Version
- 18.x
- Category
- Bug
- Consistency
- Easy for Newbie Dev
- Less than 30-minutes fix
- Feature
- Admin Interface (UI)
- Resolution status
- New
- Submitted by
- hman
- Lastmod by
- hman
- Rating
- Description
In lib/prefs/wiki.php there is a strange feature name I cannot translate. After the experience with all the tabs and newlines and stuff in feature.php, I did check this string with a hex-editor: No special characters. It as plain as it looks: "inline auto-toc". And it is correctly pumped through tr(), so it should translate. But it doesn't. Event if I copy & past this string directly. Please have a look at line 706:
Copy to clipboard'wiki_inline_auto_toc' => [ 'name' => tr('Inline auto-toc'), 'description' => tr('Change the display of the table of contents for wiki pages to inline.'), 'type' => 'flag', 'default' => 'n', 'dependencies' => [ 'wiki_auto_toc', ],- 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
- 7438
- Created
- Thursday 23 July, 2020 20:59:55 UTC
by hman - LastModif
- Thursday 23 July, 2020 20:59:55 UTC