Jetspeed 2
  1. Jetspeed 2
  2. JS2-564

wrong italian localization strings

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Other
    • Labels:
      None

      Description

      When italian localized strings are used on alert or confirm pages, they should not contain the ' character, because localized strings are enclosed between ' and '. Putting another ' inside localized string causes a javascript error, and window is not displayed. In example, on SSO Detail Portlet, deleting a remote user becomes impossible, because the Confirm window does not appear. Two wrong localized strings have been found:

      • j2-admin/WEB-INF/classes/org/apache/jetspeed/portlets/security/resources/SSODetailsResources_it.properties
        key = confirmToDeleteRemote
        value = Conferma l' eliminazione Remota
        proposed: rimuovere utente remoto (to remove remote user)

      j2-admin/WEB-INF/classes/org/apache/jetspeed/portlets/security/resources/SSOResources_it.properties
      key = confirmtodeletesite
      value = Conferma l' eliminazione del sito
      proposed: Eliminare il sito (to remove site)

      Two are the ways to resolve this bug:
      1) instead of ' you can use ", but all javascript calls should be changed
      2) change localized string, maybe using those we proposed

        Activity

        Hide
        Ate Douma added a comment -

        I've choosen solution 2 for now.
        Please review and thanks for the report.

        Show
        Ate Douma added a comment - I've choosen solution 2 for now. Please review and thanks for the report.

          People

          • Assignee:
            Ate Douma
            Reporter:
            cardinis solutions spa
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development