[jira] [Updated] (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] [Updated] (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:all-tabpanel ]

Taher Alkhateeb updated OFBIZ-7798:
-----------------------------------
    Attachment: OFBIZ-7798.patch

I am attaching here a solution that you can use to apply the translation. However, you need to check whether the labels provided exist in the uiLabelMaps (whatever component) or use ones that are most appropriate. I use this as an example because I'm not sure what is the best labels to use and the labels I added I think they do not exist.

> 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)