This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
The-Powder-Toy/src/common/Localization.h

20 lines
419 B
C

#pragma once
#include <functional>
#include "String.h"
struct Locale
{
// The name of the language this locale is for, readable in both the native
// language and in English;
virtual String GetName() const = 0;
// Populate the translations map.
virtual void Set() const = 0;
virtual String GetIntroText() const = 0;
virtual String GetSavePublishingInfo() const = 0;
virtual String GetRules() const = 0;
};