Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R] Partial i18n refactor & notification visual effect improvements #25

Merged
merged 24 commits into from
Jul 10, 2023

Conversation

LS-KR
Copy link
Member

@LS-KR LS-KR commented Jun 22, 2023

还是手译的(塑料英语)

@netlify
Copy link

netlify bot commented Jun 22, 2023

Deploy Preview for oau-main-preview ready!

Name Link
🔨 Latest commit a9adbf8
🔍 Latest deploy log https://app.netlify.com/sites/oau-main-preview/deploys/64ab4d971389d2000801fd61
😎 Deploy Preview https://deploy-preview-25--oau-main-preview.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

src/App.vue Outdated
Comment on lines 44 to 54
let lang = getLang();
if (lang === 'zh_hant')
{
((document.querySelector('div#nav') as Element).firstElementChild.children.item(0) as Element).textContent = "首頁" as string
((document.querySelector('div#nav') as Element).firstElementChild.children.item(1) as Element).textContent = "聯繫" as string
}
if (lang === 'en')
{
((document.querySelector('div#nav') as Element).firstElementChild.children.item(0) as Element).textContent = "Home" as string
((document.querySelector('div#nav') as Element).firstElementChild.children.item(1) as Element).textContent = "Contact" as string
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在 Vue 里面用 querySelector 手动设置内容不太好... 改了一下改成用一个变量定义多语言文字了

@hykilpikonna
Copy link
Member

改了一下切换语言按钮

image

@hykilpikonna
Copy link
Member

本地化了一些翻译细节,整体还不错。

(还没改完,好累呜呜

@LS-KR
Copy link
Member Author

LS-KR commented Jun 30, 2023

把原文的小册子指向的url改了一下

(以及为什么是个了解更多页面(气鼓鼓

@LS-KR LS-KR force-pushed the main branch 7 times, most recently from 9b3b3e4 to b4645be Compare July 2, 2023 14:30
hykilpikonna added a commit to one-among-us/tg-blog that referenced this pull request Jul 3, 2023
@LS-KR LS-KR changed the title [F] Fix homepage & aboutpage doesnot display English content [R] Partial i18n refactor & notification visual effect improvements Jul 7, 2023
@LS-KR LS-KR mentioned this pull request Jul 7, 2023
Copy link
Member

@Aquaticat Aquaticat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LS-KR
Copy link
Member Author

LS-KR commented Jul 10, 2023

这回是真改过来了qwq(

@sauricat
Copy link
Member

你们觉得咋样?能上线就先合了,剩下的慢慢改。

@Aquaticat
Copy link
Member

我觉得可以。

@LS-KR
Copy link
Member Author

LS-KR commented Jul 10, 2023

咱想不出需要添加/修改的新点子了qwq

@sauricat sauricat merged commit f39289a into one-among-us:main Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants