Skip to content

Commit

Permalink
いくつかの翻訳漏れを直す
Browse files Browse the repository at this point in the history
  • Loading branch information
nicked committed Mar 30, 2024
1 parent 630cb2c commit 149e67b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/ceui/lisa/core/Manager.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void restore() {
ex.printStackTrace();
}
}
Common.showToast("下载记录恢复成功");
Common.showToast(R.string.dl_history_recovery_success);
}
}

Expand Down
8 changes: 4 additions & 4 deletions app/src/main/java/ceui/lisa/fragments/FragmentDownload.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ public void onClick(QMUIDialog dialog, int index) {
public void onClick(QMUIDialog dialog, int index) {
AppDatabase.getAppDatabase(mContext).downloadDao().deleteAllDownload();
((FragmentDownloadFinish) allPages[1]).clearAndRefresh();
Common.showToast("下载记录清除成功");
Common.showToast(R.string.dl_record_delete_success);
dialog.dismiss();
}
})
.show();
} else {
Common.showToast("没有可删除的记录");
Common.showToast(R.string.no_dl_record_to_delete);
}
return true;
} else if (item.getItemId() == R.id.action_start) {
Expand Down Expand Up @@ -107,13 +107,13 @@ public void onClick(QMUIDialog dialog, int index) {
public void onClick(QMUIDialog dialog, int index) {
Manager.get().clearAll();
((FragmentDownloading) allPages[0]).clearAndRefresh();
Common.showToast("下载任务清除成功");
Common.showToast(R.string.dl_record_delete_success);
dialog.dismiss();
}
})
.show();
} else {
Common.showToast("没有可删除的记录");
Common.showToast(R.string.no_dl_record_to_delete);
}
}
return false;
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/ceui/lisa/fragments/FragmentHistory.java
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,6 @@ public Class<? extends BaseModel<?>> modelClass() {

@Override
public String getToolbarTitle() {
return "浏览记录";
return getString(R.string.view_history);
}
}
3 changes: 3 additions & 0 deletions app/src/main/res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -655,4 +655,7 @@
<string name="color_classicGreen">クラシックグリーン</string>
<string name="color_classicPurple">クラシックパープル</string>
<string name="theme_nowUsing">(使用中)</string>
<string name="dl_history_recovery_success">ダウンロード記録を復元しました</string>
<string name="no_dl_record_to_delete">削除できる記録がありません</string>
<string name="dl_record_delete_success">ダウンロード記録を削除しました</string>
</resources>
3 changes: 3 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -680,4 +680,7 @@
<string name="color_classicPurple">基佬紫</string>
<string name="color_peachPink">樱桃粉</string>
<string name="theme_nowUsing">(正在使用)</string>
<string name="dl_history_recovery_success">下载记录恢复成功</string>
<string name="no_dl_record_to_delete">没有可删除的记录</string>
<string name="dl_record_delete_success">下载记录清除成功</string>
</resources>

0 comments on commit 149e67b

Please sign in to comment.