Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-36500

i18n strings are duplicated across T&Q

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0, 2.7.1, 2.8.0
    • Fix Version/s: 2.8.0
    • Labels:
      None
    • Previous Issue Keys:
      SAM-1011

      Description

      An example is the string Single Correct which is
      q_mult_sing in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/EvaluationMessages.properties
      single and multiple_choice_sin in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties

      I'm telling you about this one I found while working on an update of the fr_FR but there may be others.

      Do you have time to find other duplicates and solve this?

      Here are others:

      "Multiple Correct, Single Selection"
      q_mult_mult_ss in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/EvaluationMessages.properties
      multipl_mc_ss and multiple_correct_ss in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties

      "Multiple Correct, Multiple Selection"
      q_mult_mult_ms in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/EvaluationMessages.properties
      multipl_mc_ms and multiple_correct_ms in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties

      "Feedback (optional)"
      feedback_optional in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      feedback_optional in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties

      "Feedback"
      feedback in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/TemplateMessages.properties
      feedback in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/SelectIndexMessages.properties
      feedback (twice) in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/EvaluationMessages.properties
      feedback in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      feedback in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/PrintMessages.properties
      heading_feedback, t_feedback and variant with feedback in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AssessmentSettingsMessages.properties
      feedback and variant with feedback_ in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties

      "Feedback Authoring"
      feedback_authoring in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/TemplateMessages.properties
      feedback_authoring in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AssessmentSettingsMessages.properties

      "Question-Level Feedback"
      questionlevel_feedback and question_level in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/TemplateMessages.properties
      questionlevel_feedback and question_level_feedback in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AssessmentSettingsMessages.properties

      "Feedback Delivery"
      feedback_delivery in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/TemplateMessages.properties
      feedback_delivery in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AssessmentSettingsMessages.properties

      "Feedback on submission"
      feedback_on_submission in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/TemplateMessages.properties
      feedback_on_submission in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AssessmentSettingsMessages.properties
      feedback_on_submission in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties

      "Student Response"
      student_response in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/TemplateMessages.properties
      stud_resp in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/EvaluationMessages.properties
      student_response in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      student_response in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AssessmentSettingsMessages.properties
      student_response in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties

      "Correct Response"
      correct_response in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/TemplateMessages.properties
      correct_response in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/EvaluationMessages.properties
      correct_response in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      correct_response in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AssessmentSettingsMessages.properties
      correct_response in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties

      "Selection-Level Feedback"
      selection_level in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/TemplateMessages.properties
      selection_level_feedback in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AssessmentSettingsMessages.properties

      "Grader's Comments"
      graders_comments in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/TemplateMessages.properties
      grader_s_comme in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      grader_comments in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AssessmentSettingsMessages.properties
      grader_s_comme in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties

      "Statistics and Histograms"
      statistics_hist in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/TemplateMessages.properties
      statistics_and_histo in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      statistics_and_histogram in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AssessmentSettingsMessages.properties
      statistics_and_histo in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties

      This is all I've quickly found integrating a translation updates. I might have missed duplicates of values I was not updating the translation.

      Sorry, here come other dupes because I'm working on further changes.

      "Next"
      next in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/QuestionPoolMessages.properties
      button_next in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties
      MAYBE samlite_validate in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/SamLite.properties

      "Cancel"
      cancel in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/QuestionPoolMessages.properties
      cancel in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/TemplateMessages.properties
      cancel (twice) in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/EvaluationMessages.properties
      button_cancel in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      export_cancel_action and import_cancel_action in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorImportExport.properties
      button_cancel in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/GeneralMessages.properties
      button_cancel in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AssessmentSettingsMessages.properties
      button_cancel in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties

      "Edit"
      modify in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/QuestionPoolMessages.properties
      button_edit, button_modify, edit_part and action_edit in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties

      "Preview"
      preview in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/QuestionPoolMessages.properties
      subnav_preview, preview, t_preview and action_preview in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      preview in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties

      "Settings"
      button_settings and link_settings in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorFrontDoorMessages.properties
      subnav_settings, action_settings in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      settings in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AssessmentSettingsMessages.properties
      settings and subnav_settings in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties

      "Publish"
      button_publish, subnav_publish, t_publish and action_publish in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      button_save_and_publish in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AssessmentSettingsMessages.properties

      "Duplicate"
      button_copy and action_duplicate in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties

      "Export"
      export in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/QuestionPoolMessages.properties
      button_export and link_export in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorFrontDoorMessages.properties
      export and t_export in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/EvaluationMessages.properties
      action_export in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      export in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorImportExport.properties

      "Remove"
      remove in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/QuestionPoolMessages.properties
      index_button_remove in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/TemplateMessages.properties
      button_remove and link_remove in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorFrontDoorMessages.properties
      button_remove, remove_part and action_remove in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      button_remove in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/GeneralMessages.properties
      button_remove and remove in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties

      "Scores"
      link_scores in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorFrontDoorMessages.properties
      action_scores in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties

      End of second batch.

      Start of third batch.

      "Default"
      default in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      default in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties

      "Entire Site"
      entire_site (twice) in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorFrontDoorMessages.properties

      End of third batch.

      Start fourth batch.

      "Correct Feedback"
      correctItemFeedback in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      correct_feedback in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/PrintMessages.properties

      "Incorrect Feedback"
      incorrectItemFeedback in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      incorrect_feedback in./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/PrintMessages.properties

      Maybe "Selection level Feedback" (selection_level_feed in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties) should be merged with "Selection-Level Feedback" (shown before) and "Selection-level Feedback" (selection_level_feed in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties)

      We also have "Feedback delivery" (feedback_delivery in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties) and "Feedback delivery:" (feedback_delivery in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties) which are close to "Feedback Delivery" (shown before)

      "Question Text"
      q_text in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/QuestionPoolMessages.properties
      question_text in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/TemplateMessages.properties
      q_text and question_text in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorMessages.properties
      question_text in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AssessmentSettingsMessages.properties
      q_text and variant question_text in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/DeliveryMessages.properties

      "Selection-Level(A,B,C...) Feedback"/"Selection-Level (A,B,C...) Feedback"
      sectionlevel_feedback in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/TemplateMessages.properties
      sectionlevel_feedback in ./samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AssessmentSettingsMessages.properties

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jthapa Jasmine Thapa (Inactive)
                  Reporter:
                  jean-francois.leveque@upmc.fr Jean-François Lévêque
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code