영문화완료
This commit is contained in:
@@ -18,15 +18,15 @@ namespace Project.Device
|
||||
var fi = new System.IO.FileInfo(ZPLFileName);
|
||||
if (fi.Exists == false || fi.Length == 0)
|
||||
{
|
||||
PUB.log.AddE($"{ZPLFileName} 이 존재하지않거나 데이터가 없습니다 zpl.txt 기본으로 변경합니다");
|
||||
PUB.log.AddE($"{ZPLFileName} does not exist or has no data. Changed to default zpl.txt");
|
||||
fi = new System.IO.FileInfo("zpl.txt");
|
||||
if (fi.Exists == false) PUB.log.AddE("인쇄기본파일(zpl.txt)가 존재하지 않습니다");
|
||||
if (fi.Exists == false) PUB.log.AddE("Print template file (zpl.txt) does not exist");
|
||||
}
|
||||
if (fi.Exists && fi.Length > 1)
|
||||
return System.IO.File.ReadAllText(fi.FullName, System.Text.Encoding.Default);
|
||||
else
|
||||
{
|
||||
PUB.log.AddAT("ZPL파일이 없어 설정의 ZPL코드를 사용합니다");
|
||||
PUB.log.AddAT("No ZPL file found, using ZPL code from settings");
|
||||
return Properties.Settings.Default.ZPL7;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user