Loading...
 
Skip to main content

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
(0)
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+
Demonstrate Bug (older Tiki versions)
Ticket ID
7438
Created
Thursday 23 July, 2020 20:59:55 UTC
by hman
LastModif
Thursday 23 July, 2020 20:59:55 UTC


Show PHP error messages