Dawn/src/dawntools/util/Language.hpp

19 lines
395 B
C++

// Copyright (c) 2023 Dominic Masters
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#pragma once
#include "util/Xml.hpp"
#include "util/File.hpp"
struct LanguageString {
std::string key;
std::string lang;
std::string text;
};
static int32_t languageSaveStrings(
std::string languagesDir,
std::vector<struct LanguageString> strings
);