Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-2918

glossary view are garbled in Japanese

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4.4
    • Fix Version/s: None
    • Component/s: Glossary
    • Labels:
      None
    • Environment:
      Linux
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_14_STABLE

      Description

      When I register new terms written in Japanese, glossary view are garbled.

      I think this is because of the following code in `mod/glossary/view.php'.

      /// Setting the pivot for the current entry

      $pivot = $entry->pivot;

      if ( !$fullpivot )

      { $pivot = $pivot[0]; }

      This should be

      $pivot = substr ( $pivot, 0, 1 );

      Unfortunately, glossary module of the current version is useless in Japanese ;_;

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            dougiamas Martin Dougiamas added a comment -

            From Eloy Lafuente (stronk7 at moodle.org) Friday, 15 April 2005, 07:22 AM:

            Changed. Both in print.php and view.php.

            Please check it under Japanese...

            TIA and ciao

            From Takashi IMOTO (t.imoto at ntt.com) Monday, 18 April 2005, 11:00 AM:

            I've tested 1.4.4+ (moodle-latest-16.tgz, 2004-04-18), and both view.php and print.php works fine under Japanese.

            TIA

            From Eloy Lafuente (stronk7 at moodle.org) Monday, 18 April 2005, 02:44 PM:

            Closing then... thanks!

            Show
            dougiamas Martin Dougiamas added a comment - From Eloy Lafuente (stronk7 at moodle.org) Friday, 15 April 2005, 07:22 AM: Changed. Both in print.php and view.php. Please check it under Japanese... TIA and ciao From Takashi IMOTO (t.imoto at ntt.com) Monday, 18 April 2005, 11:00 AM: I've tested 1.4.4+ (moodle-latest-16.tgz, 2004-04-18), and both view.php and print.php works fine under Japanese. TIA From Eloy Lafuente (stronk7 at moodle.org) Monday, 18 April 2005, 02:44 PM: Closing then... thanks!
            Hide
            mblake Michael Blake added a comment -

            assign to a valid user

            Show
            mblake Michael Blake added a comment - assign to a valid user

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: