[jira] [Commented] (OFBIZ-7798) Translate the svn and git info footers

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

[jira] [Commented] (OFBIZ-7798) Translate the svn and git info footers

Nicolas Malin (Jira)

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

Taher Alkhateeb commented on OFBIZ-7798:
----------------------------------------

Hi Jacques,

This JIRA already has a solution and a patch (Might need to update it). All that we need here is to reuse some existing labels in uiLabelMap, or create new ones and add them. The Patch shows how this can be done (even if outdated).

So if you are interested in working on this, then it is quite minor to accomplish. I'm just not sure which ui labels best to use from which XML file.

> Translate the svn and git info footers
> --------------------------------------
>
>                 Key: OFBIZ-7798
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7798
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Priority: Trivial
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-7798.patch
>
>
> We slightly changed the old format of the footer. The old format used only the translated words _uiLabelMap.CommonBuiltOn_ and _uiLabelMap.CommonWith_. On the other hand, the new format contains the words Branch, Revision, Built On and Java Version.
> We need to translate all four words in the CommonUiLabels.xml and then incorporate them
> old version:
> {code}
> " - Release-revision : ${releasePath}-r${info.entry.commit(revision)},  ${uiLabelMap.CommonBuiltOn} ${dateTime} ${uiLabelMap.CommonWith} Java ${java.version}
> {code}
> new version:
> {code}
> "Branch: ${info.entry.url.text()}" + System.lineSeparator()
> "Revision: ${info.entry.commit.@revision}" + System.lineSeparator()
> "Built on: ${timestamp}" + System.lineSeparator()
> "Java Version: ${org.gradle.internal.jvm.Jvm.current()}"
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)