Uploaded image for project: 'VIVO'
  1. VIVO
  2. VIVO-1875

i18n : grammar problems in French forms of "Events" section

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.12
    • Component/s: None
    • Labels:
      None
    • Attachments:
      3
    • Comments:
      2
    • Sprint:
      VIVO Sprint 12

      Description

      In Event section, several forms are pulling autoCompleteObjectPropForm_fr_CA.ftl, such as (list probably not exhaustive) :

      • add Participants
      • add Input
      • add Result
      • add Part of
      • add Includes event / Has parts
      • add Output

      That ftl file concatenates several variables, which creates grammar problems in French. A quick fix added directly into the code was solving somes cases, while breaking others :

      <p>
      {{ <label for="object"> ${i18n().name_capitalized?cap_first} de la ${propertyNameForDisplay?lower_case} <span class='requiredHint'> *</span></label>}}
      {{ <input class="acSelector" size="50" type="text" id="object" name="objectLabel" acGroupName="object" value="${objectLabel}" />}}
      {{ </p>}}

      The real fix would be much the same as https://github.com/vivo-project/VIVO-languages/pull/43

        Attachments

          Activity

            People

            Assignee:
            dickner.nicolas Nicolas Dickner
            Reporter:
            dickner.nicolas Nicolas Dickner
            Reviewer:
            Andrew Woods Andrew Woods
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: