Clean up poorly formatted (bad) properties in ConfluenceActionSupport.properties

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 2.6.1
    • Component/s: None
    • Environment:
      Confluence 2.5.5

      After using a utility to read in ConfluenceActionSupport.properties and write it out I noticed the following messiness in ConfluenceActionSupport.properties:

      Line 1223:

      rebuild.in.progress=Rebuild In Progress
                                                                                                             -+
      -+-+-+-+-+-+-+
      

      the second two lines are interpreted by Java as:

      -+=
      -+-+-+-+-+-+-+=
      

      (which I'm sure was a mistake)

      The following comment needs to have # before every line, otherwise this:

      (line 5222)

      #mysql.warning=If you are using MySQL, the JDBC URL for the connection <em>must</em> have \
              &lsquo;autoReconnect=true&rsquo; set. For example:</p> \
              <pre>jdbc:mysql://localhost/confluence?autoReconnect=true</pre> \
              <p>If the autoreconnect flag is not set, the MySQL JDBC driver will eventually time out, \
              and Confluence will no longer be able to communicate with the database. If you plan to use non-latin characters, \
              you will also need to add &useUnicode=true&characterEncoding=utf8 \
              on the end of the above URL. These options are \
              not required for any database other than MySQL.
      

      produces an actual property:

      &lsquo;autoReconnect=true&rsquo; set. For example:</p> <pre>jdbc:mysql://localhost/confluence?autoReconnect=true</pre> <p>If the autoreconnect flag is not set, the MySQL JDBC driver will eventually time out, and Confluence will no longer be able to communicate with the datab\
      ase. If you plan to use non-latin characters, you will also need to add &useUnicode=true&characterEncoding=utf8 on the end of the above URL. These options are not required for any database other than MySQL.
      

      Finally, the following properties don't follow the lowercase naming scheme found in the rest of the properties. This might be good to clean up as part of 2.6, but since they could be being used by people, you may want to just leave them alone, even though they are ugly:

      ADMINISTRATECONFLUENCE=Administer Confluence
      AbstractPageAction.space.key.empty=You must enter a value for space key.
      AbstractSetupEmailAction.name.empty=Name can''t be empty!
      COMMENT=Leave Comments
      CREATESPACE=Create Space
      EDITSPACE=Modify Space
      PROFILEATTACHMENTS=Attach Files to User Profile
      PageNotPermittedAction.action.cannot.view=You cannot view this page
      PageNotPermittedAction.action.cannot.view.description=Page level restrictions have been applied that limits access to this page.
      PageNotPermittedAction.action.cannot.view.inherited=You cannot view this page due to inherited restrictions
      PageNotPermittedAction.action.cannot.view.inherited.description=Page level restrictions have been applied to a parent of the current page. These restrictions limit access to only certain certain user(s) or group(s) and apply to all pages in the hierarchy underneath the parent.
      Please=note that only alphanumeric characters are allowed for variable names; no space or other special characters will be picked.
      SETSPACEPERMISSIONS=Administer Space
      See=also:</b> <a href="">global popular labels</a>.
      USECONFLUENCE=Use Confluence
      VIEWSPACE=View Space
      

              Assignee:
              Unassigned
              Reporter:
              Gary Weaver
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: