Commit Graph

2506 Commits

Author SHA1 Message Date
LinkinStars 822a96721a feat(plugin): remove plugin translator context 2023-02-22 17:48:05 +08:00
joyqi 73dc7e744f Change Translator receiver from pointer to struct. 2023-02-22 17:32:13 +08:00
joyqi 4809bab5c7 Check whether the translator struct is nil before translating. 2023-02-22 17:01:48 +08:00
LinkinStars 5bd8b1895b refactor(plugin): try to refactor plugin translation struct 2023-02-22 16:49:03 +08:00
joyqi ffb1e07acb Make plugin translator as a struct. 2023-02-22 16:21:02 +08:00
LinkinStars 9409db902a docs(i18n): add zh_CN plugin translation 2023-02-22 15:05:32 +08:00
LinkinStars 29da80a11e fix(tr): return original data when translator not exist 2023-02-22 15:05:03 +08:00
LinkinStars f7e3e59822 feat(init): set default time zone 2023-02-22 15:04:03 +08:00
LinkinStars a166ea8eb3 Merge remote-tracking branch 'github/feat/ui-1.1.0' into feature-plugin
# Conflicts:
#	ui/src/hooks/index.ts
2023-02-21 18:14:49 +08:00
haitaoo e899f4b362 fix(router): Set the correct loader return value for the new version of the router component 2023-02-21 18:12:05 +08:00
haitaoo 8df84b7684 Merge branch 'main' into feat/ui-1.1.0 2023-02-21 18:07:03 +08:00
LinkinStars 6c70bc814e refactor(gomod): update go mod 2023-02-21 17:41:26 +08:00
LinkinStars 593ffad92d Merge branch 'github-main' into feature-plugin
# Conflicts:
#	go.mod
#	go.sum
#	ui/src/hooks/index.ts
#	ui/src/router/index.tsx
2023-02-21 17:37:36 +08:00
LinkinStars 373b454728 refactor(plugin): remove comment code 2023-02-21 17:32:52 +08:00
LinkinStars b229d12bb4 feat(plugin): plugin internationalization 2023-02-21 17:28:05 +08:00
LinkinStars a148607763 feat(plugin): Modify the plugin base description information to the internationalization field 2023-02-21 17:27:14 +08:00
LinkinStars c41de780dd Merge remote-tracking branch 'github/release/1.0.5' into github-main 2023-02-21 14:34:50 +08:00
LinkinStars 6cd7419627 fix(gomod): remove the require that is not needed 2023-02-21 14:34:22 +08:00
LinkinStars ae011f48d7 Merge branch 'feat/1.0.5/deltag' into release/1.0.5 2023-02-21 14:31:22 +08:00
aichy126 36cc86aeb0 update validator 2023-02-21 11:29:54 +08:00
LinkinStars 66510fcc29 Merge remote-tracking branch 'github/github/action' into github-main 2023-02-21 10:38:14 +08:00
Fen 95e9b50678
New Crowdin updates (#186)
* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Romanian)

* New translations en_US.yaml (Afrikaans)

* New translations en_US.yaml (Arabic)

* New translations en_US.yaml (Catalan)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (Danish)

* New translations en_US.yaml (Greek)

* New translations en_US.yaml (Finnish)

* New translations en_US.yaml (Hebrew)

* New translations en_US.yaml (Hungarian)

* New translations en_US.yaml (Dutch)

* New translations en_US.yaml (Norwegian)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Serbian (Cyrillic))

* New translations en_US.yaml (Swedish)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Ukrainian)

* New translations en_US.yaml (Portuguese, Brazilian)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Romanian)

* New translations en_US.yaml (Afrikaans)

* New translations en_US.yaml (Arabic)

* New translations en_US.yaml (Catalan)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (Danish)

* New translations en_US.yaml (Greek)

* New translations en_US.yaml (Finnish)

* New translations en_US.yaml (Hebrew)

* New translations en_US.yaml (Hungarian)

* New translations en_US.yaml (Dutch)

* New translations en_US.yaml (Norwegian)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Serbian (Cyrillic))

* New translations en_US.yaml (Swedish)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Ukrainian)

* New translations en_US.yaml (Portuguese, Brazilian)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Romanian)

* New translations en_US.yaml (Afrikaans)

* New translations en_US.yaml (Arabic)

* New translations en_US.yaml (Catalan)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (Danish)

* New translations en_US.yaml (Greek)

* New translations en_US.yaml (Finnish)

* New translations en_US.yaml (Hebrew)

* New translations en_US.yaml (Hungarian)

* New translations en_US.yaml (Dutch)

* New translations en_US.yaml (Norwegian)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Serbian (Cyrillic))

* New translations en_US.yaml (Swedish)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Ukrainian)

* New translations en_US.yaml (Portuguese, Brazilian)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (French)

* fix: typo

---------

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2023-02-21 10:26:48 +08:00
LinkinStars f98425f205 docs(makefile): Upgrade version 1.0.5 2023-02-21 10:20:52 +08:00
LinkinStars 025d0d9821 Merge branch 'github-dev' into release/1.0.5
# Conflicts:
#	go.mod
2023-02-21 10:17:35 +08:00
LinkinStars 00df552422 Merge branch 'github-dev' into release/1.0.5
# Conflicts:
#	go.mod
2023-02-21 10:16:12 +08:00
LinkinStars 919d4bb25c
Merge pull request #201 from answerdev/feat/1.0.5/init-env
feat(install): Automatically complete installation based on environment variable.
2023-02-21 10:13:44 +08:00
aichy126 8b12a4074d Merge branch 'test' of github.com:answerdev/answer into test 2023-02-20 15:15:17 +08:00
aichy126 376ad452e7 Merge branch 'feat/1.0.6/fixbug' into test 2023-02-20 15:15:05 +08:00
aichy126 8b07d5c47d update question action time 2023-02-20 15:14:39 +08:00
joyqi 3c2c13f7c4 Add sample codes for plugin i18n 2023-02-20 11:46:44 +08:00
haitao.jarvis ee9b92e8a4
Merge pull request #210 from answerdev/feat/1.0.5/ui
fix(Flags):
2023-02-20 11:27:38 +08:00
haitaoo 07c06b0dc8 fix(Flags): Fix the font size of the BaseUserCard component in the Flags page 2023-02-20 11:24:35 +08:00
aichy126 b0861cf9b7 Merge branch 'test' of github.com:answerdev/answer into test 2023-02-17 11:41:51 +08:00
aichy126 30d5a6eaea Merge branch 'feat/1.0.5/deltag' into test 2023-02-17 11:40:53 +08:00
aichy126 a66f104d02 Merge branch 'dev' into feat/1.0.5/deltag 2023-02-17 11:39:13 +08:00
aichy126 1cba6cdeb6 update go mod replace 2023-02-17 11:35:06 +08:00
dashuai 58f1c199fa
Merge pull request #206 from answerdev/feat/1.0.5/ui
Feat/1.0.5/UI
2023-02-16 17:16:06 +08:00
haitaoo 880f5f5b3d Merge branch 'feat/1.0.5/ui' of github.com:answerdev/answer into feat/1.0.5/ui 2023-02-16 16:35:06 +08:00
haitaoo 077e626f91 refactor(router): Adaptation to new versions of routing node types 2023-02-16 16:34:50 +08:00
shuai 3b8aa38192 fix: general setting filter XSS data 2023-02-16 14:56:22 +08:00
shuai 22551f8ce5 fix: update admin general settings 2023-02-16 14:40:33 +08:00
shuai ac6311f073 Merge branch 'feat/1.0.5/ui' of github.com:answerdev/answer into feat/1.0.5/ui 2023-02-16 12:17:51 +08:00
shuai c57830f7b4 fix: content changes have not been saved to leave the page to increase the prompt 2023-02-16 12:14:00 +08:00
haitao.jarvis 23a67632b8
Merge pull request #205 from answerdev/feat/1.0.5/ui
feat: Dynamically set the app generator according to the app version …
2023-02-15 18:20:44 +08:00
haitaoo 20bca5a262 feat: Dynamically set the app generator according to the app version number. 2023-02-15 18:18:05 +08:00
LinkinStars d45cdbeccd Merge remote-tracking branch 'github/feat/1.0.5/deltag' into github-test 2023-02-15 17:24:28 +08:00
LinkinStars e9d5667708 feat(version): move AnswerVersion to site-info API 2023-02-15 17:22:44 +08:00
haitao.jarvis 8ca8d9dfa1
Merge pull request #204 from answerdev/feat/1.0.5/ui
Feat/1.0.5/UI
2023-02-15 16:47:38 +08:00
haitaoo a9eb0cf461 fix(Flags): Fixed font size for username and reputation 2023-02-15 16:42:08 +08:00
haitaoo a05607128f doc: Removing the README file from the ui directory is no longer necessary. 2023-02-15 16:26:29 +08:00