Remove unneeded translation.hpp in header files
This commit is contained in:
parent
20864d3c53
commit
8d1923acfd
@ -35,7 +35,7 @@
|
||||
#include "tracks/track.hpp"
|
||||
#include "tracks/track_manager.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
@ -32,7 +32,6 @@
|
||||
|
||||
#include "race/race_manager.hpp"
|
||||
#include "utils/no_copy.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
class ChallengeData;
|
||||
class UTFWriter;
|
||||
|
@ -72,6 +72,7 @@
|
||||
#include "utils/log.hpp"
|
||||
#include "utils/profiler.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
#include "utils/vs.hpp"
|
||||
|
||||
#include <irrlicht.h>
|
||||
|
@ -27,6 +27,8 @@
|
||||
#include "utils/mini_glm.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
|
||||
#include <set>
|
||||
|
||||
namespace SP
|
||||
{
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "karts/kart_properties_manager.hpp"
|
||||
#include "utils/log.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
#include "io/file_manager.hpp"
|
||||
|
||||
#include <IGUIEnvironment.h>
|
||||
|
@ -269,7 +269,6 @@ void RibbonWidget::add()
|
||||
label->setTextAlignment(EGUIA_CENTER, EGUIA_CENTER);
|
||||
label->setTabStop(false);
|
||||
label->setNotClipped(true);
|
||||
label->setRightToLeft(translations->isRTLText(message));
|
||||
m_labels.push_back(label);
|
||||
|
||||
subbtn->setTabStop(false);
|
||||
@ -367,7 +366,6 @@ void RibbonWidget::add()
|
||||
label->setTextAlignment(EGUIA_CENTER, EGUIA_CENTER);
|
||||
label->setTabStop(false);
|
||||
label->setNotClipped(true);
|
||||
label->setRightToLeft(translations->isRTLText(message));
|
||||
m_labels.push_back(label);
|
||||
|
||||
subbtn->setTabStop(false);
|
||||
|
@ -50,6 +50,7 @@
|
||||
#include "states_screens/state_manager.hpp"
|
||||
#include "utils/debug.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
#include <ISceneManager.h>
|
||||
#include <ICameraSceneNode.h>
|
||||
|
@ -117,7 +117,6 @@ public:
|
||||
AbstractKart *getKart() const { return m_kart; }
|
||||
}; // Controller
|
||||
|
||||
extern Translations* translations;
|
||||
#endif
|
||||
|
||||
/* EOF */
|
||||
|
@ -35,6 +35,8 @@
|
||||
#include "states_screens/online/networking_lobby.hpp"
|
||||
#include "utils/time.hpp"
|
||||
#include "utils/log.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
// ============================================================================
|
||||
|
@ -17,6 +17,8 @@
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
#include "utils/log.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include "tracks/track_manager.hpp"
|
||||
#include "tracks/track.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
|
@ -61,6 +61,7 @@
|
||||
#include "tracks/track_manager.hpp"
|
||||
#include "utils/ptr_vector.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
RaceManager* race_manager= NULL;
|
||||
|
||||
|
@ -32,7 +32,6 @@
|
||||
|
||||
#include "network/remote_kart_info.hpp"
|
||||
#include "race/grand_prix_data.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
#include "utils/vec3.hpp"
|
||||
|
||||
class AbstractKart;
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include "tracks/track_object.hpp"
|
||||
#include "tracks/track_object_manager.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
#include <angelscript.h>
|
||||
#include "scriptarray.hpp"
|
||||
|
@ -23,6 +23,8 @@
|
||||
#include "guiengine/widgets/label_widget.hpp"
|
||||
#include "io/xml_node.hpp"
|
||||
#include "online/xml_request.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "states_screens/state_manager.hpp"
|
||||
#include "tracks/track.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
#include <IGUIEnvironment.h>
|
||||
|
||||
|
@ -59,8 +59,7 @@
|
||||
#include "tracks/track_manager.hpp"
|
||||
#include "tracks/track.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
|
||||
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -45,6 +45,7 @@
|
||||
#include "states_screens/dialogs/general_text_field_dialog.hpp"
|
||||
#include "states_screens/dialogs/message_dialog.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -60,6 +60,7 @@
|
||||
#include "tracks/track.hpp"
|
||||
#include "tracks/track_manager.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
#include <algorithm>
|
||||
|
||||
/** Constructor, initialises internal data structures.
|
||||
|
@ -37,7 +37,6 @@ using namespace irr;
|
||||
|
||||
#include "utils/aligned_array.hpp"
|
||||
#include "utils/log.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
#include "utils/vec3.hpp"
|
||||
#include "utils/ptr_vector.hpp"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user