Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9702

In User Profile, use term 'About' instead of 'Comment' for the free text field

    XMLWordPrintable

Details

    • Trivial
    • N/A
    • N/A
    • Pull Request accepted
    • Code, User Interface

    Description

      XWIKI-7626 introduced the ability to customize the user profile fields also making the display of fields automatic instead of manual.

      In https://github.com/xwiki/xwiki-platform/commit/6801750111af50813a2dbf45135f571a342c03a8

      $msg.get('platform.core.profile.about')
      $doc.display('comment')
      

      has been changed with

      $doc.displayPrettyName("${sectionProperty}")
      $doc.display($sectionProperty)
      

      where

      platform.core.profile.about=About
      XWiki.XWikiUsers_comment=Comment
      

      That's why and how the old (more descriptive) 'About' term has been replaced with 'Comment' term which is confusing and overlaps with our 'Comments/Annotations' terminology.

      We need to change it back and we can do so by fixing the pretty name (English translation value) of the "comment" users class property.

      Objective

      Update the existing translation with new value.

      Prerequisites

      Familiarize yourself with XWiki by downloading and installing the latest version.

      For questions you can always use the Forum or the IRC channel, see http://dev.xwiki.org/xwiki/bin/view/Community/Discuss

      Try to reproduce the issue described by the task. You should use your browser's Developer Tools to identify and test your solution.

      Once you have reproduced the issue presented in the task, it's the time to identify the location where it needs to be fixed in the code.
      You should be familiar with using Git locally or you might be able to commit your changes from the GitHub interface.

      The task will give you hints about the component where the code with the problem is located. Identify the file, make the changes and submit a Pull Request for mentors to approve and close the task. Don't forget to add screenshots with before and after your changes.

      Requirements

      • Knowledge of HTML, XML, basic programming, Git
      • You will encounter concepts like Templating engines, Apache Velocity, Localization module etc. but you don't need to be familiar with them in advance

      Expected Outcome

      Attachments

        1. about.png
          29 kB
          Ecaterina Moraru (Valica)

        Issue Links

          Activity

            People

              srijanjha09@gmail.com Srijan Jha
              evalica Ecaterina Moraru (Valica)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: