public function getTitle($type, $tag)
    {
        switch ($type) {
            case PelIfd::IFD0:
            case PelIfd::IFD1:
            case PelIfd::EXIF:
            case PelIfd::INTEROPERABILITY:
                return Pel::tra(self::getValue(self::$exifTagsTitle, $tag));
            case PelIfd::GPS:
                return Pel::tra(self::getValue(self::$gpsTagsShort, $tag));
            case PelIfd::CANON_MAKER_NOTES:
                return Pel::tra(self::getValue(self::$canonTagsTitle, $tag));
            case PelIfd::CANON_CAMERA_SETTINGS:
                return self::getValue(self::$canonCsTagsTitle, $tag);
            case PelIfd::CANON_SHOT_INFO:
                return self::getValue(self::$canonSiTagsTitle, $tag);
            case PelIfd::CANON_PANORAMA:
                return self::getValue(self::$canonPaTagsTitle, $tag);
            case PelIfd::CANON_PICTURE_INFO:
                return self::getValue(self::$canonPiTagsTitle, $tag);
            case PelIfd::CANON_FILE_INFO:
                return self::getValue(self::$canonFiTagsTitle, $tag);
        }

        return self::unknownTag($tag);
    }