Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-778 META: Migrate to Ionic
  3. MOBILE-1127

Rename auto-translated strings to use {{$a}} placeholders

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Internationalization
    • Labels:
    • Testing Instructions:
      Hide
      • Change the language to spanish
      • Go to a course with a forum with discussions
      • Open a discussion, check that the dates "ago" are displayed correctly (the info that says that a message was posted X days/hours ago)
      Show
      Change the language to spanish Go to a course with a forum with discussions Open a discussion, check that the dates "ago" are displayed correctly (the info that says that a message was posted X days/hours ago)
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      We need to rename some of the strings that are auto-translated to use the Moodle placeholder (instead our custom ones), right now the only ones that are auto-translated are.

          "mm.core.numdays": "{{number}} days",
          "mm.core.numhours": "{{number}} hours",
          "mm.core.numminutes": "{{number}} minutes",
          "mm.core.nummonths": "{{number}} months",
          "mm.core.numseconds": "{{number}} seconds",
          "mm.core.numyears": "{{number}} years",
      

      This is causing a problem when viewing the forums in spanish, french, catalan...

        Attachments

          Activity

            People

            Assignee:
            jleyva Juan Leyva
            Reporter:
            jleyva Juan Leyva
            Peer reviewer:
            Dani Palou
            Integrator:
            Juan Leyva
            Tester:
            Juan Leyva
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Jul/15