Comment 12 for bug 678136

Revision history for this message
Dirk Stöcker (stoecker) wrote :

In src/ui_fsmenu/launchMPG.cc: 586

The following parts aren't displayed German. For me it looks right, so I can't fix it.

        std::string infotext = _("Map informations:\n");
        infotext += (format(_("* Size: %ux%u\n")) % map.get_width() % map.get_height()).str();
        infotext += (format(_("* %i Players\n")) % m_nr_players).str();

        // get translated worldsname
        std::string worldpath((format("worlds/%s") % map.get_world_name()).str());
        Profile prof ((worldpath + "/conf").c_str(), 0, (format("world_%s") % map.get_world_name()).str());
        Section & global = prof.get_safe_section("world");
        std::string world(global.get_safe_string("name"));
        infotext += (format(_("* World type: %s\n")) % world).str();

The "map.get_world_name()" is translated, but the direct texts "Map informations:\n", "* World type: %s\n", "* %i Players\n", "* Size: %ux%u\n" are not, although there are translations for these in the translation files.