Merge branch 'master_develop' of http://60.1.1.230/gaoxin/JL_Client into master_develop
commit
504e6010e3
|
@ -499,7 +499,35 @@ internal sealed class XmlWorksheetReader : IDisposable
|
||||||
string rawValue = null;
|
string rawValue = null;
|
||||||
while (!Reader.EOF)
|
while (!Reader.EOF)
|
||||||
{
|
{
|
||||||
if (Reader.IsStartElement(NV, NsSpreadsheetMl))
|
|
||||||
|
if (aT == NInlineStr && Reader.IsStartElement(NIs, NsSpreadsheetMl))
|
||||||
|
{
|
||||||
|
if (!XmlReaderHelper.ReadFirstContent(Reader))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
while (!Reader.EOF)
|
||||||
|
{
|
||||||
|
if (Reader.IsStartElement(AT))
|
||||||
|
{
|
||||||
|
|
||||||
|
rawValue = Reader.ReadElementContentAsString();
|
||||||
|
|
||||||
|
if (Reader.NodeType == XmlNodeType.EndElement)
|
||||||
|
{
|
||||||
|
// 这里要读两次跳出<is>和<t>两个标签
|
||||||
|
Reader.Read();
|
||||||
|
Reader.Read();
|
||||||
|
}
|
||||||
|
return rawValue;
|
||||||
|
}
|
||||||
|
else if (!XmlReaderHelper.SkipContent(Reader))
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (Reader.IsStartElement(NV, NsSpreadsheetMl))
|
||||||
{
|
{
|
||||||
if (aT == AS)
|
if (aT == AS)
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,8 +19,8 @@ namespace Assets.Scripts.Editor.LanguageTool
|
||||||
private static int IDFlag = 10000;
|
private static int IDFlag = 10000;
|
||||||
|
|
||||||
// excel 路径
|
// excel 路径
|
||||||
private static string PrefrabCSVPath = Environment.CurrentDirectory + "/data_execl/excelTool/Export/LanguageText.csv";
|
private static string PrefrabCSVPath = Environment.CurrentDirectory + "/data_execl/Language_data/LanguageText.csv";
|
||||||
private static string LuaCSVPath = Environment.CurrentDirectory + "/data_execl/excelTool/Export/LanguageLua.csv";
|
private static string LuaCSVPath = Environment.CurrentDirectory + "/data_execl/Language_data/LanguageLua.csv";
|
||||||
|
|
||||||
// prefrab 路径
|
// prefrab 路径
|
||||||
private static string[] PrefrabPath = new string[] { "Assets/ManagedResources/Prefabs/UI", "Assets/ManagedResources/UpdatePanel" };
|
private static string[] PrefrabPath = new string[] { "Assets/ManagedResources/Prefabs/UI", "Assets/ManagedResources/UpdatePanel" };
|
||||||
|
|
Loading…
Reference in New Issue