Skip to content

Commit

Permalink
✔ 完成右键菜单汉化
Browse files Browse the repository at this point in the history
-[x] 完成右键菜单汉化
-[ ] 开始系统软件汉化
  • Loading branch information
inwinter04 committed Nov 1, 2022
1 parent 9e3f318 commit b0b7080
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 176 deletions.
1 change: 0 additions & 1 deletion public/google5c2eff7d87cfc5e5.html

This file was deleted.

50 changes: 25 additions & 25 deletions public/locales/en/translate.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"about.opensource": "win11React is an open source project made in the hope to replicate the Windows 11 desktop experience on web, using standard web technologies like React, CSS, and JavaScript.",
"about.notmicrosoft": "This project is not in anyway affiliated with Microsoft and should not be confused with Microsoft's Operating System or Products.",
"about.Creative-Commons": "Creative-Commons",
"about.title": "About",
"about.licensed": "This project is licensed under",
"about.alsonot": "This is also not",
"about.microsoftcopywrite": "Microsoft, Windows and Other demonstrated Products in this project are trademarks of the Microsoft group of companies",
"about.understand": "Ok, I understand",
"about.contact": "contact",
"store.featured-app": "Featured Apps",
"store.featured-app.info": "Take your experience to new heights with these must-have apps",
"store.featured-game": "Featured Games",
"store.featured-game.info": "Explore fun to play xbox games and find a new favorite",
"store.featured-film": "Featured Films",
"store.featured-film.info": "Rent or buy the latest hit films and watch them at home or on the go",
"store.free": "FREE",
"store.owned": "Owned",
"store.rent": "Rent",
"store.features": "Features",
"store.ratings": "Ratings and reviews",
"store.description": "Description",
"camera.take-photo": "Take photo",
"oobe.country": "Is this the right country or region?",
"oobe.keyboard": "Is this the right keyboard layout or input method?",
"oobe.anotherkeyboard": "If you also use another keyboard layout, you can add that next"
"about.opensource": "win11React 是一个开源项目,旨在使用 React、CSS 和 JavaScript 等标准 Web 技术在 Web 上复制 Windows 11 桌面体验",
"about.notmicrosoft": "此项目绝不附属于微软,且不应与微软操作系统或产品混淆。",
"about.Creative-Commons": "知识共享",
"about.title": "关于",
"about.licensed": "此项目已授权使用",
"about.alsonot": "这也不是",
"about.microsoftcopywrite": "本项目中微软、Windows和其他示范产品是微软公司组的商标。",
"about.understand": "好的,我明白了",
"about.contact": "联系",
"store.featured-app": "精选应用",
"store.featured-app.info": "使用这些必备应用程序将您的体验提升到新的高度",
"store.featured-game": "特色游戏",
"store.featured-game.info": "探索乐趣来玩xbox 游戏并找到一个新收藏",
"store.featured-film": "精选电影",
"store.featured-film.info": "租借或购买最新的热门电影,在家中或旅途中观看",
"store.free": "免费的",
"store.owned": "拥有的",
"store.rent": "租金",
"store.features": "功能",
"store.ratings": "评级和评论",
"store.description": "描述",
"camera.take-photo": "拍照",
"oobe.country": "这是正确的国家或地区吗?",
"oobe.keyboard": "这是正确的键盘布局或输入法吗?",
"oobe.anotherkeyboard": "如果您还有使用其他的键盘布局,您可以添加下一个"
}
110 changes: 0 additions & 110 deletions src/containers/applications/apps/discord.jsx

This file was deleted.

1 change: 0 additions & 1 deletion src/containers/applications/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import "./wnapp.scss";
export * from "./apps/about";
export * from "./apps/calculator";
export * from "./apps/camera";
export * from "./apps/discord";
export * from "./apps/edge";
export * from "./apps/explorer";
export * from "./apps/getstarted";
Expand Down
4 changes: 0 additions & 4 deletions src/containers/applications/wnapp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,6 @@ body[data-theme="dark"] .calcApp {
background: rgb(24, 24, 24);
}

.discordWn {
background: #36393f;
}

.lightWindow {
background: #e7eaec;
}
Expand Down
40 changes: 20 additions & 20 deletions src/reducers/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const defState = {
type: "hr",
},
{
name: "Next desktop background",
name: "下一个桌面背景",
action: "WALLNEXT",
},
{
Expand All @@ -142,15 +142,15 @@ const defState = {
],
task: [
{
name: "Align icons",
name: "排列图标",
opts: [
{
name: "Left",
name: "居左",
action: "changeTaskAlign",
payload: "left",
},
{
name: "Center",
name: "居中",
action: "changeTaskAlign",
payload: "center",
dot: true,
Expand All @@ -161,30 +161,30 @@ const defState = {
type: "hr",
},
{
name: "Search",
name: "搜索",
opts: [
{
name: "Show",
name: "显示",
action: "TASKSRCH",
payload: true,
},
{
name: "Hide",
name: "隐藏",
action: "TASKSRCH",
payload: false,
},
],
},
{
name: "Widgets",
name: "小部件",
opts: [
{
name: "Show",
name: "显示",
action: "TASKWIDG",
payload: true,
},
{
name: "Hide",
name: "隐藏",
action: "TASKWIDG",
payload: false,
},
Expand All @@ -194,52 +194,52 @@ const defState = {
type: "hr",
},
{
name: "Show Desktop",
name: "显示桌面",
action: "SHOWDSK",
},
],
app: [
{
name: "Open",
name: "打开",
action: "performApp",
payload: "open",
},
{
name: "Run as administrator",
name: "以管理员身份运行",
action: "performApp",
payload: "open",
icon: "win/shield",
},
{
name: "Open file location",
name: "打开文件所在的位置",
dsb: true,
},
{
name: "Unpin from start",
name: "从开始菜单取消固定",
dsb: true,
},
{
name: "Compress to Zip file",
name: "压缩为 ZIP 文件",
dsb: true,
},
{
name: "Copy as path",
name: "复制文件地址",
dsb: true,
},
{
name: "Properties",
name: "属性",
dsb: true,
},
{
type: "hr",
},
{
name: "Delete shortcut",
name: "删除快捷方式",
action: "performApp",
payload: "delshort",
},
{
name: "Delete",
name: "删除",
action: "delApp",
payload: "delete",
},
Expand Down
8 changes: 1 addition & 7 deletions src/utils/apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const apps = [
action: "EXPLORER",
},
{
name: "Browser",
name: "Microsoft Edge",
icon: "edge",
type: "app",
action: "MSEDGE",
Expand Down Expand Up @@ -293,12 +293,6 @@ const apps = [
action: "EXTERNAL",
payload: "https://blueedge.me/unescape",
},
{
name: "Discord",
icon: "discord",
type: "app",
action: "DISCORD",
},
];

for (let i = 0; i < installed.length; i++) {
Expand Down
15 changes: 7 additions & 8 deletions src/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ var { taskbar, desktop, pinned, recent } = {
taskbar: (localStorage.getItem("taskbar") &&
JSON.parse(localStorage.getItem("taskbar"))) || [
"Settings",
"File Explorer",
"Browser",
"文件资源管理器",
"Microsoft Edge",
"Store",
"Spotify",
],
Expand All @@ -14,16 +14,16 @@ var { taskbar, desktop, pinned, recent } = {
"Blue",
"Unescape",
"Recycle Bin",
"File Explorer",
"文件资源管理器",
"Store",
"Browser",
"Microsoft Edge",
"Github",
"Spotify",
"Buy me a coffee",
],
pinned: (localStorage.getItem("pinned") &&
JSON.parse(localStorage.getItem("pinned"))) || [
"Browser",
"Microsoft Edge",
"Get Started",
"Task Manager",
"Mail",
Expand All @@ -36,10 +36,9 @@ var { taskbar, desktop, pinned, recent } = {
"Calculator",
"Spotify",
"Twitter",
"File Explorer",
"文件资源管理器",
"Terminal",
"Github",
"Discord",
"Camera",
],
recent: (localStorage.getItem("recent") &&
Expand All @@ -48,7 +47,7 @@ var { taskbar, desktop, pinned, recent } = {
"Twitter",
"Terminal",
"Github",
"File Explorer",
"文件资源管理器",
"Spotify",
"Edge",
],
Expand Down

0 comments on commit b0b7080

Please sign in to comment.