Commit 3d5fe118703f6f6a3eac89e994324fe40a646800

Authored by 고영탁
1 parent a2de3cbfc9
Exists in master and in 2 other branches fhd, fhd-demo

한글화 진행 washwindow.cpp

Showing 1 changed file with 14 additions and 14 deletions   Show diff stats
app/gui/oven_control/washwindow.cpp
@@ -152,8 +152,8 @@ void WashWindow::onChanged() @@ -152,8 +152,8 @@ void WashWindow::onChanged()
152 ui->animation->load(":/images/animation/wash_03.png"); 152 ui->animation->load(":/images/animation/wash_03.png");
153 ui->animation->load(":/images/animation/wash_04.png"); 153 ui->animation->load(":/images/animation/wash_04.png");
154 ui->washStepGauge->setValue(0); 154 ui->washStepGauge->setValue(0);
155 - ui->titleLabel->setText("기기의 내부를 세척 중입니다");  
156 - ui->descLabel->setText("완료될 때까지 문을 열지 마세요.\n기기의 내부의 자동 세척 기능을 실행 중입니다."); 155 + ui->titleLabel->setText(tr("기기의 내부를 세척 중입니다"));
  156 + ui->descLabel->setText(tr("완료될 때까지 문을 열지 마세요.\n기기의 내부의 자동 세척 기능을 실행 중입니다."));
157 ui->washStepTypeLabel->setText(""); 157 ui->washStepTypeLabel->setText("");
158 ui->washStepCountLabel->setText(""); 158 ui->washStepCountLabel->setText("");
159 159
@@ -180,37 +180,37 @@ void WashWindow::onChanged() @@ -180,37 +180,37 @@ void WashWindow::onChanged()
180 switch (control.clean_step_type) 180 switch (control.clean_step_type)
181 { 181 {
182 case 1: 182 case 1:
183 - ui->washStepTypeLabel->setText("내부 헹굼 진행 중입니다."); 183 + ui->washStepTypeLabel->setText(tr("내부 헹굼 진행 중입니다."));
184 break; 184 break;
185 case 2: 185 case 2:
186 - ui->washStepTypeLabel->setText("스팀 급수 진행 중입니다."); 186 + ui->washStepTypeLabel->setText(tr("스팀 급수 진행 중입니다."));
187 break; 187 break;
188 case 3: 188 case 3:
189 - ui->washStepTypeLabel->setText("내부 팬 세척 진행 중입니다."); 189 + ui->washStepTypeLabel->setText(tr("내부 팬 세척 진행 중입니다."));
190 break; 190 break;
191 case 4: 191 case 4:
192 - ui->washStepTypeLabel->setText("내부 스팀 불림 진행 중입니다."); 192 + ui->washStepTypeLabel->setText(tr("내부 스팀 불림 진행 중입니다."));
193 break; 193 break;
194 case 5: 194 case 5:
195 - ui->washStepTypeLabel->setText("내부 강 세척 진행 중입니다."); 195 + ui->washStepTypeLabel->setText(tr("내부 강 세척 진행 중입니다."));
196 break; 196 break;
197 case 6: 197 case 6:
198 - ui->washStepTypeLabel->setText("내부 상부 세척 진행 중입니다."); 198 + ui->washStepTypeLabel->setText(tr("내부 상부 세척 진행 중입니다."));
199 break; 199 break;
200 case 7: 200 case 7:
201 - ui->washStepTypeLabel->setText("내부 스팀 세척 진행 중입니다."); 201 + ui->washStepTypeLabel->setText(tr("내부 스팀 세척 진행 중입니다."));
202 break; 202 break;
203 case 8: 203 case 8:
204 - ui->washStepTypeLabel->setText("세척 종료 진행 중입니다."); 204 + ui->washStepTypeLabel->setText(tr("세척 종료 진행 중입니다."));
205 break; 205 break;
206 case 9: 206 case 9:
207 - ui->washStepTypeLabel->setText("세제 세척수 만들기 진행 중입니다."); 207 + ui->washStepTypeLabel->setText(tr("세제 세척수 만들기 진행 중입니다."));
208 break; 208 break;
209 case 10: 209 case 10:
210 - ui->washStepTypeLabel->setText("세제 세척수 헹굼 진행 중입니다."); 210 + ui->washStepTypeLabel->setText(tr("세제 세척수 헹굼 진행 중입니다."));
211 break; 211 break;
212 case 11: 212 case 11:
213 - ui->washStepTypeLabel->setText("하부 탱크 세척수 만들기 진행 중입니다."); 213 + ui->washStepTypeLabel->setText(tr("하부 탱크 세척수 만들기 진행 중입니다."));
214 break; 214 break;
215 } 215 }
216 } 216 }
@@ -226,7 +226,7 @@ void WashWindow::onChanged() @@ -226,7 +226,7 @@ void WashWindow::onChanged()
226 SoundPlayer::playStop(); 226 SoundPlayer::playStop();
227 DirtyLevel::wash(type); 227 DirtyLevel::wash(type);
228 228
229 - ui->titleLabel->setText("세척이 종료되었습니다"); 229 + ui->titleLabel->setText(tr("세척이 종료되었습니다"));
230 ui->descLabel->setText(""); 230 ui->descLabel->setText("");
231 ui->washStepTypeLabel->setText(""); 231 ui->washStepTypeLabel->setText("");
232 ui->washStepCountLabel->setText(""); 232 ui->washStepCountLabel->setText("");