= corrected toString behavior
This commit is contained in:
@@ -132,4 +132,10 @@ public abstract class BaseLocFile
|
|||||||
for(LocInfo toStub : localizeList)
|
for(LocInfo toStub : localizeList)
|
||||||
stringStore.addKeyValue(toStub.file, toStub.phrase, toStub.phrase);
|
stringStore.addKeyValue(toStub.file, toStub.phrase, toStub.phrase);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Converts this to a string
|
||||||
|
public String toString()
|
||||||
|
{
|
||||||
|
return stringStore.toString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,6 +57,6 @@ public class LocCommands extends BaseLocFile implements IConfigSection
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String write() {
|
public String write() {
|
||||||
return super.toString();
|
return toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,6 +53,6 @@ public class LocStrings extends BaseLocFile implements IConfigSection
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String write() {
|
public String write() {
|
||||||
return super.toString();
|
return toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user