Scoped storage japanese translation fix

This commit is contained in:
iota97 2021-08-09 11:24:29 +02:00
parent 624b094ff5
commit 641ceff683
2 changed files with 14 additions and 13 deletions

View file

@ -368,6 +368,7 @@ UI::EventReturn ConfirmMemstickMoveScreen::OnMoveDataClick(UI::EventParams &para
void ConfirmMemstickMoveScreen::update() { void ConfirmMemstickMoveScreen::update() {
UIDialogScreenWithBackground::update(); UIDialogScreenWithBackground::update();
auto iz = GetI18NCategory("MemStick");
if (moveDataTask_) { if (moveDataTask_) {
if (progressView_) { if (progressView_) {
@ -378,7 +379,7 @@ void ConfirmMemstickMoveScreen::update() {
if (result) { if (result) {
if (*result) { if (*result) {
progressReporter_.Set("Done!"); progressReporter_.Set(iz->T("Done!"));
INFO_LOG(SYSTEM, "Move data task finished successfully!"); INFO_LOG(SYSTEM, "Move data task finished successfully!");
// Succeeded! // Succeeded!
FinishFolderMove(); FinishFolderMove();
@ -404,7 +405,7 @@ UI::EventReturn ConfirmMemstickMoveScreen::OnConfirm(UI::EventParams &params) {
// If the directory itself is called PSP, don't go below. // If the directory itself is called PSP, don't go below.
if (moveData_) { if (moveData_) {
progressReporter_.Set("Starting move..."); progressReporter_.Set(iz->T("Starting move..."));
moveDataTask_ = Promise<bool>::Spawn(&g_threadManager, [&]() -> bool * { moveDataTask_ = Promise<bool>::Spawn(&g_threadManager, [&]() -> bool * {
Path moveSrc = g_Config.memStickDirectory; Path moveSrc = g_Config.memStickDirectory;
@ -428,7 +429,7 @@ UI::EventReturn ConfirmMemstickMoveScreen::OnConfirm(UI::EventParams &params) {
// TODO: Handle failure listing files. // TODO: Handle failure listing files.
std::string error = "Failed to read old directory"; std::string error = "Failed to read old directory";
INFO_LOG(SYSTEM, "%s", error.c_str()); INFO_LOG(SYSTEM, "%s", error.c_str());
progressReporter_.Set(error); progressReporter_.Set(iz->T(error.c_str()));
return new bool(false); return new bool(false);
} }
@ -487,8 +488,7 @@ UI::EventReturn ConfirmMemstickMoveScreen::OnConfirm(UI::EventParams &params) {
} }
if (moveFailures > 0) { if (moveFailures > 0) {
std::string error = "Failed to move some files!"; progressReporter_.Set(iz->T("Failed to move some files!"));
progressReporter_.Set(error);
return new bool(false); return new bool(false);
} }

View file

@ -810,14 +810,15 @@ Twitter @PPSSPP_emu = Twitter @PPSSPP_emu
website = ウェブサイトはこちら: website = ウェブサイトはこちら:
written = 速度と移植性を保つためにC++で書かれています written = 速度と移植性を保つためにC++で書かれています
[PSP Memory Stick] [MemStick]
●Data will stay even if you uninstall PPSSPP. = 保存データはPPSSPPをアンインストールしても残る。 DataWillStay = 保存データはPPSSPPをアンインストールしても残る。
●Data can be shared between PPSSPP regular/Gold. = 通常版/ゴールド間でのデータの共有が可能。 DataCanBeShared = 通常版/ゴールド間でのデータの共有が可能。
●Data CANNOT be shared between PPSSPP regular/Gold! = 通常版/ゴールド間でのデータの共有が「できない」。 DataCannotBeShared = 通常版/ゴールド間でのデータの共有が「できない」。
●Easy USB Access = PCとのUSB接続でフォルダにアクセスが簡単にできる。 EasyUSBAccess = PCとのUSB接続でフォルダにアクセスが簡単にできる。
●USB access through Android/data/org.ppsspp.ppsspp/files = USB接続は Android/data/org.ppsspp.ppsspp/files を通して行う。 USBAccessThrough = USB接続は Android/data/org.ppsspp.ppsspp/files を通して行う。
●Warning! Data will be lost when you uninstall PPSSPP! = 警告! PPSSPPをアンインストールすると保存データも削除されます! USBAccessThroughGold = USB接続は Android/data/org.ppsspp.ppssppgold/files を通して行う。
Choose PSP data storage(Memory Stick): = PSPデータの保存先の選択(メモリースティック) DataWillBeLostOnUninstall = 警告! PPSSPPをアンインストールすると保存データも削除されます!
MemoryStickDescription = PSPデータの保存先の選択(メモリースティック)
Create or Choose a PSP folder = フォルダの新規作成または既存フォルダの選択 Create or Choose a PSP folder = フォルダの新規作成または既存フォルダの選択
Use App Private Directory = アプリのプライベートフォルダに保存 Use App Private Directory = アプリのプライベートフォルダに保存
Use PSP folder at root of storage = デバイスの内部ストレージのルートに保存 Use PSP folder at root of storage = デバイスの内部ストレージのルートに保存