[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=15497399#comment-15497399 ]

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

Thanks Taher,

I have commited the patch at r1761076 (with the snippet for Xlint to be replaced with OFBIZ-8251)

> Translate the svn and git info footers
> --------------------------------------
>
>                 Key: OFBIZ-7798
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7798
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: 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)