mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-07-03 19:32:14 -04:00
中文显示修改
This commit is contained in:
parent
daa8c09a32
commit
8497f652bc
6 changed files with 8 additions and 8 deletions
|
@ -91,7 +91,7 @@ export const App = ()=> {
|
|||
<div className="inner-menu">
|
||||
<span>
|
||||
<Crown width={40} height={40}/>
|
||||
<h5>Etherpad</h5>
|
||||
<h5><Trans i18nKey="admin.page-title"/></h5>
|
||||
</span>
|
||||
<ul>
|
||||
<li><NavLink to="/plugins"><Cable/><Trans i18nKey="admin_plugins"/></NavLink></li>
|
||||
|
|
|
@ -28,7 +28,7 @@ const LazyImportPlugin: BackendModule = {
|
|||
try {
|
||||
json = JSON.parse(await localeJSON.text())
|
||||
} catch(e) {
|
||||
callback(new Error("Error loading"), null);
|
||||
callback(new Error("加载错误"), null);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -21,13 +21,13 @@ export const SettingsPage = ()=>{
|
|||
settingsSocket!.emit('saveSettings', settings!);
|
||||
useStore.getState().setToastState({
|
||||
open: true,
|
||||
title: "Succesfully saved settings",
|
||||
title: "保存设置成功",
|
||||
success: true
|
||||
})
|
||||
} else {
|
||||
useStore.getState().setToastState({
|
||||
open: true,
|
||||
title: "Error saving settings",
|
||||
title: "保存设置出错",
|
||||
success: false
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue