codelist_en_US.ts.ftl 823 字节
Newer Older
1 2 3 4 5 6 7 8 9 10
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'EN'/>
export default {
<#if app.getAllPSAppCodeLists()??>
  <#list app.getAllPSAppCodeLists() as codelist>
    <#if codelist.getCodeListType() == "STATIC">
    ${codelist.codeName}: {
tony001's avatar
tony001 committed
11 12
      <#if codelist.getAllPSCodeItems?? && codelist.getAllPSCodeItems()??>
        <#list codelist.getAllPSCodeItems() as codeitem>
tony001's avatar
tony001 committed
13
        "${codeitem.getValue()?j_string}": "<@getTextLanguage codeitem langrestype />",
tony001's avatar
tony001 committed
14 15
        </#list>
      </#if>
tony001's avatar
tony001 committed
16
        "empty": "<@getEmptyTextLanguage codelist langrestype '' />"
17 18 19
    },
    <#elseif codelist.getCodeListType() == "DYNAMIC">
    ${codelist.codeName}: {
tony001's avatar
tony001 committed
20
        "empty": "<@getEmptyTextLanguage codelist langrestype '' />",
21 22 23 24 25
    },
    </#if>
  </#list>
</#if>
};