We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9912c7f commit 926f922Copy full SHA for 926f922
app/src/locales/zh_CN.yml
@@ -565,6 +565,7 @@ plugins:
565
566
app:
567
unsaved: "(未保存)"
568
+ draftUnsaved: " 草稿无法自动保存,需手动保存 "
569
comingSoon: "即将到来……"
570
appMenu:
571
file:
app/src/pages/_app.tsx
@@ -227,7 +227,11 @@ export default function App() {
227
const getDisplayFileName = () => {
228
let result = filename;
229
result = PathString.getShortedFileName(result, 30, 0.66);
230
- return result + (isSaved ? "" : t("unsaved"));
+ if (file === Stage.path.draftName) {
231
+ return isSaved ? result : t("draftUnsaved");
232
+ } else {
233
+ return result + (isSaved ? "" : t("unsaved"));
234
+ }
235
};
236
237
return (
0 commit comments