[jira] [Commented] (OFBIZ-9584) LabelManager doesn't search .js files

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-9584) LabelManager doesn't search .js files

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-9584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16499330#comment-16499330 ]

Jacques Le Roux commented on OFBIZ-9584:
----------------------------------------

Actually there is only 1 occurences of each variation of _getJSONuiLabels_ used in code.

All labels files end by UiLabels. Maybe we could simply look for files containing "_getJSONuiLabels"_** and then inside them look for a a pattern like

{{"*UiLabels"*:*[}} 

and retrieve the labels at the right of this pattern. A bit hacky but that's the idea :)

> LabelManager doesn't search .js files
> -------------------------------------
>
>                 Key: OFBIZ-9584
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9584
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk, 17.12.01
>            Reporter: Suraj Khurana
>            Priority: Minor
>
> There are around 50 matches of uilabels in js files as well. They are not included in the label manager search and hence ignored in every action of it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)