ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taher Alkhateeb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-7798) Translate the svn and git info footers
Date Tue, 06 Sep 2016 11:13:20 GMT

    [ 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

View raw message