MigrateIssueTypes features is not useable with other language tha English

XMLWordPrintable

    • 3.1

      This problems has been raised by one of my colleague for JIRA 3.10.2 and seems to be not yet corrected in JIRA 3.12.2.

      Button are not internationalised (as it mentionned in @todo tag in com.atlassian.jira.web.action.admin.issuetypes.MigrateIssueTypes).

      We applied the following correction :

      • At line 116 of jiraform.jsp :
        <webwork:property value="'Finish'" id="nextLabel" />

        replaced by

        <webwork:property value="text('common.forms.finish')" id="nextLabel"   />
      • In com.atlassian.jira.web.action.admin.issuetypes.MigrateIssueTypes :
        • New constants added :
          public String BUTTON_NEXT = "common.forms.next.with.arrows";
          public String BUTTON_PREVIOUS = "common.forms.previous.with.arrows";
          public String BUTTON_FINISH = "common.forms.finish";
          
        • Three methods replaced as follow :
          protected boolean isFinishClicked() {
               String finish = StringUtils.isEmpty(getFinishButton()) ? getText(BUTTON_FINISH) : getFinishButton();
          	return isButtonClicked(getNextBtn(), finish);
          }
          
          protected boolean isNextClicked() {
          	String next = getText(BUTTON_NEXT);
               return isButtonClicked(getNextBtn(), next);
          }
          
          protected boolean isPreviousClicked() {
          	String previous = getText(BUTTON_PREVIOUS);
               return isButtonClicked(getPreviousBtn(), previous);
          }

      Rgds
      Vincent

              Assignee:
              Unassigned
              Reporter:
              Vincent Thoulé
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: