i18n:Replace qstr with Translation.tr and update the translation file

This commit is contained in:
月月
2025-07-12 22:46:24 +08:00
parent af5d25b575
commit fb0d3f7f40
8 changed files with 196 additions and 20 deletions
@@ -73,7 +73,7 @@ Item {
},
{
name: "save",
description: qsTr("Save chat"),
description: Translation.tr("Save chat"),
execute: (args) => {
const joinedArgs = args.join(" ")
if (joinedArgs.trim().length == 0) {
@@ -85,7 +85,7 @@ Item {
},
{
name: "load",
description: qsTr("Load chat"),
description: Translation.tr("Load chat"),
execute: (args) => {
const joinedArgs = args.join(" ")
if (joinedArgs.trim().length == 0) {
@@ -97,7 +97,7 @@ Item {
},
{
name: "clear",
description: qsTr("Clear chat history"),
description: Translation.tr("Clear chat history"),
execute: () => {
Ai.clearMessages();
}