mirror of https://github.com/marqs85/ossc.git
Userdata export: Translate status and error messages to Japanese.
This commit is contained in:
parent
709187bb43
commit
6542ecaae1
|
@ -419,7 +419,7 @@ eval_button:
|
||||||
prompt_state = 3;
|
prompt_state = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
strncpy(menu_row2, "Exporting...", LCD_ROW_LEN+1);
|
strncpy(menu_row2, LNG("Exporting...", "オマチクダサイ"), LCD_ROW_LEN+1);
|
||||||
ui_disp_menu(2);
|
ui_disp_menu(2);
|
||||||
|
|
||||||
/* Zero out the boot sector, FATs and root directory. */
|
/* Zero out the boot sector, FATs and root directory. */
|
||||||
|
@ -476,19 +476,19 @@ out:
|
||||||
|
|
||||||
switch (retval) {
|
switch (retval) {
|
||||||
case 0:
|
case 0:
|
||||||
msg = "Success";
|
msg = LNG("Success", "カンリョウシマシタ"); // Alternative: "カンリョウイタシマシタ"
|
||||||
break;
|
break;
|
||||||
case SD_NOINIT:
|
case SD_NOINIT:
|
||||||
msg = "No SD card det.";
|
msg = LNG("No SD card det.", "SDカードガミツカリマセン");
|
||||||
break;
|
break;
|
||||||
case -EINVAL:
|
case -EINVAL:
|
||||||
msg = "Invalid params.";
|
msg = LNG("Invalid params.", "パラメータガムコウデス");
|
||||||
break;
|
break;
|
||||||
case UDATA_EXPT_CANCELLED:
|
case UDATA_EXPT_CANCELLED:
|
||||||
msg = "Cancelled";
|
msg = LNG("Cancelled", "キャンセルサレマシタ"); // Alternative: "キャンセルサセテイタダキマス"
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
msg = "SD/Flash error";
|
msg = LNG("SD/Flash error", "SDカFLASHノエラー"); // フラッシュ would be NG.
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
strncpy(menu_row2, msg, LCD_ROW_LEN+1);
|
strncpy(menu_row2, msg, LCD_ROW_LEN+1);
|
||||||
|
|
Loading…
Reference in New Issue