Skip to content

Commit

Permalink
🎨 misc
Browse files Browse the repository at this point in the history
  • Loading branch information
frostime committed Jul 7, 2024
1 parent 2d82de3 commit 6f4892e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ jobs:
artifactErrorsFailBuild: true
artifacts: "package.zip"
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true
prerelease: false
4 changes: 2 additions & 2 deletions src/utils/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @Author : frostime
* @Date : 2024-07-07 18:57:06
* @FilePath : /src/utils/i18n.ts
* @LastEditTime : 2024-07-07 19:41:12
* @LastEditTime : 2024-07-07 21:24:01
* @Description :
*/
import type I18n from '@/../dev/i18n/zh_CN.json';
Expand All @@ -12,7 +12,7 @@ export let i18n: typeof I18n = {} as any;

export const setI18n = (_i18n_: any) => {
i18n = new Proxy(_i18n_, {
set: (target, prop, value) => {
set: (..._) => {
console.warn("Attempt to modify read-only i18n object");
return true;
}
Expand Down

0 comments on commit 6f4892e

Please sign in to comment.