Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8674 closed defect (wontfix)

Luci 0.10 new i18n system breaks old luci.i18n funtion of 0.9

Reported by: contact@… Owned by:
Priority: high Milestone: Barrier Breaker 14.07
Component: luci Version: Trunk
Keywords: luci, i18n Cc:

Description

https://luci.subsignal.org/trac/milestone/LuCI%200.10.0 states proudly that Luci has a new i18n system.

Great, but all I see is it breaks my custom pages without any documentation on what is different in this new i18n system and how code needs to be changed.

Previously the code like:

local i18n = luci.i18n.translate
          
        entry( { "admin", "chillifire", "white" }, cbi("chillifire_white"), i18n("chillifire_white", "Whitelist"),      20)  

showed the correct text "Whitelist" even if no text was provided in the language file.

In Luci 0.10 it just shows the anchor "chillifire_white".
How has the code to be changed so the fallsback translation in the code file is shown again?

Please provide of this new i18n system. Thanks

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by anonymous

Sorry, I meant 'Please provide some documentation for this new i18n system'

comment:2 Changed 7 years ago by jow

  • Resolution set to wontfix
  • Status changed from new to closed

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.