forked from Kolyah35/minecraft-pe-0.6.1
server compilable
This commit is contained in:
@@ -3,17 +3,17 @@
|
||||
|
||||
//package net.minecraft.locale;
|
||||
|
||||
#include "IPlatform.h"
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
class AppPlatform;
|
||||
class ItemInstance;
|
||||
|
||||
class I18n
|
||||
{
|
||||
class I18n {
|
||||
typedef std::map<std::string, std::string> Map;
|
||||
public:
|
||||
static void loadLanguage(AppPlatform* platform, const std::string& languageCode);
|
||||
static void loadLanguage(IPlatform& platform, const std::string& languageCode);
|
||||
|
||||
static bool get(const std::string& id, std::string& out);
|
||||
static std::string get(const std::string& id);
|
||||
@@ -24,7 +24,7 @@ public:
|
||||
static std::string getDescriptionString( const ItemInstance& item );
|
||||
|
||||
private:
|
||||
static void fillTranslations(AppPlatform* platform, const std::string& filename, bool overwrite);
|
||||
static void fillTranslations(IPlatform& platform, const std::string& filename, bool overwrite);
|
||||
static Map _strings;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user