Compare commits

...

932 Commits

Author SHA1 Message Date
shuai 8e3ce7d32e docs: rename codemirror license file name
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
2024-10-24 10:15:41 +08:00
shuai 3a688a095f Merge branch 'lufei-fix/licenses' 2024-10-24 10:13:33 +08:00
shuai 6d933c2dbe docs: add front-matter license files 2024-10-24 10:13:09 +08:00
shuai 8cff85b7ad docs: update license files 2024-10-24 10:01:37 +08:00
sy-records eeb79b3ab5 fix: missing js-sha256 license 2024-10-24 09:59:18 +08:00
LinkinStars e39319da1f Merge branch 'release/1.4.1'
# Conflicts:
#	script/plugin_list
2024-10-23 10:41:22 +08:00
LinkinStars 8affa9fabe ci(plugin): make default plugin list 2024-10-23 10:40:29 +08:00
LinkinStars 962221be3b ci(gorelease): Upgrade Goreleaser version to 2 and update snapshot version template 2024-10-22 18:47:25 +08:00
LinkinStars b9402e6283 ci(gorelease): Upgrade Goreleaser version to 2 and update snapshot version template 2024-10-22 18:46:58 +08:00
LinkinStars f35561ff59 docs(i18n): update translation 2024-10-22 15:45:01 +08:00
LinkinStars cea87404e3 docs(i18n): update translation progress 2024-10-22 15:45:01 +08:00
LinkinStars e6cafaaa5c docs(i18n): update translation 2024-10-22 15:44:07 +08:00
LinkinStars 1a21cd0756 docs(i18n): update translation progress 2024-10-22 15:39:32 +08:00
LinkinStars 18e3becb53 Merge branch 'main' into release/1.4.1 2024-10-22 15:39:09 +08:00
LinkinStars 76fe2187fc # Conflicts:
#	i18n/da_DK.yaml
#	i18n/de_DE.yaml
#	i18n/es_ES.yaml
#	i18n/fa_IR.yaml
#	i18n/fr_FR.yaml
#	i18n/it_IT.yaml
#	i18n/ko_KR.yaml
#	i18n/pl_PL.yaml
#	i18n/pt_PT.yaml
#	i18n/ro_RO.yaml
#	i18n/ru_RU.yaml
#	i18n/sv_SE.yaml
#	i18n/uk_UA.yaml
#	i18n/vi_VN.yaml
#	i18n/zh_CN.yaml
2024-10-22 15:38:16 +08:00
LinkinStars f581e8b738 docs(ui): add Apache license header to InitialLoadingPlaceholder components 2024-10-22 15:08:21 +08:00
LinkinStars 08c2fc78ec docs(ui): add Apache license header to InitialLoadingPlaceholder components 2024-10-22 15:06:58 +08:00
LinkinStars dd16be0a61 docs(Makefile): upgrade version to 1.4.1 2024-10-22 14:52:52 +08:00
LinkinStars 0c5eb64ffa Merge branch 'dev' into test 2024-10-22 14:48:27 +08:00
Prithvijit Dasgupta 895c1c41df fix: add 400 second tag search debounce 2024-10-22 14:47:37 +08:00
Ourai Lin 9fa6ef6851 chore(ui): copy style from public/index.html to keep consistency 2024-10-22 14:22:18 +08:00
robin 8753716ceb refactor(ui): optimize initial loading and extract event logic of plugin kit out 2024-10-22 14:22:18 +08:00
Ourai Lin 6e51cc756d refactor(ui): optimize initial loading 2024-10-22 14:22:18 +08:00
Ourai Lin 4903382056 refactor(ui): extract event logic of plugin kit out 2024-10-22 14:22:18 +08:00
Ourai Lin c0a1f4e5cd fix(ui): route plugins register failed 2024-10-22 14:22:18 +08:00
LinkinStars 5fd09d8783 refactor(router): comment out UI index file check for dynamic routing 2024-10-21 10:58:07 +08:00
LinkinStars 5f28f1068f refactor(router): comment out UI index file check for dynamic routing 2024-10-21 10:57:36 +08:00
shuai 7e4aa98ce2 fix: navbar header dropdown cannot auto close 2024-10-21 10:18:49 +08:00
LinkinStars 07e80aba8f Merge branch 'dev' into test 2024-10-18 19:01:34 +08:00
LinkinStars bc8c6993b7 feat(question): add closed question linking 2024-10-18 19:01:23 +08:00
sy-records f93fd5181b fix: display error message and HTML for invalid order 2024-10-18 16:50:33 +08:00
LinkinStars fe1576ba65 Merge branch 'dev' into test 2024-10-18 15:58:29 +08:00
LinkinStars 23cc755aa8 feat(question): add question linking feature for closing question 2024-10-18 15:55:31 +08:00
shuai 1997af872f fix: eslint 2024-10-18 15:49:29 +08:00
shuai a3a7a36669 fix: personal page empty state 2024-10-18 15:47:52 +08:00
shuai e0ffb9670d fix: linked question component not use empty content 2024-10-18 15:25:22 +08:00
shuai 13c17f1d3a fix: Only the active issue list shows update time 2024-10-18 15:08:15 +08:00
shuai 81fbea171b fix: linked page list add order params 2024-10-18 14:59:04 +08:00
shuai 24b53d5355 fix: personal badges list style 2024-10-18 14:24:47 +08:00
shuai e893a65658 fix: badge modal zindex 2024-10-18 12:33:46 +08:00
shuai 43c09e8b8c fix: badge modal zindex 2024-10-18 12:33:06 +08:00
Luffy 916dba3f06 feat(pager): Show 404 when page is out of range (#1135)
close #1133
2024-10-18 10:12:59 +08:00
sy-records a8e008de07 feat: Support related and hot questions template 2024-10-17 11:08:06 +08:00
LinkinStars 2114aa939b Merge branch 'dev' into test 2024-10-16 17:03:39 +08:00
LinkinStars 8602065490 refactor(provider): add importer provider 2024-10-16 17:03:29 +08:00
LinkinStars 6da9d718cc Merge branch 'dev' into test
# Conflicts:
#	ui/src/pages/Users/Personal/components/Overview/index.tsx
2024-10-16 16:56:57 +08:00
robin 2372950563 refactor(ui): LinkedQuestions component to handle empty data 2024-10-16 16:06:06 +08:00
Anan 1e82b04382 Fix line87 2024-10-16 11:28:26 +08:00
Anan 2fd6ac37d0 Fix err 2024-10-16 11:28:26 +08:00
Anan 73c7a22900 Fix importer 2024-10-16 11:28:26 +08:00
Anan 5aad9e95b5 Add importer service 2024-10-16 11:28:26 +08:00
Anan 4c9e37fa6e Add importer plugin type 2024-10-16 11:28:26 +08:00
robin 9f912b3824 refactor(utils): Refactor plugin registration in Plugins class 2024-10-12 15:15:34 +08:00
robin dc41218cee refactor(ui): Update linked question UI text 2024-10-12 10:43:18 +08:00
Sonui fe60e5e5db perf: optimize question linked display processing 2024-10-12 10:17:18 +08:00
Sonui 74368ec9d4 perf: optimize question link processing 2024-10-12 10:17:18 +08:00
Sonui 62b9104a68 fix: support short id 2024-10-12 10:17:18 +08:00
Sonui b328a2b496 style: use ReplaceAll instead of Replace 2024-10-12 10:17:18 +08:00
Sonui ab920ac0e1 perf: skip link addition for same question id 2024-10-12 10:17:18 +08:00
Sonui 6f576c29ea feat: add title to question linked page 2024-10-12 10:17:18 +08:00
Sonui d0d275a6c4 style: move questionLink function to common service 2024-10-12 10:17:18 +08:00
Sonui f575aa9b5f docs: add Apache License headers to source files 2024-10-12 10:17:18 +08:00
Sonui 3eb9822c09 feat(question): support linking question 2024-10-12 10:17:18 +08:00
sy-records bd0d9fda22 docs: regenerate docs 2024-10-12 09:59:17 +08:00
zahash 18c802ae09 change i18n strings 2024-10-12 09:59:17 +08:00
zahash 3e91f03b40 change minimum username length to 2 instead of 4 2024-10-12 09:59:17 +08:00
sy-records 057f66cf31 style: Improve the display of personal page when there is no information 2024-10-11 14:53:40 +08:00
robin ad47713641 refactor(ui): update pluginKit refresh method 2024-10-11 11:53:19 +08:00
robin df507a9de5 refactor(pluginKit): remove unused loadPlugins function 2024-10-11 11:53:19 +08:00
robin 59080727cf refactor(ui): update pre-install script in package.json 2024-10-11 11:53:19 +08:00
robin 95b9af557f refactor(pluginKit): update addPluginToIndexTs function to include pluginFolder parameter 2024-10-11 11:53:19 +08:00
robin 84a49321f1 chore(ui): update pre-install script in package.json 2024-10-11 11:53:19 +08:00
robin dc61ab7e83 refactor(pluginKit): update plugin registration process 2024-10-11 11:53:19 +08:00
robin 9479f1f801 chore(ui): Dynamically import plugins 2024-10-11 11:53:19 +08:00
robin 62d2d2a8b3 refactor(pluginKit): improve plugin registration process 2024-10-11 11:53:19 +08:00
shuai 500c774f31 fix: Some contents of en_us.yaml have newline errors 2024-10-09 17:48:10 +08:00
shuai 88b52d86ab fix: Optimize badge animation effect 2024-10-09 16:33:08 +08:00
robin a0f24b3cbf refactor(pluginKit): update useRender hooks to include request parameter 2024-10-08 10:56:02 +08:00
sy-records 0db889af38 fix: fix typo in plugin 2024-10-08 10:15:32 +08:00
LinkinStars 0cff10b177 Merge branch 'dev' into test
# Conflicts:
#	go.sum
2024-09-27 14:03:08 +08:00
LinkinStars d6fa819fa1 refactor(gomod): downgrade dependency 2024-09-27 14:02:38 +08:00
LinkinStars 6817fafcca refactor(gomod): replace pinyin dependency 2024-09-26 16:25:40 +08:00
LinkinStars e062cbcb0e refactor(gomod): replace pinyin dependency 2024-09-26 16:25:00 +08:00
shuai f8fd872bde update: tag styles change 2024-09-26 11:17:12 +08:00
shuai 5ffa558327 Merge branch 'test' of github.com:answerdev/answer into test 2024-09-25 17:34:47 +08:00
shuai b9064e3eee fix: set default theme color constance 2024-09-25 17:34:38 +08:00
robin 106aeab194 refactor(pluginKit): update useRender hooks to include request parameter 2024-09-25 17:04:22 +08:00
shuai 36983898f1 fix: Personal homepage interface request error 2024-09-25 15:57:09 +08:00
shuai 3cf4cd62f8 fix: badge detail params change 2024-09-25 12:15:16 +08:00
shuai 88dabcc4e1 fix: badges allow 404 2024-09-25 11:12:20 +08:00
shuai db80f6300f Merge branch 'feat/1.4.1/badge-style' into test 2024-09-24 10:32:58 +08:00
shuai 7ff8038907 fix: badge modal set zindex attribute 2024-09-24 10:30:13 +08:00
shuai cfbe458e9a fix: update axios to latest version,fix github security CVE-2024-28849 2024-09-23 16:59:14 +08:00
LinkinStars 66eb2d1c38 Merge branch 'dev' into test 2024-09-23 15:01:02 +08:00
LinkinStars 0d6ea89ad3 refactor(gomod): upgrade golang and dependence version 2024-09-23 15:00:34 +08:00
LinkinStars 2597a6260f Merge branch 'main' into dev 2024-09-23 14:53:21 +08:00
LinkinStars 8e6fa13c72 CI: only formal tag will push the latest image (#1116) 2024-09-23 14:48:46 +08:00
LinkinStars bbf634aab7 ci(github): rename github action name 2024-09-23 14:43:06 +08:00
LinkinStars 4c0e669d51 ci(github): remove tags-ignore 2024-09-23 14:43:06 +08:00
LinkinStars 65cb30498e ci(github): only formal tag will push the latest image 2024-09-23 14:43:06 +08:00
sy-records 94828f71d1 fix: 404 page return 200 status code 2024-09-23 11:35:28 +08:00
sy-records 211659a5bf fix: missing url title for PermalinkQuestionIDAndTitleByShortID 2024-09-20 12:00:14 +08:00
sy-records 659a3383c9 fix: GetUserIsAdminModerator failed 2024-09-19 14:48:35 +08:00
sy-records be00ce4fc5 fix: install plugin dependencies 2024-09-19 14:37:04 +08:00
sy-records 48c2387853 chore: sync swagger 2024-09-19 14:37:04 +08:00
robin eb595aadcc fix: fix rendering issue in badge list 2024-09-19 12:02:37 +08:00
shuai b927953ff3 fix: change badges detail item key 2024-09-19 11:17:06 +08:00
sy-records 6c9203a7be fix: setup install language error 2024-09-14 10:48:00 +08:00
LinkinStars 462e1d0400 Merge branch 'dev' into test 2024-09-11 16:43:15 +08:00
LinkinStars 2e67b9ca6f fix(swagger): fix title and description on swagger docs 2024-09-11 16:41:45 +08:00
shuai e24a7181f2 fix: badge detail delete loader 2024-09-06 10:45:50 +08:00
shuai e7eecc05cd fix: badge list style 2024-09-06 10:45:14 +08:00
sy-records 1d33c8827c fix: change fail 2024-09-05 11:07:15 +08:00
kumfo 26afc0979c feat(install): add get language mapping api 2024-09-05 11:07:15 +08:00
sy-records fb9bece01c fix: format code 2024-09-05 11:07:15 +08:00
sy-records c751364974 fix: add getInstallLanguageConfig 2024-09-05 11:07:15 +08:00
sy-records 3ec9cc33c0 feat: install page support i18n 2024-09-05 11:07:15 +08:00
LinkinStars 465f4bff60 fix(badge): resolve id when set badge object id
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
2024-09-05 10:43:46 +08:00
LinkinStars 6fb7131ee9 Merge branch 'dev' into test 2024-09-04 18:36:35 +08:00
Sunny df3164a119 New translations en_us.yaml (Chinese Simplified) 2024-09-04 18:33:44 +08:00
Sunny da546a8fc9 New translations en_us.yaml (Welsh) 2024-09-04 18:33:44 +08:00
Sunny d05b649625 New translations en_us.yaml (Telugu) 2024-09-04 18:33:44 +08:00
Sunny efdc06d702 New translations en_us.yaml (Hindi) 2024-09-04 18:33:44 +08:00
Sunny e0241e8a6a New translations en_us.yaml (Persian) 2024-09-04 18:33:44 +08:00
Sunny f0f5d9a2aa New translations en_us.yaml (Indonesian) 2024-09-04 18:33:44 +08:00
Sunny 7dbffca97c New translations en_us.yaml (Chinese Traditional) 2024-09-04 18:33:44 +08:00
Sunny 4d3544ff77 New translations en_us.yaml (Chinese Simplified) 2024-09-04 18:33:44 +08:00
Sunny f235ecc75c New translations en_us.yaml (Ukrainian) 2024-09-04 18:33:44 +08:00
Sunny c4c4146636 New translations en_us.yaml (Turkish) 2024-09-04 18:33:44 +08:00
Sunny 3f2fa6ca66 New translations en_us.yaml (Slovak) 2024-09-04 18:33:44 +08:00
Sunny 5687bb3b49 New translations en_us.yaml (Russian) 2024-09-04 18:33:44 +08:00
Sunny 9cfbcc000a New translations en_us.yaml (Polish) 2024-09-04 18:33:44 +08:00
Sunny 2c31c00998 New translations en_us.yaml (Korean) 2024-09-04 18:33:44 +08:00
Sunny b06d67a134 New translations en_us.yaml (Japanese) 2024-09-04 18:33:44 +08:00
Sunny 297abec7fe New translations en_us.yaml (Italian) 2024-09-04 18:33:44 +08:00
Sunny 30d4415aa0 New translations en_us.yaml (German) 2024-09-04 18:33:44 +08:00
Sunny 934d2722a2 New translations en_us.yaml (Danish) 2024-09-04 18:33:44 +08:00
Sunny 6b77130251 New translations en_us.yaml (Czech) 2024-09-04 18:33:44 +08:00
Sunny d672527bee New translations en_us.yaml (Spanish) 2024-09-04 18:33:44 +08:00
Sunny 5210ef87a3 New translations en_us.yaml (French) 2024-09-04 18:33:44 +08:00
Sunny fe7620c37a New translations en_us.yaml (Romanian) 2024-09-04 18:33:44 +08:00
Sunny 32d1463f53 New translations en_us.yaml (Portuguese) 2024-09-04 18:33:44 +08:00
Sunny 56f03bc0c0 New translations en_us.yaml (Swedish) 2024-09-04 18:33:44 +08:00
Sunny e70050d213 New translations en_us.yaml (Vietnamese) 2024-09-04 18:33:44 +08:00
Sunny 23d2bdb5b4 New translations en_us.yaml (Welsh) 2024-09-04 18:33:44 +08:00
Sunny 7f8605afd7 New translations en_us.yaml (Telugu) 2024-09-04 18:33:44 +08:00
Sunny ddcecaccb9 New translations en_us.yaml (Hindi) 2024-09-04 18:33:44 +08:00
Sunny a9c7490d94 New translations en_us.yaml (Persian) 2024-09-04 18:33:44 +08:00
Sunny f96b66779d New translations en_us.yaml (Indonesian) 2024-09-04 18:33:44 +08:00
Sunny 3285b56a62 New translations en_us.yaml (Chinese Traditional) 2024-09-04 18:33:44 +08:00
Sunny 6129362257 New translations en_us.yaml (Chinese Simplified) 2024-09-04 18:33:44 +08:00
Sunny e55c78b852 New translations en_us.yaml (Ukrainian) 2024-09-04 18:33:44 +08:00
Sunny 40ca81ed32 New translations en_us.yaml (Turkish) 2024-09-04 18:33:44 +08:00
Sunny 748dc66c99 New translations en_us.yaml (Slovak) 2024-09-04 18:33:44 +08:00
Sunny e7f4821703 New translations en_us.yaml (Russian) 2024-09-04 18:33:44 +08:00
Sunny 6e8511d20d New translations en_us.yaml (Polish) 2024-09-04 18:33:44 +08:00
Sunny 24f8b61cea New translations en_us.yaml (Korean) 2024-09-04 18:33:44 +08:00
Sunny 5f94c05c75 New translations en_us.yaml (Japanese) 2024-09-04 18:33:44 +08:00
Sunny f8c1387159 New translations en_us.yaml (Italian) 2024-09-04 18:33:44 +08:00
Sunny 11bc7226ab New translations en_us.yaml (German) 2024-09-04 18:33:44 +08:00
Sunny 6ca0aec7db New translations en_us.yaml (Danish) 2024-09-04 18:33:44 +08:00
Sunny dc7a288bc4 New translations en_us.yaml (Czech) 2024-09-04 18:33:44 +08:00
Sunny 427ed2a856 New translations en_us.yaml (Spanish) 2024-09-04 18:33:44 +08:00
Sunny 53485964bd New translations en_us.yaml (French) 2024-09-04 18:33:44 +08:00
Sunny 57bef7da37 New translations en_us.yaml (Romanian) 2024-09-04 18:33:44 +08:00
Sunny 6017cab509 New translations en_us.yaml (Portuguese) 2024-09-04 18:33:44 +08:00
Sunny 2664c15910 New translations en_us.yaml (Swedish) 2024-09-04 18:33:44 +08:00
Sunny c3b61df0a9 New translations en_us.yaml (Vietnamese) 2024-09-04 18:33:44 +08:00
kumfo dd8bdc230d fix(badge): fixed badge description translation 2024-09-04 18:26:31 +08:00
kumfo bd7a8c0368 fix(badge): fixed badge description translation 2024-09-04 18:26:31 +08:00
robin a1e427c8ab refactor(ui): Update i18n fields 2024-09-04 17:50:30 +08:00
kumfo fa5095261a fix(badge): fixed badge description translation 2024-09-04 17:36:55 +08:00
kumfo 3c8aa03fd9 fix(badge): fixed badge description translation 2024-09-04 17:06:36 +08:00
Sunny 2dd4cc4f92 New translations en_us.yaml (Chinese Simplified) 2024-09-04 16:52:47 +08:00
LinkinStars 1a8e2fa0bd # Conflicts:
#	i18n/da_DK.yaml
#	i18n/de_DE.yaml
#	i18n/es_ES.yaml
#	i18n/ko_KR.yaml
#	i18n/pl_PL.yaml
#	i18n/uk_UA.yaml
#	i18n/vi_VN.yaml
#	i18n/zh_CN.yaml
2024-09-04 16:52:47 +08:00
LinkinStars 323ee0e36d docs(makefile): upgrade version 2024-09-04 15:53:29 +08:00
LinkinStars d5d9f38cb1 feat(badge): add trigger object id for all badge award event 2024-09-04 12:00:36 +08:00
shuai b5401915fd fix: badge detial not show empty 2024-09-04 11:06:44 +08:00
LinkinStars 2ca5e8bb4a Merge branch 'dev' into test
# Conflicts:
#	cmd/wire_gen.go
#	internal/service/content/question_service.go
2024-09-04 10:29:05 +08:00
LinkinStars cb5a0b7045 chore(lint): lint code and regenerate docs 2024-09-04 10:26:57 +08:00
ferrischi201 8142d78e10 fix(recommend): redirect unauth users from recommend page 2024-09-04 10:24:53 +08:00
ferrischi201 cf7b2f0c1a fix(recommend): fix for all database backend 2024-09-04 10:24:53 +08:00
ferrischi201 eacb79e512 feat(recommend): add tag-based recommendations in question page
Filter out deleted or hidden questions and support multi databases and filter out deleted or hidden questions.

For issue:1003.
2024-09-04 10:24:53 +08:00
LinkinStars 5c5300a6c2 Merge branch 'feat/1.4.0/badge' into test 2024-09-04 10:08:34 +08:00
LinkinStars 052b78be28 fix(badge): remove red dot only when the badge notification has been read 2024-09-04 10:08:07 +08:00
robin daab3eebee feat: Add animation to badgeModal 2024-09-03 15:03:35 +08:00
robin a2c725abbb refactor: Update BadgeOperation component to conditionally render dropdown items based on badge status 2024-09-03 15:03:35 +08:00
shuai 1ebff25492 Merge branch 'dev' of github.com:answerdev/answer into dev 2024-09-03 14:45:23 +08:00
kumfo a36d2e810d feat(badge): delete useless field 2024-09-03 14:45:18 +08:00
shuai 86cde0e983 fix: style 2024-09-03 14:45:13 +08:00
shuai c592231fd9 Merge branch 'main' into dev 2024-09-03 14:44:39 +08:00
kumfo fec34ae974 feat(badge): delete useless field 2024-09-03 14:43:35 +08:00
kumfo d316764f63 Merge branch 'test' into feat/1.4.0/badge 2024-09-03 14:39:21 +08:00
SantiagoLiendro 832fa68839 change in the display of emoticons 2024-09-03 14:38:36 +08:00
shuai 70acbe38e0 fix: styles 2024-09-03 14:34:58 +08:00
lhpqaq 8a31d29ce7 Fix ListNewestEarned in high version MySQL 2024-09-03 14:30:13 +08:00
LinkinStars 0606d87b14 Merge branch 'feat/1.4.0/badge' into test 2024-09-03 14:17:04 +08:00
LinkinStars 2eaa7dba36 Merge remote-tracking branch 'origin/dev' into feat/1.4.0/badge 2024-09-03 14:16:24 +08:00
LinkinStars 41d63bd245 feat(badge): delete red dot when no unread notification 2024-09-03 14:16:17 +08:00
robin 2aa16ff8aa refactor: Update badge description rendering in Admin Badges page 2024-09-03 12:28:01 +08:00
robin d72cf56b8c refactor: Add text truncation to TopList component link 2024-09-03 11:58:57 +08:00
robin ca8c4b40c6 refactor: Update badge labels to use multiplication symbol instead of 'x' 2024-09-03 11:05:03 +08:00
alvin 63e1da69a1 refactor: add err handling for activeUser 2024-09-03 10:45:09 +08:00
robin afaf11ffb6 refactor: Update badge labels to use multiplication symbol instead of 'x' 2024-09-03 10:30:40 +08:00
robin 8b9f5d4448 refactor: Add links to badge names and award counts in Admin Badges page 2024-09-03 10:30:40 +08:00
kumfo 1666b94135 feat(badge): badge list earned return earned total 2024-09-02 18:26:24 +08:00
kumfo 4f80f9e97b feat(badge): badge list earned return earned total 2024-09-02 18:12:04 +08:00
kumfo 6aa64092b6 feat(badge): feat badge description url 2024-09-02 15:32:46 +08:00
LinkinStars 90faa87e52 refactor(badge): remove unused code 2024-09-02 15:32:46 +08:00
kumfo 292dfe6da7 feat(badge): feat badge description url 2024-09-02 15:32:03 +08:00
shuai 9594acb6e6 fix: badges index page show award count 2024-09-02 11:04:43 +08:00
shuai 11de15c1d0 Merge branch 'fix/link' into test 2024-08-30 15:56:54 +08:00
shuai 23323d9346 fix: When using base_url, some links are missing the base path 2024-08-30 15:55:56 +08:00
robin 341b0ab8da refactor: Remove unnecessary CSS property in Editor utils 2024-08-30 15:28:53 +08:00
LinkinStars f6b93f2b35 refactor(badge): remove unused code 2024-08-28 15:34:40 +08:00
shuai 17c69c3cc5 fix: badges link url 2024-08-27 16:15:10 +08:00
LinkinStars 49db6e78d0 Merge branch 'feat/1.4.0/badge' into test 2024-08-27 15:54:42 +08:00
LinkinStars 9082623c49 fix(badge): remove duplicate default badges 2024-08-27 15:54:20 +08:00
Jan Ernsting 16605eafd0 Fix error on multiple make generate runs (#1087)
As discussed in #1074

---------

Co-authored-by: Fen <f3nb0x@gmail.com>
2024-08-23 15:20:20 +08:00
Jan Ernsting 701343e82f Fix error on multiple make generate runs (#1087)
As discussed in #1074

---------

Co-authored-by: Fen <f3nb0x@gmail.com>
2024-08-23 15:18:56 +08:00
robin 6214fed8ae docs: Add render api 2024-08-23 11:39:16 +08:00
robin 1af1f77a60 feat: Add RenderController to handle rendering configuration 2024-08-23 11:39:16 +08:00
LinkinStars 2cc478357a Merge branch 'feat/1.4.0/config' into test 2024-08-23 10:22:26 +08:00
kumfo 82d7445e62 fix: embed controller add error return 2024-08-22 16:14:24 +08:00
robin 065bf980d3 chore: Add License 2024-08-22 15:50:40 +08:00
robin 1e8072ba21 refactor: Update translation for achievements 2024-08-22 14:37:49 +08:00
robin 76d455e6de refactor: Restore zh_CN.yaml 2024-08-22 14:21:47 +08:00
LinkinStars b20e656c30 feat(config): add deactivate plugin config cli 2024-08-22 14:21:18 +08:00
Jan Ernsting 493d5c0768 requested changes 2024-08-22 10:58:06 +08:00
Jan Ernsting 15531f4223 build swagger documentation on go generate 2024-08-22 10:58:06 +08:00
Fen 7d8e679d9c docs: enable wiki 2024-08-22 10:58:06 +08:00
robin 34684cdf70 refactor: Update BadgeModal component to handle badge cancellation and confirmation 2024-08-22 10:47:44 +08:00
robin e6aa178062 refactor: Update key prop in BadgeDetail component 2024-08-22 10:45:24 +08:00
robin e4d0322a16 refactor: Remove unused dropdown item in BadgeOperation component 2024-08-22 10:04:52 +08:00
robin e48a13fed5 refactor: Update Chinese translation for badge activation 2024-08-22 10:04:47 +08:00
robin 7c59d3f3cb feat: Add useRenderPlugin to Editor component 2024-08-21 16:54:08 +08:00
robin 85516530ca feat:Support Render type plugins 2024-08-21 16:54:08 +08:00
robin 90cf954d8f refactor: Update badge description styling in Admin Badges page 2024-08-21 16:48:29 +08:00
robin ac28c88712 refactor: Update badge description styling in Admin Badges page 2024-08-21 16:48:29 +08:00
robin 45f410ca4c chore: Update tsconfig.json to exclude src/plugins directory 2024-08-21 16:48:29 +08:00
robin db1a527f95 refactor: Update page_size parameter in badge list API call 2024-08-21 16:48:29 +08:00
robin 3cb1be88f6 refactor: Update badge description styling in Admin Badges page 2024-08-21 16:48:29 +08:00
shuai 342c31f38c fix: add link url path 2024-08-21 16:48:29 +08:00
robin 4afa76ba2a refactor: update zh_CN.yaml 2024-08-21 16:48:29 +08:00
robin 04065a8dcb refactor: Update query parameter name in badge list API call 2024-08-21 16:48:29 +08:00
robin ec31d18c26 feat(admin): Improve the badge list 2024-08-21 16:48:29 +08:00
shuai 29f2ce3a56 fix: add link url path 2024-08-21 16:48:29 +08:00
shuai 957c299fc5 fix: delete log 2024-08-21 16:48:29 +08:00
shuai 3d71bc17c8 fix: badge detail list styles format 2024-08-21 16:48:29 +08:00
shuai fce712e6c7 fix: bages detail add userCard conponent 2024-08-21 16:48:29 +08:00
shuai 3f1f31581f fix: badge list and badge detail docking api 2024-08-21 16:48:29 +08:00
shuai 8534079687 fix: replace share params shareUserId to share 2024-08-21 16:48:29 +08:00
shuai 6973a0045e fix: personal add recent bages ui 2024-08-21 16:48:29 +08:00
shuai 3d8cf0ef41 feat: bages ui 2024-08-21 16:48:29 +08:00
kumfo 59b089a4eb Merge branch 'feat/1.4.0/embed' into test 2024-08-21 14:50:33 +08:00
kumfo a590bdf347 Merge branch 'feat/1.4.0/badge' into test 2024-08-21 14:48:42 +08:00
kumfo 1d9f88f803 fix(embed): embed plugin type definition 2024-08-19 16:15:21 +08:00
kumfo f660b6368d fix(dev): delete test file 2024-08-19 15:24:15 +08:00
kumfo e9c925082b Revert "fix(dev): delete test file"
This reverts commit c50e63dd34.
2024-08-19 15:24:15 +08:00
kumfo b41bafad30 fix(dev): delete test file 2024-08-19 15:24:15 +08:00
Sonui 969169243b perf: remove extra characters in header.html 2024-08-19 15:24:15 +08:00
Sonui 4b3e0eaa4e perf: update check-asf-header.sh script to support Podman 2024-08-19 15:24:15 +08:00
Sonui eda3938075 perf: remove invalid nil pointer check in Translate function 2024-08-19 15:24:15 +08:00
James Roller, Jr. 016abd1a98 add pvc dataSource
- allow for restoring a volumeSnapshot
2024-08-19 15:24:15 +08:00
sy-records 1b043d3a64 fix: branding favicon might be empty 2024-08-19 15:24:15 +08:00
sy-records 38834e6294 feat: Add Open Search support 2024-08-19 15:24:15 +08:00
kumfo 83155783e7 Revert "fix(dev): delete test file"
This reverts commit c50e63dd34.
2024-08-19 15:20:38 +08:00
kumfo c50e63dd34 fix(dev): delete test file 2024-08-19 15:15:07 +08:00
kumfo ebc858579b chore(badge): delete not used func 2024-08-19 14:10:13 +08:00
Sonui d63ce3673b perf: remove extra characters in header.html 2024-08-16 11:16:59 +08:00
Sonui 7d5bfaa3fb perf: update check-asf-header.sh script to support Podman 2024-08-16 11:16:59 +08:00
Sonui 5e5551a16f perf: remove invalid nil pointer check in Translate function 2024-08-16 11:16:59 +08:00
LinkinStars 7d040f07dd feat(badge): add badge notification 2024-08-15 18:34:13 +08:00
LinkinStars f0c433cc02 fix(badge): fix badge init data 2024-08-14 12:31:03 +08:00
LinkinStars 46ab8a20fe chore(badge): remove unused comment 2024-08-14 10:58:39 +08:00
LinkinStars bede0adbf7 feat(badge): award badge for user 2024-08-14 10:38:17 +08:00
kumfo b0c76757cc feat(badge): badge search with page 2024-08-14 10:05:10 +08:00
kumfo cf327f59dc feat(badge): badge manage add badge search 2024-08-13 17:50:10 +08:00
kumfo bb40366f00 feat(badge): badge manage and user center's badge list 2024-08-13 16:12:34 +08:00
LinkinStars 290f63f2a1 feat(badge): add comment for event schema 2024-08-13 10:40:55 +08:00
Fen 811d6de69d docs: enable wiki 2024-08-13 10:29:55 +08:00
LinkinStars 98d93b1f98 feat(badge): add badge checking rule 2024-08-12 16:34:16 +08:00
kumfo 5c04bceca7 feat(badge): fixed badge detail 2024-08-12 16:01:20 +08:00
kumfo 61db21e0d3 feat(badge): fixed user's badge award list and add recent user badges 2024-08-12 15:33:04 +08:00
kumfo 5293f4f3ea feat(badge): user's badge award list 2024-08-09 15:00:46 +08:00
kumfo c2531f9b07 chore(badge): change project code struct 2024-08-09 11:33:24 +08:00
kumfo 203062dd98 feat(badge): badge award 2024-08-09 10:33:03 +08:00
kumfo 122ac657f1 feat(badge): change badge_award check 2024-08-08 18:17:41 +08:00
kumfo 8a40e959ea Merge remote-tracking branch 'origin/feat/1.4.0/badge' into feat/1.4.0/badge 2024-08-08 18:16:24 +08:00
kumfo 49ba98c6fc feat(badge): change badge_award entity 2024-08-08 18:16:08 +08:00
LinkinStars 9b0de85ed4 feat(badge): add badge event handler 2024-08-08 18:09:27 +08:00
LinkinStars b2d36e0a73 Merge branch 'feat/1.4.0/badges' into feat/1.4.0/badge
# Conflicts:
#	internal/service/provider.go
2024-08-08 16:43:31 +08:00
kumfo 797ea9b918 feat(badge): badge info && badge award list 2024-08-08 16:41:17 +08:00
LinkinStars 07e4f549b1 feat(badge): add event for the badge 2024-08-08 16:19:47 +08:00
James Roller, Jr. 2e626660e6 add pvc dataSource
- allow for restoring a volumeSnapshot
2024-08-08 09:55:46 +08:00
kumfo 23b6b11f9e feat(badge): badge init add icon 2024-08-07 17:13:32 +08:00
kumfo ea43edc864 feat(badge): define func and add badge's list 2024-08-07 16:35:22 +08:00
sy-records 264f927433 fix: branding favicon might be empty 2024-08-07 10:11:23 +08:00
sy-records f0b5859747 feat: Add Open Search support 2024-08-07 10:11:23 +08:00
shuai c3a17046c6 fix: gavatar use sha256 for hash 2024-08-06 16:46:22 +08:00
EkkoKo 11fb3aafd8 Makefile: Wraped with quotes the go location in go variable 2024-08-06 16:46:22 +08:00
Sonui 5afa01ba89 perf: optimize search for unanswered questions using answer_count 2024-08-06 16:46:22 +08:00
Sonui 8762f5b751 typo: GetCss swagger annotation content 2024-08-06 16:46:22 +08:00
Sonui 2167a8243c fix: set last answer ID to zero if no answers 2024-08-06 16:46:22 +08:00
Sonui 98a2de61f1 fix: Update Test_emailRepo_VerifyCode to handle additional parameters
This commit updates the `Test_emailRepo_VerifyCode` function in the `email_repo_test.go` file. It adds support for additional parameters in the `SetCode` function call, specifically the `user_id` and `skip_validation_latest_code` parameters. This change ensures that the `VerifyCode` function can properly handle the updated code format.
2024-08-06 16:46:22 +08:00
LinkinStars d39c12f8f1 docs(docs): remove the images about installation 2024-08-06 16:46:22 +08:00
EkkoKo 027caa650e Makefile: Wraped with quotes the go location in go variable 2024-08-06 14:55:40 +08:00
robin d055507c80 feat: Add badges to admin 2024-08-05 14:29:22 +08:00
Sonui 5383b90581 perf: optimize search for unanswered questions using answer_count 2024-08-02 11:28:12 +08:00
Sonui 80f139ef9e typo: GetCss swagger annotation content 2024-08-02 11:28:12 +08:00
Sonui 4a07fdb4a8 fix: set last answer ID to zero if no answers 2024-08-02 11:28:12 +08:00
kumfo ecbfd61bac feat(badge): init badge update data 2024-08-01 16:14:07 +08:00
kumfo 37981c139b feat(badge): init badge update data 2024-08-01 15:44:11 +08:00
kumfo dc56fce18a feat(badge): init version update 2024-08-01 11:19:21 +08:00
kumfo 95f20c9827 feat(badge): update entity 2024-07-31 14:28:44 +08:00
Sonui a4830a4119 fix: Update Test_emailRepo_VerifyCode to handle additional parameters
This commit updates the `Test_emailRepo_VerifyCode` function in the `email_repo_test.go` file. It adds support for additional parameters in the `SetCode` function call, specifically the `user_id` and `skip_validation_latest_code` parameters. This change ensures that the `VerifyCode` function can properly handle the updated code format.
2024-07-31 14:14:12 +08:00
kumfo b702294920 feat(badge): update entity 2024-07-31 14:00:18 +08:00
kumfo 969592589c feat(badge): init entity 2024-07-31 10:32:10 +08:00
LinkinStars fe35d6c529 Merge remote-tracking branch 'origin/main' into dev 2024-07-30 10:47:27 +08:00
LinkinStars 46fba3e2bd docs(docs): remove the images about installation 2024-07-30 10:47:12 +08:00
kumfo 4692420e5f fix(update): fix update to v1.3.6
Build Docker Image For Release / build (push) Has been cancelled
Build Binary For Release / build-goreleaser (push) Has been cancelled
2024-07-25 16:44:10 +08:00
kumfo fa19fe63c9 fix(update): fix update to v1.3.6 2024-07-25 16:40:38 +08:00
LinkinStars 629f981819 Add Translation (#1052)
Co-authored-by: Sunny <1147886+sunshineg@users.noreply.github.com>
2024-07-25 15:25:22 +08:00
LinkinStars 0b09d524cc chore(asf): add asf header 2024-07-25 15:15:39 +08:00
LinkinStars d2401cca68 Merge branch 'release/1.3.6' 2024-07-25 15:12:56 +08:00
LinkinStars d841396c19 docs(makefile): upgrade version 2024-07-25 15:07:19 +08:00
shuai 86dd5af6ba fix: restoring route interception 2024-07-25 12:07:23 +08:00
dashuai c907a9861a Fix/links invalid (#1049) 2024-07-25 11:59:24 +08:00
shuai 78a201590c style: link-invalid page ui changed 2024-07-25 11:44:03 +08:00
shuai 0668b4f255 fix: remove spaces in file.attributes.tags 2024-07-25 10:27:24 +08:00
LinkinStars cc8cc43907 Merge branch 'feat/1.3.6/user' into test
# Conflicts:
#	cmd/wire_gen.go
2024-07-25 10:15:24 +08:00
LinkinStars f915e9925a Merge branch 'dev' into feat/1.3.6/user 2024-07-25 10:13:42 +08:00
LinkinStars 2a2ab45c4b refactor(conf): go fmt conf.go 2024-07-25 10:13:30 +08:00
EkkoKo e0068a70f6 conf.go: changed struct to camelcase 2024-07-25 10:11:46 +08:00
EkkoKo 0183875742 conf.go: Added an option for environment variables ovveride 2024-07-25 10:11:46 +08:00
LinkinStars 8cb5dd993f Merge branch 'dev' into feat/1.3.6/user 2024-07-25 10:10:34 +08:00
LinkinStars 8f30a1530c fix(question): update answer count after reviewing 2024-07-25 10:09:51 +08:00
shuai ebc13e134b fix: resolve conflict 2024-07-24 14:16:37 +08:00
shuai 8d94497439 fix: search icon styles 2024-07-24 14:15:00 +08:00
shuai eeef73b3c3 fix: the images in the image upload component are forced to enlarge #1039 2024-07-24 12:00:29 +08:00
shuai 3ff3d3e452 feat: add serch icon #1010 2024-07-24 12:00:29 +08:00
shuai a32375243f fix: add front-matter licesnse 2024-07-24 12:00:29 +08:00
shuai 2ef53f32e0 fix: aks page init formdata 2024-07-24 12:00:29 +08:00
LinkinStars 4c43e85d89 feat(email): add mask for email configˆ 2024-07-24 10:57:11 +08:00
shuai 75bd7214e7 fix: the images in the image upload component are forced to enlarge #1039 2024-07-24 10:57:04 +08:00
shuai 3a1e268a17 feat: add serch icon #1010 2024-07-24 10:53:57 +08:00
robin 0f95078ae9 fix: Fix typo in delete tag confirmation message 2024-07-24 10:42:41 +08:00
sy-records bbefbbcb64 fix: Fix old user information still showing when editing repeatedly 2024-07-23 15:44:51 +08:00
sy-records c97134dd8d feat: Support admin edit display name
feat: Support admin edit display name
2024-07-23 15:44:51 +08:00
LinkinStars 2820efc454 feat(user): ensure that only one link is active at a time 2024-07-22 17:34:51 +08:00
kumfo 190d160dce fix(cdn): allow only 2024-07-22 15:56:24 +08:00
shuai 61413663b0 fix: comment img style set display block, so that img can fit max-content 2024-07-22 15:35:47 +08:00
shuai 71aa297cc8 fix: delete db files 2024-07-22 14:48:09 +08:00
kumfo 70ddccc27e fix(cdn): fix cdn replace 2024-07-22 14:05:54 +08:00
LinkinStars f014602ec7 feat(user): change the hash way of gravatar 2024-07-22 11:40:04 +08:00
shuai 4a92adfcc2 fix: remove node-async chunks 2024-07-19 18:12:08 +08:00
kumfo 17703c2ed7 fix(cdn): fix cdn path render 2024-07-19 17:57:56 +08:00
shuai b20bf6a748 fix: select tag automatically scroll to visible position 2024-07-19 15:45:22 +08:00
LinkinStars c87b7171ea Merge branch 'feat/1.3.6/template' into test 2024-07-19 10:45:21 +08:00
LinkinStars 1ba1ad9fa2 fix(tag): remove check when recommend tags is empty 2024-07-19 10:44:43 +08:00
shuai 6c0915107e Merge branch 'test' of github.com:answerdev/answer into test 2024-07-18 17:37:39 +08:00
shuai eba1d4d8d6 fix: use ScrollRestoration component control page position 2024-07-18 17:37:19 +08:00
LinkinStars 0c98e0c365 Merge branch 'feat/1.3.6/cmd' into test 2024-07-18 16:16:18 +08:00
shuai 83a8e9eb09 fix: tagSelector show all recommended tags 2024-07-18 16:10:19 +08:00
shuai 07188847de fix: add front-matter licesnse 2024-07-18 15:41:31 +08:00
shuai bfe04cfa24 fix: template adds logo to distinguish html source #895 2024-07-18 10:39:46 +08:00
shuai d580cab48c fix: test add 2024-07-17 15:49:18 +08:00
shuai bf85f766ca Merge branch 'test' of github.com:answerdev/answer into test 2024-07-17 15:47:00 +08:00
shuai f2120ff582 fix: test custome content 2024-07-17 15:46:51 +08:00
robin 24b6eee8e5 refactor(editor): Update editor theme padding and cursor color 2024-07-17 14:35:01 +08:00
LinkinStars a9ee6ca75d Merge branch 'feat/1.3.6/template' into test 2024-07-17 11:16:55 +08:00
LinkinStars bf4f8a70dc fix(template): add template HTML 2024-07-17 11:15:36 +08:00
LinkinStars 82e656821d feat(cmd): add i18n command 2024-07-17 11:04:20 +08:00
shuai 85bdec0009 fix: aks page init formdata 2024-07-16 17:40:18 +08:00
LinkinStars f945ad20a3 Merge remote-tracking branch 'origin/fix/1.3.6/build' into feat/1.3.6/cmd 2024-07-16 11:19:09 +08:00
LinkinStars e771e45f8e Merge remote-tracking branch 'origin/dev' into test 2024-07-16 11:17:51 +08:00
LinkinStars 1b5c5ba1f6 Merge remote-tracking branch 'origin/fix/1.3.6/build' into test 2024-07-16 11:17:40 +08:00
shuai abf34123a3 fix: ts error 2024-07-16 11:09:04 +08:00
Wuzi 9d70bf93d9 Determine if default values need to be changed by db_type 2024-07-16 11:09:04 +08:00
Wuzi 2f3d991bf2 support switching databases to display the relevant database configurations during the initial installation
When switching to Mysql, use:
Username: root
Password: root
Database host: db:3306

When switching to Postgres, use
Username: postgres
Password: postgres
Database host: db:5432
2024-07-16 11:09:04 +08:00
tison 7af90d0115 chore: drop unnecessary properties in licenserc.toml (#1002) 2024-07-16 11:09:04 +08:00
shuai d180322f88 fix: formdata assignment order adjustment 2024-07-16 11:09:04 +08:00
hgaol d0c1267b53 replace with front-matter 2024-07-16 11:09:04 +08:00
hgaol 0893e460e5 support prefill with markdown format 2024-07-16 11:09:04 +08:00
hgaol 8bdc43a435 feat: support pre-fill forms on the ask page 2024-07-16 11:09:04 +08:00
shuai c42266c2f8 fix: ts error 2024-07-15 17:41:26 +08:00
Wuzi c7b6229a0e Determine if default values need to be changed by db_type 2024-07-15 17:23:20 +08:00
Wuzi c4a89db638 support switching databases to display the relevant database configurations during the initial installation
When switching to Mysql, use:
Username: root
Password: root
Database host: db:3306

When switching to Postgres, use
Username: postgres
Password: postgres
Database host: db:5432
2024-07-15 17:23:20 +08:00
tison 5e0fe16fd0 chore: drop unnecessary properties in licenserc.toml (#1002) 2024-07-15 17:23:20 +08:00
shuai 8c429992a1 fix: resolve conflict 2024-07-15 15:53:05 +08:00
shuai 9ed0ab480f fix: delete log 2024-07-15 15:49:48 +08:00
shuai d33a657275 fix: remove content classname 2024-07-15 15:47:57 +08:00
robin ec16ac9ad2 chore(scripts): Remove humps dependency 2024-07-15 11:37:55 +08:00
kumfo 16b8d0195d feat(hot): merge from test 2024-07-15 10:25:29 +08:00
kumfo e527d55b38 Merge branch 'test' into feat/1.3.6/hottest 2024-07-15 10:21:59 +08:00
LinkinStars 8df8f8ca50 Merge remote-tracking branch 'origin/feat/1.3.6/template' into test 2024-07-15 10:17:05 +08:00
shuai 04e172d752 fix: formdata assignment order adjustment 2024-07-12 17:48:14 +08:00
hgaol 0378b81b6b replace with front-matter 2024-07-12 17:45:56 +08:00
hgaol 0308d2b5cf support prefill with markdown format 2024-07-12 17:45:56 +08:00
hgaol a5d88da1e6 feat: support pre-fill forms on the ask page 2024-07-12 17:45:56 +08:00
LinkinStars c4318f1d18 feat(tag): recommend tags can't contain reserved tag 2024-07-12 16:40:02 +08:00
dashuai 885406ddb3 Feat/1.3.6/UI (#1015)
Co-authored-by: Kevin Gil <kevin_gil@live.com>
Co-authored-by: sy-records <52o@qq52o.cn>
Co-authored-by: robin <robin@rnode.me>
2024-07-12 14:13:34 +08:00
shuai cdde7648af fix: optimize diff style 2024-07-12 14:07:26 +08:00
shuai a4960f09be fix: optimize admin/write page content #815 2024-07-12 11:13:12 +08:00
LinkinStars b7ebe3083b feat(tag): update tags search API 2024-07-12 10:59:28 +08:00
LinkinStars 6c553f52f8 feat(admin): update recommend_tags and reserved_tags filed in site write req 2024-07-11 17:53:59 +08:00
shuai 2be1807b0f fix: replace quetion list sort requent -> hot 2024-07-11 17:36:17 +08:00
shuai 64aebf35ab fix: dark mode for editor style #1012 2024-07-11 17:29:33 +08:00
kumfo 4e4c149dda fix(hot): fixed translate 2024-07-11 17:28:09 +08:00
kumfo 795febe0ee feat(hot): change frequent to hot 2024-07-11 17:27:03 +08:00
kumfo db540ac62b feat(cdn-plugin): add cdn plugin 2024-07-10 15:14:40 +08:00
Kevin Gil fd7686984c fix typo 2024-07-10 15:14:40 +08:00
Kevin Gil b144fc678f website information in the template file now supports multiple languages 2024-07-10 15:14:40 +08:00
shuai cdd054c0af fix: delete QUESTIONS_ORDER_STORAGE_KEY key 2024-07-09 15:33:12 +08:00
shuai 780c13c56a fix: adjust the sort order on the question page and tag detail page 2024-07-09 15:31:16 +08:00
shuai 7b6ba458dd fix: adjust the sort order on the search page 2024-07-09 15:15:39 +08:00
LinkinStars 912bc7a8f5 feat(template): add custom html in template #895 2024-07-09 10:24:51 +08:00
shuai 2a7d3a07e4 fix: ask question page use switch component replace checkbox component 2024-07-08 11:28:37 +08:00
shuai 36b1560b45 fix: Automatically jump when the href of a Link component within a matching project is not a front-end route 2024-07-05 14:56:05 +08:00
robin 2ff6e7eab4 feat: Update plugin.js to use humps for pascalizing package names 2024-07-04 16:57:43 +08:00
shuai 350cfe5d22 docs: update ./docs/release/NOTICE files year 2024-07-02 14:57:18 +08:00
tison 3ce69256bf chore: drop unnecessary properties in licenserc.toml (#1002) 2024-06-29 09:45:33 +08:00
sy-records 41691eed2f fix: When @ someone, markdown render error 2024-06-27 14:53:04 +08:00
LinkinStars 7ad8a83f8c fix(build): get specific version of plugins 2024-06-24 17:38:54 +08:00
Kevin Gil 5f481fd3f9 fix typo 2024-06-24 12:18:42 +08:00
Kevin Gil e89ec15e34 website information in the template file now supports multiple languages 2024-06-24 12:18:42 +08:00
LinkinStars 7e8ec52260 ci(release): update goreleaser ci args
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
2024-06-18 17:47:27 +08:00
robin 7fe0d60d8f fix(editor): Fixed the issue of editor focus being lost 2024-06-18 16:20:30 +08:00
LinkinStars 07316dad5a Merge pull request #2 from sunshineg/i18n
New Crowdin updates
2024-06-18 12:04:10 +08:00
Sunny a66abff17d New translations en_us.yaml (Chinese Simplified) 2024-06-18 11:59:20 +08:00
Sunny da834eb718 New translations en_us.yaml (Welsh) 2024-06-18 11:51:26 +08:00
Sunny 3191e2b174 New translations en_us.yaml (Telugu) 2024-06-18 11:51:25 +08:00
Sunny e308df2e65 New translations en_us.yaml (Hindi) 2024-06-18 11:51:23 +08:00
Sunny 452c91807d New translations en_us.yaml (Persian) 2024-06-18 11:51:22 +08:00
Sunny c3fb62f22c New translations en_us.yaml (Indonesian) 2024-06-18 11:51:21 +08:00
Sunny e1f99cce63 New translations en_us.yaml (Vietnamese) 2024-06-18 11:51:20 +08:00
Sunny ac2c1131ac New translations en_us.yaml (Chinese Traditional) 2024-06-18 11:51:20 +08:00
Sunny f86259b50c New translations en_us.yaml (Chinese Simplified) 2024-06-18 11:51:19 +08:00
Sunny 6a44fc3397 New translations en_us.yaml (Ukrainian) 2024-06-18 11:51:18 +08:00
Sunny e0be77602a New translations en_us.yaml (Turkish) 2024-06-18 11:51:16 +08:00
Sunny f82f582183 New translations en_us.yaml (Swedish) 2024-06-18 11:51:15 +08:00
Sunny 9904fc0912 New translations en_us.yaml (Slovak) 2024-06-18 11:51:14 +08:00
Sunny 95bdcc6418 New translations en_us.yaml (Russian) 2024-06-18 11:51:13 +08:00
Sunny 1ef5d0cca9 New translations en_us.yaml (Portuguese) 2024-06-18 11:51:11 +08:00
Sunny 1494c8e085 New translations en_us.yaml (Polish) 2024-06-18 11:51:10 +08:00
Sunny 5655216792 New translations en_us.yaml (Korean) 2024-06-18 11:51:09 +08:00
Sunny 0232a4f2fd New translations en_us.yaml (Japanese) 2024-06-18 11:51:08 +08:00
Sunny f2415eb08a New translations en_us.yaml (Italian) 2024-06-18 11:51:07 +08:00
Sunny 56e9438f8e New translations en_us.yaml (German) 2024-06-18 11:51:05 +08:00
Sunny d63b948d58 New translations en_us.yaml (Danish) 2024-06-18 11:51:04 +08:00
Sunny 60f552b953 New translations en_us.yaml (Czech) 2024-06-18 11:51:03 +08:00
Sunny 36b612ff1b New translations en_us.yaml (Spanish) 2024-06-18 11:51:02 +08:00
Sunny d608c9cc8e New translations en_us.yaml (French) 2024-06-18 11:51:01 +08:00
Sunny 40a1bec7d3 New translations en_us.yaml (Romanian) 2024-06-18 11:51:00 +08:00
LinkinStars 9804362b6c Merge remote-tracking branch 'origin/i18n'
# Conflicts:
#	i18n/cs_CZ.yaml
#	i18n/cy_GB.yaml
#	i18n/da_DK.yaml
#	i18n/de_DE.yaml
#	i18n/es_ES.yaml
#	i18n/fa_IR.yaml
#	i18n/fr_FR.yaml
#	i18n/hi_IN.yaml
#	i18n/id_ID.yaml
#	i18n/it_IT.yaml
#	i18n/ja_JP.yaml
#	i18n/ko_KR.yaml
#	i18n/pl_PL.yaml
#	i18n/pt_PT.yaml
#	i18n/ro_RO.yaml
#	i18n/ru_RU.yaml
#	i18n/sk_SK.yaml
#	i18n/sv_SE.yaml
#	i18n/te_IN.yaml
#	i18n/tr_TR.yaml
#	i18n/uk_UA.yaml
#	i18n/vi_VN.yaml
#	i18n/zh_CN.yaml
#	i18n/zh_TW.yaml
2024-06-18 11:49:41 +08:00
Sunny 8a5956fbb3 New translations en_us.yaml (Vietnamese) 2024-06-18 11:23:44 +08:00
Sunny 0eb2f908f1 New translations en_us.yaml (Chinese Simplified) 2024-06-18 11:23:42 +08:00
Sunny 00608cacd4 New translations en_us.yaml (Korean) 2024-06-18 11:23:36 +08:00
LinkinStars 245b532954 fix(template): fix wrong user link in template #969 2024-06-18 11:16:34 +08:00
Sunny 6530408307 New translations en_us.yaml (Welsh) 2024-06-18 10:47:11 +08:00
Sunny 08e7c8e5bc New translations en_us.yaml (Telugu) 2024-06-18 10:47:10 +08:00
Sunny 5162d422f5 New translations en_us.yaml (Hindi) 2024-06-18 10:47:09 +08:00
Sunny 594f69e825 New translations en_us.yaml (Persian) 2024-06-18 10:47:07 +08:00
Sunny 868579f978 New translations en_us.yaml (Indonesian) 2024-06-18 10:47:06 +08:00
Sunny cd573f5bd7 New translations en_us.yaml (Vietnamese) 2024-06-18 10:47:05 +08:00
Sunny 16615eb407 New translations en_us.yaml (Chinese Traditional) 2024-06-18 10:47:03 +08:00
Sunny 51158630b1 New translations en_us.yaml (Chinese Simplified) 2024-06-18 10:47:02 +08:00
Sunny 7cbbad2473 New translations en_us.yaml (Ukrainian) 2024-06-18 10:47:00 +08:00
Sunny 64a012ff95 New translations en_us.yaml (Turkish) 2024-06-18 10:46:58 +08:00
Sunny c1f391823b New translations en_us.yaml (Swedish) 2024-06-18 10:46:56 +08:00
Sunny 55400bd45e New translations en_us.yaml (Slovak) 2024-06-18 10:46:54 +08:00
Sunny 5f7007451f New translations en_us.yaml (Russian) 2024-06-18 10:46:53 +08:00
Sunny cf12d1f2b9 New translations en_us.yaml (Portuguese) 2024-06-18 10:46:51 +08:00
Sunny 53d8879aaf New translations en_us.yaml (Polish) 2024-06-18 10:46:50 +08:00
Sunny 83b6108074 New translations en_us.yaml (Korean) 2024-06-18 10:46:48 +08:00
Sunny 38f0ea0e45 New translations en_us.yaml (Japanese) 2024-06-18 10:46:47 +08:00
Sunny 06b6125862 New translations en_us.yaml (Italian) 2024-06-18 10:46:45 +08:00
Sunny 9fe48cd2f8 New translations en_us.yaml (German) 2024-06-18 10:46:44 +08:00
Sunny 2b3c5d6836 New translations en_us.yaml (Danish) 2024-06-18 10:46:42 +08:00
Sunny 660bc0b989 New translations en_us.yaml (Czech) 2024-06-18 10:46:41 +08:00
Sunny f33c1a69f4 New translations en_us.yaml (Spanish) 2024-06-18 10:46:39 +08:00
Sunny b348a2bae2 New translations en_us.yaml (French) 2024-06-18 10:46:37 +08:00
Sunny bc58b6ec82 New translations en_us.yaml (Romanian) 2024-06-18 10:46:36 +08:00
LinkinStars 5dc79e665c chore(asf): add asf header 2024-06-17 18:57:26 +08:00
LinkinStars 9acbeb4d46 Merge remote-tracking branch 'origin/release/1.3.5' 2024-06-17 18:52:25 +08:00
LinkinStars 8174aeb846 docs(upgrade): upgrade 1.3.5 2024-06-17 18:50:42 +08:00
LinkinStars 9fa637768c Merge remote-tracking branch 'origin/feat/1.3.5/i18n' into test 2024-06-17 18:48:12 +08:00
LinkinStars 0974c6063a feat(install): if SKIP_REPLACE_I18N is set, skip replace i18n bundles 2024-06-17 18:47:49 +08:00
LinkinStars 47b3ce7f7e Merge remote-tracking branch 'origin/dev' into test 2024-06-17 18:30:05 +08:00
robin 84aee63b09 fix(editor): Fix codemirror readOnly configuration 2024-06-17 17:40:57 +08:00
Sunny ec1278bc90 New translations en_us.yaml (Italian) 2024-06-16 02:48:02 +08:00
Sunny 4cddf24d50 New translations en_us.yaml (Italian) 2024-06-16 01:10:25 +08:00
LinkinStars 1cdf658bee Merge branch 'dev' into test 2024-06-15 16:40:54 +08:00
sy-records 94b19bffb4 fix: review count in the Admin is not correct 2024-06-15 16:39:34 +08:00
LinkinStars ee34e9b598 Merge branch 'fix/1.3.5/init' into test 2024-06-14 16:51:06 +08:00
LinkinStars ac25160791 feat(init): set permalink init config is only question id 2024-06-14 16:50:46 +08:00
LinkinStars 1940e04f4f Merge branch 'fix/1.3.5/init' into test 2024-06-14 16:01:10 +08:00
LinkinStars d45676f682 fix(init): fix init question data last answer id 2024-06-14 16:00:34 +08:00
shuai 82a267cfff Merge branch 'dev' into test 2024-06-14 14:59:29 +08:00
LinkinStars c71c1ae9f7 Merge branch 'fix/1.3.5/init' into test 2024-06-14 14:35:36 +08:00
LinkinStars 6d1b02768d fix(init): fix init question and answer data, set pin default status 2024-06-14 14:34:42 +08:00
shuai 8b598b8817 fix: register form invalid value 2024-06-14 14:11:35 +08:00
hgaol 323c926a92 update translations 2024-06-13 15:53:25 +08:00
hgaol 156ef00f8d fix: incomplete display of error message alerts on registration page 2024-06-13 15:53:25 +08:00
hgaol c0f6f8c75d update translations 2024-06-13 15:52:26 +08:00
hgaol d886b1b7ca fix: incomplete display of error message alerts on registration page 2024-06-13 15:52:26 +08:00
shuai f87844850f fix: add basepath logic to route jump 2024-06-13 15:46:12 +08:00
shuai f7bf234da9 fix: whene clise edit users profile modal sholud clear form state 2024-06-12 18:06:37 +08:00
LinkinStars ebed5a5619 Merge remote-tracking branch 'origin/dev' into test 2024-06-12 11:54:47 +08:00
sy-records 9a885d0bf6 fix: Apply fixes from code review 2024-06-12 11:44:34 +08:00
sy-records 2133e0fb4f feat: Support admin edit profie 2024-06-12 11:44:34 +08:00
shuai c3cd5e7cfb fix: form invalid styles for tagSelector 2024-06-11 12:21:34 +08:00
sy-records 1e80addaec fix: Old questions may continue to be showed in the front 2024-06-07 19:09:45 +08:00
LinkinStars a56c5e3ffc Merge branch 'fix/1.3.5/question' into test 2024-06-07 17:31:39 +08:00
robin 5ab7d9b3a0 chore: When there is no plugin, there is no need to reset the index.ts file 2024-06-07 17:21:31 +08:00
Sunny 4452bd0234 New translations en_us.yaml (Italian) 2024-06-07 17:10:43 +08:00
LinkinStars e3b483519e fix(question): update latest reactions when removing 2024-06-07 16:49:51 +08:00
LinkinStars ac31c663ee Merge branch 'fix/1.3.5/template' into test 2024-06-07 16:39:36 +08:00
LinkinStars c1cbe20c3a fix(template): add og meta tag in template 2024-06-07 16:39:07 +08:00
LinkinStars 24e004a69b Merge branch 'fix/1.3.5/question' into test 2024-06-07 15:54:27 +08:00
shuai ec49d1f097 Merge branch 'fix/1.3.5/bug' into test 2024-06-07 15:53:23 +08:00
shuai e6e5748195 fix: form invalid styles 2024-06-07 15:50:46 +08:00
shuai 32714e76da Merge branch 'fix/1.3.5/bug' into test 2024-06-07 15:37:23 +08:00
shuai 91a3c0c3f2 fix: reactions sort by create-time 2024-06-07 15:36:53 +08:00
LinkinStars a7b23982c9 refactor(meta): Adjust the meta structure of the operation from map to array to ensure correct sorting. 2024-06-07 14:39:36 +08:00
shuai 542a06865a fix: resolve conflict 2024-06-07 11:18:16 +08:00
shuai fc5e2ac70b fix: reactions add aria-label attribute 2024-06-07 11:05:22 +08:00
robin 54ca1a2cf2 Merge branch 'feat/1.3.5/embed' of https://github.com/answerdev/answer into feat/1.3.5/embed 2024-06-06 15:37:39 +08:00
robin ee71023223 chore: update plugin.js 2024-06-06 15:36:29 +08:00
robin 5459507b09 chore: update plugin.js 2024-06-06 15:22:36 +08:00
LinkinStars 32ad6bdf2d Merge branch 'feat/1.3.5/embed' into test 2024-06-06 11:29:05 +08:00
LinkinStars 0ae74e4d6b fix(build): remove over index.ts 2024-06-06 11:28:45 +08:00
robin 938598aa72 Merge branch 'feat/1.3.5/embed' into test 2024-06-06 09:42:07 +08:00
kumfo 15dc4371f8 fix(import): fixed 2024-06-05 18:40:55 +08:00
robin d14608e81f refactor: Remove console.log statements 2024-06-05 17:41:43 +08:00
shuai 1c8ceea40a fix: fix issues on reactions ui 2024-06-05 17:14:04 +08:00
robin 7243145d4f refactor(plugins): Remove mergeFormData method 2024-06-05 17:12:52 +08:00
shuai c83fc35f96 fix: fix issues on reactions ui 2024-06-05 16:28:44 +08:00
robin bdbff79b61 fix(plugins): Fix the problem that the dom obtained by hooks in the plugin is null
Related issue: https://github.com/apache/incubator-answer-plugins/issues/121
2024-06-05 16:19:10 +08:00
sy-records ece404ef2e fix: loginToContinueModal z-index error
fix: loginToContinueModal z-index error
2024-06-04 11:37:00 +08:00
Navid Lee 3ba2782667 fix: Chinese character tag bug 2024-06-04 11:37:00 +08:00
robin d9d5a787fd refactor: According to the status of the plug-in, determine whether the routing plug-in is enabled 2024-06-04 11:34:18 +08:00
robin 7d3df970e5 refactor: Remove 'name' property from ActivatedPlugin interface and add 'enabled' property 2024-06-04 11:34:18 +08:00
Abhijeet Singh d1080fe738 Update es_ES.yaml 2024-06-04 10:59:29 +08:00
robin cde7a0fc4c fix(plugins): Fixed the issue that the form data was not updated when switching routes. #968 2024-06-03 17:42:08 +08:00
robin 69b7e4b46d refactor(SchemaForm): update key in Form.Group to include title and key 2024-06-03 15:16:27 +08:00
robin fc0c2804a4 refactor(schemaForm): remove title 2024-05-31 16:07:03 +08:00
robin 6f71805c3d chore(plugins): Add plugin to index.ts 2024-05-30 18:03:45 +08:00
shuai 931da8e54d fix: update install page title 2024-05-30 17:04:09 +08:00
shuai e66914ee9d fix: update translations 2024-05-30 11:38:51 +08:00
Alex 9c3218a808 24-05-29 ko_KR quoted update 2024-05-30 11:36:16 +08:00
Alex 13f5cea370 24-05-28 ko_KR update 2024-05-30 11:36:16 +08:00
Alex 6c65274fda 24-05-27 ko_KR update
resolve conflict
2024-05-30 11:34:14 +08:00
shuai ed9c9be336 fix: fix translation for plugin_link 2024-05-30 11:32:40 +08:00
shuai 9b2277d9ad fix: fix translation error 2024-05-30 11:32:40 +08:00
shuai 3aa1de3b98 fix: dashsboard delet sitename value 2024-05-30 11:32:40 +08:00
shuai 50ca94ca7b fix: update i18n files 2024-05-30 11:32:40 +08:00
shuai bcff195be2 fix: taSelector component placeholder style optimization 2024-05-30 11:32:40 +08:00
Nayan Thulkar 8d2954035b Added isInvalid styles for forms (#935)
## This PR includes, fixing css style for some of the forms when clicked
is invalid.
Issue:- #927 

### Question/ask page
![Screenshot 2024-05-01
163450](https://github.com/apache/incubator-answer/assets/43349097/90b5337b-85ea-459d-9d59-967968217ada)


### Question/details page
![Screenshot 2024-05-01
163532](https://github.com/apache/incubator-answer/assets/43349097/8012a67e-9508-4cb9-ab48-e4eb639dacd1)

---------

Co-authored-by: Nayan <nayanthulkar15@gmail.com>
2024-05-30 11:32:40 +08:00
shuai eb50384db6 fix: resolve conflict 2024-05-29 16:53:00 +08:00
shuai 981df89f30 fix: fix translation for plugin_link 2024-05-29 15:52:46 +08:00
robin f94ee616f7 chore: update pnpm-lock.yaml 2024-05-29 15:41:52 +08:00
robin 4108d2fa98 refactor(editor): update toolbar icons for consistency 2024-05-29 15:35:18 +08:00
shuai 7773a5bc46 fix: fix translation error 2024-05-29 15:24:05 +08:00
shuai 8477b42a10 fix: dashsboard delet sitename value 2024-05-29 14:59:17 +08:00
shuai 36027bc31d fix: update i18n files 2024-05-29 14:37:53 +08:00
Alex 4731049693 24-05-29 ko_KR quoted update 2024-05-29 10:46:03 +08:00
Alex 3f4fcaa2d9 24-05-28 ko_KR update 2024-05-29 10:46:03 +08:00
Alex 4cc20ee1e6 24-05-27 ko_KR update 2024-05-29 10:46:03 +08:00
shuai 7442d0f7b1 fix: taSelector component placeholder style optimization 2024-05-29 10:36:52 +08:00
Nayan Thulkar 9249dd0679 Added isInvalid styles for forms (#935)
## This PR includes, fixing css style for some of the forms when clicked
is invalid.
Issue:- #927 

### Question/ask page
![Screenshot 2024-05-01
163450](https://github.com/apache/incubator-answer/assets/43349097/90b5337b-85ea-459d-9d59-967968217ada)


### Question/details page
![Screenshot 2024-05-01
163532](https://github.com/apache/incubator-answer/assets/43349097/8012a67e-9508-4cb9-ab48-e4eb639dacd1)

---------

Co-authored-by: Nayan <nayanthulkar15@gmail.com>
2024-05-28 11:29:08 +08:00
LinkinStars b9c1f6e3fd Merge remote-tracking branch 'origin/dev' into test 2024-05-27 18:44:04 +08:00
LinkinStars d7a26952ac fix(conf): set default config in ui 2024-05-27 18:43:42 +08:00
LinkinStars b53df317eb fix(meta): decode object id 2024-05-27 18:43:11 +08:00
robin ba00431e94 chore: add src/plugins/builtin to eslintignore 2024-05-27 18:28:14 +08:00
shuai ef61261b46 fix: path exception when adding basepath 2024-05-27 17:39:58 +08:00
shuai 8604c4281c fix: update translations 2024-05-27 17:39:58 +08:00
robin ddb66db055 fix(plugins): fix typo in SearchInfo import 2024-05-27 16:48:07 +08:00
shuai 55beed4676 Merge branch 'dev' of github.com:answerdev/answer into dev 2024-05-27 16:42:03 +08:00
LinkinStars 389d8551f2 fix(user): remove user center log 2024-05-27 16:35:02 +08:00
LinkinStars b0882f66dd Merge branch 'feat/basepath' into dev
# Conflicts:
#	cmd/wire_gen.go
#	ui/pnpm-lock.yaml
#	ui/src/pages/Admin/General/index.tsx
2024-05-27 16:29:28 +08:00
LinkinStars 727a3f00a4 Merge remote-tracking branch 'origin/fix/1.3.5/comment' into dev
# Conflicts:
#	i18n/en_US.yaml
2024-05-27 16:27:06 +08:00
shuai 5f53985e68 Merge branch 'dev' of github.com:answerdev/answer into dev 2024-05-27 16:06:48 +08:00
a.i.kuleshov aa70f41f4d feat: add basepath 2024-05-27 16:05:52 +08:00
a.i.kuleshov 3a6ac93f0e feat: add build path 2024-05-27 16:05:52 +08:00
sy-records 2913640a86 setting ssl to false 2024-05-27 16:03:40 +08:00
sy-records c1eb74bfb0 feat: Support SMTP Encryption using TLS 2024-05-27 16:03:40 +08:00
LinkinStars 642da9cfad Merge remote-tracking branch 'origin/main' into dev 2024-05-27 16:01:42 +08:00
hgaol a7c44de05b update header for wire_gen.go 2024-05-27 16:01:12 +08:00
hgaol d5092998f5 update 2024-05-27 16:01:12 +08:00
hgaol ae2d4a33ae count real users and bug fix 2024-05-27 16:01:12 +08:00
hgaol 8950df859b update styles based on comments 2024-05-27 16:01:12 +08:00
hgaol caadd99b68 update 2024-05-27 16:01:12 +08:00
hgaol 31a6fc9c36 convert tooltip in backend and refactored the ReactionResp structure 2024-05-27 16:01:12 +08:00
hgaol d9cca1bad1 refactor meta_service and meta_common_service and fix other issues 2024-05-27 16:01:12 +08:00
hgaol 9e76872d05 add Apache header for wire_gen.go 2024-05-27 16:01:12 +08:00
hgaol a6838eb4dc update frontend to support only activate and deactivate 2024-05-27 16:01:12 +08:00
hgaol 7d2fd40097 add transaction when add or update reactions and fix other issues 2024-05-27 16:01:12 +08:00
hgaol 255f985cd4 add i18n 2024-05-27 16:01:12 +08:00
hgaol 80bd8cd001 finish backend api and frontend 2024-05-27 16:01:12 +08:00
hgaol 283aa092fe update 2024-05-27 16:01:12 +08:00
shuai 6fb86871bc fix: update translations 2024-05-27 11:45:13 +08:00
shuai ad951c8c49 fix: table responsive 2024-05-24 14:36:10 +08:00
kumfo 0abfb29ff8 merge(dev): merge from dev 2024-05-23 16:09:10 +08:00
kumfo ac653a331f fix(doc): fixed 2024-05-23 16:01:13 +08:00
kumfo f972a23dd8 feat(plugin/embed): merge from dev and add embed plugin 2024-05-23 15:57:10 +08:00
kumfo e8cca96e1f Merge remote-tracking branch 'origin/dev' into dev 2024-05-21 10:55:39 +08:00
kumfo 61f2e672bc feat(embed): init embed 2024-05-21 10:55:16 +08:00
shuai 3a375881b8 fix: add apache license header
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
2024-05-09 11:14:02 +08:00
LinkinStars fc7482dc69 fix(i18n): remove duplicate key in i18n 2024-05-09 11:14:02 +08:00
Fen 1d8035861f New Crowdin updates (#31)
* New translations en_us.yaml (German)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Hindi)

* New translations en_us.yaml (Telugu)

* New translations en_us.yaml (Welsh)
2024-05-09 11:14:02 +08:00
LinkinStars 91661be354 fix(i18n): remove duplicate key in i18n 2024-05-09 11:14:02 +08:00
Fen 205a98723d New Crowdin updates (#31)
* New translations en_us.yaml (German)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Hindi)

* New translations en_us.yaml (Telugu)

* New translations en_us.yaml (Welsh)
2024-05-09 11:14:02 +08:00
shuai 58970d0abb fix: when using the basic_captacha plug-in, usePromptWithUnload hook causes logic exceptions when asking or editing questions 2024-05-09 10:57:09 +08:00
LinkinStars 219dc7ff36 fix(i18n): remove duplicate key in i18n 2024-05-09 10:57:09 +08:00
Fen 8794fe8646 New Crowdin updates (#31)
* New translations en_us.yaml (German)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Hindi)

* New translations en_us.yaml (Telugu)

* New translations en_us.yaml (Welsh)
2024-05-09 10:57:09 +08:00
LinkinStars d76fb5ee3a fix(i18n): remove duplicate key in i18n 2024-05-09 10:57:09 +08:00
Fen e22301c565 New Crowdin updates (#31)
* New translations en_us.yaml (German)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Hindi)

* New translations en_us.yaml (Telugu)

* New translations en_us.yaml (Welsh)
2024-05-09 10:57:09 +08:00
shuai 046015f182 fix: optimize split-chunks
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
2024-05-07 12:17:58 +08:00
LinkinStars 4a762f93a6 fix(i18n): remove duplicate key in i18n 2024-05-06 18:57:09 +08:00
Fen cb9c2f0ec6 New Crowdin updates (#31)
* New translations en_us.yaml (German)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Hindi)

* New translations en_us.yaml (Telugu)

* New translations en_us.yaml (Welsh)
2024-05-06 17:50:59 +08:00
LinkinStars 1a9c3126b8 ci(plugin): add captcha-basic plugin default 2024-05-06 17:44:12 +08:00
shuai 9681c026ad fix: check files license headers 2024-05-06 16:49:33 +08:00
LinkinStars 6f98b17405 docs(upgrade): update version 1.3.1 2024-05-06 16:34:03 +08:00
LinkinStars 404027389a Merge remote-tracking branch 'origin/dev' into test 2024-05-06 16:28:00 +08:00
prithvidasgupta cd9ca3da7a feat: adding social media meta tags 2024-05-06 15:31:03 +08:00
shuai 889411db18 feat: tables add responsive attributes #917 2024-05-06 15:31:03 +08:00
hgaol ae3b43cdac update: add style for admin/Answers and Timeline pages 2024-05-06 15:31:03 +08:00
hgaol 237315532c feat: allow tables to be scrolled horizontally with ease in Admin 2024-05-06 15:31:03 +08:00
shuai 0245c4cbb9 fix: resolve conflict 2024-05-06 15:26:47 +08:00
shuai 7e81bf9ad6 fix: mentions style add apacje license 2024-05-06 15:23:36 +08:00
shuai 40a6cbdab7 fix: mentions style format 2024-05-06 15:22:58 +08:00
prithvidasgupta e9f07baff1 feat: adding social media meta tags 2024-04-30 10:15:19 +08:00
shuai d26e373e2e feat: tables add responsive attributes #917 2024-04-28 17:45:15 +08:00
hgaol 9792e1f601 update: add style for admin/Answers and Timeline pages 2024-04-28 14:25:18 +08:00
hgaol d1022d5986 feat: allow tables to be scrolled horizontally with ease in Admin 2024-04-28 14:25:18 +08:00
LinkinStars f31bb837a8 Merge remote-tracking branch 'origin/dev' into test 2024-04-26 10:27:57 +08:00
LinkinStars 7d75f2fa97 feat(user): add the API for get staff 2024-04-26 10:26:40 +08:00
zahash d6b53cdac3 enhancement: 909; use camelCase, modify init data 2024-04-26 10:26:40 +08:00
zahash 6ff4a8b1b0 enhancement: 909; fix broken tests 2024-04-26 10:26:40 +08:00
zahash 5a99943367 enhancement: 909; update initial data 2024-04-26 10:26:40 +08:00
zahash ecf75669c1 [wip] start issue 909 2024-04-26 10:26:40 +08:00
prithvidasgupta 056c5ce1cd fix: move slugcheck to correct line 2024-04-26 10:26:40 +08:00
prithvidasgupta 359131ab93 fix: align tag update slug 2024-04-26 10:26:40 +08:00
sy-records fe44c8f3e0 fix: missing btns.more in i18n 2024-04-26 10:26:40 +08:00
findmyhappy cdfe6fead4 chore: fix some typos
Signed-off-by: findmyhappy <findhappy@sohu.com>
2024-04-26 10:26:40 +08:00
sy-records 0dce384839 fix: Unescape when displaying site name 2024-04-26 10:26:40 +08:00
Prithvijit Dasgupta 1819bc42e5 fix: align self answer update notification 2024-04-26 10:21:56 +08:00
shuai 4fdc3c92fb chore: ui add split codemirrow bundle 2024-04-26 10:08:45 +08:00
shuai 7bc726c425 fix: delete console.log 2024-04-26 10:08:45 +08:00
shuai 988662c7a0 fix: support search admin uses #795 2024-04-26 10:08:45 +08:00
shuai 4285968397 fix: privilege translate 2024-04-26 10:08:45 +08:00
shuai 200815d143 fix: auto-scroll to the first invalid form field #873 2024-04-26 10:08:45 +08:00
shuai 4c2083d32d fix: ui config-overrides update 2024-04-26 10:08:45 +08:00
shuai b9f9bbcbc4 fix: ui bundle size resplit 2024-04-26 10:08:45 +08:00
shuai 6ffa5470cb fix: disable react-devtools 2024-04-26 10:08:45 +08:00
shuai d4cf2e0a46 fix: sidenav nav-link remove box-shadow 2024-04-26 10:08:45 +08:00
shuai a1bd2b40d8 chore: ui add split codemirrow bundle 2024-04-26 10:07:28 +08:00
shuai e49deb1aab fix: delete console.log 2024-04-25 18:14:45 +08:00
shuai dfeca6e549 fix: support search admin uses #795 2024-04-25 18:12:58 +08:00
shuai ea62075622 fix: privilege translate 2024-04-25 17:06:44 +08:00
shuai 76c55fcd8e fix: auto-scroll to the first invalid form field #873 2024-04-25 17:05:57 +08:00
zahash ba90433012 enhancement: 909; use camelCase, modify init data 2024-04-25 12:19:14 +08:00
zahash 4bed411dba enhancement: 909; fix broken tests 2024-04-25 12:19:14 +08:00
zahash 2b053f1a95 enhancement: 909; update initial data 2024-04-25 12:19:14 +08:00
zahash b2cc3cc26e [wip] start issue 909 2024-04-25 12:19:14 +08:00
shuai e0ae318152 fix: pnpm-lock file error 2024-04-25 11:58:16 +08:00
prithvidasgupta 4269a11c73 fix: move slugcheck to correct line 2024-04-25 11:49:57 +08:00
prithvidasgupta 95f03bc151 fix: align tag update slug 2024-04-25 11:49:57 +08:00
sy-records 167b77a674 fix: missing btns.more in i18n 2024-04-25 11:32:31 +08:00
findmyhappy 8670e33234 chore: fix some typos
Signed-off-by: findmyhappy <findhappy@sohu.com>
2024-04-24 16:13:55 +08:00
LinkinStars c6d43e92c1 feat(base): add base path for ui page 2024-04-24 15:31:03 +08:00
shuai 84c8b3f416 feat: site_url valiadtor add base_path 2024-04-23 15:05:19 +08:00
shuai 2862d096a9 feat: ui env variables remove react_app prefix 2024-04-23 10:40:25 +08:00
shuai 5a1a9f0b4b feat: ui env variables remove react_app prefix 2024-04-23 10:40:02 +08:00
shuai 90a8f9a7aa feat: config.yaml add ui env variables 2024-04-23 10:23:24 +08:00
shuai 53ba7fb035 feat: support for parametrizing the base path #335 #836 #800 2024-04-23 10:22:23 +08:00
sy-records 8e6e929063 fix: Unescape when displaying site name 2024-04-23 09:55:36 +08:00
shuai eeb668e48a fix: ui config-overrides update 2024-04-19 17:41:27 +08:00
shuai 588b27190e fix: ui bundle size resplit 2024-04-19 17:29:28 +08:00
shuai 8f2587118b fix: disable react-devtools 2024-04-19 11:15:22 +08:00
shuai 39ba30f636 fix: sidenav nav-link remove box-shadow 2024-04-18 17:13:11 +08:00
LinkinStars 65ca05adaf Merge remote-tracking branch 'origin/dev' into test 2024-04-18 11:20:33 +08:00
LinkinStars 530065d2db Merge remote-tracking branch 'origin/main' into dev 2024-04-18 11:19:52 +08:00
shuai 8667b2c6e8 fix: pnpm version use 8.9.2 2024-04-18 10:49:59 +08:00
shuai e75b1eddf5 fix: report duplicate links in review a new window opens 2024-04-18 10:49:59 +08:00
shuai b04fcb6538 fix: pnpm version use 8.9.2 2024-04-18 10:49:10 +08:00
shuai d1a98b942d fix: report duplicate links in review a new window opens 2024-04-18 10:25:54 +08:00
shuai 42615fa199 fix: resolve conflict 2024-04-18 10:19:01 +08:00
shuai 3e5622f04f fix: usePrompt page jumps abnormally when filling in questions 2024-04-18 10:04:36 +08:00
LinkinStars 7a6e5061e5 ci(dockerfile): set fix pnpm version 2024-04-17 19:10:21 +08:00
LinkinStars 410263e676 fix(comment): prohibit comment on the delete content 2024-04-17 18:31:57 +08:00
robin f104bab671 Merge branch 'refactor/editor' into test 2024-04-16 15:48:52 +08:00
robin 8497f6b65e refactor(ui): Refactor editor theme and add line wrapping functionality 2024-04-16 15:48:30 +08:00
robin dc717170f6 Merge branch 'refactor/editor' into test 2024-04-16 12:05:39 +08:00
robin 38f05ce2d7 refactor(ui): Remove redundant comments 2024-04-16 11:57:48 +08:00
robin e28a54a428 refactor(ui):Refactor wrapText method 2024-04-16 11:57:13 +08:00
robin f60d25618b refactor(ui): Migrate extension methods to extension.ts 2024-04-15 17:54:01 +08:00
robin 6cf118ba84 Refactor/editor (#908) 2024-04-15 16:40:22 +08:00
robin 122a5827b9 refactor(ui): Refactor CodeMirror toolbar components and update dependencies 2024-04-15 16:39:00 +08:00
robin a5364d9f4b chore(ui): Update CodeMirror dependency to version 6 2024-04-15 16:37:52 +08:00
shuai c6c384f834 fix: bumps follow-redirects from 1.15.2 to 1.15.6 2024-04-15 15:40:43 +08:00
LinkinStars d90269c4f4 Merge branch 'fix/1.3.1/template' into test 2024-04-12 17:38:17 +08:00
LinkinStars b43cc3bfa5 Merge branch 'feat/1.3.1/review' into test 2024-04-12 17:37:46 +08:00
LinkinStars 4c64890971 Merge branch 'feat/1.3.1/code' into test 2024-04-10 15:36:29 +08:00
LinkinStars a111a0c391 feat(plugin): add captcha plugin status coordinate 2024-04-10 15:35:37 +08:00
LinkinStars 552af5fa50 feat(code): update captcha code plugin 2024-04-10 12:10:07 +08:00
hgaol d476f1ce9f fix: sometimes the comment link in the notification cannot be highlighted after clicking 2024-04-10 10:49:36 +08:00
verytrap 299734c908 chore: fix function names in comment
Signed-off-by: verytrap <wangqiuyue@outlook.com>
2024-04-09 19:07:55 +08:00
dashuai 7a5fabaeae fix: captcha plugin params changed (#904) 2024-04-09 18:37:02 +08:00
shuai 650262bd17 fix: captcha plugin params changed 2024-04-09 18:35:55 +08:00
shuai 38edc4eb54 fix: resolve conflict 2024-04-09 16:57:38 +08:00
shuai a7bd5e3485 fix: captcha plugin should be enabled 2024-04-09 16:56:23 +08:00
dashuai 4261c461c7 Feat/1.3.1/UI (#901)
Co-authored-by: sy-records <52o@qq52o.cn>
Co-authored-by: zahash <zahash.z@gmail.com>
Co-authored-by: robin <robin@rnode.me>
2024-04-09 12:31:03 +08:00
LinkinStars bbb516c213 chore(gomod): remove go mod 2024-04-09 12:22:08 +08:00
LinkinStars 0894cd94a9 feat(captcha): add captcha config API 2024-04-09 12:19:44 +08:00
robin 04b0313f94 Add placeholder functionality to the editor 2024-04-09 11:29:29 +08:00
shuai cc8dbb9b1c feat: resolve confict 2024-04-09 11:02:09 +08:00
shuai aade1d9baf feat: use captcha plugin replace captcha modal component 2024-04-09 10:55:18 +08:00
robin 1ce7863376 feat(ui): Support route types in plugin system 2024-04-09 10:33:03 +08:00
shuai 877cfe8127 feat: use captcha plugin replace captcha modal component 2024-04-09 10:15:22 +08:00
shuai d91cb2e60f fix:fix answer draft dispaly error 2024-04-08 11:33:48 +08:00
robin 9853a60c6a refactor(ui): Refactor flex layout 2024-04-07 18:38:52 +08:00
LinkinStars 58dd97ac2a fix(template): incorrectly parsing the question title to the answer id, resulting in the infinite redirect #885 2024-04-07 12:05:37 +08:00
LinkinStars c55d318e64 feat(captcha): add captcha plugin 2024-04-07 11:47:39 +08:00
zahash 3bec091d7c fix bug where no error message is showing when comment length exceeds max length when updating comment 2024-04-07 11:22:38 +08:00
sy-records dc757d561a fix: Account setting label issue 2024-04-07 11:22:13 +08:00
robin d421681ddb refactor(ui): Migrate CodeMirror 5 to 6 2024-04-03 18:02:58 +08:00
robin fc93dad347 refactor(ui): Refactor image toolbar component 2024-04-03 18:01:21 +08:00
robin d62e11e7f9 reface(ui): Update keyMap for toolbar items 2024-04-03 18:00:27 +08:00
robin 2545d1df6e chore: Add dependencies for CodeMirror library 2024-04-03 17:56:19 +08:00
LinkinStars 84ec57d2d6 feat(review): set default review status 2024-03-28 17:00:40 +08:00
kumfo 248327047a feat(review): add ip and user-agent check 2024-03-27 17:57:08 +08:00
kumfo 7ed395badd feat(review): base review 2024-03-27 17:46:26 +08:00
LinkinStars c7f9d08ec7 feat(plugin): add review status 2024-03-27 17:12:46 +08:00
kumfo 04541ccb8c Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	cmd/wire_gen.go
#	internal/controller/collection_controller.go
#	internal/service/collection_service.go
2024-03-26 17:24:15 +08:00
shuai 92eec140d7 fix: navigate function add path conditions 2024-03-26 11:28:56 +08:00
shuai 571c2b1a19 fix: naviage add base path 2024-03-26 10:47:46 +08:00
shuai 7946cea31d fix: base url 2024-03-25 15:40:43 +08:00
LinkinStars 9ebf95cace New translations (#880)
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
Co-authored-by: Fen <f3nb0x@gmail.com>
2024-03-25 10:03:05 +08:00
shuai 299c571904 fix: a tag check basename 2024-03-22 18:34:46 +08:00
LinkinStars e53c7b3c8a docs(asf): add ASF header 2024-03-22 17:30:48 +08:00
LinkinStars abe0680641 Release/1.3.0 (#876)
Co-authored-by: shuai <lishuailing@sifou.com>
Co-authored-by: Han Gao <dhangao@hotmail.com>
Co-authored-by: wzy <770954908@qq.com>
Co-authored-by: zahash <zahash.z@gmail.com>
Co-authored-by: Hosein Beigi <hbsciw@gmail.com>
Co-authored-by: kumfo <kumfo@sifou.com>
Co-authored-by: sy-records <52o@qq52o.cn>
Co-authored-by: 而立 <cuihengqing@cai-inc.com>
Co-authored-by: foxzero-007 <chq2549603631@gmail.com>
Co-authored-by: easy <58644520+foxzero-007@users.noreply.github.com>
Co-authored-by: robin <robin@rnode.me>
Co-authored-by: Akhil <surapuramakhil@gmail.com>
Co-authored-by: Shaobiao Lin <whalevocal@gmail.com>
2024-03-22 17:25:46 +08:00
shuai 2c8bcbfd7b feat: test add basename 2024-03-22 15:31:25 +08:00
shuai eb6dc3e3dc fix: add REACT_APP_BASE_URL 2024-03-21 15:52:21 +08:00
shuai 2d32c9251e fix: conflcit 2024-03-21 11:33:34 +08:00
shuai d0fac4e7c1 fix: xss link 2024-03-21 11:31:34 +08:00
LinkinStars 78baf633c4 Merge branch 'feat/1.3.0/review' into test 2024-03-21 10:14:24 +08:00
LinkinStars 63a2334010 feat(review): add rank for reviewed user 2024-03-21 10:13:39 +08:00
shuai e7fb619291 fix: add verification for reporting operations 2024-03-20 14:57:21 +08:00
shuai 906cb7d1ff Merge branch 'test' of github.com:answerdev/answer into test 2024-03-20 14:56:05 +08:00
shuai 520f089f7d fix: add verification for reporting operations 2024-03-20 14:55:41 +08:00
LinkinStars 0b3a6deb69 Merge branch 'feat/1.3.0/review' into test 2024-03-20 11:53:54 +08:00
LinkinStars f89e946d1d feat(migration): update clarity description config 2024-03-20 11:53:22 +08:00
LinkinStars c440b1201b feat(review): add reason key and content for review page 2024-03-19 18:39:45 +08:00
shuai b2b3ec4747 Merge branch 'feat/1.3.0/ui' into test 2024-03-19 10:39:14 +08:00
shuai e274fd27d6 fix: search highlighting ignores case 2024-03-19 10:37:39 +08:00
shuai 834ca303b7 Merge branch 'dev' into feat/1.3.0/ui 2024-03-19 09:57:34 +08:00
dashuai a871fe1ea3 fix: review content url format (#859) 2024-03-18 16:26:08 +08:00
shuai 68c5173f1b fix: review content url format 2024-03-18 16:25:31 +08:00
LinkinStars 18885e425a Merge branch 'feat/1.3.0/review' into test 2024-03-18 15:50:00 +08:00
LinkinStars 3bce8e3418 feat(review): add url title for review page 2024-03-18 15:49:29 +08:00
LinkinStars e63a208aa3 Merge remote-tracking branch 'origin/dev' into test
# Conflicts:
#	pkg/htmltext/htmltext.go
2024-03-18 15:01:27 +08:00
Octobug d8ab71fd0f refactor(htmltext): FetchExcerpt delegates to FetchRangedExcerpt 2024-03-18 14:52:51 +08:00
Octobug 45b1c39780 refactor(head): use search regex in common pattern 2024-03-18 14:52:51 +08:00
Octobug 5e47748298 feat(search): highlight search results 2024-03-18 14:52:51 +08:00
shuai 626990efb4 fix: resolve conflict 2024-03-18 14:25:03 +08:00
shuai 3691e61d56 fix: review add skip btn 2024-03-18 14:22:14 +08:00
shuai a65417b0ba fix: add renderhtml format 2024-03-18 11:29:30 +08:00
dashuai 212a59a112 Feat/1.3.0/UI (#856) 2024-03-18 11:03:32 +08:00
shuai be1d5fb445 fix: editor fixes the issue where some line breaks are missing when the pasted content contains images 2024-03-18 11:02:51 +08:00
dashuai 5ff9a14d41 Feat/1.3.0/UI (#852) 2024-03-15 17:39:14 +08:00
shuai c15736d2d6 fix: article style format 2024-03-15 17:36:14 +08:00
LinkinStars ba71c22bc8 Merge branch 'feat/1.3.0/review' into test 2024-03-15 17:31:58 +08:00
LinkinStars c25dad69b0 feat(plugin): add language for review plugin 2024-03-15 17:23:13 +08:00
shuai bd053d9b27 fix: pending review and flag review show parsed_text 2024-03-15 17:23:13 +08:00
LinkinStars 273df16f4c Merge branch 'feat/1.3.0/review' into test 2024-03-15 16:50:33 +08:00
LinkinStars 3f2a617bbc feat(review): add parsed text for review page 2024-03-15 16:50:19 +08:00
LinkinStars f4a6b8f6f3 Merge branch 'feat/1.3.0/review' into test 2024-03-15 16:27:21 +08:00
LinkinStars 34660ee161 feat(review): add url title for review page 2024-03-15 16:26:51 +08:00
LinkinStars 758f79b7dd fix(review): change revision to short id if needed 2024-03-15 16:22:08 +08:00
dashuai 11006c684b Feat/1.3.0/UI (#851) 2024-03-15 15:49:42 +08:00
shuai 0030fda2cf fix: review ui update 2024-03-15 15:45:00 +08:00
dashuai 33ffb594e5 fix: change support link (#850) 2024-03-15 14:22:18 +08:00
shuai b8ea6f1f0b fix: change support link 2024-03-15 13:58:40 +08:00
LinkinStars 75c6146f40 Merge branch 'feat/1.3.0/review' into test 2024-03-15 12:02:37 +08:00
LinkinStars b74f7813ac feat(question): count question with show status 2024-03-15 12:02:13 +08:00
shuai 153f7a6d0c Merge branch 'feat/1.3.0/ui' into test 2024-03-15 10:59:24 +08:00
shuai 14b9cb70d3 fix: rename click file 2024-03-15 10:57:04 +08:00
shuai 38270329d1 Merge branch 'dev' into feat/1.3.0/ui 2024-03-15 10:53:01 +08:00
Shaobiao Lin 7e1d03e2cf fix(toast): align to the center with actual element width (#847)
close #843

---------

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2024-03-15 10:51:58 +08:00
LinkinStars 7d2deddc66 Merge branch 'feat/1.3.0/review' into test 2024-03-15 10:50:57 +08:00
LinkinStars 168a998ac4 fix(question): when recovering the question, retrieve the tag relationship 2024-03-15 10:50:27 +08:00
dashuai a309f9f897 Feat/1.3.0/UI (#848) 2024-03-15 10:40:19 +08:00
shuai 6df4d79260 fix: ui adjustment 2024-03-15 10:19:57 +08:00
Akhil 64381f1682 refactor Changes - moved legal clicks outside of signup (#835)
To enhance reusability - moved this behavior outside so that other
components can reuse this.

Testing Everything is running smooth after changes.

---------

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2024-03-14 18:42:02 +08:00
LinkinStars 4a038b95ef Merge branch 'feat/1.3.0/review' into test 2024-03-14 17:32:40 +08:00
LinkinStars 03b3555ddf fix(review): add translation for review 2024-03-14 17:32:28 +08:00
shuai 8a29dca1cd fix: i18n update 2024-03-14 17:07:13 +08:00
LinkinStars 7e147874ac fix(review): get review flag comment without status 2024-03-14 16:51:38 +08:00
LinkinStars 8e1672da41 Merge branch 'feat/1.3.0/review' into test 2024-03-14 16:17:41 +08:00
LinkinStars eacbade3f2 Merge remote-tracking branch 'origin/dev' into feat/1.3.0/review 2024-03-14 16:17:00 +08:00
LinkinStars ce9a34b8d5 feat(question): show pending question for user 2024-03-14 16:16:57 +08:00
dashuai 24651285bd Feat/1.3.0/UI (#841) 2024-03-14 14:34:47 +08:00
shuai 87d8d2a008 fix: diff error 2024-03-14 14:34:02 +08:00
shuai 6201a5a740 fix: answer add pending state 2024-03-14 12:18:57 +08:00
shuai ff109cf115 Merge branch 'test' of github.com:answerdev/answer into test 2024-03-14 12:14:00 +08:00
shuai aad6e33b48 fix: answer add pending state 2024-03-14 12:13:06 +08:00
LinkinStars fd3f7ea3fd Merge branch 'feat/1.3.0/review' into test 2024-03-14 12:12:57 +08:00
LinkinStars 087f0a0d21 feat(question): add question pending status tip 2024-03-14 12:12:47 +08:00
LinkinStars b334b8f05d Merge branch 'feat/1.3.0/review' into test 2024-03-14 11:30:35 +08:00
LinkinStars aea7755eab fix(review): add user repo 2024-03-14 11:28:48 +08:00
LinkinStars a301ca8df7 Merge branch 'feat/1.3.0/review' into test 2024-03-14 10:48:18 +08:00
LinkinStars 7e84689595 feat(plugin): add reviewer-basic plugin 2024-03-14 10:47:56 +08:00
shuai 8ec52fc1a7 fix: conflict 2024-03-14 10:43:22 +08:00
shuai 741591de45 fix: hide split componnets 2024-03-14 10:41:09 +08:00
LinkinStars 4467174f80 feat(review): add review permission 2024-03-14 10:31:46 +08:00
dashuai 7606940a90 Feat/1.3.0/UI (#840) 2024-03-14 10:06:41 +08:00
LinkinStars ebf55458e3 Merge branch 'feat/1.3.0/review' into test 2024-03-14 10:03:50 +08:00
LinkinStars e780f3edbc Merge branch 'feat/1.3.0/notifiaction' into test 2024-03-14 10:03:27 +08:00
shuai cd091097e8 Merge branch 'feat/ui/split-chunks' into feat/1.3.0/ui 2024-03-14 10:03:16 +08:00
LinkinStars 1b7618f25b fix(notification): update question and answer count amount after reviewing 2024-03-14 10:01:05 +08:00
hgaol f9a93e2efe fix: not changing rank for newly registered user when changing mail 2024-03-13 17:12:01 +08:00
LinkinStars faf0b7e9cc fix(notification): If receiver not set language, use site default language. #833 2024-03-13 17:08:02 +08:00
LinkinStars 3c802cc900 feat(review): add review amount to revision count 2024-03-13 16:30:21 +08:00
shuai a8345ca307 fix: after the review is completed, it will automatically switch to other types to be reviewed 2024-03-13 15:02:51 +08:00
shuai df60809ab1 fix: review_id should be number 2024-03-13 14:45:16 +08:00
shuai d2c53e8613 fix: review close action 2024-03-13 12:27:08 +08:00
LinkinStars cbfd7512f8 feat(review): postpone the notification after review 2024-03-13 11:23:40 +08:00
shuai 724dc022b7 feat: admin qeustions and answers add pending list 2024-03-13 11:22:44 +08:00
shuai 4e11ce5ee7 feat: delete admin/flag page 2024-03-12 18:20:09 +08:00
shuai 7d0b4121c6 feat: add queued review content 2024-03-12 17:51:30 +08:00
easy e529d33dbf fix(ui): fixed the ui issue of skeleton screen flickering (#830)
The changes made in this pull request are quite extensive, and the
proposed solution is briefly described in the following text. I hope you
can take some time to review it when you have a moment.

**What did I modify in this branch?**

Perhaps you have noticed that we have been using the skeleton screen
technology on the frontend pages. However, the control over it seems a
bit simplistic. We currently only initiate the skeleton screen when
entering the page and directly replace it with new nodes upon interface
returns. As a result, there is a "skeleton screen flickering" issue
during usage. In favorable network conditions, we often observe a quick
flash of the skeleton screen. From a user experience perspective, I
prefer the page not to change so rapidly. Therefore, I have submitted
this pull request to address the issue.

**How did I make the modification?**

Through code comparison, it can be observed that I actually encapsulated
a new hook named `useSkeletonControl`. The parameters it returns are as
follows:

```ts
{
     isSkeletonShow, // Should the skeleton screen be displayed?
     openSkeleton, // Activate the skeleton screen.
     closeSkeleton // Deactivate the skeleton screen.
}
```

In the code logic, you can see that I have implemented a delay-like
operation for both activation and deactivation. The reason behind this
is that I believe the opening logic of the skeleton screen should be
like this:

- When the interface returns within 1 second, there is no need to
activate the skeleton screen.
  
- When the interface takes more than 1 second to return, the skeleton
screen is activated, and the activation time should not be less than 3
seconds.
  

(The above-mentioned times are all defined as constants and can be
adjusted according to the actual situation.)

Based on this design approach, I utilized `setTimeout` and
`clearTimeout` to control the timing of activation and deactivation.

Why provide a `needShowFirst` parameter?

Clearly, this parameter is used to control whether the skeleton screen
is rendered right from the start. It allows the skeleton screen to
bypass the first timing condition mentioned earlier, meaning it can be
activated even if the interface returns in less than 1 second. The
reason behind this is that I noticed in some pages, the skeleton screen
needs to occupy its position right from the start to prevent the
'flickering' issue on the page. So, I introduced this parameter.
However, in my design, I don't intend to show the skeleton screen when
the interface response time is too short, as it might negatively impact
the user experience.

The above is the reason behind my pull request. I have made
modifications for the pages I identified, and I hope they will be
accepted. Additionally, if there are better solutions, I am eager to see
them. Thanks again for considering my changes.

---------

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
Co-authored-by: robin <robin@rnode.me>
2024-03-12 17:12:35 +08:00
shuai b2e8ce765b feat: add flag review content 2024-03-12 14:43:31 +08:00
LinkinStars 6736a711cb feat(review): update review report request flag id 2024-03-11 19:27:30 +08:00
LinkinStars ea22497d9d feat(question): query revision tags for deleted question 2024-03-11 15:09:05 +08:00
hgaol c364e9684d add default to true in frontend 2024-03-11 10:00:17 +08:00
hgaol ea8ed68296 remove console log 2024-03-11 10:00:17 +08:00
hgaol 2a828c93c1 feat: support setting config for check latest answer version 2024-03-11 10:00:17 +08:00
LinkinStars 371eaf118e feat(review): update flag api add answer count 2024-03-08 20:13:40 +08:00
shuai 390712965b Merge branch 'dev' into feat/1.3.0/ui 2024-03-08 16:31:34 +08:00
LinkinStars 557172d0d5 feat(review): update flag api response 2024-03-08 15:10:56 +08:00
LinkinStars c72237844f feat(review): add object id query condition for review 2024-03-07 18:40:09 +08:00
kumfo 7546aabca9 feat(admin/contents): feat pending list 2024-03-07 17:03:09 +08:00
LinkinStars 6dd862496c fix(review): fix review 2024-03-07 15:31:25 +08:00
LinkinStars d4aea5f34f feat(answer): add answer review 2024-03-07 14:10:30 +08:00
LinkinStars c26d83c27a feat(question): add question review 2024-03-07 12:24:02 +08:00
LinkinStars 51067793e3 feat(migration): add migrations 2024-03-07 11:15:54 +08:00
LinkinStars beeb898b9e docs(swagger): update swagger 2024-03-07 11:01:54 +08:00
LinkinStars 6af56c63a0 feat(review): Add review API 2024-03-07 11:01:18 +08:00
shuai aa0cddb1bc fix: add analyze script 2024-03-07 10:15:48 +08:00
shuai af310a0f44 fix: components split chunks 2024-03-07 10:07:22 +08:00
shuai 6c9868dcb3 fix: template supports multiple script tags 2024-03-06 18:43:43 +08:00
shuai fd9d432d10 fix: optimize the configuration of setWebpackOptimizationSplitChunks #809 #787 2024-03-06 18:42:03 +08:00
foxzero-007 5d777896e3 feat: use uid.DeshortID on v.ID 2024-03-06 15:55:38 +08:00
而立 51b96ec06f feat: format code 2024-03-06 15:55:38 +08:00
而立 c6042d96ed feat: filter the same question in similar questions 2024-03-06 15:55:38 +08:00
kumfo 2ae98a6949 feat(queued): add status:pending(quesiton/answer/comment),and change question status query 2024-03-06 15:17:57 +08:00
LinkinStars 009497ba65 feat(review): Add review report API 2024-03-06 11:07:50 +08:00
sy-records c014be823b chore: sync swagger 2024-03-06 09:58:18 +08:00
sy-records 3e1b20e9fb feat: Add a order filter called "Oldest" in answer 2024-03-06 09:58:18 +08:00
shuai 652f5de7c7 fix: split main.js #809 #784 2024-03-05 16:03:31 +08:00
kumfo fa4782a4dc feat(flag): move flag(admin) -> flag(foreground) 2024-03-05 11:35:36 +08:00
hgaol 16cafbaf95 update 2024-03-05 11:28:45 +08:00
hgaol 1934ddbe27 update 2024-03-05 11:28:45 +08:00
hgaol d26079a188 fix: can't search username with '-' charactor 2024-03-05 11:28:45 +08:00
LinkinStars b4f61190b0 feat(url): Add default url title 2024-03-04 18:30:33 +08:00
LinkinStars fd6c2b1cd5 feat(notification): Add a notification when replying to a comment. 2024-03-04 18:00:24 +08:00
hgaol bee1f5624e fix: remove delete action for deleted question even for admin 2024-03-01 23:00:24 +08:00
shuai cd8dd140c6 fix: review ui split 2024-03-01 18:08:08 +08:00
LinkinStars 34e56f3e81 feat(review): add API about reviewing type 2024-02-29 17:53:26 +08:00
Hosein Beigi 0339b36330 feat/add-persian 2024-02-28 17:37:00 +08:00
Han Gao d4af6f5e86 feat: support list and unlist in admin contents page for questions (#780)
fix #721 .
2024-02-27 16:19:45 +08:00
shuai cf3cc8a827 fix: review ui change 2024-02-27 11:34:43 +08:00
Han Gao fea7394558 fix: only display vote number and acceptance if necessary (#806)
fix #803 .


![image](https://github.com/apache/incubator-answer/assets/11908658/1d71e6cc-966f-47ca-9a42-c0e2f870d54f)
2024-02-27 11:31:12 +08:00
zahash d1a0e6cfaf fixes issue with deleted comments (#796) 2024-02-27 11:13:35 +08:00
wzy 7a4cc161c9 fix: update answer count when update status 2024-02-27 11:08:52 +08:00
Han Gao 3376b0157b fix: incomplete text display when pasting text into the tags field (#776)
fix #773 .

---------

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2024-02-27 10:35:06 +08:00
shuai bda7c40a1a fix: edit comment 2024-02-26 11:17:59 +08:00
shuai dabce296b8 fix: replace timezone text _ to space 2024-02-19 15:21:44 +08:00
shuai 8c7bf40508 fix: timezone text format 2024-02-19 15:13:59 +08:00
LinkinStars 5132cb3912 ci(goreleaser): add wrap in directory
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
2024-01-30 16:36:39 +08:00
LinkinStars 0849e8f540 refactor(file): refactor file format check function 2024-01-30 16:36:39 +08:00
LinkinStars 968f23db7f Release/1.2.5 (#761)
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
Co-authored-by: shuai <lishuailing@sifou.com>
Co-authored-by: kelvinkuo <kelvinkuo224@gmail.com>
Co-authored-by: hgaol <dhangao@hotmail.com>
Co-authored-by: sy-records <52o@qq52o.cn>
Co-authored-by: Adam Vollrath <adam.d.vollrath@gmail.com>
Co-authored-by: kumfo <kumfo@sifou.com>
Co-authored-by: Yang Wong <yang wang>
Co-authored-by: hbsciw <hbsciw@gmail.com>
2024-01-29 19:14:13 +08:00
Fen abecc1c9b6 New Crowdin updates (#19) (#760)
* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (German)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (German)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (French)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)
2024-01-29 17:53:07 +08:00
LinkinStars 937de43978 Release/1.2.5 (#759)
Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
Co-authored-by: shuai <lishuailing@sifou.com>
Co-authored-by: kelvinkuo <kelvinkuo224@gmail.com>
Co-authored-by: hgaol <dhangao@hotmail.com>
Co-authored-by: sy-records <52o@qq52o.cn>
Co-authored-by: Adam Vollrath <adam.d.vollrath@gmail.com>
Co-authored-by: kumfo <kumfo@sifou.com>
Co-authored-by: Yang Wong <yang wang>
Co-authored-by: hbsciw <hbsciw@gmail.com>
2024-01-29 17:19:41 +08:00
Akhil 52e0a4c59b removed unused config 2024-01-26 11:37:46 +08:00
Haoran Yu 720936b74a Update NOTICE 2024-01-23 12:34:05 +08:00
zhoushilin 261b143679 fix: cache reload once 2024-01-19 14:25:00 +08:00
zhoushilin 6d93b7d2f3 fix: plugin cache reload 2024-01-19 14:25:00 +08:00
Fen d8c55779f8 update: github issue template (#714)
* update: github issue template
2024-01-09 13:51:25 +08:00
LinkinStars bdc498ce39 fix(dashboard): set default smtp status 2024-01-08 16:21:25 +08:00
tison 1c5297abf1 Update Makefile 2024-01-03 17:17:42 +08:00
tison c8c3d7c1a2 build: tolerate build without git repo
Signed-off-by: tison <wander4096@gmail.com>
2024-01-03 17:17:42 +08:00
Fen da490d4006 fix: unit typo 2023-12-28 12:38:05 +08:00
LinkinStars 615e439fd3 ci(goreleaser): rename release src package name 2023-12-27 23:40:22 +08:00
Lu Fei 41a73cf9df fix: i18n text (#693)
close #692 

There are several languages that require specialized translators. 😅
2023-12-25 10:10:04 +08:00
Adam Vollrath 3b00da932b Sanitize input from contributor fork workflows.
Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
2023-12-21 17:29:05 +08:00
sy-records 152934c740 ci: build image only if repository_owner is apache 2023-12-18 11:00:59 +08:00
YL1028K 68f5af01d9 fix: log prints incorrect method(#684) 2023-12-15 17:07:35 +08:00
Fen 2df8d5657e New Crowdin updates (#14)
* New translations en_us.yaml (German)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)
2023-12-14 18:13:33 +08:00
Fen 7e4fe9a0f8 New Crowdin updates (#3)
* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (German)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (German)

* New translations en_us.yaml (German)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)
2023-12-14 17:43:36 +08:00
LinkinStars 3f696b63d6 docs(README): upgrade 1.2.1 2023-12-14 15:10:19 +08:00
LinkinStars 82fdfc7763 Release/1.2.1 (#678)
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
Co-authored-by: shuai <lishuailing@sifou.com>
Co-authored-by: kelvinkuo <kelvinkuo224@gmail.com>
Co-authored-by: hgaol <dhangao@hotmail.com>
Co-authored-by: sy-records <52o@qq52o.cn>
2023-12-14 15:07:58 +08:00
Han Gao a00f660411 fix: can't show tag description in tag edit page (#664)
fix #637 .
2023-11-30 14:42:09 +08:00
LinkinStars 03b5950d71 docs(image): rename all docker image name to apache/answer 2023-11-29 17:21:19 +08:00
LinkinStars 1a7cbb780b docs(swagger): update swagger docs 2023-11-29 16:46:49 +08:00
LinkinStars 42b4d74d98 Merge branch 'refactor/collection' into dev 2023-11-29 16:46:04 +08:00
LinkinStars b2de62d0b9 Merge remote-tracking branch 'origin/main' into dev 2023-11-29 16:45:51 +08:00
lufei 7aa16f245b optimize code 2023-11-29 16:44:08 +08:00
sy-records 9dc0d566cc fix by code review 2023-11-29 16:44:08 +08:00
sy-records 3e76a0368f fix: permalink error on some pages 2023-11-29 16:44:08 +08:00
hgaol f1e6af0fab sort imports 2023-11-29 16:43:19 +08:00
hgaol 72ff929fab add default notification config for users registered by third party connector 2023-11-29 16:43:19 +08:00
kelvinkuo 138934692c simply the GetTagPage logic 2023-11-29 16:42:25 +08:00
kelvinkuo 7b709ece22 support tag search for synonyms 2023-11-29 16:42:25 +08:00
LinkinStars 1a76d0aa67 ci(github): add docker image github action 2023-11-29 15:14:18 +08:00
shuai ac18f302a6 fix: bookmark params changed 2023-11-28 18:00:01 +08:00
LinkinStars 0e430827c0 refactor(collection): refactor collection 2023-11-28 17:00:06 +08:00
Fen b01717c49e docs: update link 2023-11-28 15:42:04 +08:00
shuai 3eeb289aa0 fix: google snapshots error #649 2023-11-27 15:24:05 +08:00
sy-records 0267f4bd69 fix: canonical link error 2023-11-22 16:26:44 +08:00
Lu Fei 2cf77adbb5 fix: license header breaks helm chart (#591)
This fixes #590.
2023-11-22 15:44:23 +08:00
Lu Fei 13b6fa2157 fix(sitemap): move asf header after xmlheader (#633)
This fixes #631.
2023-11-22 15:14:20 +08:00
LinkinStars c1cd2bbadd ci(github): remove GOPROXY for github action 2023-11-17 20:02:11 +08:00
LinkinStars e11aa93c14 ci(github): rename the secret name 2023-11-17 18:53:55 +08:00
LinkinStars 58dadefc99 ci(github): update docker login action version and config username 2023-11-17 16:42:59 +08:00
LinkinStars 84ef7d0e55 ci(asf): change the check-asf-header script to docker command via hawkeye-native 2023-11-17 15:54:27 +08:00
LinkinStars 274eaf29cf ci(github): update docker user and token secrets 2023-11-17 15:54:27 +08:00
LinkinStars fd6808b7ea ci(lic): add excludes for some files 2023-11-17 15:54:27 +08:00
LinkinStars 47b1366b13 docs(README): add build from source description 2023-11-17 10:58:44 +08:00
LinkinStars ff82298416 docs(README): update the call of this project Apache Answer instead of Answer #630 2023-11-17 10:58:44 +08:00
606 changed files with 58006 additions and 17406 deletions
+2 -2
View File
@@ -17,7 +17,7 @@
# NOTE: All configurations could be found here: https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
github:
description: "A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Answer."
description: "A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer."
homepage: https://answer.apache.org
labels:
- react
@@ -30,7 +30,7 @@ github:
- q-and-a
- hacktoberfest
features:
wiki: false
wiki: true
issues: true
projects: true
discussions: false
+17 -11
View File
@@ -1,30 +1,36 @@
---
name: Bug report
about: Create a report to help us improve
about: Report an issue to help the project improve.
title: ''
labels: bug
assignees: ''
---
**Describe the bug**
## Describe the bug
A clear and concise description of what the bug is.
**To Reproduce**
### To Reproduce
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
### Expected behavior
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
### Screenshots
**Platform (please complete the following information):**
- Device: [e.g. Desktop, Mobile]
- OS: [e.g. macOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
If applicable, add screenshots or video to help explain your problem.
### Platform
- Device: [e.g. Desktop, Mobile]
- OS: [e.g. macOS]
- Browser and version: [e.g. Chrome, Safari]
- Version: [e.g. v1.2.0]
+22
View File
@@ -0,0 +1,22 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
blank_issues_enabled: true
contact_links:
- name: Support
url: https://answer.apache.org/community
about: Contact us if you have any questions while using.
@@ -0,0 +1,20 @@
---
name: Enhancement request
about: Suggest an enhancement for this project. Improve an existing feature.
title: ''
labels: enhancement
assignees: ''
---
## Is your enhancement request related to a problem? Please describe
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
## Describe the solution you'd like
A clear and concise description of what you want to happen.
## Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
+8 -5
View File
@@ -1,17 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
about: Suggest an idea or possible new feature for this project.
title: ''
labels: enhancement
labels: feature
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
## Is your feature request related to a problem? Please describe
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
## Describe the solution you'd like
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
## Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
@@ -26,6 +26,7 @@ permissions:
jobs:
build-goreleaser:
if: ${{ github.repository_owner == 'apache' }}
runs-on: ubuntu-latest
steps:
@@ -43,13 +44,13 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.22
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --clean --skip-validate
args: release --clean --skip=validate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v3
@@ -0,0 +1,68 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Build Latest Docker Image For Release
on:
push:
tags:
- v2.*
- v1.*
- v0.*
- "!v*-RC*"
# pull_request:
# branches: [ "main" ]
jobs:
build:
if: ${{ github.repository_owner == 'apache' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: apache/answer
tags: |
type=raw,value=latest
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
file: ./Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
@@ -0,0 +1,65 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Manual Build Docker Image For Release
on:
workflow_dispatch:
inputs:
tag_name:
type: string
required: true
description: 'DockerHub img tag name'
jobs:
build:
if: ${{ github.repository_owner == 'apache' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: apache/answer
tags: |
type=ref,enable=true,priority=600,prefix=,suffix=,event=branch
type=semver,pattern={{version}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
file: ./Dockerfile
tags: apache/answer:${{ inputs.tag_name }}
labels: ${{ steps.meta.outputs.labels }}
@@ -19,7 +19,6 @@ name: Build Docker Image For Release
on:
push:
branches: [ "main"]
tags:
- v2.*
- v1.*
@@ -29,6 +28,7 @@ on:
jobs:
build:
if: ${{ github.repository_owner == 'apache' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -40,7 +40,6 @@ jobs:
with:
images: apache/answer
tags: |
type=raw,value=latest
type=ref,enable=true,priority=600,prefix=,suffix=,event=branch
type=semver,pattern={{version}}
@@ -51,10 +50,10 @@ jobs:
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
+4 -3
View File
@@ -23,6 +23,7 @@ on:
jobs:
build:
if: ${{ github.repository_owner == 'apache' }}
name: Build and Push
runs-on: ubuntu-latest
steps:
@@ -44,10 +45,10 @@ jobs:
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
-115
View File
@@ -1,115 +0,0 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Build PR Image
on:
pull_request:
types: [opened, synchronize, reopened, closed]
jobs:
build-answer:
name: Build and push `Answer`
runs-on: ubuntu-latest
outputs:
tags: ${{ steps.meta.outputs.tags }}
if: ${{ github.event.action != 'closed' }}
steps:
- name: Checkout git repo
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Generate UUID image name
id: uuid
run: echo "UUID_WORKER=$(uuidgen)" >> $GITHUB_ENV
- name: Docker metadata
id: meta
uses: docker/metadata-action@v4
with:
images: registry.uffizzi.com/${{ env.UUID_WORKER }}
tags: |
type=raw,value=60d
- name: Build and Push Image to registry.uffizzi.com - Uffizzi's ephemeral Registry
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
push: true
cache-from: type=gha
cache-to: type=gha, mode=max
render-compose-file:
name: Render Docker Compose File
# Pass output of this workflow to another triggered by `workflow_run` event.
runs-on: ubuntu-latest
needs:
- build-answer
outputs:
compose-file-cache-key: ${{ steps.hash.outputs.hash }}
steps:
- name: Checkout git repo
uses: actions/checkout@v4
- name: Render Compose File
run: |
ANSWER_IMAGE=${{ needs.build-answer.outputs.tags }}
export ANSWER_IMAGE
export UFFIZZI_URL=\$UFFIZZI_URL
# Render simple template from environment variables.
envsubst < docker-compose.uffizzi.yml > docker-compose.rendered.yml
cat docker-compose.rendered.yml
- name: Upload Rendered Compose File as Artifact
uses: actions/upload-artifact@v3
with:
name: preview-spec
path: docker-compose.rendered.yml
retention-days: 2
- name: Serialize PR Event to File
run: |
cat << EOF > event.json
${{ toJSON(github.event) }}
EOF
- name: Upload PR Event as Artifact
uses: actions/upload-artifact@v3
with:
name: preview-spec
path: event.json
retention-days: 2
delete-preview:
name: Call for Preview Deletion
runs-on: ubuntu-latest
if: ${{ github.event.action == 'closed' }}
steps:
# If this PR is closing, we will not render a compose file nor pass it to the next workflow.
- name: Serialize PR Event to File
run: |
cat << EOF > event.json
${{ toJSON(github.event) }}
EOF
- name: Upload PR Event as Artifact
uses: actions/upload-artifact@v3
with:
name: preview-spec
path: event.json
retention-days: 2
-105
View File
@@ -1,105 +0,0 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Deploy Uffizzi Preview
on:
workflow_run:
workflows:
- "Build PR Image"
types:
- completed
jobs:
cache-compose-file:
name: Cache Compose File
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
outputs:
compose-file-cache-key: ${{ env.HASH }}
pr-number: ${{ env.PR_NUMBER }}
steps:
- name: 'Download artifacts'
# Fetch output (zip archive) from the workflow run that triggered this workflow.
uses: actions/github-script@v6
with:
script: |
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: context.payload.workflow_run.id,
});
let matchArtifact = allArtifacts.data.artifacts.filter((artifact) => {
return artifact.name == "preview-spec"
})[0];
let download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: matchArtifact.id,
archive_format: 'zip',
});
let fs = require('fs');
fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/preview-spec.zip`, Buffer.from(download.data));
- name: 'Unzip artifact'
run: unzip preview-spec.zip
- name: Read Event into ENV
run: |
echo 'EVENT_JSON<<EOF' >> $GITHUB_ENV
cat event.json >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Hash Rendered Compose File
id: hash
# If the previous workflow was triggered by a PR close event, we will not have a compose file artifact.
if: ${{ fromJSON(env.EVENT_JSON).action != 'closed' }}
run: echo "HASH=$(md5sum docker-compose.rendered.yml | awk '{ print $1 }')" >> $GITHUB_ENV
- name: Cache Rendered Compose File
if: ${{ fromJSON(env.EVENT_JSON).action != 'closed' }}
uses: actions/cache@v3
with:
path: docker-compose.rendered.yml
key: ${{ env.HASH }}
- name: Read PR Number From Event Object
id: pr
run: echo "PR_NUMBER=${{ fromJSON(env.EVENT_JSON).number }}" >> $GITHUB_ENV
- name: DEBUG - Print Job Outputs
if: ${{ runner.debug }}
run: |
echo "PR number: ${{ env.PR_NUMBER }}"
echo "Compose file hash: ${{ env.HASH }}"
cat event.json
deploy-uffizzi-preview:
name: Use Remote Workflow to Preview on Uffizzi
needs:
- cache-compose-file
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: UffizziCloud/preview-action/.github/workflows/reusable.yaml@v2
with:
# If this workflow was triggered by a PR close event, cache-key will be an empty string
# and this reusable workflow will delete the preview deployment.
compose-file-cache-key: ${{ needs.cache-compose-file.outputs.compose-file-cache-key }}
compose-file-cache-path: docker-compose.rendered.yml
server: https://app.uffizzi.com
pr-number: ${{ needs.cache-compose-file.outputs.pr-number }}
permissions:
contents: read
pull-requests: write
id-token: write
+1
View File
@@ -3,6 +3,7 @@
*.rej
*.so
*~
*.db
.DS_Store
._*
/.idea
+13 -5
View File
@@ -15,6 +15,8 @@
# specific language governing permissions and limitations
# under the License.
version: 2
env:
- GO11MODULE=on
- GO111MODULE=on
@@ -32,7 +34,7 @@ builds:
- id: build
main: ./cmd/answer/.
binary: answer
ldflags: -s -w -X github.com/apache/incubator-answer/cmd.Version={{.Version}} -X github.com/apache/incubator-answer/cmd.Revision={{.ShortCommit}} -X github.com/apache/incubator-answer/cmd.Time={{.Date}} -X github.com/apache/incubator-answer/cmd.BuildUser=goreleaser
ldflags: -s -w -X github.com/apache/incubator-answer/cmd.Version={{.RawVersion}} -X github.com/apache/incubator-answer/cmd.Revision={{.ShortCommit}} -X github.com/apache/incubator-answer/cmd.Time={{.Date}} -X github.com/apache/incubator-answer/cmd.BuildUser=goreleaser
flags: -v
goos:
- linux
@@ -43,7 +45,7 @@ builds:
- id: build-windows
main: ./cmd/answer/.
binary: answer
ldflags: -s -w -X github.com/apache/incubator-answer/cmd.Version={{.Version}} -X github.com/apache/incubator-answer/cmd.Revision={{.ShortCommit}} -X github.com/apache/incubator-answer/cmd.Time={{.Date}} -X github.com/apache/incubator-answer/cmd.BuildUser=goreleaser
ldflags: -s -w -X github.com/apache/incubator-answer/cmd.Version={{.RawVersion}} -X github.com/apache/incubator-answer/cmd.Revision={{.ShortCommit}} -X github.com/apache/incubator-answer/cmd.Time={{.Date}} -X github.com/apache/incubator-answer/cmd.BuildUser=goreleaser
flags: -v
goos:
- windows
@@ -55,7 +57,7 @@ builds:
archives:
- name_template: >-
apache-answer-{{ .Version }}-incubating-{{ .Os }}-{{ .Arch }}
apache-answer-{{ .RawVersion }}-incubating-bin-{{ .Os }}-{{ .Arch }}
files:
- src: "docs/release/LICENSE"
dst: LICENSE
@@ -65,10 +67,11 @@ archives:
dst: licenses/
- src: "DISCLAIMER"
dst: DISCLAIMER
wrap_in_directory: true
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}"
version_template: "{{ incpatch .Version }}"
changelog:
sort: asc
filters:
@@ -76,5 +79,10 @@ changelog:
- '^docs:'
- '^test:'
# goreleaser release --snapshot --rm-dist
source:
enabled: true
name_template: apache-answer-{{ .RawVersion }}-incubating-src
prefix_template: "apache-answer-{{ .RawVersion }}-incubating-src/"
# goreleaser release --skip-validate --skip-publish --clean
+4 -1
View File
@@ -2,5 +2,8 @@
"eslint.workingDirectories": [
"ui"
],
"explorer.autoReveal": "focusNoScroll"
"explorer.autoReveal": "focusNoScroll",
"cSpell.words": [
"grecaptcha"
]
}
+10 -6
View File
@@ -15,12 +15,12 @@
# specific language governing permissions and limitations
# under the License.
FROM golang:1.19-alpine AS golang-builder
LABEL maintainer="aichy@sf.com"
FROM golang:1.22-alpine AS golang-builder
LABEL maintainer="linkinstar@apache.org"
ARG GOPROXY
# ENV GOPROXY ${GOPROXY:-direct}
ENV GOPROXY=https://proxy.golang.com.cn,direct
# ENV GOPROXY=https://proxy.golang.com.cn,direct
ENV GOPATH /go
ENV GOROOT /usr/local/go
@@ -34,7 +34,7 @@ ARG CGO_EXTRA_CFLAGS
COPY . ${BUILD_DIR}
WORKDIR ${BUILD_DIR}
RUN apk --no-cache add build-base git bash nodejs npm && npm install -g pnpm@latest \
RUN apk --no-cache add build-base git bash nodejs npm && npm install -g pnpm@8.9.2 \
&& make clean build
RUN chmod 755 answer
@@ -47,7 +47,9 @@ RUN mkdir -p /data/uploads && chmod 777 /data/uploads \
FROM alpine
LABEL maintainer="linkinstar@apache.org"
ENV TZ "Asia/Shanghai"
ARG TIMEZONE
ENV TIMEZONE=${TIMEZONE:-"Asia/Shanghai"}
RUN apk update \
&& apk --no-cache add \
bash \
@@ -58,7 +60,9 @@ RUN apk update \
openssh \
sqlite \
gnupg \
&& echo "Asia/Shanghai" > /etc/timezone
tzdata \
&& ln -sf /usr/share/zoneinfo/${TIMEZONE} /etc/localtime \
&& echo "${TIMEZONE}" > /etc/timezone
COPY --from=golang-builder /usr/bin/answer /usr/bin/answer
COPY --from=golang-builder /data /data
+10 -4
View File
@@ -1,14 +1,14 @@
.PHONY: build clean ui
VERSION=1.2.0
VERSION=1.4.1
BIN=answer
DIR_SRC=./cmd/answer
DOCKER_CMD=docker
GO_ENV=CGO_ENABLED=0 GO111MODULE=on
Revision=$(shell git rev-parse --short HEAD)
Revision=$(shell git rev-parse --short HEAD 2>/dev/null || echo "")
GO_FLAGS=-ldflags="-X github.com/apache/incubator-answer/cmd.Version=$(VERSION) -X 'github.com/apache/incubator-answer/cmd.Revision=$(Revision)' -X 'github.com/apache/incubator-answer/cmd.Time=`date +%s`' -extldflags -static"
GO=$(GO_ENV) $(shell which go)
GO=$(GO_ENV) "$(shell which go)"
build: generate
@$(GO) build $(GO_FLAGS) -o $(BIN) $(DIR_SRC)
@@ -23,6 +23,8 @@ universal: generate
generate:
@$(GO) get github.com/google/wire/cmd/wire@v0.5.0
@$(GO) get github.com/golang/mock/mockgen@v1.6.0
@$(GO) get github.com/swaggo/swag/cmd/swag@v1.16.3
@$(GO) install github.com/swaggo/swag/cmd/swag@v1.16.3
@$(GO) install github.com/google/wire/cmd/wire@v0.5.0
@$(GO) install github.com/golang/mock/mockgen@v1.6.0
@$(GO) generate ./...
@@ -38,9 +40,13 @@ clean:
install-ui-packages:
@corepack enable
@corepack prepare pnpm@latest --activate
@corepack prepare pnpm@8.9.2 --activate
ui:
@cd ui && pnpm pre-install && pnpm build && cd -
lint: generate
@bash ./script/check-asf-header.sh
@gofmt -w -l .
all: clean build
+1 -1
View File
@@ -1,5 +1,5 @@
Apache Answer (incubating)
Copyright 2023 The Apache Software Foundation
Copyright 2023-2024 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (https://www.apache.org/).
+27 -6
View File
@@ -2,7 +2,7 @@
<img alt="logo" src="docs/img/logo.svg" height="99px">
</a>
# Answer - Build Q&A platform
# Apache Answer - Build Q&A platform
A Q&A platform software for teams at any scales. Whether its a community forum, help center, or knowledge management platform, you can always count on Answer.
@@ -23,24 +23,45 @@ To learn more about the project, visit [answer.apache.org](https://answer.apache
### Running with docker
```bash
docker run -d -p 9080:80 -v answer-data:/data --name answer answerdev/answer:latest
docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:1.4.1
```
For more information, see [Installation](https://answer.apache.org/docs/installation)
For more information, see [Installation](https://answer.apache.org/docs/installation).
### Plugins
Answer provides a plugin system for developers to create custom plugins and expand Answers features. You can find the [plugin documentation here](https://answer.apache.org/docs/development/extending/).
Answer provides a plugin system for developers to create custom plugins and expand Answers features. You can find the [plugin documentation here](https://answer.apache.org/community/plugins).
We value your feedback and suggestions to improve our documentation. If you have any comments or questions, please feel free to contact us. Were excited to see what you can create using our plugin system!
You can also check out the [plugins here](https://github.com/apache/incubator-answer-plugins).
You can also check out the [plugins here](https://answer.apache.org/plugins).
## Building from Source
### Prerequisites
- Golang >= 1.18
- Node.js >= 16.17
- pnpm >= 8
- mockgen >= 1.6.0
- wire >= 0.5.0
### Build
```bash
# install wire and mockgen for building
$ make generate
# install frontend dependencies and build
$ make ui
# install backend dependencies and build
$ make build
```
## Contributing
Contributions are always welcome!
See [CONTRIBUTING](https://answer.apache.org/docs/development/contributing/) for ways to get started.
See [CONTRIBUTING](https://answer.apache.org/community/contributing) for ways to get started.
## License
-39
View File
@@ -1,39 +0,0 @@
<a href="https://answer.apache.org">
<img alt="logo" src="docs/img/logo.svg" height="99px">
</a>
# Answer - 构建问答社区
一款问答形式的知识社区开源软件,你可以使用它快速建立你的问答社区,用于产品技术支持、客户支持、用户交流等。
了解更多关于该项目的内容,请访问 [answer.apache.org](https://answer.apache.org).
[![LICENSE](https://img.shields.io/github/license/apache/incubator-answer)](https://github.com/apache/incubator-answer/blob/main/LICENSE)
[![Language](https://img.shields.io/badge/language-go-blue.svg)](https://golang.org/)
[![Language](https://img.shields.io/badge/language-react-blue.svg)](https://reactjs.org/)
[![Go Report Card](https://goreportcard.com/badge/github.com/apache/incubator-answer)](https://goreportcard.com/report/github.com/apache/incubator-answer)
[![Discord](https://img.shields.io/badge/discord-chat-5865f2?logo=discord&logoColor=f5f5f5)](https://discord.gg/Jm7Y4cbUej)
## 截图
![screenshot](docs/img/screenshot.png)
## 快速开始
### 使用 docker 快速搭建
```bash
docker run -d -p 9080:80 -v answer-data:/data --name answer answerdev/answer:latest
```
其他安装配置细节请参考 [Installation](https://answer.apache.org/docs/installation)
## 贡献
我们随时欢迎你的贡献!
参考 [CONTRIBUTING](https://answer.apache.org/docs/development/contributing/) 开始贡献。
## License
[Apache License 2.0](https://github.com/apache/incubator-answer/blob/main/LICENSE)
+3 -3
View File
@@ -11,7 +11,7 @@ The following table lists the configurable parameters of the answer chart and th
| Parameter | Description | Default |
| --------- | ----------- | ------- |
| `replicaCount` | Number of answer replicas | `1` |
| `image.repository` | Image repository | `answerdev/answer` |
| `image.repository` | Image repository | `apache/answer` |
| `image.pullPolicy` | Image pull policy | `Always` |
| `image.tag` | Image tag | `latest` |
| `env` | Optional environment variables for answer | `LOG_LEVEL: INFO` |
@@ -69,7 +69,7 @@ Publish the chart to Artifacthub and add proper installation instructions. E.G.
> **NOTE**: This is not currently a valid installation option.
```console
$ helm repo add answerdev https://charts.answer.apache.org/
$ helm repo add apache https://charts.answer.apache.org/
$ helm repo update
$ helm install answerdev/answer -n mynamespace
$ helm install apache/answer -n mynamespace
```
+1 -1
View File
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
{{- if .Values.autoscaling.enabled }}
{{ if .Values.autoscaling.enabled -}}
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
+1 -1
View File
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
{{- if .Values.ingress.enabled -}}
{{ if .Values.ingress.enabled -}}
{{- $fullName := include "answer.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}
+8 -2
View File
@@ -15,12 +15,12 @@
# specific language governing permissions and limitations
# under the License.
{{- if .Values.persistence.enabled }}
{{ if .Values.persistence.enabled -}}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ include "answer.fullname" . }}-claim
{{- with .Values.persistence.annotations }}
{{- with .Values.persistence.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
@@ -39,4 +39,10 @@ spec:
resources:
requests:
storage: {{ .Values.persistence.size | quote }}
{{- with .Values.persistence.dataSource }}
dataSource:
name: {{ .name }}
kind: {{ .kind | default "VolumeSnapshot" }}
apiGroup: {{ .apiGroup | default "snapshot.storage.k8s.io" }}
{{- end }}
{{- end }}
+1 -1
View File
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
{{- if .Values.serviceAccount.create -}}
{{ if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
+9 -3
View File
@@ -22,7 +22,7 @@
replicaCount: 1
image:
repository: answerdev/answer
repository: apache/answer
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
@@ -35,7 +35,7 @@ env:
# [DEBUG INFO WARN ERROR]
value: "INFO"
# uncomment the below values to use AUTO_INSTALL and not have to go through the setup process.
# Once used to do the initial setup, these variables wont be used moving forward.
# Once used to do the initial setup, these variables won't be used moving forward.
# You must at a minimum comment AUTO_INSTALL after initial setup to prevent an error about the database already being initiated.
# - name: AUTO_INSTALL
# value: "true"
@@ -68,7 +68,7 @@ env:
# Configure extra containers
extraContainers: []
# - name: cloudsql-proxy
# - name: cloudsql-proxy
# image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.1.2
# command:
# - /cloud-sql-proxy
@@ -91,6 +91,12 @@ persistence:
accessMode: ReadWriteOnce
size: 5Gi
annotations: {}
# To restore a PVC from a VolumeSnapshot, set the dataSource;
# the kind and apiGroup are optional and default to the shown values
dataSource: {}
# name: my-volume-snapshot
# kind: VolumeSnapshot
# apiGroup: snapshot.storage.k8s.io
imagePullSecrets: []
nameOverride: ""
+6
View File
@@ -17,12 +17,18 @@
* under the License.
*/
//go:generate go run github.com/swaggo/swag/cmd/swag init -g ./cmd/answer/main.go -d ../../ -o ../../docs
package main
import (
answercmd "github.com/apache/incubator-answer/cmd"
)
// main godoc
// @title Apache Answer
// @description Apache Answer API
// @BasePath /
// @securityDefinitions.apikey ApiKeyAuth
// @in header
// @name Authorization
+77 -2
View File
@@ -38,6 +38,8 @@ var (
dataDirPath string
// dumpDataPath dump data path
dumpDataPath string
// place to build new answer
buildDir string
// plugins needed to build in answer application
buildWithPlugins []string
// build output path
@@ -45,6 +47,12 @@ var (
// This config is used to upgrade the database from a specific version manually.
// If you want to upgrade the database to version 1.1.0, you can use `answer upgrade -f v1.1.0`.
upgradeVersion string
// The fields that need to be set to the default value
configFields []string
// i18nSourcePath i18n from path
i18nSourcePath string
// i18nTargetPath i18n to path
i18nTargetPath string
)
func init() {
@@ -58,9 +66,17 @@ func init() {
buildCmd.Flags().StringVarP(&buildOutput, "output", "o", "", "build output path")
buildCmd.Flags().StringVarP(&buildDir, "build-dir", "b", "", "dir for build process")
upgradeCmd.Flags().StringVarP(&upgradeVersion, "from", "f", "", "upgrade from specific version, eg: -f v1.1.0")
for _, cmd := range []*cobra.Command{initCmd, checkCmd, runCmd, dumpCmd, upgradeCmd, buildCmd, pluginCmd} {
configCmd.Flags().StringSliceVarP(&configFields, "with", "w", []string{}, "the fields that need to be set to the default value, eg: -w allow_password_login")
i18nCmd.Flags().StringVarP(&i18nSourcePath, "source", "s", "", "i18n source path, eg: -f ./i18n/source")
i18nCmd.Flags().StringVarP(&i18nTargetPath, "target", "t", "", "i18n target path, eg: -t ./i18n/target")
for _, cmd := range []*cobra.Command{initCmd, checkCmd, runCmd, dumpCmd, upgradeCmd, buildCmd, pluginCmd, configCmd, i18nCmd} {
rootCmd.AddCommand(cmd)
}
}
@@ -205,7 +221,7 @@ To run answer, use:
Long: `Build a new Answer with plugins that you need`,
Run: func(_ *cobra.Command, _ []string) {
fmt.Printf("try to build a new answer with plugins:\n%s\n", strings.Join(buildWithPlugins, "\n"))
err := cli.BuildNewAnswer(buildOutput, buildWithPlugins, cli.OriginalAnswerInfo{
err := cli.BuildNewAnswer(buildDir, buildOutput, buildWithPlugins, cli.OriginalAnswerInfo{
Version: Version,
Revision: Revision,
Time: Time,
@@ -231,6 +247,65 @@ To run answer, use:
})
},
}
// configCmd set some config to default value
configCmd = &cobra.Command{
Use: "config",
Short: "set some config to default value",
Long: `set some config to default value`,
Run: func(_ *cobra.Command, _ []string) {
cli.FormatAllPath(dataDirPath)
c, err := conf.ReadConfig(cli.GetConfigFilePath())
if err != nil {
fmt.Println("read config failed: ", err.Error())
return
}
field := &cli.ConfigField{}
fmt.Println(configFields)
if len(configFields) > 0 {
switch configFields[0] {
case "allow_password_login":
field.AllowPasswordLogin = true
case "deactivate_plugin":
if len(configFields) > 1 {
field.DeactivatePluginSlugName = configFields[1]
}
default:
fmt.Printf("field %s not support\n", configFields[0])
}
}
err = cli.SetDefaultConfig(c.Data.Database, c.Data.Cache, field)
if err != nil {
fmt.Println("set default config failed: ", err.Error())
} else {
fmt.Println("set default config successfully")
}
},
}
// i18nCmd used to merge i18n files
i18nCmd = &cobra.Command{
Use: "i18n",
Short: "overwrite i18n files",
Long: `Merge i18n files from plugins to original i18n files. It will overwrite the original i18n files`,
Run: func(_ *cobra.Command, _ []string) {
if err := cli.ReplaceI18nFilesLocal(i18nTargetPath); err != nil {
fmt.Printf("replace i18n files failed %v", err)
} else {
fmt.Printf("replace i18n files successfully\n")
}
fmt.Printf("try to merge i18n files from %q to %q\n", i18nSourcePath, i18nTargetPath)
if err := cli.MergeI18nFilesLocal(i18nTargetPath, i18nSourcePath); err != nil {
fmt.Printf("merge i18n files failed %v", err)
} else {
fmt.Printf("merge i18n files successfully\n")
}
},
}
)
// Execute adds all child commands to the root command and sets flags appropriately.
+7 -3
View File
@@ -44,9 +44,12 @@ var (
// Version is the version of the project
Version = "0.0.0"
// Revision is the git short commit revision number
Revision = "-"
// If built without a Git repository, this field will be empty.
Revision = ""
// Time is the build time of the project
Time = "-"
Time = ""
// GoVersion is the go version of the project
GoVersion = "1.19"
// log level
logLevel = os.Getenv("LOG_LEVEL")
// log path
@@ -69,12 +72,13 @@ func runApp() {
panic(err)
}
app, cleanup, err := initApplication(
c.Debug, c.Server, c.Data.Database, c.Data.Cache, c.I18n, c.Swaggerui, c.ServiceConfig, log.GetLogger())
c.Debug, c.Server, c.Data.Database, c.Data.Cache, c.I18n, c.Swaggerui, c.ServiceConfig, c.UI, log.GetLogger())
if err != nil {
panic(err)
}
constant.Version = Version
constant.Revision = Revision
constant.GoVersion = GoVersion
schema.AppStartTime = time.Now()
fmt.Println("answer Version:", constant.Version, " Revision:", constant.Revision)
+1
View File
@@ -52,6 +52,7 @@ func initApplication(
i18nConf *translator.I18n,
swaggerConf *router.SwaggerConfig,
serviceConf *service_config.ServiceConfig,
uiConf *server.UI,
logConf log.Logger) (*pacman.Application, func(), error) {
panic(wire.Build(
server.ProviderSetServer,
+77 -48
View File
@@ -40,6 +40,9 @@ import (
"github.com/apache/incubator-answer/internal/repo/activity_common"
"github.com/apache/incubator-answer/internal/repo/answer"
"github.com/apache/incubator-answer/internal/repo/auth"
"github.com/apache/incubator-answer/internal/repo/badge"
"github.com/apache/incubator-answer/internal/repo/badge_award"
"github.com/apache/incubator-answer/internal/repo/badge_group"
"github.com/apache/incubator-answer/internal/repo/captcha"
"github.com/apache/incubator-answer/internal/repo/collection"
"github.com/apache/incubator-answer/internal/repo/comment"
@@ -53,6 +56,7 @@ import (
"github.com/apache/incubator-answer/internal/repo/rank"
"github.com/apache/incubator-answer/internal/repo/reason"
"github.com/apache/incubator-answer/internal/repo/report"
"github.com/apache/incubator-answer/internal/repo/review"
"github.com/apache/incubator-answer/internal/repo/revision"
"github.com/apache/incubator-answer/internal/repo/role"
"github.com/apache/incubator-answer/internal/repo/search_common"
@@ -64,21 +68,26 @@ import (
"github.com/apache/incubator-answer/internal/repo/user_external_login"
"github.com/apache/incubator-answer/internal/repo/user_notification_config"
"github.com/apache/incubator-answer/internal/router"
"github.com/apache/incubator-answer/internal/service"
"github.com/apache/incubator-answer/internal/service/action"
activity2 "github.com/apache/incubator-answer/internal/service/activity"
activity_common2 "github.com/apache/incubator-answer/internal/service/activity_common"
"github.com/apache/incubator-answer/internal/service/activity_queue"
"github.com/apache/incubator-answer/internal/service/answer_common"
auth2 "github.com/apache/incubator-answer/internal/service/auth"
badge2 "github.com/apache/incubator-answer/internal/service/badge"
collection2 "github.com/apache/incubator-answer/internal/service/collection"
"github.com/apache/incubator-answer/internal/service/collection_common"
comment2 "github.com/apache/incubator-answer/internal/service/comment"
"github.com/apache/incubator-answer/internal/service/comment_common"
config2 "github.com/apache/incubator-answer/internal/service/config"
"github.com/apache/incubator-answer/internal/service/content"
"github.com/apache/incubator-answer/internal/service/dashboard"
"github.com/apache/incubator-answer/internal/service/event_queue"
export2 "github.com/apache/incubator-answer/internal/service/export"
"github.com/apache/incubator-answer/internal/service/follow"
"github.com/apache/incubator-answer/internal/service/importer"
meta2 "github.com/apache/incubator-answer/internal/service/meta"
"github.com/apache/incubator-answer/internal/service/meta_common"
"github.com/apache/incubator-answer/internal/service/notice_queue"
"github.com/apache/incubator-answer/internal/service/notification"
"github.com/apache/incubator-answer/internal/service/notification_common"
@@ -88,8 +97,8 @@ import (
rank2 "github.com/apache/incubator-answer/internal/service/rank"
reason2 "github.com/apache/incubator-answer/internal/service/reason"
report2 "github.com/apache/incubator-answer/internal/service/report"
"github.com/apache/incubator-answer/internal/service/report_admin"
"github.com/apache/incubator-answer/internal/service/report_handle_admin"
"github.com/apache/incubator-answer/internal/service/report_handle"
review2 "github.com/apache/incubator-answer/internal/service/review"
"github.com/apache/incubator-answer/internal/service/revision_common"
role2 "github.com/apache/incubator-answer/internal/service/role"
"github.com/apache/incubator-answer/internal/service/search_parser"
@@ -110,7 +119,7 @@ import (
// Injectors from wire.go:
// initApplication init application.
func initApplication(debug bool, serverConf *conf.Server, dbConf *data.Database, cacheConf *data.CacheConf, i18nConf *translator.I18n, swaggerConf *router.SwaggerConfig, serviceConf *service_config.ServiceConfig, logConf log.Logger) (*pacman.Application, func(), error) {
func initApplication(debug bool, serverConf *conf.Server, dbConf *data.Database, cacheConf *data.CacheConf, i18nConf *translator.I18n, swaggerConf *router.SwaggerConfig, serviceConf *service_config.ServiceConfig, uiConf *server.UI, logConf log.Logger) (*pacman.Application, func(), error) {
staticRouter := router.NewStaticRouter(serviceConf)
i18nTranslator, err := translator.NewTranslator(i18nConf)
if err != nil {
@@ -149,17 +158,13 @@ func initApplication(debug bool, serverConf *conf.Server, dbConf *data.Database,
userRoleRelService := role2.NewUserRoleRelService(userRoleRelRepo, roleService)
userCommon := usercommon.NewUserCommon(userRepo, userRoleRelService, authService, siteInfoCommonService)
userExternalLoginRepo := user_external_login.NewUserExternalLoginRepo(dataData)
userExternalLoginService := user_external_login2.NewUserExternalLoginService(userRepo, userCommon, userExternalLoginRepo, emailService, siteInfoCommonService, userActiveActivityRepo)
userNotificationConfigRepo := user_notification_config.NewUserNotificationConfigRepo(dataData)
userNotificationConfigService := user_notification_config2.NewUserNotificationConfigService(userRepo, userNotificationConfigRepo)
userService := service.NewUserService(userRepo, userActiveActivityRepo, activityRepo, emailService, authService, siteInfoCommonService, userRoleRelService, userCommon, userExternalLoginService, userNotificationConfigRepo, userNotificationConfigService)
captchaRepo := captcha.NewCaptchaRepo(dataData)
captchaService := action.NewCaptchaService(captchaRepo)
userController := controller.NewUserController(authService, userService, captchaService, emailService, siteInfoCommonService, userNotificationConfigService)
commentRepo := comment.NewCommentRepo(dataData, uniqueIDRepo)
commentCommonRepo := comment.NewCommentCommonRepo(dataData, uniqueIDRepo)
answerRepo := answer.NewAnswerRepo(dataData, uniqueIDRepo, userRankRepo, activityRepo)
userExternalLoginService := user_external_login2.NewUserExternalLoginService(userRepo, userCommon, userExternalLoginRepo, emailService, siteInfoCommonService, userActiveActivityRepo, userNotificationConfigService)
questionRepo := question.NewQuestionRepo(dataData, uniqueIDRepo)
answerRepo := answer.NewAnswerRepo(dataData, uniqueIDRepo, userRankRepo, activityRepo)
voteRepo := activity_common.NewVoteRepo(dataData, activityRepo)
followRepo := activity_common.NewFollowRepo(dataData, uniqueIDRepo, activityRepo)
tagCommonRepo := tag_common.NewTagCommonRepo(dataData, uniqueIDRepo)
tagRelRepo := tag.NewTagRelRepo(dataData, uniqueIDRepo)
tagRepo := tag.NewTagRepo(dataData, uniqueIDRepo)
@@ -167,11 +172,23 @@ func initApplication(debug bool, serverConf *conf.Server, dbConf *data.Database,
revisionService := revision_common.NewRevisionService(revisionRepo, userRepo)
activityQueueService := activity_queue.NewActivityQueueService()
tagCommonService := tag_common2.NewTagCommonService(tagCommonRepo, tagRelRepo, tagRepo, revisionService, siteInfoCommonService, activityQueueService)
collectionRepo := collection.NewCollectionRepo(dataData, uniqueIDRepo)
collectionCommon := collectioncommon.NewCollectionCommon(collectionRepo)
answerCommon := answercommon.NewAnswerCommon(answerRepo)
metaRepo := meta.NewMetaRepo(dataData)
metaCommonService := metacommon.NewMetaCommonService(metaRepo)
questionCommon := questioncommon.NewQuestionCommon(questionRepo, answerRepo, voteRepo, followRepo, tagCommonService, userCommon, collectionCommon, answerCommon, metaCommonService, configService, activityQueueService, revisionRepo, siteInfoCommonService, dataData)
eventQueueService := event_queue.NewEventQueueService()
userService := content.NewUserService(userRepo, userActiveActivityRepo, activityRepo, emailService, authService, siteInfoCommonService, userRoleRelService, userCommon, userExternalLoginService, userNotificationConfigRepo, userNotificationConfigService, questionCommon, eventQueueService)
captchaRepo := captcha.NewCaptchaRepo(dataData)
captchaService := action.NewCaptchaService(captchaRepo)
userController := controller.NewUserController(authService, userService, captchaService, emailService, siteInfoCommonService, userNotificationConfigService)
commentRepo := comment.NewCommentRepo(dataData, uniqueIDRepo)
commentCommonRepo := comment.NewCommentCommonRepo(dataData, uniqueIDRepo)
objService := object_info.NewObjService(answerRepo, questionRepo, commentCommonRepo, tagCommonRepo, tagCommonService)
voteRepo := activity_common.NewVoteRepo(dataData, activityRepo)
notificationQueueService := notice_queue.NewNotificationQueueService()
externalNotificationQueueService := notice_queue.NewNewQuestionNotificationQueueService()
commentService := comment2.NewCommentService(commentRepo, commentCommonRepo, userCommon, objService, voteRepo, emailService, userRepo, notificationQueueService, externalNotificationQueueService, activityQueueService)
commentService := comment2.NewCommentService(commentRepo, commentCommonRepo, userCommon, objService, voteRepo, emailService, userRepo, notificationQueueService, externalNotificationQueueService, activityQueueService, eventQueueService)
rolePowerRelRepo := role.NewRolePowerRelRepo(dataData)
rolePowerRelService := role2.NewRolePowerRelService(rolePowerRelRepo, userRoleRelService)
rankService := rank2.NewRankService(userCommon, userRankRepo, objService, userRoleRelService, rolePowerRelService, configService)
@@ -179,43 +196,37 @@ func initApplication(debug bool, serverConf *conf.Server, dbConf *data.Database,
rateLimitMiddleware := middleware.NewRateLimitMiddleware(limitRepo)
commentController := controller.NewCommentController(commentService, rankService, captchaService, rateLimitMiddleware)
reportRepo := report.NewReportRepo(dataData, uniqueIDRepo)
reportService := report2.NewReportService(reportRepo, objService)
reportController := controller.NewReportController(reportService, rankService, captchaService)
serviceVoteRepo := activity.NewVoteRepo(dataData, activityRepo, userRankRepo, notificationQueueService)
voteService := service.NewVoteService(serviceVoteRepo, configService, questionRepo, answerRepo, commentCommonRepo, objService)
voteController := controller.NewVoteController(voteService, rankService, captchaService)
followRepo := activity_common.NewFollowRepo(dataData, uniqueIDRepo, activityRepo)
tagService := tag2.NewTagService(tagRepo, tagCommonService, revisionService, followRepo, siteInfoCommonService, activityQueueService)
answerActivityRepo := activity.NewAnswerActivityRepo(dataData, activityRepo, userRankRepo, notificationQueueService)
answerActivityService := activity2.NewAnswerActivityService(answerActivityRepo, configService)
externalNotificationService := notification.NewExternalNotificationService(dataData, userNotificationConfigRepo, followRepo, emailService, userRepo, externalNotificationQueueService, userExternalLoginRepo, siteInfoCommonService)
reviewRepo := review.NewReviewRepo(dataData)
reviewService := review2.NewReviewService(reviewRepo, objService, userCommon, userRepo, questionRepo, answerRepo, userRoleRelService, externalNotificationQueueService, tagCommonService, questionCommon, notificationQueueService, siteInfoCommonService)
questionService := content.NewQuestionService(activityRepo, questionRepo, answerRepo, tagCommonService, tagService, questionCommon, userCommon, userRepo, userRoleRelService, revisionService, metaCommonService, collectionCommon, answerActivityService, emailService, notificationQueueService, externalNotificationQueueService, activityQueueService, siteInfoCommonService, externalNotificationService, reviewService, configService, eventQueueService)
answerService := content.NewAnswerService(answerRepo, questionRepo, questionCommon, userCommon, collectionCommon, userRepo, revisionService, answerActivityService, answerCommon, voteRepo, emailService, userRoleRelService, notificationQueueService, externalNotificationQueueService, activityQueueService, reviewService, eventQueueService)
reportHandle := report_handle.NewReportHandle(questionService, answerService, commentService)
reportService := report2.NewReportService(reportRepo, objService, userCommon, answerRepo, questionRepo, commentCommonRepo, reportHandle, configService, eventQueueService)
reportController := controller.NewReportController(reportService, rankService, captchaService)
contentVoteRepo := activity.NewVoteRepo(dataData, activityRepo, userRankRepo, notificationQueueService)
voteService := content.NewVoteService(contentVoteRepo, configService, questionRepo, answerRepo, commentCommonRepo, objService, eventQueueService)
voteController := controller.NewVoteController(voteService, rankService, captchaService)
tagController := controller.NewTagController(tagService, tagCommonService, rankService)
followFollowRepo := activity.NewFollowRepo(dataData, uniqueIDRepo, activityRepo)
followService := follow.NewFollowService(followFollowRepo, followRepo, tagCommonRepo)
followController := controller.NewFollowController(followService)
collectionRepo := collection.NewCollectionRepo(dataData, uniqueIDRepo)
collectionGroupRepo := collection.NewCollectionGroupRepo(dataData)
collectionCommon := collectioncommon.NewCollectionCommon(collectionRepo)
answerCommon := answercommon.NewAnswerCommon(answerRepo)
metaRepo := meta.NewMetaRepo(dataData)
metaService := meta2.NewMetaService(metaRepo)
questionCommon := questioncommon.NewQuestionCommon(questionRepo, answerRepo, voteRepo, followRepo, tagCommonService, userCommon, collectionCommon, answerCommon, metaService, configService, activityQueueService, dataData)
collectionService := service.NewCollectionService(collectionRepo, collectionGroupRepo, questionCommon)
collectionService := collection2.NewCollectionService(collectionRepo, collectionGroupRepo, questionCommon)
collectionController := controller.NewCollectionController(collectionService)
answerActivityRepo := activity.NewAnswerActivityRepo(dataData, activityRepo, userRankRepo, notificationQueueService)
answerActivityService := activity2.NewAnswerActivityService(answerActivityRepo, configService)
externalNotificationService := notification.NewExternalNotificationService(dataData, userNotificationConfigRepo, followRepo, emailService, userRepo, externalNotificationQueueService)
questionService := service.NewQuestionService(questionRepo, tagCommonService, questionCommon, userCommon, userRepo, revisionService, metaService, collectionCommon, answerActivityService, emailService, notificationQueueService, externalNotificationQueueService, activityQueueService, siteInfoCommonService, externalNotificationService)
answerService := service.NewAnswerService(answerRepo, questionRepo, questionCommon, userCommon, collectionCommon, userRepo, revisionService, answerActivityService, answerCommon, voteRepo, emailService, userRoleRelService, notificationQueueService, externalNotificationQueueService, activityQueueService)
questionController := controller.NewQuestionController(questionService, answerService, rankService, siteInfoCommonService, captchaService, rateLimitMiddleware)
answerController := controller.NewAnswerController(answerService, rankService, captchaService, rateLimitMiddleware)
answerController := controller.NewAnswerController(answerService, rankService, captchaService, siteInfoCommonService, rateLimitMiddleware)
searchParser := search_parser.NewSearchParser(tagCommonService, userCommon)
searchRepo := search_common.NewSearchRepo(dataData, uniqueIDRepo, userCommon, tagCommonService)
searchService := service.NewSearchService(searchParser, searchRepo)
searchService := content.NewSearchService(searchParser, searchRepo)
searchController := controller.NewSearchController(searchService, captchaService)
serviceRevisionService := service.NewRevisionService(revisionRepo, userCommon, questionCommon, answerService, objService, questionRepo, answerRepo, tagRepo, tagCommonService, notificationQueueService, activityQueueService)
revisionController := controller.NewRevisionController(serviceRevisionService, rankService)
reviewActivityRepo := activity.NewReviewActivityRepo(dataData, activityRepo, userRankRepo, configService)
contentRevisionService := content.NewRevisionService(revisionRepo, userCommon, questionCommon, answerService, objService, questionRepo, answerRepo, tagRepo, tagCommonService, notificationQueueService, activityQueueService, reportRepo, reviewService, reviewActivityRepo)
revisionController := controller.NewRevisionController(contentRevisionService, rankService)
rankController := controller.NewRankController(rankService)
reportHandle := report_handle_admin.NewReportHandle(questionCommon, commentRepo, configService, notificationQueueService)
reportAdminService := report_admin.NewReportAdminService(reportRepo, userCommon, answerRepo, questionRepo, commentCommonRepo, reportHandle, configService, objService)
controller_adminReportController := controller_admin.NewReportController(reportAdminService)
userAdminRepo := user.NewUserAdminRepo(dataData, authRepo)
userAdminService := user_admin.NewUserAdminService(userAdminRepo, userRoleRelService, authService, userCommon, userActiveActivityRepo, siteInfoCommonService, emailService, questionRepo, answerRepo, commentCommonRepo)
userAdminController := controller_admin.NewUserAdminController(userAdminService)
@@ -227,37 +238,55 @@ func initApplication(debug bool, serverConf *conf.Server, dbConf *data.Database,
siteInfoController := controller_admin.NewSiteInfoController(siteInfoService)
controllerSiteInfoController := controller.NewSiteInfoController(siteInfoCommonService)
notificationRepo := notification2.NewNotificationRepo(dataData)
notificationCommon := notificationcommon.NewNotificationCommon(dataData, notificationRepo, userCommon, activityRepo, followRepo, objService, notificationQueueService)
notificationService := notification.NewNotificationService(dataData, notificationRepo, notificationCommon, revisionService, userRepo)
notificationCommon := notificationcommon.NewNotificationCommon(dataData, notificationRepo, userCommon, activityRepo, followRepo, objService, notificationQueueService, userExternalLoginRepo, siteInfoCommonService)
badgeRepo := badge.NewBadgeRepo(dataData, uniqueIDRepo)
notificationService := notification.NewNotificationService(dataData, notificationRepo, notificationCommon, revisionService, userRepo, reportRepo, reviewService, badgeRepo)
notificationController := controller.NewNotificationController(notificationService, rankService)
dashboardService := dashboard.NewDashboardService(questionRepo, answerRepo, commentCommonRepo, voteRepo, userRepo, reportRepo, configService, siteInfoCommonService, serviceConf, dataData)
dashboardService := dashboard.NewDashboardService(questionRepo, answerRepo, commentCommonRepo, voteRepo, userRepo, reportRepo, configService, siteInfoCommonService, serviceConf, reviewService, revisionRepo, dataData)
dashboardController := controller.NewDashboardController(dashboardService)
uploaderService := uploader.NewUploaderService(serviceConf, siteInfoCommonService)
uploadController := controller.NewUploadController(uploaderService)
activityActivityRepo := activity.NewActivityRepo(dataData, configService)
activityCommon := activity_common2.NewActivityCommon(activityRepo, activityQueueService)
commentCommonService := comment_common.NewCommentCommonService(commentCommonRepo)
activityService := activity2.NewActivityService(activityActivityRepo, userCommon, activityCommon, tagCommonService, objService, commentCommonService, revisionService, metaService, configService)
activityService := activity2.NewActivityService(activityActivityRepo, userCommon, activityCommon, tagCommonService, objService, commentCommonService, revisionService, metaCommonService, configService)
activityController := controller.NewActivityController(activityService)
roleController := controller_admin.NewRoleController(roleService)
pluginConfigRepo := plugin_config.NewPluginConfigRepo(dataData)
pluginCommonService := plugin_common.NewPluginCommonService(pluginConfigRepo, configService, dataData)
pluginUserConfigRepo := plugin_config.NewPluginUserConfigRepo(dataData)
importerService := importer.NewImporterService(questionService, rankService, userCommon)
pluginCommonService := plugin_common.NewPluginCommonService(pluginConfigRepo, pluginUserConfigRepo, configService, dataData, importerService)
pluginController := controller_admin.NewPluginController(pluginCommonService)
permissionController := controller.NewPermissionController(rankService)
answerAPIRouter := router.NewAnswerAPIRouter(langController, userController, commentController, reportController, voteController, tagController, followController, collectionController, questionController, answerController, searchController, revisionController, rankController, controller_adminReportController, userAdminController, reasonController, themeController, siteInfoController, controllerSiteInfoController, notificationController, dashboardController, uploadController, activityController, roleController, pluginController, permissionController)
userPluginController := controller.NewUserPluginController(pluginCommonService)
reviewController := controller.NewReviewController(reviewService, rankService, captchaService)
metaService := meta2.NewMetaService(metaCommonService, userCommon, answerRepo, questionRepo, eventQueueService)
metaController := controller.NewMetaController(metaService)
badgeGroupRepo := badge_group.NewBadgeGroupRepo(dataData, uniqueIDRepo)
badgeAwardRepo := badge_award.NewBadgeAwardRepo(dataData, uniqueIDRepo)
eventRuleRepo := badge.NewEventRuleRepo(dataData)
badgeAwardService := badge2.NewBadgeAwardService(badgeAwardRepo, badgeRepo, userCommon, objService, notificationQueueService)
badgeEventService := badge2.NewBadgeEventService(dataData, eventQueueService, badgeRepo, eventRuleRepo, badgeAwardService)
badgeService := badge2.NewBadgeService(badgeRepo, badgeGroupRepo, badgeAwardRepo, badgeEventService, siteInfoCommonService)
badgeController := controller.NewBadgeController(badgeService, badgeAwardService)
controller_adminBadgeController := controller_admin.NewBadgeController(badgeService)
answerAPIRouter := router.NewAnswerAPIRouter(langController, userController, commentController, reportController, voteController, tagController, followController, collectionController, questionController, answerController, searchController, revisionController, rankController, userAdminController, reasonController, themeController, siteInfoController, controllerSiteInfoController, notificationController, dashboardController, uploadController, activityController, roleController, pluginController, permissionController, userPluginController, reviewController, metaController, badgeController, controller_adminBadgeController)
swaggerRouter := router.NewSwaggerRouter(swaggerConf)
uiRouter := router.NewUIRouter(controllerSiteInfoController, siteInfoCommonService)
authUserMiddleware := middleware.NewAuthUserMiddleware(authService, siteInfoCommonService)
avatarMiddleware := middleware.NewAvatarMiddleware(serviceConf, uploaderService)
shortIDMiddleware := middleware.NewShortIDMiddleware(siteInfoCommonService)
templateRenderController := templaterender.NewTemplateRenderController(questionService, userService, tagService, answerService, commentService, siteInfoCommonService, questionRepo)
templateController := controller.NewTemplateController(templateRenderController, siteInfoCommonService)
templateController := controller.NewTemplateController(templateRenderController, siteInfoCommonService, eventQueueService, userService, questionService)
templateRouter := router.NewTemplateRouter(templateController, templateRenderController, siteInfoController, authUserMiddleware)
connectorController := controller.NewConnectorController(siteInfoCommonService, emailService, userExternalLoginService)
userCenterLoginService := user_external_login2.NewUserCenterLoginService(userRepo, userCommon, userExternalLoginRepo, userActiveActivityRepo, siteInfoCommonService)
userCenterController := controller.NewUserCenterController(userCenterLoginService, siteInfoCommonService)
pluginAPIRouter := router.NewPluginAPIRouter(connectorController, userCenterController)
ginEngine := server.NewHTTPServer(debug, staticRouter, answerAPIRouter, swaggerRouter, uiRouter, authUserMiddleware, avatarMiddleware, shortIDMiddleware, templateRouter, pluginAPIRouter)
captchaController := controller.NewCaptchaController()
embedController := controller.NewEmbedController()
renderController := controller.NewRenderController()
pluginAPIRouter := router.NewPluginAPIRouter(connectorController, userCenterController, captchaController, embedController, renderController)
ginEngine := server.NewHTTPServer(debug, staticRouter, answerAPIRouter, swaggerRouter, uiRouter, authUserMiddleware, avatarMiddleware, shortIDMiddleware, templateRouter, pluginAPIRouter, uiConf)
scheduledTaskManager := cron.NewScheduledTaskManager(siteInfoCommonService, questionService)
application := newApplication(serverConf, ginEngine, scheduledTaskManager)
return application, func() {
+5 -2
View File
@@ -32,6 +32,9 @@ swaggerui:
host: 127.0.0.1
address: ':80'
service_config:
secret_key: "answer"
web_host: "http://127.0.0.1:9080"
upload_path: "/data/uploads"
ui:
public_url: '/'
api_url: '/'
base_url: ''
-77
View File
@@ -1,77 +0,0 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
version: "3.9"
# uffizzi integration
x-uffizzi:
ingress:
service: answer
port: 80
services:
answer:
image: "${ANSWER_IMAGE}"
environment:
- AUTO_INSTALL=true
- DB_TYPE=mysql
- DB_USERNAME=root
- DB_PASSWORD=password
- DB_HOST=127.0.0.1:3306
- DB_NAME=answer
- LANGUAGE=en_US
- SITE_NAME=answer-test
- SITE_URL=http://localhost
- CONTACT_EMAIL=test@answer.com
- ADMIN_NAME=admin123
- ADMIN_PASSWORD=admin123
- ADMIN_EMAIL=admin123@admin.com
volumes:
- answer-data:/data
depends_on:
mysql:
condition: service_healthy
links:
- db
deploy:
resources:
limits:
memory: 4000M
mysql:
image: mysql:latest
environment:
- MYSQL_DATABASE=answer
- MYSQL_ROOT_PASSWORD=password
- MYSQL_USER=mysql
- MYSQL_PASSWORD=mysql
healthcheck:
test: [ "CMD", "mysqladmin" ,"ping", "-uroot", "-ppassword" ]
timeout: 20s
retries: 10
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci', '--skip-character-set-client-handshake']
volumes:
- sql_data:/var/lib/mysql
deploy:
resources:
limits:
memory: 500M
volumes:
answer-data:
sql_data:
+1 -1
View File
@@ -18,7 +18,7 @@
version: "3"
services:
answer:
image: answerdev/answer
image: apache/answer
ports:
- '9080:80'
restart: on-failure
+2031 -250
View File
File diff suppressed because it is too large Load Diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

+18
View File
@@ -1,3 +1,21 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<svg width="126" height="44" viewBox="0 0 126 44" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="125.49" height="44" rx="6" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 14.4C8 12.1598 8 11.0397 8.43597 10.184C8.81947 9.43139 9.43139 8.81947 10.184 8.43597C11.0397 8 12.1598 8 14.4 8H29.6C31.8402 8 32.9603 8 33.816 8.43597C34.5686 8.81947 35.1805 9.43139 35.564 10.184C36 11.0397 36 12.1598 36 14.4V24.0892C36 26.9608 36 28.3967 35.5628 29.6643C35.1761 30.7853 34.5451 31.8063 33.7153 32.6535C32.7771 33.6115 31.4928 34.2536 28.9244 35.5378L28 36V32H14.4C12.1598 32 11.0397 32 10.184 31.564C9.43139 31.1805 8.81947 30.5686 8.43597 29.816C8 28.9603 8 27.8402 8 25.6V14.4ZM28 20C28 23.3137 25.3137 26 22 26C18.6954 26 16.0148 23.3285 16.0001 20.0274V20H28Z" fill="#0033FF"/>

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

+8 -3
View File
@@ -231,7 +231,11 @@ The following components are provided under the MIT License. See project link fo
(MIT License) bootstrap (https://github.com/twbs/bootstrap) [link](./licenses/LICENSE-twbs-bootstrap.txt)
(MIT License) icons (https://github.com/twbs/icons) [link](./licenses/LICENSE-twbs-icons.txt)
(MIT License) classnames (https://github.com/JedWatson/classnames) [link](./LICENSE-JedWatson-classnames.txt)
(MIT License) codemirror5 (https://github.com/codemirror/codemirror5) [link](./licenses/LICENSE-codemirror-codemirror5.txt)
(MIT License) codemirror (https://github.com/codemirror/basic-setup) [link](./licenses/LICENSE-codemirror-basic-setup.txt)
(MIT License) @codemirror/lang-markdown (https://github.com/codemirror/lang-markdown) [link](./licenses/LICENSE-codemirror-lang-markdown.txt)
(MIT License) @codemirror/language-data (https://github.com/codemirror/language-data) [link](./licenses/LICENSE-codemirror-language-data.txt)
(MIT License) @codemirror/state (https://github.com/codemirror/state) [link](./licenses/LICENSE-codemirror-state.txt)
(MIT License) @codemirror/view (https://github.com/codemirror/view) [link](./licenses/LICENSE-codemirror-view.txt)
(MIT License) color (https://github.com/Qix-/color) [link](./licenses/LICENSE-Qix--color.txt)
(MIT License) copy-to-clipboard (https://github.com/sudodoki/copy-to-clipboard) [link](./licenses/LICENSE-sudodoki-copy-to-clipboard.txt)
(MIT License) dayjs (https://github.com/iamkun/dayjs) [link](./licenses/LICENSE-iamkun-dayjs.txt)
@@ -246,7 +250,7 @@ The following components are provided under the MIT License. See project link fo
(MIT License) react-router (https://github.com/remix-run/react-router) [link](./licenses/LICENSE-remix-run-react-router.txt)
(MIT License) swr (https://github.com/vercel/swr) [link](./licenses/LICENSE-vercel-swr.txt)
(MIT License) zustand (https://github.com/pmndrs/zustand) [link](./licenses/LICENSE-pmndrs-zustand.txt)
(MIT License) Chain-Zhang-pinyin (https://github.com/Chain-Zhang/pinyin) [link](./licenses/LICENSE-Chain-Zhang-pinyin.txt)
(MIT License) mozillazg-go-pinyin (https://github.com/mozillazg/go-pinyin) [link](./licenses/LICENSE-mozillazg-go-pinyin.txt)
(MIT License) Machiel-slugify (https://github.com/Machiel/slugify) [link](./licenses/LICENSE-Machiel-slugify.txt)
(MIT License) Masterminds-semver (https://github.com/Masterminds/semver) [link](./licenses/LICENSE-Masterminds-semver.txt)
(MIT License) anargu-gin-brotli (https://github.com/anargu/gin-brotli) [link](./licenses/LICENSE-anargu-gin-brotli.txt)
@@ -272,6 +276,8 @@ The following components are provided under the MIT License. See project link fo
(MIT License) tidwall-gjson (https://github.com/tidwall/gjson) [link](./licenses/LICENSE-tidwall-gjson.txt)
(MIT License) yuin-goldmark (https://github.com/yuin/goldmark) [link](./licenses/LICENSE-yuin-goldmark.txt)
(MIT License) go-gomail-gomail (https://gopkg.in/gomail.v2) [link](./licenses/LICENSE-go-gomail-gomail.txt)
(MIT License) front-matter (https://github.com/jxson/front-matter) [link](./licenses/LICENSE-jxson-front-matter.txt)
(MIT License) js-sha256 (https://github.com/emn178/js-sha256) [link](./licenses/LICENSE-emn178-js-sha256.txt)
========================================================================
BSD licenses
@@ -286,7 +292,6 @@ The following components are provided under a BSD license. See project link for
(BSD 3-Clause) microcosm-cc-bluemonday (https://github.com/microcosm-cc/bluemonday) [link](./licenses/LICENSE-microcosm-cc-bluemonday.txt)
(BSD 3-Clause) cznic-sqlite (https://modernc.org/sqlite) [link](./licenses/LICENSE-cznic-sqlite.txt)
(BSD 3-Clause) jsdiff (https://github.com/kpdecker/jsdiff) [link](./licenses/LICENSE-kpdecker-jsdiff.txt)
(BSD 3-Clause) node-md5 (https://github.com/pvorb/node-md5) [link](./licenses/LICENSE-pvorb-node-md5.txt)
(BSD 3-Clause) qs (https://github.com/ljharb/qs) [link](./licenses/LICENSE-ljharb-qs.txt)
========================================================================
+1 -1
View File
@@ -1,5 +1,5 @@
Apache Answer (incubating)
Copyright 2023 The Apache Software Foundation
Copyright 2024 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (https://www.apache.org/).
@@ -1,6 +1,6 @@
MIT License
Copyright (C) 2017 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,21 @@
MIT License
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
@@ -0,0 +1,21 @@
MIT License
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
@@ -0,0 +1,21 @@
MIT License
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
@@ -0,0 +1,21 @@
MIT License
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
@@ -0,0 +1,22 @@
Copyright (c) 2014-2024 Chen, Yi-Cyuan
MIT License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,9 @@
# The MIT License (MIT)
Copyright (c) Jason Campbell ("Author")
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,6 +1,6 @@
MIT License
The MIT License (MIT)
Copyright (c) 2019 Chain Zhang
Copyright (c) 2016 mozillazg
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -1,27 +0,0 @@
Copyright © 2011-2012, Paul Vorbach.
Copyright © 2009, Jeff Mott.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
* Neither the name Crypto-JS nor the names of its contributors may be used to
endorse or promote products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+2030 -245
View File
File diff suppressed because it is too large Load Diff
+1262 -167
View File
File diff suppressed because it is too large Load Diff
+116 -95
View File
@@ -1,156 +1,177 @@
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
module github.com/apache/incubator-answer
go 1.18
go 1.22.0
require (
github.com/Chain-Zhang/pinyin v0.1.3
github.com/Machiel/slugify v1.0.1
github.com/Masterminds/semver/v3 v3.1.1
github.com/Masterminds/semver/v3 v3.3.0
github.com/anargu/gin-brotli v0.0.0-20220116052358-12bf532d5267
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2
github.com/bwmarrin/snowflake v0.3.0
github.com/disintegration/imaging v1.6.2
github.com/gin-gonic/gin v1.9.1
github.com/gin-gonic/gin v1.10.0
github.com/go-playground/locales v0.14.1
github.com/go-playground/universal-translator v0.18.1
github.com/go-playground/validator/v10 v10.14.0
github.com/go-sql-driver/mysql v1.6.0
github.com/goccy/go-json v0.10.2
github.com/go-playground/validator/v10 v10.22.1
github.com/go-sql-driver/mysql v1.8.1
github.com/goccy/go-json v0.10.3
github.com/golang/mock v1.6.0
github.com/google/uuid v1.3.0
github.com/google/uuid v1.6.0
github.com/google/wire v0.5.0
github.com/grokify/html-strip-tags-go v0.0.1
github.com/jinzhu/copier v0.3.5
github.com/grokify/html-strip-tags-go v0.1.0
github.com/jinzhu/copier v0.4.0
github.com/jinzhu/now v1.1.5
github.com/lib/pq v1.10.7
github.com/microcosm-cc/bluemonday v1.0.21
github.com/mojocn/base64Captcha v1.3.5
github.com/ory/dockertest/v3 v3.10.0
github.com/lib/pq v1.10.9
github.com/microcosm-cc/bluemonday v1.0.27
github.com/mozillazg/go-pinyin v0.20.0
github.com/ory/dockertest/v3 v3.11.0
github.com/robfig/cron/v3 v3.0.1
github.com/scottleedavis/go-exif-remove v0.0.0-20230314195146-7e059d593405
github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f
github.com/segmentfault/pacman/contrib/cache/memory v0.0.0-20230822083413-c0075a2d401f
github.com/segmentfault/pacman/contrib/conf/viper v0.0.0-20221018072427-a15dd1434e05
github.com/segmentfault/pacman/contrib/i18n v0.0.0-20230516093754-b76aef1c1150
github.com/segmentfault/pacman/contrib/log/zap v0.0.0-20221018072427-a15dd1434e05
github.com/segmentfault/pacman/contrib/server/http v0.0.0-20221018072427-a15dd1434e05
github.com/spf13/cobra v1.6.1
github.com/stretchr/testify v1.8.4
github.com/swaggo/files v1.0.0
github.com/swaggo/gin-swagger v1.5.3
github.com/swaggo/swag v1.16.1
github.com/tidwall/gjson v1.14.4
github.com/yuin/goldmark v1.4.13
golang.org/x/crypto v0.13.0
golang.org/x/image v0.1.0
golang.org/x/net v0.15.0
github.com/segmentfault/pacman/contrib/conf/viper v0.0.0-20230822083413-c0075a2d401f
github.com/segmentfault/pacman/contrib/i18n v0.0.0-20230822083413-c0075a2d401f
github.com/segmentfault/pacman/contrib/log/zap v0.0.0-20230822083413-c0075a2d401f
github.com/segmentfault/pacman/contrib/server/http v0.0.0-20230822083413-c0075a2d401f
github.com/spf13/cobra v1.8.1
github.com/stretchr/testify v1.9.0
github.com/swaggo/files v1.0.1
github.com/swaggo/gin-swagger v1.6.0
github.com/swaggo/swag v1.16.3
github.com/tidwall/gjson v1.17.3
github.com/yuin/goldmark v1.7.4
golang.org/x/crypto v0.27.0
golang.org/x/image v0.20.0
golang.org/x/net v0.29.0
gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df
gopkg.in/yaml.v3 v3.0.1
modernc.org/sqlite v1.24.0
xorm.io/builder v0.3.12
modernc.org/sqlite v1.33.0
xorm.io/builder v0.3.13
xorm.io/xorm v1.3.2
)
require (
dario.cat/mergo v1.0.1 // indirect
filippo.io/edwards25519 v1.1.0 // indirect
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
github.com/KyleBanks/depth v1.2.1 // indirect
github.com/LinkinStars/go-i18n/v2 v2.2.2 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
github.com/andybalholm/brotli v1.0.4 // indirect
github.com/andybalholm/brotli v1.1.0 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/bytedance/sonic v1.9.1 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
github.com/containerd/continuity v0.4.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/docker/cli v24.0.6+incompatible // indirect
github.com/docker/docker v24.0.6+incompatible // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/bytedance/sonic v1.12.2 // indirect
github.com/bytedance/sonic/loader v0.2.0 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/cloudwego/base64x v0.1.4 // indirect
github.com/cloudwego/iasm v0.2.0 // indirect
github.com/containerd/continuity v0.4.3 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/docker/cli v27.2.1+incompatible // indirect
github.com/docker/docker v27.2.1+incompatible // indirect
github.com/docker/go-connections v0.5.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/dsoprea/go-exif v0.0.0-20190901173045-3ce78807c90f // indirect
github.com/dsoprea/go-jpeg-image-structure v0.0.0-20190422055009-d6f9ba25cf48 // indirect
github.com/dsoprea/go-logging v0.0.0-20190624164917-c4f10aab7696 // indirect
github.com/dsoprea/go-png-image-structure v0.0.0-20190624104353-c9b28dcdc5c8 // indirect
github.com/dsoprea/go-exif v0.0.0-20230826092837-6579e82b732d // indirect
github.com/dsoprea/go-exif/v2 v2.0.0-20230826092837-6579e82b732d // indirect
github.com/dsoprea/go-iptc v0.0.0-20200610044640-bc9ca208b413 // indirect
github.com/dsoprea/go-jpeg-image-structure v0.0.0-20221012074422-4f3f7e934102 // indirect
github.com/dsoprea/go-logging v0.0.0-20200710184922-b02d349568dd // indirect
github.com/dsoprea/go-photoshop-info-format v0.0.0-20200610045659-121dd752914d // indirect
github.com/dsoprea/go-png-image-structure v0.0.0-20210512210324-29b889a6093d // indirect
github.com/dsoprea/go-utility v0.0.0-20221003172846-a3e1774ef349 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.5 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/go-errors/errors v1.0.1 // indirect
github.com/go-openapi/jsonpointer v0.20.0 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/spec v0.20.9 // indirect
github.com/go-openapi/swag v0.22.4 // indirect
github.com/go-errors/errors v1.5.1 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.21.0 // indirect
github.com/go-openapi/spec v0.21.0 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/go-viper/mapstructure/v2 v2.1.0 // indirect
github.com/go-xmlfmt/xmlfmt v1.1.2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
github.com/golang/geo v0.0.0-20190812012225-f41920e961ce // indirect
github.com/golang/geo v0.0.0-20230421003525-6adc56603217 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/google/subcommands v1.0.1 // indirect
github.com/gorilla/css v1.0.0 // indirect
github.com/gorilla/css v1.0.1 // indirect
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/imdario/mergo v0.3.16 // indirect
github.com/inconshreveable/mousetrap v1.0.1 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.8 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible // indirect
github.com/lestrrat-go/strftime v1.0.6 // indirect
github.com/magiconair/properties v1.8.6 // indirect
github.com/lestrrat-go/strftime v1.1.0 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/moby/docker-image-spec v1.3.1 // indirect
github.com/moby/term v0.5.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/ncruces/go-strftime v0.1.9 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.2 // indirect
github.com/opencontainers/runc v1.1.9 // indirect
github.com/opencontainers/image-spec v1.1.0 // indirect
github.com/opencontainers/runc v1.1.14 // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/sagikazarmark/locafero v0.6.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/spf13/afero v1.9.2 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.7.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.13.0 // indirect
github.com/subosito/gotenv v1.4.1 // indirect
github.com/spf13/viper v1.19.0 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/syndtr/goleveldb v1.0.0 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/tidwall/pretty v1.2.1 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.11 // indirect
github.com/ugorji/go/codec v1.2.12 // indirect
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.23.0 // indirect
golang.org/x/arch v0.3.0 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/sys v0.12.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/tools v0.13.0 // indirect
google.golang.org/protobuf v1.30.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/arch v0.10.0 // indirect
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect
golang.org/x/sys v0.25.0 // indirect
golang.org/x/text v0.18.0 // indirect
golang.org/x/tools v0.25.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
lukechampine.com/uint128 v1.2.0 // indirect
modernc.org/cc/v3 v3.40.0 // indirect
modernc.org/ccgo/v3 v3.16.13 // indirect
modernc.org/libc v1.22.5 // indirect
modernc.org/mathutil v1.5.0 // indirect
modernc.org/memory v1.5.0 // indirect
modernc.org/opt v0.1.3 // indirect
modernc.org/strutil v1.1.3 // indirect
modernc.org/token v1.0.1 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
modernc.org/gc/v3 v3.0.0-20240801135723-a856999a2e4a // indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/memory v1.8.0 // indirect
modernc.org/strutil v1.2.0 // indirect
modernc.org/token v1.1.0 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)
replace lukechampine.com/uint128 v1.1.1 => github.com/aichy126/uint128 v1.1.1
+241 -569
View File
File diff suppressed because it is too large Load Diff
+14 -11
View File
@@ -360,7 +360,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -433,7 +433,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -471,7 +471,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -619,7 +619,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -715,7 +716,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -811,7 +814,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -855,7 +858,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -899,7 +902,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -964,7 +967,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1017,7 +1020,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1133,7 +1136,7 @@ ui:
fields:
display_name:
label: Display Name
msg: Display Name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
+14 -11
View File
@@ -360,7 +360,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -433,7 +433,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -471,7 +471,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -619,7 +619,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -715,7 +716,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -811,7 +814,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -855,7 +858,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -899,7 +902,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -964,7 +967,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1017,7 +1020,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1133,7 +1136,7 @@ ui:
fields:
display_name:
label: Display Name
msg: Display Name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
+14 -11
View File
@@ -355,7 +355,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -428,7 +428,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -466,7 +466,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -612,7 +612,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -708,7 +709,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -803,7 +806,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -847,7 +850,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -891,7 +894,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -956,7 +959,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1004,7 +1007,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1120,7 +1123,7 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: display_name must be at 2 - 30 characters in length.
email:
label: Email
msg: Email is not valid.
+14 -11
View File
@@ -355,7 +355,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -428,7 +428,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -466,7 +466,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -612,7 +612,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -708,7 +709,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -803,7 +806,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -847,7 +850,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -891,7 +894,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -956,7 +959,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1004,7 +1007,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1120,7 +1123,7 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: display_name must be at 2 - 30 characters in length.
email:
label: Email
msg: Email is not valid.
+14 -11
View File
@@ -355,7 +355,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -428,7 +428,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -466,7 +466,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -612,7 +612,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -708,7 +709,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -803,7 +806,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -847,7 +850,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -891,7 +894,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -956,7 +959,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1004,7 +1007,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1120,7 +1123,7 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: display_name must be at 2 - 30 characters in length.
email:
label: Email
msg: Email is not valid.
+14 -11
View File
@@ -355,7 +355,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -428,7 +428,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -466,7 +466,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -612,7 +612,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -708,7 +709,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -803,7 +806,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -847,7 +850,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -891,7 +894,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -956,7 +959,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1004,7 +1007,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1120,7 +1123,7 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: display_name must be at 2 - 30 characters in length.
email:
label: Email
msg: Email is not valid.
+14 -11
View File
@@ -355,7 +355,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -428,7 +428,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -466,7 +466,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -612,7 +612,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -708,7 +709,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -803,7 +806,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -847,7 +850,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -891,7 +894,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -956,7 +959,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1004,7 +1007,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1120,7 +1123,7 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: display_name must be at 2 - 30 characters in length.
email:
label: Email
msg: Email is not valid.
+14 -11
View File
@@ -360,7 +360,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -433,7 +433,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -471,7 +471,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -619,7 +619,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -715,7 +716,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -811,7 +814,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -855,7 +858,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -899,7 +902,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -964,7 +967,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1017,7 +1020,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1133,7 +1136,7 @@ ui:
fields:
display_name:
label: Display Name
msg: Display Name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
+504 -58
View File
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
#The following fields are used for back-end
# The following fields are used for back-end
backend:
base:
success:
@@ -82,6 +82,9 @@ backend:
level_3:
description:
other: Level 3 (high reputation required for mature community)
level_custom:
description:
other: Custom Level
rank_question_add_label:
other: Ask question
rank_answer_add_label:
@@ -134,15 +137,24 @@ backend:
other: Heslo
pass:
other: Password
original_text:
other: This post
email_or_password_wrong_error:
other: Email and password do not match.
error:
common:
invalid_url:
other: Invalid URL.
status_invalid:
other: Invalid status.
password:
space_invalid:
other: Heslo nesmí obsahovat mezery.
admin:
cannot_update_their_password:
other: Nemůžete změnit své heslo.
cannot_edit_their_profile:
other: You cannot modify your profile.
cannot_modify_self_status:
other: Nemůžete změnit svůj stav.
email_or_password_wrong:
@@ -194,9 +206,16 @@ backend:
other: The old password verification failed
new_password_same_as_previous_setting:
other: The new password is the same as the previous one.
already_deleted:
other: This post has been deleted.
meta:
object_not_found:
other: Meta object not found
question:
already_deleted:
other: This post has been deleted.
under_review:
other: Your post is awaiting review. It will be visible after it has been approved.
not_found:
other: Question not found.
cannot_deleted:
@@ -267,6 +286,8 @@ backend:
other: You cannot modify your role.
not_allowed_registration:
other: Currently the site is not open for registration.
not_allowed_login_via_password:
other: Currently the site is not allowed to login via password.
access_denied:
other: Access denied
page_access_denied:
@@ -292,6 +313,9 @@ backend:
site_info:
config_not_found:
other: Site config not found.
badge:
object_not_found:
other: Badge object not found
reason:
spam:
name:
@@ -302,7 +326,7 @@ backend:
name:
other: rude or abusive
desc:
other: A reasonable person would find this content inappropriate for respectful discourse.
other: "A reasonable person would find this content inappropriate for respectful discourse."
a_duplicate:
name:
other: a duplicate
@@ -314,7 +338,7 @@ backend:
name:
other: not an answer
desc:
other: This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit, a comment, another question, or deleted altogether.
other: "This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit, a comment, another question,or deleted altogether."
no_longer_needed:
name:
other: no longer needed
@@ -388,6 +412,13 @@ backend:
other: modified
deleted_title:
other: Deleted question
questions_title:
other: Questions
tag:
tags_title:
other: Tags
no_description:
other: The tag has no description.
notification:
action:
update_question:
@@ -426,6 +457,8 @@ backend:
other: upvoted comment
invited_you_to_answer:
other: invited you to answer
earned_badge:
other: You've earned the "{{.BadgeName}}" badge
email_tpl:
change_email:
title:
@@ -480,12 +513,281 @@ backend:
other: accept
accepted:
other: accepted
#The following fields are used for interface presentation(Front-end)
edit:
other: edit
review:
queued_post:
other: Queued post
flagged_post:
other: Flagged post
suggested_post_edit:
other: Suggested edits
reaction:
tooltip:
other: "{{ .Names }} and {{ .Count }} more..."
badge:
default_badges:
autobiographer:
name:
other: Autobiographer
desc:
other: Filled out <a href="{{ .ProfileURL }}" target="_blank">profile</a> information.
certified:
name:
other: Certified
desc:
other: Completed our new user tutorial.
editor:
name:
other: Editor
desc:
other: First post edit.
first_flag:
name:
other: First Flag
desc:
other: First flagged a post.
first_upvote:
name:
other: First Upvote
desc:
other: First up voted a post.
first_link:
name:
other: First Link
desc:
other: First dirst added a link to another post.
first_reaction:
name:
other: First Reaction
desc:
other: First reacted to the post.
first_share:
name:
other: First Share
desc:
other: First shared a post.
scholar:
name:
other: Scholar
desc:
other: Asked a question and accepted an answer.
commentator:
name:
other: Commentator
desc:
other: Leave 5 comments.
new_user_of_the_month:
name:
other: New User of the Month
desc:
other: Outstanding contributions in their first month.
read_guidelines:
name:
other: Read Guidelines
desc:
other: Read the [community guidelines].
reader:
name:
other: Reader
desc:
other: Read every answers in a topic with more than 10 answers.
welcome:
name:
other: Welcome
desc:
other: Received a up vote.
nice_share:
name:
other: Nice Share
desc:
other: Shared a post with 25 unique visitors.
good_share:
name:
other: Good Share
desc:
other: Shared a post with 300 unique visitors.
great_share:
name:
other: Great Share
desc:
other: Shared a post with 1000 unique visitors.
out_of_love:
name:
other: Out of Love
desc:
other: Used 50 up votes in a day.
higher_love:
name:
other: Higher Love
desc:
other: Used 50 up votes in a day 5 times.
crazy_in_love:
name:
other: Crazy in Love
desc:
other: Used 50 up votes in a day 20 times.
promoter:
name:
other: Promoter
desc:
other: Invited a user.
campaigner:
name:
other: Campaigner
desc:
other: Invited 3 basic users.
champion:
name:
other: Champion
desc:
other: Invited 5 members.
thank_you:
name:
other: Thank You
desc:
other: Has 20 up voted posts and gave 10 up votes.
gives_back:
name:
other: Gives Back
desc:
other: Has 100 up voted posts and gave 100 up votes.
empathetic:
name:
other: Empathetic
desc:
other: Has 500 up voted posts and gave 1000 up votes.
enthusiast:
name:
other: Enthusiast
desc:
other: Visited 10 consecutive days.
aficionado:
name:
other: Aficionado
desc:
other: Visited 100 consecutive days.
devotee:
name:
other: Devotee
desc:
other: Visited 365 consecutive days.
anniversary:
name:
other: Anniversary
desc:
other: Active member for a year, posted at least once.
appreciated:
name:
other: Appreciated
desc:
other: Received 1 up vote on 20 posts.
respected:
name:
other: Respected
desc:
other: Received 2 up votes on 100 posts.
admired:
name:
other: Admired
desc:
other: Received 5 up votes on 300 posts.
solved:
name:
other: Solved
desc:
other: Have an answer be accepted.
guidance_counsellor:
name:
other: Guidance Counsellor
desc:
other: Have 10 answers be accepted.
know_it_all:
name:
other: Know-it-All
desc:
other: Have 50 answers be accepted.
solution_institution:
name:
other: Solution Institution
desc:
other: Have 150 answers be accepted.
nice_answer:
name:
other: Nice Answer
desc:
other: Answer score of 10 or more.
good_answer:
name:
other: Good Answer
desc:
other: Answer score of 25 or more.
great_answer:
name:
other: Great Answer
desc:
other: Answer score of 50 or more.
nice_question:
name:
other: Nice Question
desc:
other: Question score of 10 or more.
good_question:
name:
other: Good Question
desc:
other: Question score of 25 or more.
great_question:
name:
other: Great Question
desc:
other: Question score of 50 or more.
popular_question:
name:
other: Popular Question
desc:
other: Question with 500 views.
notable_question:
name:
other: Notable Question
desc:
other: Question with 1,000 views.
famous_question:
name:
other: Famous Question
desc:
other: Question with 5,000 views.
popular_link:
name:
other: Popular Link
desc:
other: Posted an external link with 50 clicks.
hot_link:
name:
other: Hot Link
desc:
other: Posted an external link with 300 clicks.
famous_link:
name:
other: Famous Link
desc:
other: Posted an external link with 100 clicks.
default_badge_groups:
getting_started:
name:
other: Getting Started
community:
name:
other: Community
posting:
name:
other: Posting
# The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
title: How to Format
desc: >-
<ul class="mb-0"><li><p class="mb-2">to make links</p><pre class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[Title](https://url.com)</code></pre></li><li><p class="mb-2">put returns between paragraphs</p></li><li><p class="mb-2"><em>_italic_</em> or **<strong>bold</strong>**</p></li><li><p class="mb-2">indent code by 4 spaces</p></li><li><p class="mb-2">quote by placing <code>&gt;</code> at start of line</p></li><li><p class="mb-2">backtick escapes <code>`like _this_`</code></p></li><li><p class="mb-2">create code fences with backticks <code>`</code></p><pre class="mb-0"><code>```<br/>code here<br/>```</code></pre></li></ul>
<ul class="mb-0"><li><p class="mb-2">link question or answer: <code>#10010000000000001</code></p></li> <li><p class="mb-2">to make links</p><pre class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[Title](https://url.com)</code></pre></li><li><p class="mb-2">put returns between paragraphs</p></li><li><p class="mb-2"><em>_italic_</em> or **<strong>bold</strong>**</p></li><li><p class="mb-2">indent code by 4 spaces</p></li><li><p class="mb-2">quote by placing <code>&gt;</code> at start of line</p></li><li><p class="mb-2">backtick escapes <code>`like _this_`</code></p></li><li><p class="mb-2">create code fences with backticks <code>`</code></p><pre class="mb-0"><code>```<br/>code here<br/>```</code></pre></li></ul>
pagination:
prev: Prev
next: Next
@@ -520,6 +822,7 @@ ui:
http_404: HTTP Error 404
http_50X: HTTP Error 500
http_403: HTTP Error 403
logout: Log Out
notifications:
title: Notifications
inbox: Inbox
@@ -533,6 +836,9 @@ ui:
posts: Posts
invites: Invites
votes: Votes
answer: Answer
question: Question
badge_award: Badge
suspended:
title: Your Account has been Suspended
until_time: "Your account was suspended until {{ time }}."
@@ -598,7 +904,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description
tab_url: Image URL
@@ -660,6 +966,8 @@ ui:
empty: Cannot be empty.
msg:
empty: Please select a reason.
not_a_url: URL format is incorrect.
url_not_match: URL origin does not match the current website.
tag_modal:
title: Create new tag
form:
@@ -678,6 +986,12 @@ ui:
character: URL slug contains unallowed character set.
desc:
label: Description
revision:
label: Revision
edit_summary:
label: Edit summary
placeholder: >-
Briefly explain your changes (corrected spelling, fixed grammar, improved formatting)
btn_cancel: Cancel
btn_submit: Submit
btn_post: Post new tag
@@ -696,29 +1010,15 @@ ui:
delete:
title: Delete this tag
tip_with_posts: >-
<p>We do not allowed <strong>deleting tag with posts</strong>.</p> <p>Please remove this tag from the posts first.</p>
<p>We do not allow <strong>deleting tag with posts</strong>.</p> <p>Please remove this tag from the posts first.</p>
tip_with_synonyms: >-
<p>We do not allowed <strong>deleting tag with synonyms</strong>.</p> <p>Please remove the synonyms from this tag first.</p>
<p>We do not allow <strong>deleting tag with synonyms</strong>.</p> <p>Please remove the synonyms from this tag first.</p>
tip: Are you sure you wish to delete?
close: Close
edit_tag:
title: Edit Tag
default_reason: Edit tag
form:
fields:
revision:
label: Revision
display_name:
label: Display name
slug_name:
label: URL slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc:
label: Description
edit_summary:
label: Edit summary
placeholder: >-
Briefly explain your changes (corrected spelling, fixed grammar, improved formatting)
default_first_reason: Add tag
btn_save_edits: Save edits
btn_cancel: Cancel
dates:
@@ -731,6 +1031,16 @@ ui:
x_hours_ago: "{{count}}h ago"
hour: hour
day: day
hours: hours
days: days
reaction:
heart: heart
smile: smile
frown: frown
btn_label: add or remove reactions
undo_emoji: undo {{ emoji }} reaction
react_emoji: react with {{ emoji }}
unreact_emoji: unreact with {{ emoji }}
comment:
btn_add_comment: Add comment
reply_to: Reply to
@@ -740,7 +1050,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comments
show_more: "{{count}} more comments"
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -749,6 +1059,7 @@ ui:
edit_answer:
title: Edit Answer
default_reason: Edit answer
default_first_reason: Add answer
form:
fields:
revision:
@@ -779,6 +1090,7 @@ ui:
title: Add Question
edit_title: Edit Question
default_reason: Edit question
default_first_reason: Add question
similar_questions: Similar questions
form:
fields:
@@ -822,6 +1134,7 @@ ui:
question: Questions
tag: Tags
user: Users
badges: Badges
profile: Profile
setting: Settings
logout: Log out
@@ -833,7 +1146,7 @@ ui:
placeholder: Search
footer:
build_on: >-
Built on <1> Answer </1>- the open-source software that powers Q&A communities.<br />Made with love © {{cc}}.
Powered by <1> Apache Answer </1>- the open-source software that powers Q&A communities.<br />Made with love © {{cc}}.
upload_img:
name: Change
loading: loading...
@@ -865,8 +1178,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -963,10 +1276,10 @@ ui:
label: Location
placeholder: "City, Country"
notification:
heading: Notifications
email: Email
heading: Email Notifications
turn_on: Turn on
inbox:
label: Email notifications
label: Inbox notifications
description: Answers to your questions, comments, invites, and more.
all_new_question:
label: All new questions
@@ -981,6 +1294,8 @@ ui:
change_email_info: >-
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
new_email:
label: New email
msg: New email cannot be empty.
pass:
@@ -1019,9 +1334,13 @@ ui:
related_question:
title: Related Questions
answers: answers
linked_question:
title: Linked Questions
description: Questions linked to
no_linked_question: No questions linked from this question.
invite_to_answer:
title: People Asked
desc: Invite people who you think might know the answer.
desc: Select people who you think might know the answer.
invite: Invite to answer
add: Add people
search: Search people
@@ -1031,6 +1350,7 @@ ui:
asked: asked
update: Modified
edit: edited
commented: commented
Views: Viewed
Follow: Follow
Following: Following
@@ -1048,10 +1368,12 @@ ui:
title: Answers
score: Score
newest: Newest
oldest: Oldest
btn_accept: Accept
btn_accepted: Accepted
write_answer:
title: Your Answer
edit_answer: Edit my existing answer
btn_name: Post your answer
add_another_answer: Add another answer
confirm_title: Continue to answer
@@ -1070,6 +1392,14 @@ ui:
confirm_btn: Reopen
title: Reopen this post
content: Are you sure you want to reopen?
list:
confirm_btn: List
title: List this post
content: Are you sure you want to list?
unlist:
confirm_btn: Unlist
title: Unlist this post
content: Are you sure you want to unlist?
pin:
title: Pin this post
content: Are you sure you wish to pinned globally? This post will appear at the top of all post lists.
@@ -1091,6 +1421,9 @@ ui:
save: Save
delete: Delete
undelete: Undelete
list: List
unlist: Unlist
unlisted: Unlisted
login: Log in
signup: Sign up
logout: Log out
@@ -1114,6 +1447,21 @@ ui:
close: Close
reopen: Reopen
ok: OK
light: Light
dark: Dark
system_setting: System setting
default: Default
reset: Reset
tag: Tag
post_lowercase: post
filter: Filter
ignore: Ignore
submit: Submit
normal: Normal
closed: Closed
deleted: Deleted
pending: Pending
more: More
search:
title: Search Results
keywords: Keywords
@@ -1130,7 +1478,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -1150,8 +1498,8 @@ ui:
account_result:
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
Sorry, this account confirmation link is no longer valid. Perhaps your account is already active?
oops: Oops!
invalid: The link you used no longer works.
confirm_new_email: Your email has been updated.
confirm_new_email_invalid: >-
Sorry, this confirmation link is no longer valid. Perhaps your email was already changed?
@@ -1173,7 +1521,8 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
recommend: Recommend
score: Score
unanswered: Unanswered
modified: modified
@@ -1192,12 +1541,14 @@ ui:
reputation: Reputation
comments: Comments
votes: Votes
badges: Badges
newest: Newest
score: Score
edit_profile: Edit profile
visited_x_days: "Visited {{ count }} days"
viewed: Viewed
joined: Joined
comma: ","
last_login: Seen
about_me: About Me
about_me_empty: "// Hello, World !"
@@ -1205,6 +1556,7 @@ ui:
top_questions: Top Questions
stats: Stats
list_empty: No posts found.<br />Perhaps you'd like to select a different tab?
content_empty: No posts found.
accepted: Accepted
answered: answered
asked: asked
@@ -1215,8 +1567,9 @@ ui:
x_votes: votes received
x_answers: answers
x_questions: questions
recent_badges: Recent Badges
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -1291,7 +1644,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1324,6 +1677,7 @@ ui:
questions: Questions
answers: Answers
users: Users
badges: Badges
flags: Flags
settings: Settings
general: General
@@ -1347,29 +1701,53 @@ ui:
login: Login
qrcode_login_tip: Please use {{ agentName }} to scan the QR code and log in.
login_failed_email_tip: Login failed, please allow this app to access your email information before try again.
badges:
modal:
title: Congratulations
content: You've earned a new badge.
close: Close
confirm: View badges
title: Badges
awarded: Awarded
earned_×: Earned ×{{ number }}
×_awarded: "{{ number }} awarded"
can_earn_multiple: You can earn this multiple times.
earned: Earned
admin:
admin_header:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
site_statistics: Site Statistics
welcome: Welcome to Admin!
site_statistics: Site statistics
questions: "Questions:"
answers: "Answers:"
comments: "Comments:"
votes: "Votes:"
active_users: "Active users:"
users: "Users:"
flags: "Flags:"
site_health_status: Site Health Status
reviews: "Reviews:"
site_health: Site health
version: "Version:"
https: "HTTPS:"
uploading_files: "Uploading files:"
upload_folder: "Upload folder:"
run_mode: "Running mode:"
private: Private
public: Public
smtp: "SMTP:"
timezone: "Timezone:"
system_info: System Info
system_info: System info
go_version: "Go version:"
database: "Database:"
database_size: "Database size:"
storage_used: "Storage used:"
uptime: "Uptime:"
answer_links: Answer Links
links: Links
plugins: Plugins
github: GitHub
blog: Blog
contact: Contact
forum: Forum
documents: Documents
feedback: Feedback
support: Support
@@ -1384,6 +1762,8 @@ ui:
allowed: Allowed
enabled: Enabled
disabled: Disabled
writable: Writable
not_writable: Not writable
flags:
title: Flags
pending: Pending
@@ -1407,6 +1787,22 @@ ui:
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
edit_profile_modal:
title: Edit profile
form:
fields:
display_name:
label: Display name
msg_range: Display name up to 30 characters.
username:
label: Username
msg_range: Username up to 30 characters.
email:
label: Email
msg_invalid: Invalid Email Address.
edit_success: Edited successfully
btn_cancel: Cancel
btn_submit: Submit
user_modal:
title: Add new user
form:
@@ -1418,7 +1814,7 @@ ui:
msg: "Please enter the user's email, one per line."
display_name:
label: Display name
msg: Display name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
@@ -1452,6 +1848,7 @@ ui:
filter:
placeholder: "Filter by name, user:id"
set_new_password: Set new password
edit_profile: Edit profile
change_status: Change status
change_role: Change role
show_logs: Show logs
@@ -1470,9 +1867,7 @@ ui:
content: A suspended user can't log in.
questions:
page_title: Questions
normal: Normal
closed: Closed
deleted: Deleted
unlisted: Unlisted
post: Post
votes: Votes
answers: Answers
@@ -1480,12 +1875,11 @@ ui:
status: Status
action: Action
change: Change
pending: Pending
filter:
placeholder: "Filter by title, question:id"
answers:
page_title: Answers
normal: Normal
deleted: Deleted
post: Post
votes: Votes
created: Created
@@ -1518,6 +1912,9 @@ ui:
msg: Contact email cannot be empty.
validate: Contact email is not valid.
text: Email address of key contact responsible for this site.
check_update:
label: Software updates
text: Automatically check for updates
interface:
page_title: Interface
language:
@@ -1547,6 +1944,7 @@ ui:
msg: Encryption cannot be empty.
text: For most servers SSL is the recommended option.
ssl: SSL
tls: TLS
none: None
smtp_port:
label: SMTP port
@@ -1594,16 +1992,22 @@ ui:
text: "You can add privacy policy content here. If you already have a document hosted elsewhere, provide the full URL here."
write:
page_title: Write
restrict_answer:
title: Answer write
label: Each user can only write one answer for each question
text: "Turn off to allow users to write multiple answers to the same question, which may cause answers to be unfocused."
recommend_tags:
label: Recommend tags
text: "Please input tag slug above, one tag per line."
text: "Recommend tags will show in the dropdown list by default."
msg:
contain_reserved: "recommended tags cannot contain reserved tags"
required_tag:
title: Required tag
label: Set recommend tag as required
title: Set required tags
label: Set “Recommend tags” as required tags
text: "Every new question must have at least one recommend tag."
reserved_tags:
label: Reserved tags
text: "Reserved tags can only be added to a post by moderator."
text: "Reserved tags can only be used by moderator."
seo:
page_title: SEO
permalink:
@@ -1617,11 +2021,12 @@ ui:
themes:
label: Themes
text: Select an existing theme.
color_scheme:
label: Color scheme
navbar_style:
label: Navbar Style
text: Select an existing theme.
label: Navbar style
primary_color:
label: Primary Color
label: Primary color
text: Modify the colors used by your themes
css_and_html:
page_title: CSS and HTML
@@ -1660,9 +2065,13 @@ ui:
title: Private
label: Login required
text: Only logged in users can access this community.
password_login:
title: Password login
label: Allow email and password login
text: "WARNING: If turn off, you may be unable to log in if you have not previously configured other login method."
installed_plugins:
title: Installed Plugins
plugin_link: Plugins extend and expand the functionality of Answer. You may find plugins in the <1>Answer Plugin Repository</1>.
plugin_link: Plugins extend and expand the functionality. You may find plugins in the <1>Plugin Repository</1>.
filter:
all: All
active: Active
@@ -1705,6 +2114,24 @@ ui:
level:
label: Reputation required level
text: Choose the reputation required for the privileges
msg:
should_be_number: the input should be number
number_larger_1: number should be equal or larger than 1
badges:
action: Action
active: Active
activate: Activate
all: All
awards: Awards
deactivate: Deactivate
filter:
placeholder: Filter by name, badge:id
group: Group
inactive: Inactive
name: Name
show_logs: Show logs
status: Status
title: Badges
form:
optional: (optional)
empty: cannot be empty
@@ -1723,6 +2150,22 @@ ui:
edit_answer: Edit answer
edit_tag: Edit tag
empty: No review tasks left.
approve_revision_tip: Do you approve this revision?
approve_flag_tip: Do you approve this flag?
approve_post_tip: Do you approve this post?
approve_user_tip: Do you approve this user?
suggest_edits: Suggested edits
flag_post: Flag post
flag_user: Flag user
queued_post: Queued post
queued_user: Queued user
filter_label: Type
reputation: reputation
flag_post_type: Flagged this post as {{ type }}.
flag_user_type: Flagged this user as {{ type }}.
edit_post: Edit post
list_post: List post
unlist_post: Unlist post
timeline:
undeleted: undeleted
deleted: deleted
@@ -1773,3 +2216,6 @@ ui:
post_hide_list: This post has been hidden from list.
post_show_list: This post has been shown to list.
post_reopen: This post has been reopened.
post_list: This post has been listed.
post_unlist: This post has been unlisted.
post_pending: Your post is awaiting review. This is a preview, it will be visible after it has been approved.
+505 -59
View File
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
#The following fields are used for back-end
# The following fields are used for back-end
backend:
base:
success:
@@ -82,6 +82,9 @@ backend:
level_3:
description:
other: Level 3 (high reputation required for mature community)
level_custom:
description:
other: Custom Level
rank_question_add_label:
other: Ask question
rank_answer_add_label:
@@ -134,15 +137,24 @@ backend:
other: Cyfrinair
pass:
other: Password
original_text:
other: This post
email_or_password_wrong_error:
other: Nid yw e-bost a chyfrinair yn cyfateb.
error:
common:
invalid_url:
other: Invalid URL.
status_invalid:
other: Invalid status.
password:
space_invalid:
other: Password cannot contain spaces.
admin:
cannot_update_their_password:
other: Ni allwch addasu eich cyfrinair.
cannot_edit_their_profile:
other: You cannot modify your profile.
cannot_modify_self_status:
other: Ni allwch addasu eich statws.
email_or_password_wrong:
@@ -194,9 +206,16 @@ backend:
other: Methodd yr hen ddilysiad cyfrinair
new_password_same_as_previous_setting:
other: Mae'r cyfrinair newydd yr un fath â'r un blaenorol.
already_deleted:
other: This post has been deleted.
meta:
object_not_found:
other: Meta object not found
question:
already_deleted:
other: Mae'r postiad hwn wedi'i ddileu.
under_review:
other: Your post is awaiting review. It will be visible after it has been approved.
not_found:
other: Cwestiwn heb ei ganfod.
cannot_deleted:
@@ -267,6 +286,8 @@ backend:
other: Ni allwch addasu eich rôl.
not_allowed_registration:
other: Currently the site is not open for registration.
not_allowed_login_via_password:
other: Currently the site is not allowed to login via password.
access_denied:
other: Access denied
page_access_denied:
@@ -292,6 +313,9 @@ backend:
site_info:
config_not_found:
other: Site config not found.
badge:
object_not_found:
other: Badge object not found
reason:
spam:
name:
@@ -302,7 +326,7 @@ backend:
name:
other: rude or abusive
desc:
other: A reasonable person would find this content inappropriate for respectful discourse.
other: "A reasonable person would find this content inappropriate for respectful discourse."
a_duplicate:
name:
other: a duplicate
@@ -314,7 +338,7 @@ backend:
name:
other: not an answer
desc:
other: This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit, a comment, another question, or deleted altogether.
other: "This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit, a comment, another question,or deleted altogether."
no_longer_needed:
name:
other: no longer needed
@@ -373,7 +397,7 @@ backend:
name:
other: angen manylion neu eglurder
desc:
other: Mae'r cwestiwn hwn ar hyn o bryd yn cynnwys cwestiynau lluosog mewn un. Dylai ganolbwyntio ar un broblem yn unig.
other: This question currently includes multiple questions in one. It should focus on one problem only.
other:
name:
other: rhywbeth arall
@@ -388,6 +412,13 @@ backend:
other: wedi newid
deleted_title:
other: Deleted question
questions_title:
other: Questions
tag:
tags_title:
other: Tags
no_description:
other: The tag has no description.
notification:
action:
update_question:
@@ -426,6 +457,8 @@ backend:
other: upvoted comment
invited_you_to_answer:
other: invited you to answer
earned_badge:
other: You've earned the "{{.BadgeName}}" badge
email_tpl:
change_email:
title:
@@ -480,12 +513,281 @@ backend:
other: accept
accepted:
other: accepted
#The following fields are used for interface presentation(Front-end)
edit:
other: edit
review:
queued_post:
other: Queued post
flagged_post:
other: Flagged post
suggested_post_edit:
other: Suggested edits
reaction:
tooltip:
other: "{{ .Names }} and {{ .Count }} more..."
badge:
default_badges:
autobiographer:
name:
other: Autobiographer
desc:
other: Filled out <a href="{{ .ProfileURL }}" target="_blank">profile</a> information.
certified:
name:
other: Certified
desc:
other: Completed our new user tutorial.
editor:
name:
other: Editor
desc:
other: First post edit.
first_flag:
name:
other: First Flag
desc:
other: First flagged a post.
first_upvote:
name:
other: First Upvote
desc:
other: First up voted a post.
first_link:
name:
other: First Link
desc:
other: First dirst added a link to another post.
first_reaction:
name:
other: First Reaction
desc:
other: First reacted to the post.
first_share:
name:
other: First Share
desc:
other: First shared a post.
scholar:
name:
other: Scholar
desc:
other: Asked a question and accepted an answer.
commentator:
name:
other: Commentator
desc:
other: Leave 5 comments.
new_user_of_the_month:
name:
other: New User of the Month
desc:
other: Outstanding contributions in their first month.
read_guidelines:
name:
other: Read Guidelines
desc:
other: Read the [community guidelines].
reader:
name:
other: Reader
desc:
other: Read every answers in a topic with more than 10 answers.
welcome:
name:
other: Welcome
desc:
other: Received a up vote.
nice_share:
name:
other: Nice Share
desc:
other: Shared a post with 25 unique visitors.
good_share:
name:
other: Good Share
desc:
other: Shared a post with 300 unique visitors.
great_share:
name:
other: Great Share
desc:
other: Shared a post with 1000 unique visitors.
out_of_love:
name:
other: Out of Love
desc:
other: Used 50 up votes in a day.
higher_love:
name:
other: Higher Love
desc:
other: Used 50 up votes in a day 5 times.
crazy_in_love:
name:
other: Crazy in Love
desc:
other: Used 50 up votes in a day 20 times.
promoter:
name:
other: Promoter
desc:
other: Invited a user.
campaigner:
name:
other: Campaigner
desc:
other: Invited 3 basic users.
champion:
name:
other: Champion
desc:
other: Invited 5 members.
thank_you:
name:
other: Thank You
desc:
other: Has 20 up voted posts and gave 10 up votes.
gives_back:
name:
other: Gives Back
desc:
other: Has 100 up voted posts and gave 100 up votes.
empathetic:
name:
other: Empathetic
desc:
other: Has 500 up voted posts and gave 1000 up votes.
enthusiast:
name:
other: Enthusiast
desc:
other: Visited 10 consecutive days.
aficionado:
name:
other: Aficionado
desc:
other: Visited 100 consecutive days.
devotee:
name:
other: Devotee
desc:
other: Visited 365 consecutive days.
anniversary:
name:
other: Anniversary
desc:
other: Active member for a year, posted at least once.
appreciated:
name:
other: Appreciated
desc:
other: Received 1 up vote on 20 posts.
respected:
name:
other: Respected
desc:
other: Received 2 up votes on 100 posts.
admired:
name:
other: Admired
desc:
other: Received 5 up votes on 300 posts.
solved:
name:
other: Solved
desc:
other: Have an answer be accepted.
guidance_counsellor:
name:
other: Guidance Counsellor
desc:
other: Have 10 answers be accepted.
know_it_all:
name:
other: Know-it-All
desc:
other: Have 50 answers be accepted.
solution_institution:
name:
other: Solution Institution
desc:
other: Have 150 answers be accepted.
nice_answer:
name:
other: Nice Answer
desc:
other: Answer score of 10 or more.
good_answer:
name:
other: Good Answer
desc:
other: Answer score of 25 or more.
great_answer:
name:
other: Great Answer
desc:
other: Answer score of 50 or more.
nice_question:
name:
other: Nice Question
desc:
other: Question score of 10 or more.
good_question:
name:
other: Good Question
desc:
other: Question score of 25 or more.
great_question:
name:
other: Great Question
desc:
other: Question score of 50 or more.
popular_question:
name:
other: Popular Question
desc:
other: Question with 500 views.
notable_question:
name:
other: Notable Question
desc:
other: Question with 1,000 views.
famous_question:
name:
other: Famous Question
desc:
other: Question with 5,000 views.
popular_link:
name:
other: Popular Link
desc:
other: Posted an external link with 50 clicks.
hot_link:
name:
other: Hot Link
desc:
other: Posted an external link with 300 clicks.
famous_link:
name:
other: Famous Link
desc:
other: Posted an external link with 100 clicks.
default_badge_groups:
getting_started:
name:
other: Getting Started
community:
name:
other: Community
posting:
name:
other: Posting
# The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
title: Sut i Fformatio
desc: >-
<ul class="mb-0"><li><p class="mb-2">i wneud cysylltiadau</p><pre class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[Title]( https://url.com)</code></pre></li><li><p class="mb-2">rhoi dychweliadau rhwng paragraffau</p></li><li><p class="mb-2"><em>_italic_</em> neu **<strong>beiddgar</strong>**</p></li><li><p class="mb-2">cod mewnoliad gan 4 bwlch</p></li><li><p class="mb-2">dyfyniad drwy osod <code>&gt;</code> ar ddechrau'r llinell</p></li><li><p class="mb-2">backtick yn dianc o <code>`like _this_`</code></p></li><li><p class="mb-2">creu ffensys cod gyda thic wrth gefn <code>`</code></p><pre class="mb-0"><code>```<br/>cod yma<br/>```</code></pre></li></ul>
<ul class="mb-0"><li><p class="mb-2">link question or answer: <code>#10010000000000001</code></p></li> <li><p class="mb-2">to make links</p><pre class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[Title](https://url.com)</code></pre></li><li><p class="mb-2">put returns between paragraphs</p></li><li><p class="mb-2"><em>_italic_</em> or **<strong>bold</strong>**</p></li><li><p class="mb-2">indent code by 4 spaces</p></li><li><p class="mb-2">quote by placing <code>&gt;</code> at start of line</p></li><li><p class="mb-2">backtick escapes <code>`like _this_`</code></p></li><li><p class="mb-2">create code fences with backticks <code>`</code></p><pre class="mb-0"><code>```<br/>code here<br/>```</code></pre></li></ul>
pagination:
prev: Cynt
next: Nesaf
@@ -520,6 +822,7 @@ ui:
http_404: Gwall HTTP 404
http_50X: Gwall HTTP 500
http_403: Gwall HTTP 403
logout: Log Out
notifications:
title: Hysbysiadau
inbox: Mewnflwch
@@ -533,6 +836,9 @@ ui:
posts: Posts
invites: Invites
votes: Votes
answer: Answer
question: Question
badge_award: Badge
suspended:
title: Mae'ch Cyfrif wedi'i Atal
until_time: "Cafodd eich cyfrif ei atal tan {{ time }}."
@@ -598,7 +904,7 @@ ui:
msg:
empty: Ni all ffeil fod yn wag.
only_image: Dim ond ffeiliau delwedd a ganiateir.
max_size: Ni all maint y ffeil fod yn fwy na 4MB.
max_size: Ni all maint y ffeil fod yn fwy na 4 MB.
desc:
label: Disgrifiad
tab_url: URL delwedd
@@ -660,6 +966,8 @@ ui:
empty: Ni all fod yn wag.
msg:
empty: Dewis rheswm.
not_a_url: URL format is incorrect.
url_not_match: URL origin does not match the current website.
tag_modal:
title: Creu tag newydd
form:
@@ -678,6 +986,12 @@ ui:
character: Mae slug URL yn cynnwys set nodau na caniateir.
desc:
label: Disgrifiad
revision:
label: Revision
edit_summary:
label: Edit summary
placeholder: >-
Briefly explain your changes (corrected spelling, fixed grammar, improved formatting)
btn_cancel: Canslo
btn_submit: Cyflwyno
btn_post: Post tag newydd
@@ -696,29 +1010,15 @@ ui:
delete:
title: Delete this tag
tip_with_posts: >-
<p>We do not allowed <strong>deleting tag with posts</strong>.</p> <p>Please remove this tag from the posts first.</p>
<p>We do not allow <strong>deleting tag with posts</strong>.</p> <p>Please remove this tag from the posts first.</p>
tip_with_synonyms: >-
<p>We do not allowed <strong>deleting tag with synonyms</strong>.</p> <p>Please remove the synonyms from this tag first.</p>
<p>We do not allow <strong>deleting tag with synonyms</strong>.</p> <p>Please remove the synonyms from this tag first.</p>
tip: Are you sure you wish to delete?
close: Close
edit_tag:
title: Edit Tag
default_reason: Edit tag
form:
fields:
revision:
label: Revision
display_name:
label: Display name
slug_name:
label: URL slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc:
label: Description
edit_summary:
label: Edit summary
placeholder: >-
Briefly explain your changes (corrected spelling, fixed grammar, improved formatting)
default_first_reason: Add tag
btn_save_edits: Save edits
btn_cancel: Cancel
dates:
@@ -731,6 +1031,16 @@ ui:
x_hours_ago: "{{count}}h ago"
hour: hour
day: day
hours: hours
days: days
reaction:
heart: heart
smile: smile
frown: frown
btn_label: add or remove reactions
undo_emoji: undo {{ emoji }} reaction
react_emoji: react with {{ emoji }}
unreact_emoji: unreact with {{ emoji }}
comment:
btn_add_comment: Add comment
reply_to: Reply to
@@ -740,7 +1050,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comments
show_more: "{{count}} more comments"
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -749,6 +1059,7 @@ ui:
edit_answer:
title: Edit Answer
default_reason: Edit answer
default_first_reason: Add answer
form:
fields:
revision:
@@ -779,6 +1090,7 @@ ui:
title: Ychwanegu Cwestiwn
edit_title: Golygu Cwestiwn
default_reason: Golygu Cwestiwn
default_first_reason: Add question
similar_questions: Cwestiynau tebyg
form:
fields:
@@ -822,6 +1134,7 @@ ui:
question: Questions
tag: Tags
user: Users
badges: Badges
profile: Profile
setting: Settings
logout: Log out
@@ -833,7 +1146,7 @@ ui:
placeholder: Search
footer:
build_on: >-
Built on <1> Answer </1>- the open-source software that powers Q&A communities.<br />Made with love © {{cc}}.
Powered by <1> Apache Answer </1>- the open-source software that powers Q&A communities.<br />Made with love © {{cc}}.
upload_img:
name: Change
loading: loading...
@@ -865,8 +1178,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -963,10 +1276,10 @@ ui:
label: Location
placeholder: "City, Country"
notification:
heading: Notifications
email: Email
heading: Email Notifications
turn_on: Turn on
inbox:
label: Email notifications
label: Inbox notifications
description: Answers to your questions, comments, invites, and more.
all_new_question:
label: All new questions
@@ -981,6 +1294,8 @@ ui:
change_email_info: >-
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
new_email:
label: New email
msg: New email cannot be empty.
pass:
@@ -1019,9 +1334,13 @@ ui:
related_question:
title: Related Questions
answers: answers
linked_question:
title: Linked Questions
description: Questions linked to
no_linked_question: No questions linked from this question.
invite_to_answer:
title: People Asked
desc: Invite people who you think might know the answer.
desc: Select people who you think might know the answer.
invite: Invite to answer
add: Add people
search: Search people
@@ -1031,6 +1350,7 @@ ui:
asked: asked
update: Modified
edit: edited
commented: commented
Views: Viewed
Follow: Follow
Following: Following
@@ -1048,10 +1368,12 @@ ui:
title: Answers
score: Score
newest: Newest
oldest: Oldest
btn_accept: Accept
btn_accepted: Accepted
write_answer:
title: Your Answer
edit_answer: Edit my existing answer
btn_name: Post your answer
add_another_answer: Add another answer
confirm_title: Continue to answer
@@ -1070,6 +1392,14 @@ ui:
confirm_btn: Reopen
title: Reopen this post
content: Are you sure you want to reopen?
list:
confirm_btn: List
title: List this post
content: Are you sure you want to list?
unlist:
confirm_btn: Unlist
title: Unlist this post
content: Are you sure you want to unlist?
pin:
title: Pin this post
content: Are you sure you wish to pinned globally? This post will appear at the top of all post lists.
@@ -1091,6 +1421,9 @@ ui:
save: Save
delete: Delete
undelete: Undelete
list: List
unlist: Unlist
unlisted: Unlisted
login: Log in
signup: Sign up
logout: Log out
@@ -1114,6 +1447,21 @@ ui:
close: Close
reopen: Reopen
ok: OK
light: Light
dark: Dark
system_setting: System setting
default: Default
reset: Reset
tag: Tag
post_lowercase: post
filter: Filter
ignore: Ignore
submit: Submit
normal: Normal
closed: Closed
deleted: Deleted
pending: Pending
more: More
search:
title: Search Results
keywords: Keywords
@@ -1130,7 +1478,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -1150,8 +1498,8 @@ ui:
account_result:
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
Sorry, this account confirmation link is no longer valid. Perhaps your account is already active?
oops: Oops!
invalid: The link you used no longer works.
confirm_new_email: Your email has been updated.
confirm_new_email_invalid: >-
Sorry, this confirmation link is no longer valid. Perhaps your email was already changed?
@@ -1173,7 +1521,8 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
recommend: Recommend
score: Score
unanswered: Unanswered
modified: modified
@@ -1192,12 +1541,14 @@ ui:
reputation: Reputation
comments: Comments
votes: Votes
badges: Badges
newest: Newest
score: Score
edit_profile: Edit profile
visited_x_days: "Visited {{ count }} days"
viewed: Viewed
joined: Joined
comma: ","
last_login: Seen
about_me: About Me
about_me_empty: "// Hello, World !"
@@ -1205,6 +1556,7 @@ ui:
top_questions: Top Questions
stats: Stats
list_empty: No posts found.<br />Perhaps you'd like to select a different tab?
content_empty: No posts found.
accepted: Accepted
answered: answered
asked: asked
@@ -1215,8 +1567,9 @@ ui:
x_votes: votes received
x_answers: answers
x_questions: questions
recent_badges: Recent Badges
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -1291,7 +1644,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1324,6 +1677,7 @@ ui:
questions: Questions
answers: Answers
users: Users
badges: Badges
flags: Flags
settings: Settings
general: General
@@ -1347,29 +1701,53 @@ ui:
login: Login
qrcode_login_tip: Please use {{ agentName }} to scan the QR code and log in.
login_failed_email_tip: Login failed, please allow this app to access your email information before try again.
badges:
modal:
title: Congratulations
content: You've earned a new badge.
close: Close
confirm: View badges
title: Badges
awarded: Awarded
earned_×: Earned ×{{ number }}
×_awarded: "{{ number }} awarded"
can_earn_multiple: You can earn this multiple times.
earned: Earned
admin:
admin_header:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
site_statistics: Site Statistics
welcome: Welcome to Admin!
site_statistics: Site statistics
questions: "Questions:"
answers: "Answers:"
comments: "Comments:"
votes: "Votes:"
active_users: "Active users:"
users: "Users:"
flags: "Flags:"
site_health_status: Site Health Status
reviews: "Reviews:"
site_health: Site health
version: "Version:"
https: "HTTPS:"
uploading_files: "Uploading files:"
upload_folder: "Upload folder:"
run_mode: "Running mode:"
private: Private
public: Public
smtp: "SMTP:"
timezone: "Timezone:"
system_info: System Info
system_info: System info
go_version: "Go version:"
database: "Database:"
database_size: "Database size:"
storage_used: "Storage used:"
uptime: "Uptime:"
answer_links: Answer Links
links: Links
plugins: Plugins
github: GitHub
blog: Blog
contact: Contact
forum: Forum
documents: Documents
feedback: Feedback
support: Support
@@ -1384,6 +1762,8 @@ ui:
allowed: Allowed
enabled: Enabled
disabled: Disabled
writable: Writable
not_writable: Not writable
flags:
title: Flags
pending: Pending
@@ -1407,6 +1787,22 @@ ui:
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
edit_profile_modal:
title: Edit profile
form:
fields:
display_name:
label: Display name
msg_range: Display name up to 30 characters.
username:
label: Username
msg_range: Username up to 30 characters.
email:
label: Email
msg_invalid: Invalid Email Address.
edit_success: Edited successfully
btn_cancel: Cancel
btn_submit: Submit
user_modal:
title: Add new user
form:
@@ -1418,7 +1814,7 @@ ui:
msg: "Please enter the user's email, one per line."
display_name:
label: Display name
msg: Display name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
@@ -1452,6 +1848,7 @@ ui:
filter:
placeholder: "Filter by name, user:id"
set_new_password: Set new password
edit_profile: Edit profile
change_status: Change status
change_role: Change role
show_logs: Show logs
@@ -1470,9 +1867,7 @@ ui:
content: A suspended user can't log in.
questions:
page_title: Questions
normal: Normal
closed: Closed
deleted: Deleted
unlisted: Unlisted
post: Post
votes: Votes
answers: Answers
@@ -1480,12 +1875,11 @@ ui:
status: Status
action: Action
change: Change
pending: Pending
filter:
placeholder: "Filter by title, question:id"
answers:
page_title: Answers
normal: Normal
deleted: Deleted
post: Post
votes: Votes
created: Created
@@ -1518,6 +1912,9 @@ ui:
msg: Contact email cannot be empty.
validate: Contact email is not valid.
text: Email address of key contact responsible for this site.
check_update:
label: Software updates
text: Automatically check for updates
interface:
page_title: Interface
language:
@@ -1547,6 +1944,7 @@ ui:
msg: Encryption cannot be empty.
text: For most servers SSL is the recommended option.
ssl: SSL
tls: TLS
none: None
smtp_port:
label: SMTP port
@@ -1594,16 +1992,22 @@ ui:
text: "You can add privacy policy content here. If you already have a document hosted elsewhere, provide the full URL here."
write:
page_title: Write
restrict_answer:
title: Answer write
label: Each user can only write one answer for each question
text: "Turn off to allow users to write multiple answers to the same question, which may cause answers to be unfocused."
recommend_tags:
label: Recommend tags
text: "Please input tag slug above, one tag per line."
text: "Recommend tags will show in the dropdown list by default."
msg:
contain_reserved: "recommended tags cannot contain reserved tags"
required_tag:
title: Required tag
label: Set recommend tag as required
title: Set required tags
label: Set “Recommend tags” as required tags
text: "Every new question must have at least one recommend tag."
reserved_tags:
label: Reserved tags
text: "Reserved tags can only be added to a post by moderator."
text: "Reserved tags can only be used by moderator."
seo:
page_title: SEO
permalink:
@@ -1617,11 +2021,12 @@ ui:
themes:
label: Themes
text: Select an existing theme.
color_scheme:
label: Color scheme
navbar_style:
label: Navbar Style
text: Select an existing theme.
label: Navbar style
primary_color:
label: Primary Color
label: Primary color
text: Modify the colors used by your themes
css_and_html:
page_title: CSS and HTML
@@ -1660,9 +2065,13 @@ ui:
title: Private
label: Login required
text: Only logged in users can access this community.
password_login:
title: Password login
label: Allow email and password login
text: "WARNING: If turn off, you may be unable to log in if you have not previously configured other login method."
installed_plugins:
title: Installed Plugins
plugin_link: Plugins extend and expand the functionality of Answer. You may find plugins in the <1>Answer Plugin Repository</1>.
plugin_link: Plugins extend and expand the functionality. You may find plugins in the <1>Plugin Repository</1>.
filter:
all: All
active: Active
@@ -1705,6 +2114,24 @@ ui:
level:
label: Reputation required level
text: Choose the reputation required for the privileges
msg:
should_be_number: the input should be number
number_larger_1: number should be equal or larger than 1
badges:
action: Action
active: Active
activate: Activate
all: All
awards: Awards
deactivate: Deactivate
filter:
placeholder: Filter by name, badge:id
group: Group
inactive: Inactive
name: Name
show_logs: Show logs
status: Status
title: Badges
form:
optional: (optional)
empty: cannot be empty
@@ -1723,6 +2150,22 @@ ui:
edit_answer: Edit answer
edit_tag: Edit tag
empty: No review tasks left.
approve_revision_tip: Do you approve this revision?
approve_flag_tip: Do you approve this flag?
approve_post_tip: Do you approve this post?
approve_user_tip: Do you approve this user?
suggest_edits: Suggested edits
flag_post: Flag post
flag_user: Flag user
queued_post: Queued post
queued_user: Queued user
filter_label: Type
reputation: reputation
flag_post_type: Flagged this post as {{ type }}.
flag_user_type: Flagged this user as {{ type }}.
edit_post: Edit post
list_post: List post
unlist_post: Unlist post
timeline:
undeleted: undeleted
deleted: deleted
@@ -1773,3 +2216,6 @@ ui:
post_hide_list: This post has been hidden from list.
post_show_list: This post has been shown to list.
post_reopen: This post has been reopened.
post_list: This post has been listed.
post_unlist: This post has been unlisted.
post_pending: Your post is awaiting review. This is a preview, it will be visible after it has been approved.
+1572 -1126
View File
File diff suppressed because it is too large Load Diff
+651 -205
View File
File diff suppressed because it is too large Load Diff
+14 -11
View File
@@ -360,7 +360,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -433,7 +433,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -471,7 +471,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -619,7 +619,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -715,7 +716,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -811,7 +814,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -855,7 +858,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -899,7 +902,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -964,7 +967,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1017,7 +1020,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1133,7 +1136,7 @@ ui:
fields:
display_name:
label: Display Name
msg: Display Name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
+504 -67
View File
@@ -83,6 +83,9 @@ backend:
level_3:
description:
other: Level 3 (high reputation required for mature community)
level_custom:
description:
other: Custom Level
rank_question_add_label:
other: Ask question
rank_answer_add_label:
@@ -135,15 +138,24 @@ backend:
other: Password
pass:
other: Password
original_text:
other: This post
email_or_password_wrong_error:
other: Email and password do not match.
error:
common:
invalid_url:
other: Invalid URL.
status_invalid:
other: Invalid status.
password:
space_invalid:
other: Password cannot contain spaces.
admin:
cannot_update_their_password:
other: You cannot modify your password.
cannot_edit_their_profile:
other: You cannot modify your profile.
cannot_modify_self_status:
other: You cannot modify your status.
email_or_password_wrong:
@@ -195,9 +207,16 @@ backend:
other: The old password verification failed
new_password_same_as_previous_setting:
other: The new password is the same as the previous one.
already_deleted:
other: This post has been deleted.
meta:
object_not_found:
other: Meta object not found
question:
already_deleted:
other: This post has been deleted.
under_review:
other: Your post is awaiting review. It will be visible after it has been approved.
not_found:
other: Question not found.
cannot_deleted:
@@ -268,6 +287,8 @@ backend:
other: You cannot modify your role.
not_allowed_registration:
other: Currently the site is not open for registration.
not_allowed_login_via_password:
other: Currently the site is not allowed to login via password.
access_denied:
other: Access denied
page_access_denied:
@@ -293,6 +314,9 @@ backend:
site_info:
config_not_found:
other: Site config not found.
badge:
object_not_found:
other: Badge object not found
reason:
spam:
name:
@@ -303,8 +327,7 @@ backend:
name:
other: rude or abusive
desc:
other: A reasonable person would find this content inappropriate for respectful
discourse.
other: "A reasonable person would find this content inappropriate for respectful discourse."
a_duplicate:
name:
other: a duplicate
@@ -316,9 +339,7 @@ backend:
name:
other: not an answer
desc:
other: This was posted as an answer, but it does not attempt to answer the
question. It should possibly be an edit, a comment, another question,
or deleted altogether.
other: "This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit, a comment, another question,or deleted altogether."
no_longer_needed:
name:
other: no longer needed
@@ -377,8 +398,7 @@ backend:
name:
other: needs details or clarity
desc:
other: This question currently includes multiple questions in one. It should
focus on one problem only.
other: This question currently includes multiple questions in one. It should focus on one problem only.
other:
name:
other: something else
@@ -393,6 +413,13 @@ backend:
other: modified
deleted_title:
other: Deleted question
questions_title:
other: Questions
tag:
tags_title:
other: Tags
no_description:
other: The tag has no description.
notification:
action:
update_question:
@@ -431,6 +458,8 @@ backend:
other: upvoted comment
invited_you_to_answer:
other: invited you to answer
earned_badge:
other: You've earned the "{{.BadgeName}}" badge
email_tpl:
change_email:
title:
@@ -485,13 +514,283 @@ backend:
other: accept
accepted:
other: accepted
edit:
other: edit
review:
queued_post:
other: Queued post
flagged_post:
other: Flagged post
suggested_post_edit:
other: Suggested edits
reaction:
tooltip:
other: "{{ .Names }} and {{ .Count }} more..."
badge:
default_badges:
autobiographer:
name:
other: Autobiographer
desc:
other: Filled out <a href="{{ .ProfileURL }}" target="_blank">profile</a> information.
certified:
name:
other: Certified
desc:
other: Completed our new user tutorial.
editor:
name:
other: Editor
desc:
other: First post edit.
first_flag:
name:
other: First Flag
desc:
other: First flagged a post.
first_upvote:
name:
other: First Upvote
desc:
other: First up voted a post.
first_link:
name:
other: First Link
desc:
other: First dirst added a link to another post.
first_reaction:
name:
other: First Reaction
desc:
other: First reacted to the post.
first_share:
name:
other: First Share
desc:
other: First shared a post.
scholar:
name:
other: Scholar
desc:
other: Asked a question and accepted an answer.
commentator:
name:
other: Commentator
desc:
other: Leave 5 comments.
new_user_of_the_month:
name:
other: New User of the Month
desc:
other: Outstanding contributions in their first month.
read_guidelines:
name:
other: Read Guidelines
desc:
other: Read the [community guidelines].
reader:
name:
other: Reader
desc:
other: Read every answers in a topic with more than 10 answers.
welcome:
name:
other: Welcome
desc:
other: Received a up vote.
nice_share:
name:
other: Nice Share
desc:
other: Shared a post with 25 unique visitors.
good_share:
name:
other: Good Share
desc:
other: Shared a post with 300 unique visitors.
great_share:
name:
other: Great Share
desc:
other: Shared a post with 1000 unique visitors.
out_of_love:
name:
other: Out of Love
desc:
other: Used 50 up votes in a day.
higher_love:
name:
other: Higher Love
desc:
other: Used 50 up votes in a day 5 times.
crazy_in_love:
name:
other: Crazy in Love
desc:
other: Used 50 up votes in a day 20 times.
promoter:
name:
other: Promoter
desc:
other: Invited a user.
campaigner:
name:
other: Campaigner
desc:
other: Invited 3 basic users.
champion:
name:
other: Champion
desc:
other: Invited 5 members.
thank_you:
name:
other: Thank You
desc:
other: Has 20 up voted posts and gave 10 up votes.
gives_back:
name:
other: Gives Back
desc:
other: Has 100 up voted posts and gave 100 up votes.
empathetic:
name:
other: Empathetic
desc:
other: Has 500 up voted posts and gave 1000 up votes.
enthusiast:
name:
other: Enthusiast
desc:
other: Visited 10 consecutive days.
aficionado:
name:
other: Aficionado
desc:
other: Visited 100 consecutive days.
devotee:
name:
other: Devotee
desc:
other: Visited 365 consecutive days.
anniversary:
name:
other: Anniversary
desc:
other: Active member for a year, posted at least once.
appreciated:
name:
other: Appreciated
desc:
other: Received 1 up vote on 20 posts.
respected:
name:
other: Respected
desc:
other: Received 2 up votes on 100 posts.
admired:
name:
other: Admired
desc:
other: Received 5 up votes on 300 posts.
solved:
name:
other: Solved
desc:
other: Have an answer be accepted.
guidance_counsellor:
name:
other: Guidance Counsellor
desc:
other: Have 10 answers be accepted.
know_it_all:
name:
other: Know-it-All
desc:
other: Have 50 answers be accepted.
solution_institution:
name:
other: Solution Institution
desc:
other: Have 150 answers be accepted.
nice_answer:
name:
other: Nice Answer
desc:
other: Answer score of 10 or more.
good_answer:
name:
other: Good Answer
desc:
other: Answer score of 25 or more.
great_answer:
name:
other: Great Answer
desc:
other: Answer score of 50 or more.
nice_question:
name:
other: Nice Question
desc:
other: Question score of 10 or more.
good_question:
name:
other: Good Question
desc:
other: Question score of 25 or more.
great_question:
name:
other: Great Question
desc:
other: Question score of 50 or more.
popular_question:
name:
other: Popular Question
desc:
other: Question with 500 views.
notable_question:
name:
other: Notable Question
desc:
other: Question with 1,000 views.
famous_question:
name:
other: Famous Question
desc:
other: Question with 5,000 views.
popular_link:
name:
other: Popular Link
desc:
other: Posted an external link with 50 clicks.
hot_link:
name:
other: Hot Link
desc:
other: Posted an external link with 300 clicks.
famous_link:
name:
other: Famous Link
desc:
other: Posted an external link with 100 clicks.
default_badge_groups:
getting_started:
name:
other: Getting Started
community:
name:
other: Community
posting:
name:
other: Posting
# The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
title: How to Format
desc: >-
<ul class="mb-0"><li><p class="mb-2">to make links</p><pre
<ul class="mb-0"><li><p class="mb-2">link question or answer: <code>#10010000000000001</code></p></li>
<li><p class="mb-2">to make links</p><pre
class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[Title](https://url.com)</code></pre></li><li><p
class="mb-2">put returns between paragraphs</p></li><li><p
class="mb-2"><em>_italic_</em> or **<strong>bold</strong>**</p></li><li><p
@@ -534,6 +833,7 @@ ui:
http_404: HTTP Error 404
http_50X: HTTP Error 500
http_403: HTTP Error 403
logout: Log Out
notifications:
title: Notifications
inbox: Inbox
@@ -547,6 +847,9 @@ ui:
posts: Posts
invites: Invites
votes: Votes
answer: Answer
question: Question
badge_award: Badge
suspended:
title: Your Account has been Suspended
until_time: "Your account was suspended until {{ time }}."
@@ -612,7 +915,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description
tab_url: Image URL
@@ -674,6 +977,8 @@ ui:
empty: Cannot be empty.
msg:
empty: Please select a reason.
not_a_url: URL format is incorrect.
url_not_match: URL origin does not match the current website.
tag_modal:
title: Create new tag
form:
@@ -692,6 +997,13 @@ ui:
character: URL slug contains unallowed character set.
desc:
label: Description
revision:
label: Revision
edit_summary:
label: Edit summary
placeholder: >-
Briefly explain your changes (corrected spelling, fixed grammar,
improved formatting)
btn_cancel: Cancel
btn_submit: Submit
btn_post: Post new tag
@@ -710,10 +1022,10 @@ ui:
delete:
title: Delete this tag
tip_with_posts: >-
<p>We do not allowed <strong>deleting tag with posts</strong>.</p>
<p>We do not allow <strong>deleting tag with posts</strong>.</p>
<p>Please remove this tag from the posts first.</p>
tip_with_synonyms: >-
<p>We do not allowed <strong>deleting tag with synonyms</strong>.</p>
<p>We do not allow <strong>deleting tag with synonyms</strong>.</p>
<p>Please remove the synonyms from this tag first.</p>
tip: Are you sure you wish to delete?
close: Close
@@ -721,22 +1033,6 @@ ui:
title: Edit Tag
default_reason: Edit tag
default_first_reason: Add tag
form:
fields:
revision:
label: Revision
display_name:
label: Display name
slug_name:
label: URL slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc:
label: Description
edit_summary:
label: Edit summary
placeholder: >-
Briefly explain your changes (corrected spelling, fixed grammar,
improved formatting)
btn_save_edits: Save edits
btn_cancel: Cancel
dates:
@@ -749,6 +1045,16 @@ ui:
x_hours_ago: "{{count}}h ago"
hour: hour
day: day
hours: hours
days: days
reaction:
heart: heart
smile: smile
frown: frown
btn_label: add or remove reactions
undo_emoji: undo {{ emoji }} reaction
react_emoji: react with {{ emoji }}
unreact_emoji: unreact with {{ emoji }}
comment:
btn_add_comment: Add comment
reply_to: Reply to
@@ -758,7 +1064,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comments
show_more: "{{count}} more comments"
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid
answering questions in comments.
@@ -846,6 +1152,7 @@ ui:
question: Questions
tag: Tags
user: Users
badges: Badges
profile: Profile
setting: Settings
logout: Log out
@@ -857,7 +1164,7 @@ ui:
placeholder: Search
footer:
build_on: >-
Built on <1> Answer </1>- the open-source software that powers Q&A
Powered by <1> Apache Answer </1>- the open-source software that powers Q&A
communities.<br />Made with love © {{cc}}.
upload_img:
name: Change
@@ -892,8 +1199,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -994,10 +1301,10 @@ ui:
label: Location
placeholder: "City, Country"
notification:
heading: Notifications
email: Email
heading: Email Notifications
turn_on: Turn on
inbox:
label: Email notifications
label: Inbox notifications
description: Answers to your questions, comments, invites, and more.
all_new_question:
label: All new questions
@@ -1013,6 +1320,8 @@ ui:
We've sent an email to that address. Please follow the confirmation
instructions.
email:
label: Email
new_email:
label: New email
msg: New email cannot be empty.
pass:
@@ -1051,9 +1360,13 @@ ui:
related_question:
title: Related Questions
answers: answers
linked_question:
title: Linked Questions
description: Questions linked to
no_linked_question: No questions linked from this question.
invite_to_answer:
title: People Asked
desc: Invite people who you think might know the answer.
title: Invite People
desc: Invite people you think can answer.
invite: Invite to answer
add: Add people
search: Search people
@@ -1063,6 +1376,7 @@ ui:
asked: asked
update: Modified
edit: edited
commented: commented
Views: Viewed
Follow: Follow
Following: Following
@@ -1080,10 +1394,12 @@ ui:
title: Answers
score: Score
newest: Newest
oldest: Oldest
btn_accept: Accept
btn_accepted: Accepted
write_answer:
title: Your Answer
edit_answer: Edit my existing answer
btn_name: Post your answer
add_another_answer: Add another answer
confirm_title: Continue to answer
@@ -1103,6 +1419,14 @@ ui:
confirm_btn: Reopen
title: Reopen this post
content: Are you sure you want to reopen?
list:
confirm_btn: List
title: List this post
content: Are you sure you want to list?
unlist:
confirm_btn: Unlist
title: Unlist this post
content: Are you sure you want to unlist?
pin:
title: Pin this post
content: Are you sure you wish to pinned globally? This post will appear at the top of all post lists.
@@ -1130,6 +1454,9 @@ ui:
save: Save
delete: Delete
undelete: Undelete
list: List
unlist: Unlist
unlisted: Unlisted
login: Log in
signup: Sign up
logout: Log out
@@ -1153,6 +1480,21 @@ ui:
close: Close
reopen: Reopen
ok: OK
light: Light
dark: Dark
system_setting: System setting
default: Default
reset: Reset
tag: Tag
post_lowercase: post
filter: Filter
ignore: Ignore
submit: Submit
normal: Normal
closed: Closed
deleted: Deleted
pending: Pending
more: More
search:
title: Search Results
keywords: Keywords
@@ -1169,7 +1511,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -1189,9 +1531,8 @@ ui:
account_result:
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
Sorry, this account confirmation link is no longer valid. Perhaps your
account is already active?
oops: Oops!
invalid: The link you used no longer works.
confirm_new_email: Your email has been updated.
confirm_new_email_invalid: >-
Sorry, this confirmation link is no longer valid. Perhaps your email was
@@ -1214,7 +1555,8 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
recommend: Recommend
score: Score
unanswered: Unanswered
modified: modified
@@ -1233,12 +1575,14 @@ ui:
reputation: Reputation
comments: Comments
votes: Votes
badges: Badges
newest: Newest
score: Score
edit_profile: Edit profile
visited_x_days: "Visited {{ count }} days"
viewed: Viewed
joined: Joined
comma: ","
last_login: Seen
about_me: About Me
about_me_empty: "// Hello, World !"
@@ -1246,6 +1590,7 @@ ui:
top_questions: Top Questions
stats: Stats
list_empty: No posts found.<br />Perhaps you'd like to select a different tab?
content_empty: No posts found.
accepted: Accepted
answered: answered
asked: asked
@@ -1256,8 +1601,9 @@ ui:
x_votes: votes received
x_answers: answers
x_questions: questions
recent_badges: Recent Badges
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -1334,7 +1680,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>;
find it in the site menu.
@@ -1370,6 +1716,7 @@ ui:
questions: Questions
answers: Answers
users: Users
badges: Badges
flags: Flags
settings: Settings
general: General
@@ -1393,31 +1740,54 @@ ui:
login: Login
qrcode_login_tip: Please use {{ agentName }} to scan the QR code and log in.
login_failed_email_tip: Login failed, please allow this app to access your email information before try again.
badges:
modal:
title: Congratulations
content: You've earned a new badge.
close: Close
confirm: View badges
title: Badges
awarded: Awarded
earned_×: Earned ×{{ number }}
×_awarded: "{{ number }} awarded"
can_earn_multiple: You can earn this multiple times.
earned: Earned
admin:
admin_header:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
site_statistics: Site Statistics
welcome: Welcome to Admin!
site_statistics: Site statistics
questions: "Questions:"
answers: "Answers:"
comments: "Comments:"
votes: "Votes:"
active_users: "Active users:"
users: "Users:"
flags: "Flags:"
site_health_status: Site Health Status
reviews: "Reviews:"
site_health: Site health
version: "Version:"
https: "HTTPS:"
uploading_files: "Uploading files:"
upload_folder: "Upload folder:"
run_mode: "Running mode:"
private: Private
public: Public
smtp: "SMTP:"
timezone: "Timezone:"
system_info: System Info
system_info: System info
go_version: "Go version:"
database: "Database:"
database_size: "Database size:"
storage_used: "Storage used:"
uptime: "Uptime:"
answer_links: Answer Links
links: Links
plugins: Plugins
github: GitHub
blog: Blog
contact: Contact
forum: Forum
documents: Documents
feedback: Feedback
support: Support
@@ -1432,6 +1802,8 @@ ui:
allowed: Allowed
enabled: Enabled
disabled: Disabled
writable: Writable
not_writable: Not writable
flags:
title: Flags
pending: Pending
@@ -1455,6 +1827,22 @@ ui:
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
edit_profile_modal:
title: Edit profile
form:
fields:
display_name:
label: Display name
msg_range: Display name up to 30 characters.
username:
label: Username
msg_range: Username up to 30 characters.
email:
label: Email
msg_invalid: Invalid Email Address.
edit_success: Edited successfully
btn_cancel: Cancel
btn_submit: Submit
user_modal:
title: Add new user
form:
@@ -1466,7 +1854,7 @@ ui:
msg: "Please enter the user's email, one per line."
display_name:
label: Display name
msg: Display name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
@@ -1500,6 +1888,7 @@ ui:
filter:
placeholder: "Filter by name, user:id"
set_new_password: Set new password
edit_profile: Edit profile
change_status: Change status
change_role: Change role
show_logs: Show logs
@@ -1518,9 +1907,7 @@ ui:
content: A suspended user can't log in.
questions:
page_title: Questions
normal: Normal
closed: Closed
deleted: Deleted
unlisted: Unlisted
post: Post
votes: Votes
answers: Answers
@@ -1528,12 +1915,11 @@ ui:
status: Status
action: Action
change: Change
pending: Pending
filter:
placeholder: "Filter by title, question:id"
answers:
page_title: Answers
normal: Normal
deleted: Deleted
post: Post
votes: Votes
created: Created
@@ -1566,6 +1952,9 @@ ui:
msg: Contact email cannot be empty.
validate: Contact email is not valid.
text: Email address of key contact responsible for this site.
check_update:
label: Software updates
text: Automatically check for updates
interface:
page_title: Interface
language:
@@ -1595,6 +1984,7 @@ ui:
msg: Encryption cannot be empty.
text: For most servers SSL is the recommended option.
ssl: SSL
tls: TLS
none: None
smtp_port:
label: SMTP port
@@ -1642,16 +2032,22 @@ ui:
text: "You can add privacy policy content here. If you already have a document hosted elsewhere, provide the full URL here."
write:
page_title: Write
restrict_answer:
title: Answer write
label: Each user can only write one answer for the same question
text: "Turn off to allow users to write multiple answers to the same question, which may cause answers to be unfocused."
recommend_tags:
label: Recommend tags
text: "Please input tag slug above, one tag per line."
text: "Recommend tags will show in the dropdown list by default."
msg:
contain_reserved: "recommended tags cannot contain reserved tags"
required_tag:
title: Required tag
label: Set recommend tag as required
title: Set required tags
label: Set “Recommend tags” as required tags
text: "Every new question must have at least one recommend tag."
reserved_tags:
label: Reserved tags
text: "Reserved tags can only be added to a post by moderator."
text: "Reserved tags can only be used by moderator."
seo:
page_title: SEO
permalink:
@@ -1665,11 +2061,12 @@ ui:
themes:
label: Themes
text: Select an existing theme.
color_scheme:
label: Color scheme
navbar_style:
label: Navbar Style
text: Select an existing theme.
label: Navbar style
primary_color:
label: Primary Color
label: Primary color
text: Modify the colors used by your themes
css_and_html:
page_title: CSS and HTML
@@ -1705,9 +2102,13 @@ ui:
title: Private
label: Login required
text: Only logged in users can access this community.
password_login:
title: Password login
label: Allow email and password login
text: "WARNING: If turn off, you may be unable to log in if you have not previously configured other login method."
installed_plugins:
title: Installed Plugins
plugin_link: Plugins extend and expand the functionality of Answer. You may find plugins in the <1>Answer Plugin Repository</1>.
plugin_link: Plugins extend and expand the functionality. You may find plugins in the <1>Plugin Repository</1>.
filter:
all: All
active: Active
@@ -1750,7 +2151,24 @@ ui:
level:
label: Reputation required level
text: Choose the reputation required for the privileges
msg:
should_be_number: the input should be number
number_larger_1: number should be equal or larger than 1
badges:
action: Action
active: Active
activate: Activate
all: All
awards: Awards
deactivate: Deactivate
filter:
placeholder: Filter by name, badge:id
group: Group
inactive: Inactive
name: Name
show_logs: Show logs
status: Status
title: Badges
form:
optional: (optional)
empty: cannot be empty
@@ -1770,6 +2188,22 @@ ui:
edit_answer: Edit answer
edit_tag: Edit tag
empty: No review tasks left.
approve_revision_tip: Do you approve this revision?
approve_flag_tip: Do you approve this flag?
approve_post_tip: Do you approve this post?
approve_user_tip: Do you approve this user?
suggest_edits: Suggested edits
flag_post: Flag post
flag_user: Flag user
queued_post: Queued post
queued_user: Queued user
filter_label: Type
reputation: reputation
flag_post_type: Flagged this post as {{ type }}.
flag_user_type: Flagged this user as {{ type }}.
edit_post: Edit post
list_post: List post
unlist_post: Unlist post
timeline:
undeleted: undeleted
deleted: deleted
@@ -1817,6 +2251,9 @@ ui:
post_deleted: This post has been deleted.
post_pin: This post has been pinned.
post_unpin: This post has been unpinned.
post_hide_list: This post has been hidden from list.
post_hide_list: This post has been hidden from list.
post_show_list: This post has been shown to list.
post_reopen: This post has been reopened.
post_list: This post has been listed.
post_unlist: This post has been unlisted.
post_pending: Your post is awaiting review. This is a preview, it will be visible after it has been approved.
+861 -440
View File
File diff suppressed because it is too large Load Diff
+578 -132
View File
File diff suppressed because it is too large Load Diff
+14 -11
View File
@@ -360,7 +360,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -433,7 +433,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -471,7 +471,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -619,7 +619,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -715,7 +716,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -811,7 +814,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -855,7 +858,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -899,7 +902,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -964,7 +967,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1017,7 +1020,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1133,7 +1136,7 @@ ui:
fields:
display_name:
label: Display Name
msg: Display Name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
+750 -304
View File
File diff suppressed because it is too large Load Diff
+14 -11
View File
@@ -360,7 +360,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -433,7 +433,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -471,7 +471,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -619,7 +619,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -715,7 +716,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -811,7 +814,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -855,7 +858,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -899,7 +902,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -964,7 +967,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1017,7 +1020,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1133,7 +1136,7 @@ ui:
fields:
display_name:
label: Display Name
msg: Display Name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
+2221
View File
File diff suppressed because it is too large Load Diff
+14 -11
View File
@@ -360,7 +360,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -433,7 +433,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -471,7 +471,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -619,7 +619,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -715,7 +716,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -811,7 +814,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -855,7 +858,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -899,7 +902,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -964,7 +967,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1017,7 +1020,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1133,7 +1136,7 @@ ui:
fields:
display_name:
label: Display Name
msg: Display Name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
+14 -11
View File
@@ -355,7 +355,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -428,7 +428,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -466,7 +466,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -612,7 +612,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -708,7 +709,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -803,7 +806,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -847,7 +850,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -891,7 +894,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -956,7 +959,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1004,7 +1007,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1120,7 +1123,7 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: display_name must be at 2 - 30 characters in length.
email:
label: Email
msg: Email is not valid.
+15 -12
View File
@@ -22,40 +22,43 @@ language_options:
progress: 100
- label: "Español"
value: "es_ES"
progress: 64
progress: 83
- label: "Português(BR)"
value: "pt_BR"
progress: 12
progress: 96
- label: "Português"
value: "pt_PT"
progress: 12
progress: 96
- label: "Deutsch"
value: "de_DE"
progress: 69
progress: 83
- label: "Français"
value: "fr_FR"
progress: 70
progress: 78
- label: "日本語"
value: "ja_JP"
progress: 12
progress: 11
- label: "Italiano"
value: "it_IT"
progress: 9
progress: 89
- label: "Русский"
value: "ru_RU"
progress: 20
progress: 80
- label: "简体中文"
value: "zh_CN"
progress: 100
- label: "繁體中文"
value: "zh_TW"
progress: 64
progress: 47
- label: "한국어"
value: "ko_KR"
progress: 0
progress: 84
- label: "Tiếng Việt"
value: "vi_VN"
progress: 0
progress: 96
- label: "Slovak"
value: "sk_SK"
progress: 62
progress: 45
- label: "فارسی"
value: "fa_IR"
progress: 69
+505 -59
View File
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
#The following fields are used for back-end
# The following fields are used for back-end
backend:
base:
success:
@@ -82,6 +82,9 @@ backend:
level_3:
description:
other: Level 3 (high reputation required for mature community)
level_custom:
description:
other: Custom Level
rank_question_add_label:
other: Ask question
rank_answer_add_label:
@@ -134,15 +137,24 @@ backend:
other: Password
pass:
other: Password
original_text:
other: This post
email_or_password_wrong_error:
other: Email dan kata sandi tidak cocok.
error:
common:
invalid_url:
other: Invalid URL.
status_invalid:
other: Invalid status.
password:
space_invalid:
other: Password cannot contain spaces.
admin:
cannot_update_their_password:
other: You cannot modify your password.
cannot_edit_their_profile:
other: You cannot modify your profile.
cannot_modify_self_status:
other: You cannot modify your status.
email_or_password_wrong:
@@ -194,9 +206,16 @@ backend:
other: Verifikasi password lama, gagal
new_password_same_as_previous_setting:
other: Password baru sama dengan password yang sebelumnya.
already_deleted:
other: This post has been deleted.
meta:
object_not_found:
other: Meta object not found
question:
already_deleted:
other: This post has been deleted.
under_review:
other: Your post is awaiting review. It will be visible after it has been approved.
not_found:
other: Pertanyaan tidak ditemukan.
cannot_deleted:
@@ -267,6 +286,8 @@ backend:
other: Anda tidak dapat memodifikasi role anda sendiri.
not_allowed_registration:
other: Currently the site is not open for registration.
not_allowed_login_via_password:
other: Currently the site is not allowed to login via password.
access_denied:
other: Access denied
page_access_denied:
@@ -292,6 +313,9 @@ backend:
site_info:
config_not_found:
other: Site config not found.
badge:
object_not_found:
other: Badge object not found
reason:
spam:
name:
@@ -302,7 +326,7 @@ backend:
name:
other: rude or abusive
desc:
other: A reasonable person would find this content inappropriate for respectful discourse.
other: "A reasonable person would find this content inappropriate for respectful discourse."
a_duplicate:
name:
other: a duplicate
@@ -314,7 +338,7 @@ backend:
name:
other: not an answer
desc:
other: This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit, a comment, another question, or deleted altogether.
other: "This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit, a comment, another question,or deleted altogether."
no_longer_needed:
name:
other: no longer needed
@@ -373,7 +397,7 @@ backend:
name:
other: membutuhkan detail atau kejelasan
desc:
other: Pertanyaan ini mencakup beberapa pertanyaan pada satu post. Pertanyaan harus fokus pada satu masalah saja.
other: This question currently includes multiple questions in one. It should focus on one problem only.
other:
name:
other: lainnya
@@ -388,6 +412,13 @@ backend:
other: dimodifikasi
deleted_title:
other: Deleted question
questions_title:
other: Questions
tag:
tags_title:
other: Tags
no_description:
other: The tag has no description.
notification:
action:
update_question:
@@ -426,6 +457,8 @@ backend:
other: upvoted comment
invited_you_to_answer:
other: invited you to answer
earned_badge:
other: You've earned the "{{.BadgeName}}" badge
email_tpl:
change_email:
title:
@@ -480,12 +513,281 @@ backend:
other: accept
accepted:
other: accepted
#The following fields are used for interface presentation(Front-end)
edit:
other: edit
review:
queued_post:
other: Queued post
flagged_post:
other: Flagged post
suggested_post_edit:
other: Suggested edits
reaction:
tooltip:
other: "{{ .Names }} and {{ .Count }} more..."
badge:
default_badges:
autobiographer:
name:
other: Autobiographer
desc:
other: Filled out <a href="{{ .ProfileURL }}" target="_blank">profile</a> information.
certified:
name:
other: Certified
desc:
other: Completed our new user tutorial.
editor:
name:
other: Editor
desc:
other: First post edit.
first_flag:
name:
other: First Flag
desc:
other: First flagged a post.
first_upvote:
name:
other: First Upvote
desc:
other: First up voted a post.
first_link:
name:
other: First Link
desc:
other: First dirst added a link to another post.
first_reaction:
name:
other: First Reaction
desc:
other: First reacted to the post.
first_share:
name:
other: First Share
desc:
other: First shared a post.
scholar:
name:
other: Scholar
desc:
other: Asked a question and accepted an answer.
commentator:
name:
other: Commentator
desc:
other: Leave 5 comments.
new_user_of_the_month:
name:
other: New User of the Month
desc:
other: Outstanding contributions in their first month.
read_guidelines:
name:
other: Read Guidelines
desc:
other: Read the [community guidelines].
reader:
name:
other: Reader
desc:
other: Read every answers in a topic with more than 10 answers.
welcome:
name:
other: Welcome
desc:
other: Received a up vote.
nice_share:
name:
other: Nice Share
desc:
other: Shared a post with 25 unique visitors.
good_share:
name:
other: Good Share
desc:
other: Shared a post with 300 unique visitors.
great_share:
name:
other: Great Share
desc:
other: Shared a post with 1000 unique visitors.
out_of_love:
name:
other: Out of Love
desc:
other: Used 50 up votes in a day.
higher_love:
name:
other: Higher Love
desc:
other: Used 50 up votes in a day 5 times.
crazy_in_love:
name:
other: Crazy in Love
desc:
other: Used 50 up votes in a day 20 times.
promoter:
name:
other: Promoter
desc:
other: Invited a user.
campaigner:
name:
other: Campaigner
desc:
other: Invited 3 basic users.
champion:
name:
other: Champion
desc:
other: Invited 5 members.
thank_you:
name:
other: Thank You
desc:
other: Has 20 up voted posts and gave 10 up votes.
gives_back:
name:
other: Gives Back
desc:
other: Has 100 up voted posts and gave 100 up votes.
empathetic:
name:
other: Empathetic
desc:
other: Has 500 up voted posts and gave 1000 up votes.
enthusiast:
name:
other: Enthusiast
desc:
other: Visited 10 consecutive days.
aficionado:
name:
other: Aficionado
desc:
other: Visited 100 consecutive days.
devotee:
name:
other: Devotee
desc:
other: Visited 365 consecutive days.
anniversary:
name:
other: Anniversary
desc:
other: Active member for a year, posted at least once.
appreciated:
name:
other: Appreciated
desc:
other: Received 1 up vote on 20 posts.
respected:
name:
other: Respected
desc:
other: Received 2 up votes on 100 posts.
admired:
name:
other: Admired
desc:
other: Received 5 up votes on 300 posts.
solved:
name:
other: Solved
desc:
other: Have an answer be accepted.
guidance_counsellor:
name:
other: Guidance Counsellor
desc:
other: Have 10 answers be accepted.
know_it_all:
name:
other: Know-it-All
desc:
other: Have 50 answers be accepted.
solution_institution:
name:
other: Solution Institution
desc:
other: Have 150 answers be accepted.
nice_answer:
name:
other: Nice Answer
desc:
other: Answer score of 10 or more.
good_answer:
name:
other: Good Answer
desc:
other: Answer score of 25 or more.
great_answer:
name:
other: Great Answer
desc:
other: Answer score of 50 or more.
nice_question:
name:
other: Nice Question
desc:
other: Question score of 10 or more.
good_question:
name:
other: Good Question
desc:
other: Question score of 25 or more.
great_question:
name:
other: Great Question
desc:
other: Question score of 50 or more.
popular_question:
name:
other: Popular Question
desc:
other: Question with 500 views.
notable_question:
name:
other: Notable Question
desc:
other: Question with 1,000 views.
famous_question:
name:
other: Famous Question
desc:
other: Question with 5,000 views.
popular_link:
name:
other: Popular Link
desc:
other: Posted an external link with 50 clicks.
hot_link:
name:
other: Hot Link
desc:
other: Posted an external link with 300 clicks.
famous_link:
name:
other: Famous Link
desc:
other: Posted an external link with 100 clicks.
default_badge_groups:
getting_started:
name:
other: Getting Started
community:
name:
other: Community
posting:
name:
other: Posting
# The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
title: Cara memformat
desc: >-
<ul class="mb-0"><li><p class="mb-2">to make links</p><pre class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[Title](https://url.com)</code></pre></li><li><p class="mb-2">put returns between paragraphs</p></li><li><p class="mb-2"><em>_italic_</em> or **<strong>bold</strong>**</p></li><li><p class="mb-2">indent code by 4 spaces</p></li><li><p class="mb-2">quote by placing <code>&gt;</code> at start of line</p></li><li><p class="mb-2">backtick escapes <code>`like _this_`</code></p></li><li><p class="mb-2">create code fences with backticks <code>`</code></p><pre class="mb-0"><code>```<br/>code here<br/>```</code></pre></li></ul>
<ul class="mb-0"><li><p class="mb-2">link question or answer: <code>#10010000000000001</code></p></li> <li><p class="mb-2">to make links</p><pre class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[Title](https://url.com)</code></pre></li><li><p class="mb-2">put returns between paragraphs</p></li><li><p class="mb-2"><em>_italic_</em> or **<strong>bold</strong>**</p></li><li><p class="mb-2">indent code by 4 spaces</p></li><li><p class="mb-2">quote by placing <code>&gt;</code> at start of line</p></li><li><p class="mb-2">backtick escapes <code>`like _this_`</code></p></li><li><p class="mb-2">create code fences with backticks <code>`</code></p><pre class="mb-0"><code>```<br/>code here<br/>```</code></pre></li></ul>
pagination:
prev: Sebelumnya
next: Selanjutnya
@@ -520,6 +822,7 @@ ui:
http_404: HTTP Error 404
http_50X: HTTP Error 500
http_403: HTTP Error 403
logout: Log Out
notifications:
title: Pemberitahuan
inbox: Kotak Masuk
@@ -533,6 +836,9 @@ ui:
posts: Posts
invites: Invites
votes: Votes
answer: Answer
question: Question
badge_award: Badge
suspended:
title: Akun Anda telah ditangguhkan
until_time: "Akun anda ditangguhkan sampai {{ time }}."
@@ -598,7 +904,7 @@ ui:
msg:
empty: File tidak boleh kosong.
only_image: Hanya file Gambar yang diperbolehkan.
max_size: Ukuran file tidak boleh melebihi 4MB.
max_size: Ukuran file tidak boleh melebihi 4 MB.
desc:
label: Description
tab_url: URL gambar
@@ -660,6 +966,8 @@ ui:
empty: Cannot be empty.
msg:
empty: Please select a reason.
not_a_url: URL format is incorrect.
url_not_match: URL origin does not match the current website.
tag_modal:
title: Create new tag
form:
@@ -678,6 +986,12 @@ ui:
character: URL slug contains unallowed character set.
desc:
label: Description
revision:
label: Revision
edit_summary:
label: Edit summary
placeholder: >-
Briefly explain your changes (corrected spelling, fixed grammar, improved formatting)
btn_cancel: Cancel
btn_submit: Submit
btn_post: Post new tag
@@ -696,29 +1010,15 @@ ui:
delete:
title: Hapus tagar ini
tip_with_posts: >-
<p>We do not allowed <strong>deleting tag with posts</strong>.</p> <p>Please remove this tag from the posts first.</p>
<p>We do not allow <strong>deleting tag with posts</strong>.</p> <p>Please remove this tag from the posts first.</p>
tip_with_synonyms: >-
<p>We do not allowed <strong>deleting tag with synonyms</strong>.</p> <p>Please remove the synonyms from this tag first.</p>
<p>We do not allow <strong>deleting tag with synonyms</strong>.</p> <p>Please remove the synonyms from this tag first.</p>
tip: Are you sure you wish to delete?
close: Tutup
edit_tag:
title: Ubah Tag
default_reason: Sunting tag
form:
fields:
revision:
label: Revisi
display_name:
label: Display name
slug_name:
label: URL slug
info: 'Harus menggunakan set karakter "a-z", "0-9", "+ # - ."'
desc:
label: Deskripsi
edit_summary:
label: Edit summary
placeholder: >-
Jelaskan secara singkat perubahan yang Anda lakukan (ejaan yang diperbaiki, tata bahasa yang diperbaiki, pemformatan yang ditingkatkan)
default_first_reason: Add tag
btn_save_edits: Simpan suntingan
btn_cancel: Batal
dates:
@@ -731,6 +1031,16 @@ ui:
x_hours_ago: "{{count}}h ago"
hour: jam
day: hari
hours: hours
days: days
reaction:
heart: heart
smile: smile
frown: frown
btn_label: add or remove reactions
undo_emoji: undo {{ emoji }} reaction
react_emoji: react with {{ emoji }}
unreact_emoji: unreact with {{ emoji }}
comment:
btn_add_comment: Tambahkan Komentar
reply_to: Balas ke
@@ -740,7 +1050,7 @@ ui:
btn_flag: Flag
btn_save_edits: Simpan suntingan
btn_cancel: Batal
show_more: Show more comments
show_more: "{{count}} more comments"
tip_question: >-
Gunakan komentar untuk meminta informasi lebih lanjut atau menyarankan perbaikan. Hindari menjawab pertanyaan di komentar.
tip_answer: >-
@@ -749,6 +1059,7 @@ ui:
edit_answer:
title: Sunting jawaban
default_reason: Edit jawaban
default_first_reason: Add answer
form:
fields:
revision:
@@ -779,6 +1090,7 @@ ui:
title: Add Question
edit_title: Edit Question
default_reason: Edit question
default_first_reason: Add question
similar_questions: Similar questions
form:
fields:
@@ -822,6 +1134,7 @@ ui:
question: Questions
tag: Tags
user: Pengguna
badges: Badges
profile: Profil
setting: Pengaturan
logout: Keluar
@@ -833,7 +1146,7 @@ ui:
placeholder: Cari
footer:
build_on: >-
Built on <1> Answer </1>- the open-source software that powers Q&A communities.<br />Made with love © {{cc}}.
Powered by <1> Apache Answer </1>- the open-source software that powers Q&A communities.<br />Made with love © {{cc}}.
upload_img:
name: Ubah
loading: sedang memuat...
@@ -865,8 +1178,8 @@ ui:
label: Nama
msg:
empty: Nama tidak boleh kosong.
range: Nama harus menunjukkan 1-30 karakter.
character: 'Must use the character set "a-z", "0-9", " - . _"'
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -963,10 +1276,10 @@ ui:
label: Location
placeholder: "City, Country"
notification:
heading: Notifications
email: Email
heading: Email Notifications
turn_on: Turn on
inbox:
label: Email notifications
label: Inbox notifications
description: Answers to your questions, comments, invites, and more.
all_new_question:
label: All new questions
@@ -981,6 +1294,8 @@ ui:
change_email_info: >-
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
new_email:
label: New email
msg: New email cannot be empty.
pass:
@@ -1019,9 +1334,13 @@ ui:
related_question:
title: Pertanyaan Terkait
answers: jawaban
linked_question:
title: Linked Questions
description: Questions linked to
no_linked_question: No questions linked from this question.
invite_to_answer:
title: People Asked
desc: Invite people who you think might know the answer.
desc: Select people who you think might know the answer.
invite: Invite to answer
add: Add people
search: Search people
@@ -1031,6 +1350,7 @@ ui:
asked: ditanyakan
update: Diubah
edit: disunting
commented: commented
Views: Dilihat
Follow: Ikuti
Following: Mengikuti
@@ -1048,10 +1368,12 @@ ui:
title: Jawaban
score: Nilai
newest: Terbaru
oldest: Oldest
btn_accept: Terima
btn_accepted: Diterima
write_answer:
title: Jawaban Anda
edit_answer: Edit my existing answer
btn_name: Kirimkan jawaban Anda
add_another_answer: Tambahkan jawaban lain
confirm_title: Lanjutkan menjawab
@@ -1070,6 +1392,14 @@ ui:
confirm_btn: Reopen
title: Buka kembali postingan ini
content: Kamu yakin ingin membuka kembali?
list:
confirm_btn: List
title: List this post
content: Are you sure you want to list?
unlist:
confirm_btn: Unlist
title: Unlist this post
content: Are you sure you want to unlist?
pin:
title: Pin this post
content: Are you sure you wish to pinned globally? This post will appear at the top of all post lists.
@@ -1091,6 +1421,9 @@ ui:
save: Simpan
delete: Hapus
undelete: Undelete
list: List
unlist: Unlist
unlisted: Unlisted
login: Masuk
signup: Daftar
logout: Keluar
@@ -1114,6 +1447,21 @@ ui:
close: Close
reopen: Reopen
ok: OK
light: Light
dark: Dark
system_setting: System setting
default: Default
reset: Reset
tag: Tag
post_lowercase: post
filter: Filter
ignore: Ignore
submit: Submit
normal: Normal
closed: Closed
deleted: Deleted
pending: Pending
more: More
search:
title: Search Results
keywords: Keywords
@@ -1130,7 +1478,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -1150,8 +1498,8 @@ ui:
account_result:
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
Sorry, this account confirmation link is no longer valid. Perhaps your account is already active?
oops: Oops!
invalid: The link you used no longer works.
confirm_new_email: Your email has been updated.
confirm_new_email_invalid: >-
Sorry, this confirmation link is no longer valid. Perhaps your email was already changed?
@@ -1173,7 +1521,8 @@ ui:
answers: Jawaban
newest: Terbaru
active: Aktif
frequent: Sering
hot: Hot
recommend: Recommend
score: Nilai
unanswered: Belum dijawab
modified: diubah
@@ -1192,12 +1541,14 @@ ui:
reputation: Reputasi
comments: Komentar
votes: Vote
badges: Badges
newest: Terbaru
score: Nilai
edit_profile: Edit profile
visited_x_days: "Dikunjungi {{ count }} hari"
viewed: Dilihat
joined: Bergabung
comma: ","
last_login: Dilihat
about_me: Tentang Saya
about_me_empty: "// Hello, World !"
@@ -1205,6 +1556,7 @@ ui:
top_questions: Pertanyaan terpopuler
stats: Statistik
list_empty: Postingan tidak ditemukan.<br />Mungkin Anda ingin memilih tab lain?
content_empty: No posts found.
accepted: Diterima
answered: dijawab
asked: ditanyakan
@@ -1215,8 +1567,9 @@ ui:
x_votes: vote diterima
x_answers: jawaban
x_questions: pertanyaan
recent_badges: Recent Badges
install:
title: Jawaban
title: Installation
next: Selanjutnya
done: Selesai
config_yaml_error: Can't create the config.yaml file.
@@ -1291,7 +1644,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1324,6 +1677,7 @@ ui:
questions: Pertanyaan
answers: Jawaban
users: Pengguna
badges: Badges
flags: Flags
settings: Pengaturan
general: Umum
@@ -1347,29 +1701,53 @@ ui:
login: Login
qrcode_login_tip: Please use {{ agentName }} to scan the QR code and log in.
login_failed_email_tip: Login failed, please allow this app to access your email information before try again.
badges:
modal:
title: Congratulations
content: You've earned a new badge.
close: Close
confirm: View badges
title: Badges
awarded: Awarded
earned_×: Earned ×{{ number }}
×_awarded: "{{ number }} awarded"
can_earn_multiple: You can earn this multiple times.
earned: Earned
admin:
admin_header:
title: Admin
dashboard:
title: Dasbor
welcome: Selamat datang di Answer Admin!
site_statistics: Site Statistics
welcome: Welcome to Admin!
site_statistics: Site statistics
questions: "Pertanyaan:"
answers: "Jawaban:"
comments: "Komentar:"
votes: "Vote:"
active_users: "Pengguna aktif:"
users: "Users:"
flags: "Flags:"
site_health_status: Site Health Status
reviews: "Reviews:"
site_health: Site health
version: "Versi:"
https: "HTTPS:"
uploading_files: "Mengunggah berkas:"
upload_folder: "Upload folder:"
run_mode: "Running mode:"
private: Private
public: Public
smtp: "SMTP:"
timezone: "Zona Waktu:"
system_info: Informasi Sistem
system_info: System info
go_version: "Go version:"
database: "Database:"
database_size: "Database size:"
storage_used: "Penyimpanan yang terpakai:"
uptime: "Uptime:"
answer_links: Tautan Answer
links: Links
plugins: Plugins
github: GitHub
blog: Blog
contact: Contact
forum: Forum
documents: Dokumen
feedback: Masukan
support: Dukungan
@@ -1384,6 +1762,8 @@ ui:
allowed: Allowed
enabled: Enabled
disabled: Disabled
writable: Writable
not_writable: Not writable
flags:
title: Flags
pending: Pending
@@ -1407,6 +1787,22 @@ ui:
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
edit_profile_modal:
title: Edit profile
form:
fields:
display_name:
label: Display name
msg_range: Display name up to 30 characters.
username:
label: Username
msg_range: Username up to 30 characters.
email:
label: Email
msg_invalid: Invalid Email Address.
edit_success: Edited successfully
btn_cancel: Cancel
btn_submit: Submit
user_modal:
title: Add new user
form:
@@ -1418,7 +1814,7 @@ ui:
msg: "Please enter the user's email, one per line."
display_name:
label: Display name
msg: Display name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
@@ -1452,6 +1848,7 @@ ui:
filter:
placeholder: "Filter berdasarkan nama, user:id"
set_new_password: Atur password baru
edit_profile: Edit profile
change_status: Ubah status
change_role: Ubah role
show_logs: Tampilkan log
@@ -1470,9 +1867,7 @@ ui:
content: A suspended user can't log in.
questions:
page_title: Pertanyaan
normal: Normal
closed: Ditutup
deleted: Dihapus
unlisted: Unlisted
post: Post
votes: Vote
answers: Jawaban
@@ -1480,12 +1875,11 @@ ui:
status: Status
action: Action
change: Ubah
pending: Pending
filter:
placeholder: "Filter berdasarkan judul, question:id"
answers:
page_title: Jawaban
normal: Normal
deleted: Deleted
post: Post
votes: Votes
created: Created
@@ -1518,6 +1912,9 @@ ui:
msg: Contact email cannot be empty.
validate: Contact email is not valid.
text: Email address of key contact responsible for this site.
check_update:
label: Software updates
text: Automatically check for updates
interface:
page_title: Interface
language:
@@ -1547,6 +1944,7 @@ ui:
msg: Enkripsi tidak boleh kosong.
text: For most servers SSL is the recommended option.
ssl: SSL
tls: TLS
none: Tidak ada
smtp_port:
label: SMTP port
@@ -1594,16 +1992,22 @@ ui:
text: "You can add privacy policy content here. If you already have a document hosted elsewhere, provide the full URL here."
write:
page_title: Write
restrict_answer:
title: Answer write
label: Each user can only write one answer for each question
text: "Turn off to allow users to write multiple answers to the same question, which may cause answers to be unfocused."
recommend_tags:
label: Recommend tags
text: "Please input tag slug above, one tag per line."
text: "Recommend tags will show in the dropdown list by default."
msg:
contain_reserved: "recommended tags cannot contain reserved tags"
required_tag:
title: Required tag
label: Set recommend tag as required
title: Set required tags
label: Set “Recommend tags” as required tags
text: "Every new question must have at least one recommend tag."
reserved_tags:
label: Reserved tags
text: "Reserved tags can only be added to a post by moderator."
text: "Reserved tags can only be used by moderator."
seo:
page_title: SEO
permalink:
@@ -1617,11 +2021,12 @@ ui:
themes:
label: Themes
text: Select an existing theme.
color_scheme:
label: Color scheme
navbar_style:
label: Navbar Style
text: Select an existing theme.
label: Navbar style
primary_color:
label: Primary Color
label: Primary color
text: Modify the colors used by your themes
css_and_html:
page_title: CSS and HTML
@@ -1660,9 +2065,13 @@ ui:
title: Private
label: Login required
text: Only logged in users can access this community.
password_login:
title: Password login
label: Allow email and password login
text: "WARNING: If turn off, you may be unable to log in if you have not previously configured other login method."
installed_plugins:
title: Installed Plugins
plugin_link: Plugins extend and expand the functionality of Answer. You may find plugins in the <1>Answer Plugin Repository</1>.
plugin_link: Plugins extend and expand the functionality. You may find plugins in the <1>Plugin Repository</1>.
filter:
all: All
active: Active
@@ -1705,6 +2114,24 @@ ui:
level:
label: Reputation required level
text: Choose the reputation required for the privileges
msg:
should_be_number: the input should be number
number_larger_1: number should be equal or larger than 1
badges:
action: Action
active: Active
activate: Activate
all: All
awards: Awards
deactivate: Deactivate
filter:
placeholder: Filter by name, badge:id
group: Group
inactive: Inactive
name: Name
show_logs: Show logs
status: Status
title: Badges
form:
optional: (optional)
empty: cannot be empty
@@ -1723,6 +2150,22 @@ ui:
edit_answer: Edit answer
edit_tag: Edit tag
empty: No review tasks left.
approve_revision_tip: Do you approve this revision?
approve_flag_tip: Do you approve this flag?
approve_post_tip: Do you approve this post?
approve_user_tip: Do you approve this user?
suggest_edits: Suggested edits
flag_post: Flag post
flag_user: Flag user
queued_post: Queued post
queued_user: Queued user
filter_label: Type
reputation: reputation
flag_post_type: Flagged this post as {{ type }}.
flag_user_type: Flagged this user as {{ type }}.
edit_post: Edit post
list_post: List post
unlist_post: Unlist post
timeline:
undeleted: undeleted
deleted: deleted
@@ -1773,3 +2216,6 @@ ui:
post_hide_list: This post has been hidden from list.
post_show_list: This post has been shown to list.
post_reopen: This post has been reopened.
post_list: This post has been listed.
post_unlist: This post has been unlisted.
post_pending: Your post is awaiting review. This is a preview, it will be visible after it has been approved.
+1520 -1074
View File
File diff suppressed because it is too large Load Diff
+557 -111
View File
File diff suppressed because it is too large Load Diff
+1607 -1161
View File
File diff suppressed because it is too large Load Diff
+2221
View File
File diff suppressed because it is too large Load Diff
+14 -11
View File
@@ -360,7 +360,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -433,7 +433,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -471,7 +471,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -619,7 +619,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -715,7 +716,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -811,7 +814,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -855,7 +858,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -899,7 +902,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -964,7 +967,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1017,7 +1020,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1133,7 +1136,7 @@ ui:
fields:
display_name:
label: Display Name
msg: Display Name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
+15 -11
View File
@@ -360,7 +360,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -433,7 +433,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -471,7 +471,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -619,7 +619,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -715,7 +716,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -811,7 +814,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -855,7 +858,8 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
recommend: Recommend
score: Score
unanswered: Unanswered
modified: modified
@@ -899,7 +903,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -964,7 +968,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1017,7 +1021,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1133,7 +1137,7 @@ ui:
fields:
display_name:
label: Display Name
msg: Display Name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
+689 -243
View File
File diff suppressed because it is too large Load Diff
+5 -5
View File
@@ -360,7 +360,7 @@ ui:
msg:
empty: Arquivo não pode ser vazio.
only_image: Somente um arquivo de imagem é permitido.
max_size: O tamanho do arquivo não pode exceder 4MB.
max_size: O tamanho do arquivo não pode exceder 4 MB.
desc:
label: Descrição (opcional)
tab_url: URL da imagem
@@ -855,7 +855,7 @@ ui:
answers: Respostas
newest: Mais recente
active: Ativo
frequent: Frequente
hot: Hot
score: Pontuação
unanswered: Não Respondido
modified: modificado
@@ -899,7 +899,7 @@ ui:
x_answers: respostas
x_questions: perguntas
install:
title: Resposta
title: Instalação
next: Proximo
done: Completo
config_yaml_error: Não é possível criar o arquivo config.yaml.
@@ -1017,7 +1017,7 @@ ui:
title: Administrador
dashboard:
title: Painel
welcome: Bem vindo ao Answer Administrador!
welcome: Bem vindo ao Administrador!
site_statistics: Estatísticas do Site
questions: "Perguntas:"
answers: "Respostas:"
@@ -1133,7 +1133,7 @@ ui:
fields:
display_name:
label: Nome de exibição
msg: Nome de exibição deve ser 4-30 caracteres em comprimento.
msg: Nome de exibição deve ser 2-30 caracteres em comprimento.
email:
label: Email
msg: Email não é válido.
+540 -94
View File
File diff suppressed because it is too large Load Diff
+1788 -950
View File
File diff suppressed because it is too large Load Diff
+1304 -858
View File
File diff suppressed because it is too large Load Diff
+504 -58
View File
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
#The following fields are used for back-end
# The following fields are used for back-end
backend:
base:
success:
@@ -82,6 +82,9 @@ backend:
level_3:
description:
other: Level 3 (high reputation required for mature community)
level_custom:
description:
other: Custom Level
rank_question_add_label:
other: Ask question
rank_answer_add_label:
@@ -134,15 +137,24 @@ backend:
other: Heslo
pass:
other: Password
original_text:
other: This post
email_or_password_wrong_error:
other: E-mail a heslo sa nezhodujú.
error:
common:
invalid_url:
other: Invalid URL.
status_invalid:
other: Invalid status.
password:
space_invalid:
other: Password cannot contain spaces.
admin:
cannot_update_their_password:
other: Svoje heslo upraviť.
cannot_edit_their_profile:
other: You cannot modify your profile.
cannot_modify_self_status:
other: Nemôžete upraviť svoj stav.
email_or_password_wrong:
@@ -194,9 +206,16 @@ backend:
other: Overenie starého hesla zlyhalo
new_password_same_as_previous_setting:
other: Nové heslo je rovnaké ako predchádzajúce.
already_deleted:
other: This post has been deleted.
meta:
object_not_found:
other: Meta object not found
question:
already_deleted:
other: Tento príspevok bol odstránený.
under_review:
other: Your post is awaiting review. It will be visible after it has been approved.
not_found:
other: Otázka sa nenašla.
cannot_deleted:
@@ -267,6 +286,8 @@ backend:
other: Svoju rolu nemôžete zmeniť.
not_allowed_registration:
other: Currently the site is not open for registration.
not_allowed_login_via_password:
other: Currently the site is not allowed to login via password.
access_denied:
other: Access denied
page_access_denied:
@@ -292,6 +313,9 @@ backend:
site_info:
config_not_found:
other: Site config not found.
badge:
object_not_found:
other: Badge object not found
reason:
spam:
name:
@@ -302,7 +326,7 @@ backend:
name:
other: rude or abusive
desc:
other: A reasonable person would find this content inappropriate for respectful discourse.
other: "A reasonable person would find this content inappropriate for respectful discourse."
a_duplicate:
name:
other: a duplicate
@@ -314,7 +338,7 @@ backend:
name:
other: not an answer
desc:
other: This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit, a comment, another question, or deleted altogether.
other: "This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit, a comment, another question,or deleted altogether."
no_longer_needed:
name:
other: no longer needed
@@ -373,7 +397,7 @@ backend:
name:
other: potrebuje podrobnosti alebo jasnosť
desc:
other: Táto otázka momentálne obsahuje viacero otázok v jednej. Malo by sa zamerať len na jeden problém.
other: This question currently includes multiple questions in one. It should focus on one problem only.
other:
name:
other: niečo iné
@@ -388,6 +412,13 @@ backend:
other: upravený
deleted_title:
other: Deleted question
questions_title:
other: Questions
tag:
tags_title:
other: Tags
no_description:
other: The tag has no description.
notification:
action:
update_question:
@@ -426,6 +457,8 @@ backend:
other: upvoted comment
invited_you_to_answer:
other: invited you to answer
earned_badge:
other: You've earned the "{{.BadgeName}}" badge
email_tpl:
change_email:
title:
@@ -480,12 +513,281 @@ backend:
other: accept
accepted:
other: accepted
#The following fields are used for interface presentation(Front-end)
edit:
other: edit
review:
queued_post:
other: Queued post
flagged_post:
other: Flagged post
suggested_post_edit:
other: Suggested edits
reaction:
tooltip:
other: "{{ .Names }} and {{ .Count }} more..."
badge:
default_badges:
autobiographer:
name:
other: Autobiographer
desc:
other: Filled out <a href="{{ .ProfileURL }}" target="_blank">profile</a> information.
certified:
name:
other: Certified
desc:
other: Completed our new user tutorial.
editor:
name:
other: Editor
desc:
other: First post edit.
first_flag:
name:
other: First Flag
desc:
other: First flagged a post.
first_upvote:
name:
other: First Upvote
desc:
other: First up voted a post.
first_link:
name:
other: First Link
desc:
other: First dirst added a link to another post.
first_reaction:
name:
other: First Reaction
desc:
other: First reacted to the post.
first_share:
name:
other: First Share
desc:
other: First shared a post.
scholar:
name:
other: Scholar
desc:
other: Asked a question and accepted an answer.
commentator:
name:
other: Commentator
desc:
other: Leave 5 comments.
new_user_of_the_month:
name:
other: New User of the Month
desc:
other: Outstanding contributions in their first month.
read_guidelines:
name:
other: Read Guidelines
desc:
other: Read the [community guidelines].
reader:
name:
other: Reader
desc:
other: Read every answers in a topic with more than 10 answers.
welcome:
name:
other: Welcome
desc:
other: Received a up vote.
nice_share:
name:
other: Nice Share
desc:
other: Shared a post with 25 unique visitors.
good_share:
name:
other: Good Share
desc:
other: Shared a post with 300 unique visitors.
great_share:
name:
other: Great Share
desc:
other: Shared a post with 1000 unique visitors.
out_of_love:
name:
other: Out of Love
desc:
other: Used 50 up votes in a day.
higher_love:
name:
other: Higher Love
desc:
other: Used 50 up votes in a day 5 times.
crazy_in_love:
name:
other: Crazy in Love
desc:
other: Used 50 up votes in a day 20 times.
promoter:
name:
other: Promoter
desc:
other: Invited a user.
campaigner:
name:
other: Campaigner
desc:
other: Invited 3 basic users.
champion:
name:
other: Champion
desc:
other: Invited 5 members.
thank_you:
name:
other: Thank You
desc:
other: Has 20 up voted posts and gave 10 up votes.
gives_back:
name:
other: Gives Back
desc:
other: Has 100 up voted posts and gave 100 up votes.
empathetic:
name:
other: Empathetic
desc:
other: Has 500 up voted posts and gave 1000 up votes.
enthusiast:
name:
other: Enthusiast
desc:
other: Visited 10 consecutive days.
aficionado:
name:
other: Aficionado
desc:
other: Visited 100 consecutive days.
devotee:
name:
other: Devotee
desc:
other: Visited 365 consecutive days.
anniversary:
name:
other: Anniversary
desc:
other: Active member for a year, posted at least once.
appreciated:
name:
other: Appreciated
desc:
other: Received 1 up vote on 20 posts.
respected:
name:
other: Respected
desc:
other: Received 2 up votes on 100 posts.
admired:
name:
other: Admired
desc:
other: Received 5 up votes on 300 posts.
solved:
name:
other: Solved
desc:
other: Have an answer be accepted.
guidance_counsellor:
name:
other: Guidance Counsellor
desc:
other: Have 10 answers be accepted.
know_it_all:
name:
other: Know-it-All
desc:
other: Have 50 answers be accepted.
solution_institution:
name:
other: Solution Institution
desc:
other: Have 150 answers be accepted.
nice_answer:
name:
other: Nice Answer
desc:
other: Answer score of 10 or more.
good_answer:
name:
other: Good Answer
desc:
other: Answer score of 25 or more.
great_answer:
name:
other: Great Answer
desc:
other: Answer score of 50 or more.
nice_question:
name:
other: Nice Question
desc:
other: Question score of 10 or more.
good_question:
name:
other: Good Question
desc:
other: Question score of 25 or more.
great_question:
name:
other: Great Question
desc:
other: Question score of 50 or more.
popular_question:
name:
other: Popular Question
desc:
other: Question with 500 views.
notable_question:
name:
other: Notable Question
desc:
other: Question with 1,000 views.
famous_question:
name:
other: Famous Question
desc:
other: Question with 5,000 views.
popular_link:
name:
other: Popular Link
desc:
other: Posted an external link with 50 clicks.
hot_link:
name:
other: Hot Link
desc:
other: Posted an external link with 300 clicks.
famous_link:
name:
other: Famous Link
desc:
other: Posted an external link with 100 clicks.
default_badge_groups:
getting_started:
name:
other: Getting Started
community:
name:
other: Community
posting:
name:
other: Posting
# The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
title: Ako formátovať
desc: >-
<ul class="mb-0"><li><p class="mb-2">na vytváranie odkazov</p><pre class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[Title](https://url.com)</code></pre></li><li><p class="mb-2">vracať medzi odsekmi</p></li><li><p class="mb-2"><em>_italic_</em> alebo **<strong>tučné</strong>**</p></li><li><p class="mb-2">odsadenie kódu o 4 medzery</p></li><li><p class="mb-2">citát umiestnením <code>&gt;</code> na začiatku riadku</p></li><li><p class="mb-2">backtick uniká <code>`ako _this_`</code></p></li><li><p class="mb-2">vytvorte kódové ploty s <code>`</code></p><pre class="mb-0"><code>```<br/>kódom tu<br/>```</code></pre></li></ul>
<ul class="mb-0"><li><p class="mb-2">link question or answer: <code>#10010000000000001</code></p></li> <li><p class="mb-2">to make links</p><pre class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[Title](https://url.com)</code></pre></li><li><p class="mb-2">put returns between paragraphs</p></li><li><p class="mb-2"><em>_italic_</em> or **<strong>bold</strong>**</p></li><li><p class="mb-2">indent code by 4 spaces</p></li><li><p class="mb-2">quote by placing <code>&gt;</code> at start of line</p></li><li><p class="mb-2">backtick escapes <code>`like _this_`</code></p></li><li><p class="mb-2">create code fences with backticks <code>`</code></p><pre class="mb-0"><code>```<br/>code here<br/>```</code></pre></li></ul>
pagination:
prev: Predch
next: Ďalšie
@@ -520,6 +822,7 @@ ui:
http_404: HTTP chyba 404
http_50X: HTTP chyba 403
http_403: HTTP Error 403
logout: Log Out
notifications:
title: Oznámenia
inbox: Doručená pošta
@@ -533,6 +836,9 @@ ui:
posts: Posts
invites: Invites
votes: Votes
answer: Answer
question: Question
badge_award: Badge
suspended:
title: Váš účet bol pozastavený
until_time: "Váš účet bol pozastavený do {{ time }}."
@@ -598,7 +904,7 @@ ui:
msg:
empty: Názov súboru nemôže byť prázdny.
only_image: Povolené sú iba obrázkové súbory.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Popis
tab_url: URL obrázka
@@ -660,6 +966,8 @@ ui:
empty: Nemôže byť prázdny.
msg:
empty: Vyberte dôvod.
not_a_url: URL format is incorrect.
url_not_match: URL origin does not match the current website.
tag_modal:
title: Vytvorte novú značku
form:
@@ -678,6 +986,12 @@ ui:
character: URL slug obsahuje nepovolenú znakovú sadu.
desc:
label: Opis
revision:
label: Revision
edit_summary:
label: Edit summary
placeholder: >-
Briefly explain your changes (corrected spelling, fixed grammar, improved formatting)
btn_cancel: Zrušiť
btn_submit: Potvrdiť
btn_post: Post new tag
@@ -696,29 +1010,15 @@ ui:
delete:
title: Odstrániť túto značku
tip_with_posts: >-
<p>Nepovoľujeme <strong>odstraňovať značku s príspevkami</strong>.</p> <p>Najskôr odstráňte túto značku z príspevkov.</p>
<p>We do not allow <strong>deleting tag with posts</strong>.</p> <p>Please remove this tag from the posts first.</p>
tip_with_synonyms: >-
<p>Nepovoľujeme <strong>odstraňovať značku so synonymami</strong>.</p> <p>Najskôr odstráňte z tejto značky synonymá.</p>
<p>We do not allow <strong>deleting tag with synonyms</strong>.</p> <p>Please remove the synonyms from this tag first.</p>
tip: Naozaj chcete odstrániť?
close: Zavrieť
edit_tag:
title: Upraviť značku
default_reason: Upraviť značku
form:
fields:
revision:
label: Revízia
display_name:
label: Display name
slug_name:
label: URL slug
info: 'Musíte použiť znakovú sadu "a-z", "0-9", "+ # - ."'
desc:
label: Opis
edit_summary:
label: Edit summary
placeholder: >-
Stručne vysvetlite svoje zmeny (opravený pravopis, opravená gramatika, vylepšené formátovanie)
default_first_reason: Add tag
btn_save_edits: Uložiť úpravy
btn_cancel: Zrušiť
dates:
@@ -731,6 +1031,16 @@ ui:
x_hours_ago: "pred {{count}}h"
hour: hodina
day: deň
hours: hours
days: days
reaction:
heart: heart
smile: smile
frown: frown
btn_label: add or remove reactions
undo_emoji: undo {{ emoji }} reaction
react_emoji: react with {{ emoji }}
unreact_emoji: unreact with {{ emoji }}
comment:
btn_add_comment: Pridať komentár
reply_to: Odpovedať
@@ -740,7 +1050,7 @@ ui:
btn_flag: Vlajka
btn_save_edits: Uložiť zmeny
btn_cancel: Zrušiť
show_more: Zobraziť viac komentárov
show_more: "{{count}} more comments"
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -749,6 +1059,7 @@ ui:
edit_answer:
title: Uprav odpoveď
default_reason: Uprav odpoveď
default_first_reason: Add answer
form:
fields:
revision:
@@ -779,6 +1090,7 @@ ui:
title: Pridať otázku
edit_title: Upraviť otázku
default_reason: Upraviť otázku
default_first_reason: Add question
similar_questions: Podobné otázky
form:
fields:
@@ -822,6 +1134,7 @@ ui:
question: Otázky
tag: Značky
user: Užívatelia
badges: Badges
profile: Profil
setting: Nastavenia
logout: Odhlásiť sa
@@ -833,7 +1146,7 @@ ui:
placeholder: Vyhľadávanie
footer:
build_on: >-
Postavené na <1> Answer </1> softvéri s otvoreným zdrojom, ktorý poháňa komunity otázok a odpovedí.<br />Vyrobené s láskou © {{cc}}.
Powered by <1> Apache Answer </1>- the open-source software that powers Q&A communities.<br />Made with love © {{cc}}.
upload_img:
name: Zmena
loading: načítavanie...
@@ -865,8 +1178,8 @@ ui:
label: Prihlasovacie meno
msg:
empty: Prihlasovacie meno nemôže byť prázdne.
range: Prihlasovacie meno nesmie mať viac ako 30 znakov.
character: 'Must use the character set "a-z", "0-9", " - . _"'
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: E-mail
msg:
@@ -963,10 +1276,10 @@ ui:
label: Poloha
placeholder: "Mesto, Krajina"
notification:
heading: Oznámenia
email: Email
heading: Email Notifications
turn_on: Turn on
inbox:
label: Email notifications
label: Inbox notifications
description: Answers to your questions, comments, invites, and more.
all_new_question:
label: All new questions
@@ -981,6 +1294,8 @@ ui:
change_email_info: >-
Na túto adresu sme poslali e-mail. Postupujte podľa pokynov na potvrdenie.
email:
label: Email
new_email:
label: New email
msg: New email cannot be empty.
pass:
@@ -1019,9 +1334,13 @@ ui:
related_question:
title: Súvisiace otázky
answers: odpovede
linked_question:
title: Linked Questions
description: Questions linked to
no_linked_question: No questions linked from this question.
invite_to_answer:
title: People Asked
desc: Invite people who you think might know the answer.
desc: Select people who you think might know the answer.
invite: Invite to answer
add: Add people
search: Search people
@@ -1031,6 +1350,7 @@ ui:
asked: opýtané
update: Aktualizované
edit: upravené
commented: commented
Views: Videné
Follow: Sledovať
Following: Sledované
@@ -1048,10 +1368,12 @@ ui:
title: Odpovede
score: Skóre
newest: Najnovšie
oldest: Oldest
btn_accept: Súhlasiť
btn_accepted: Prijaté
write_answer:
title: Vaša odpoveď
edit_answer: Edit my existing answer
btn_name: Pošlite svoju odpoveď
add_another_answer: Pridajte ďalšiu odpoveď
confirm_title: Pokračovať v odpovedi
@@ -1070,6 +1392,14 @@ ui:
confirm_btn: Reopen
title: Znovu otvoriť tento príspevok
content: Ste si istý, že ho chcete znovu otvoriť?
list:
confirm_btn: List
title: List this post
content: Are you sure you want to list?
unlist:
confirm_btn: Unlist
title: Unlist this post
content: Are you sure you want to unlist?
pin:
title: Pin this post
content: Are you sure you wish to pinned globally? This post will appear at the top of all post lists.
@@ -1091,6 +1421,9 @@ ui:
save: Uložiť
delete: Vymazať
undelete: Undelete
list: List
unlist: Unlist
unlisted: Unlisted
login: Prihlásiť sa
signup: Registrovať sa
logout: Odhlásiť sa
@@ -1114,6 +1447,21 @@ ui:
close: Close
reopen: Reopen
ok: OK
light: Light
dark: Dark
system_setting: System setting
default: Default
reset: Reset
tag: Tag
post_lowercase: post
filter: Filter
ignore: Ignore
submit: Submit
normal: Normal
closed: Closed
deleted: Deleted
pending: Pending
more: More
search:
title: Výsledky vyhľadávania
keywords: Kľúčové slová
@@ -1150,8 +1498,8 @@ ui:
account_result:
success: Váš nový účet je potvrdený; Budete presmerovaný na domovskú stránku.
link: Pokračovať na domovskú stránku
invalid: >-
Ospravedlňujeme sa, tento odkaz na potvrdenie účtu už nie je platný. Váš profil už možno je aktívny.
oops: Oops!
invalid: The link you used no longer works.
confirm_new_email: Váš e-mail bol aktualizovaný.
confirm_new_email_invalid: >-
Ospravedlňujeme sa, tento potvrdzovací odkaz už nie je platný. Váš e-mail je už môžno zmenený.
@@ -1173,7 +1521,8 @@ ui:
answers: Odpovede
newest: Najnovšie
active: Aktívne
frequent: Časté
hot: Hot
recommend: Recommend
score: Skóre
unanswered: Nezodpovedané
modified: upravené
@@ -1192,12 +1541,14 @@ ui:
reputation: Reputácia
comments: Komentáre
votes: Hlasovanie
badges: Badges
newest: Najnovšie
score: Skóre
edit_profile: Edit profile
visited_x_days: "Navštívené {{ count }} dni"
viewed: Videné
joined: Pripojené
comma: ","
last_login: Videné
about_me: O mne
about_me_empty: "// Dobrý deň, svet!"
@@ -1205,6 +1556,7 @@ ui:
top_questions: Najlepšie otázky
stats: Štatistiky
list_empty: Nenašli sa žiadne príspevky.<br />Možno by ste chceli vybrať inú kartu?
content_empty: No posts found.
accepted: Prijaté
answered: zodpovedané
asked: opýtané
@@ -1215,8 +1567,9 @@ ui:
x_votes: prijatých hlasov
x_answers: odpovede
x_questions: otázky
recent_badges: Recent Badges
install:
title: Odpoveď
title: Installation
next: Ďalšie
done: Hotový
config_yaml_error: Nie je možné vytvoriť súbor config.yaml.
@@ -1291,7 +1644,7 @@ ui:
msg:
empty: E-mail nemôže byť prázdny.
incorrect: Nesprávny formát e-mailu
ready_title: Your Answer is ready!
ready_title: Your site is ready
ready_desc: >-
Ak niekedy budete chcieť zmeniť viac nastavení, navštívte stránku <1>admin section</1>; Nájdete ju v ponuke stránok.
good_luck: "„Bavte sa a veľa šťastia!“"
@@ -1324,6 +1677,7 @@ ui:
questions: Otázky
answers: Odpovede
users: Užívatelia
badges: Badges
flags: Vlajky
settings: Nastavenia
general: Všeobecné
@@ -1347,29 +1701,53 @@ ui:
login: Login
qrcode_login_tip: Please use {{ agentName }} to scan the QR code and log in.
login_failed_email_tip: Login failed, please allow this app to access your email information before try again.
badges:
modal:
title: Congratulations
content: You've earned a new badge.
close: Close
confirm: View badges
title: Badges
awarded: Awarded
earned_×: Earned ×{{ number }}
×_awarded: "{{ number }} awarded"
can_earn_multiple: You can earn this multiple times.
earned: Earned
admin:
admin_header:
title: Administrátor
dashboard:
title: Nástenka
welcome: Vitajte v Administrátorovi odpovedí!
site_statistics: Štatistiky stránky
welcome: Welcome to Admin!
site_statistics: Site statistics
questions: "Otázky:"
answers: "Odpovede:"
comments: "Komentáre:"
votes: "Hlasy:"
active_users: "Aktívni používatelia:"
users: "Users:"
flags: "Vlajky:"
site_health_status: Site Health Status
reviews: "Reviews:"
site_health: Site health
version: "Verzia:"
https: "HTTPS:"
uploading_files: "Nahrávanie súborov:"
upload_folder: "Upload folder:"
run_mode: "Running mode:"
private: Private
public: Public
smtp: "SMTP:"
timezone: "Časové pásmo:"
system_info: Systémové informácie
system_info: System info
go_version: "Go version:"
database: "Database:"
database_size: "Database size:"
storage_used: "Použité úložisko:"
uptime: "Doba prevádzky:"
answer_links: Odkazy na odpovede
links: Links
plugins: Plugins
github: GitHub
blog: Blog
contact: Contact
forum: Forum
documents: Dokumenty
feedback: Spätná väzba
support: Podpora
@@ -1384,6 +1762,8 @@ ui:
allowed: Povolené
enabled: Povolené
disabled: Zablokované
writable: Writable
not_writable: Not writable
flags:
title: Vlajky
pending: Prebiehajúce
@@ -1407,6 +1787,22 @@ ui:
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
edit_profile_modal:
title: Edit profile
form:
fields:
display_name:
label: Display name
msg_range: Display name up to 30 characters.
username:
label: Username
msg_range: Username up to 30 characters.
email:
label: Email
msg_invalid: Invalid Email Address.
edit_success: Edited successfully
btn_cancel: Cancel
btn_submit: Submit
user_modal:
title: Add new user
form:
@@ -1418,7 +1814,7 @@ ui:
msg: "Please enter the user's email, one per line."
display_name:
label: Display name
msg: Display name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
@@ -1452,6 +1848,7 @@ ui:
filter:
placeholder: "Filter podľa mena, používateľ: ID"
set_new_password: Nastaviť nové heslo
edit_profile: Edit profile
change_status: Zmentiť stavu
change_role: Zmeniť rolu
show_logs: Zobraziť protokoly
@@ -1470,9 +1867,7 @@ ui:
content: A suspended user can't log in.
questions:
page_title: Otázky
normal: Normalne
closed: Uzatvorené
deleted: Vymazané
unlisted: Unlisted
post: poslané
votes: Hlasy
answers: Odpovede
@@ -1480,12 +1875,11 @@ ui:
status: Stav
action: Akcia
change: Zmena
pending: Pending
filter:
placeholder: "Filter podľa názvu, otázka:id"
answers:
page_title: Odpovede
normal: Normalne
deleted: Vymazané
post: Poslané
votes: Hlasy
created: Vytvorené
@@ -1518,6 +1912,9 @@ ui:
msg: Kontaktný e-mail nemôže byť prázdny.
validate: Kontaktný e-mail je neplatný.
text: E-mailová adresa kontaktu zodpovedného za túto stránku.
check_update:
label: Software updates
text: Automatically check for updates
interface:
page_title: Rozhranie
language:
@@ -1547,6 +1944,7 @@ ui:
msg: Šifrovanie nemôže byť prázdne.
text: Pre väčšinu serverov je SSL odporúčaná možnosť.
ssl: SSL
tls: TLS
none: Žiadne
smtp_port:
label: SMTP port
@@ -1594,16 +1992,22 @@ ui:
text: "Tu môžete pridať obsah zásad ochrany osobných údajov. Ak už máte dokument umiestnený inde, uveďte tu celú URL adresu."
write:
page_title: Písať
restrict_answer:
title: Answer write
label: Each user can only write one answer for each question
text: "Turn off to allow users to write multiple answers to the same question, which may cause answers to be unfocused."
recommend_tags:
label: Recommend tags
text: "Vyššie zadajte tag slug, jednu značku na riadok."
text: "Recommend tags will show in the dropdown list by default."
msg:
contain_reserved: "recommended tags cannot contain reserved tags"
required_tag:
title: Required tag
label: Nastavte odporúčanú značku podľa potreby
title: Set required tags
label: Set “Recommend tags” as required tags
text: "Každá nová otázka musí mať aspoň jedenu odporúčaciu značku."
reserved_tags:
label: Reserved tags
text: "Vyhradené štítky môže k príspevku pridať iba moderátor."
text: "Reserved tags can only be used by moderator."
seo:
page_title: SEO
permalink:
@@ -1617,11 +2021,12 @@ ui:
themes:
label: Témy
text: Vyberte existujúcu tému.
color_scheme:
label: Color scheme
navbar_style:
label: Štýl navigačnej lišty
text: Vyberte existujúcu tému.
label: Navbar style
primary_color:
label: Primárna farba
label: Primary color
text: Upraviť farby používané vašími motívmi
css_and_html:
page_title: CSS a HTML
@@ -1660,9 +2065,13 @@ ui:
title: Súkromné
label: Vyžaduje sa prihlásenie
text: Do tejto komunity majú prístup iba prihlásení používatelia
password_login:
title: Password login
label: Allow email and password login
text: "WARNING: If turn off, you may be unable to log in if you have not previously configured other login method."
installed_plugins:
title: Installed Plugins
plugin_link: Plugins extend and expand the functionality of Answer. You may find plugins in the <1>Answer Plugin Repository</1>.
plugin_link: Plugins extend and expand the functionality. You may find plugins in the <1>Plugin Repository</1>.
filter:
all: All
active: Active
@@ -1705,6 +2114,24 @@ ui:
level:
label: Reputation required level
text: Choose the reputation required for the privileges
msg:
should_be_number: the input should be number
number_larger_1: number should be equal or larger than 1
badges:
action: Action
active: Active
activate: Activate
all: All
awards: Awards
deactivate: Deactivate
filter:
placeholder: Filter by name, badge:id
group: Group
inactive: Inactive
name: Name
show_logs: Show logs
status: Status
title: Badges
form:
optional: (voliteľné)
empty: nemôže byť prázdne
@@ -1723,6 +2150,22 @@ ui:
edit_answer: Upraviť odpoveď
edit_tag: Upraviť značku
empty: Nezostali žiadne úlohy kontroly.
approve_revision_tip: Do you approve this revision?
approve_flag_tip: Do you approve this flag?
approve_post_tip: Do you approve this post?
approve_user_tip: Do you approve this user?
suggest_edits: Suggested edits
flag_post: Flag post
flag_user: Flag user
queued_post: Queued post
queued_user: Queued user
filter_label: Type
reputation: reputation
flag_post_type: Flagged this post as {{ type }}.
flag_user_type: Flagged this user as {{ type }}.
edit_post: Edit post
list_post: List post
unlist_post: Unlist post
timeline:
undeleted: zrušené zmazanie
deleted: vymazané
@@ -1773,3 +2216,6 @@ ui:
post_hide_list: This post has been hidden from list.
post_show_list: This post has been shown to list.
post_reopen: This post has been reopened.
post_list: This post has been listed.
post_unlist: This post has been unlisted.
post_pending: Your post is awaiting review. This is a preview, it will be visible after it has been approved.
+14 -11
View File
@@ -355,7 +355,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -428,7 +428,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -466,7 +466,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -612,7 +612,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -708,7 +709,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -803,7 +806,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -847,7 +850,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -891,7 +894,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -956,7 +959,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1004,7 +1007,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1120,7 +1123,7 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: display_name must be at 2 - 30 characters in length.
email:
label: Email
msg: Email is not valid.
+14 -11
View File
@@ -360,7 +360,7 @@ ui:
msg:
empty: File cannot be empty.
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
max_size: File size cannot exceed 4 MB.
desc:
label: Description (optional)
tab_url: Image URL
@@ -433,7 +433,7 @@ ui:
range: Display name up to 35 characters.
slug_name:
label: URL Slug
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
desc: URL slug up to 35 characters.
msg:
empty: URL slug cannot be empty.
range: URL slug up to 35 characters.
@@ -471,7 +471,7 @@ ui:
label: Display Name
slug_name:
label: URL Slug
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
info: URL slug up to 35 characters.
desc:
label: Description
edit_summary:
@@ -619,7 +619,8 @@ ui:
label: Name
msg:
empty: Name cannot be empty.
range: Name up to 30 characters.
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: Email
msg:
@@ -715,7 +716,9 @@ ui:
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
new_email:
label: New email
msg: New email cannot be empty.
password_title: Password
current_pass:
label: Current Password
@@ -811,7 +814,7 @@ ui:
more: More
tips:
title: Advanced Search Tips
tag: "<1>[tag]</1> search withing a tag"
tag: "<1>[tag]</1> search with a tag"
user: "<1>user:username</1> search by author"
answer: "<1>answers:0</1> unanswered questions"
score: "<1>score:3</1> posts with a 3+ score"
@@ -855,7 +858,7 @@ ui:
answers: Answers
newest: Newest
active: Active
frequent: Frequent
hot: Hot
score: Score
unanswered: Unanswered
modified: modified
@@ -899,7 +902,7 @@ ui:
x_answers: answers
x_questions: questions
install:
title: Answer
title: Installation
next: Next
done: Done
config_yaml_error: Can't create the config.yaml file.
@@ -964,7 +967,7 @@ ui:
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
ready_title: Your site is ready
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
@@ -1017,7 +1020,7 @@ ui:
title: Admin
dashboard:
title: Dashboard
welcome: Welcome to Answer Admin!
welcome: Welcome to Admin!
site_statistics: Site Statistics
questions: "Questions:"
answers: "Answers:"
@@ -1133,7 +1136,7 @@ ui:
fields:
display_name:
label: Display Name
msg: Display Name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
+1230 -392
View File
File diff suppressed because it is too large Load Diff
+2221
View File
File diff suppressed because it is too large Load Diff
+519 -73
View File
File diff suppressed because it is too large Load Diff
+1249 -803
View File
File diff suppressed because it is too large Load Diff
+1576 -1130
View File
File diff suppressed because it is too large Load Diff
+651 -205
View File
File diff suppressed because it is too large Load Diff
+504 -58
View File
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
#The following fields are used for back-end
# The following fields are used for back-end
backend:
base:
success:
@@ -29,9 +29,9 @@ backend:
database_error:
other: 資料庫錯誤。
forbidden_error:
other: Forbidden.
other: 訪問被拒絕。
duplicate_request_error:
other: Duplicate submission.
other: 提交重複。
action:
report:
other: 舉報
@@ -42,11 +42,11 @@ backend:
close:
other: 關閉
reopen:
other: Reopen
other: 再次開啟。
forbidden_error:
other: Forbidden.
other: 訪問被拒絕。
pin:
other: Pin
other: 置頂
hide:
other: Unlist
unpin:
@@ -82,6 +82,9 @@ backend:
level_3:
description:
other: Level 3 (high reputation required for mature community)
level_custom:
description:
other: Custom Level
rank_question_add_label:
other: Ask question
rank_answer_add_label:
@@ -134,15 +137,24 @@ backend:
other: 密碼
pass:
other: Password
original_text:
other: This post
email_or_password_wrong_error:
other: 電郵和密碼不匹配。
error:
common:
invalid_url:
other: Invalid URL.
status_invalid:
other: Invalid status.
password:
space_invalid:
other: Password cannot contain spaces.
admin:
cannot_update_their_password:
other: 您不能修改自己的密码。
cannot_edit_their_profile:
other: You cannot modify your profile.
cannot_modify_self_status:
other: You cannot modify your status.
email_or_password_wrong:
@@ -194,9 +206,16 @@ backend:
other: 舊密碼驗證失敗
new_password_same_as_previous_setting:
other: 新密碼與先前的一樣。
already_deleted:
other: This post has been deleted.
meta:
object_not_found:
other: Meta object not found
question:
already_deleted:
other: This post has been deleted.
under_review:
other: Your post is awaiting review. It will be visible after it has been approved.
not_found:
other: 找不到問題。
cannot_deleted:
@@ -267,6 +286,8 @@ backend:
other: 您不能修改自己的角色。
not_allowed_registration:
other: Currently the site is not open for registration.
not_allowed_login_via_password:
other: Currently the site is not allowed to login via password.
access_denied:
other: Access denied
page_access_denied:
@@ -292,6 +313,9 @@ backend:
site_info:
config_not_found:
other: Site config not found.
badge:
object_not_found:
other: Badge object not found
reason:
spam:
name:
@@ -302,7 +326,7 @@ backend:
name:
other: rude or abusive
desc:
other: A reasonable person would find this content inappropriate for respectful discourse.
other: "A reasonable person would find this content inappropriate for respectful discourse."
a_duplicate:
name:
other: a duplicate
@@ -314,7 +338,7 @@ backend:
name:
other: not an answer
desc:
other: This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit, a comment, another question, or deleted altogether.
other: "This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit, a comment, another question,or deleted altogether."
no_longer_needed:
name:
other: no longer needed
@@ -373,7 +397,7 @@ backend:
name:
other: 需要細節或明晰
desc:
other: 此問題目前涵蓋多個問題。它應該只集中在一個問題上。
other: This question currently includes multiple questions in one. It should focus on one problem only.
other:
name:
other: 其他原因
@@ -388,6 +412,13 @@ backend:
other: 修改於
deleted_title:
other: Deleted question
questions_title:
other: Questions
tag:
tags_title:
other: Tags
no_description:
other: The tag has no description.
notification:
action:
update_question:
@@ -426,6 +457,8 @@ backend:
other: upvoted comment
invited_you_to_answer:
other: invited you to answer
earned_badge:
other: You've earned the "{{.BadgeName}}" badge
email_tpl:
change_email:
title:
@@ -480,12 +513,281 @@ backend:
other: accept
accepted:
other: accepted
#The following fields are used for interface presentation(Front-end)
edit:
other: edit
review:
queued_post:
other: Queued post
flagged_post:
other: Flagged post
suggested_post_edit:
other: Suggested edits
reaction:
tooltip:
other: "{{ .Names }} and {{ .Count }} more..."
badge:
default_badges:
autobiographer:
name:
other: Autobiographer
desc:
other: Filled out <a href="{{ .ProfileURL }}" target="_blank">profile</a> information.
certified:
name:
other: Certified
desc:
other: Completed our new user tutorial.
editor:
name:
other: Editor
desc:
other: First post edit.
first_flag:
name:
other: First Flag
desc:
other: First flagged a post.
first_upvote:
name:
other: First Upvote
desc:
other: First up voted a post.
first_link:
name:
other: First Link
desc:
other: First dirst added a link to another post.
first_reaction:
name:
other: First Reaction
desc:
other: First reacted to the post.
first_share:
name:
other: First Share
desc:
other: First shared a post.
scholar:
name:
other: Scholar
desc:
other: Asked a question and accepted an answer.
commentator:
name:
other: Commentator
desc:
other: Leave 5 comments.
new_user_of_the_month:
name:
other: New User of the Month
desc:
other: Outstanding contributions in their first month.
read_guidelines:
name:
other: Read Guidelines
desc:
other: Read the [community guidelines].
reader:
name:
other: Reader
desc:
other: Read every answers in a topic with more than 10 answers.
welcome:
name:
other: Welcome
desc:
other: Received a up vote.
nice_share:
name:
other: Nice Share
desc:
other: Shared a post with 25 unique visitors.
good_share:
name:
other: Good Share
desc:
other: Shared a post with 300 unique visitors.
great_share:
name:
other: Great Share
desc:
other: Shared a post with 1000 unique visitors.
out_of_love:
name:
other: Out of Love
desc:
other: Used 50 up votes in a day.
higher_love:
name:
other: Higher Love
desc:
other: Used 50 up votes in a day 5 times.
crazy_in_love:
name:
other: Crazy in Love
desc:
other: Used 50 up votes in a day 20 times.
promoter:
name:
other: Promoter
desc:
other: Invited a user.
campaigner:
name:
other: Campaigner
desc:
other: Invited 3 basic users.
champion:
name:
other: Champion
desc:
other: Invited 5 members.
thank_you:
name:
other: Thank You
desc:
other: Has 20 up voted posts and gave 10 up votes.
gives_back:
name:
other: Gives Back
desc:
other: Has 100 up voted posts and gave 100 up votes.
empathetic:
name:
other: Empathetic
desc:
other: Has 500 up voted posts and gave 1000 up votes.
enthusiast:
name:
other: Enthusiast
desc:
other: Visited 10 consecutive days.
aficionado:
name:
other: Aficionado
desc:
other: Visited 100 consecutive days.
devotee:
name:
other: Devotee
desc:
other: Visited 365 consecutive days.
anniversary:
name:
other: Anniversary
desc:
other: Active member for a year, posted at least once.
appreciated:
name:
other: Appreciated
desc:
other: Received 1 up vote on 20 posts.
respected:
name:
other: Respected
desc:
other: Received 2 up votes on 100 posts.
admired:
name:
other: Admired
desc:
other: Received 5 up votes on 300 posts.
solved:
name:
other: Solved
desc:
other: Have an answer be accepted.
guidance_counsellor:
name:
other: Guidance Counsellor
desc:
other: Have 10 answers be accepted.
know_it_all:
name:
other: Know-it-All
desc:
other: Have 50 answers be accepted.
solution_institution:
name:
other: Solution Institution
desc:
other: Have 150 answers be accepted.
nice_answer:
name:
other: Nice Answer
desc:
other: Answer score of 10 or more.
good_answer:
name:
other: Good Answer
desc:
other: Answer score of 25 or more.
great_answer:
name:
other: Great Answer
desc:
other: Answer score of 50 or more.
nice_question:
name:
other: Nice Question
desc:
other: Question score of 10 or more.
good_question:
name:
other: Good Question
desc:
other: Question score of 25 or more.
great_question:
name:
other: Great Question
desc:
other: Question score of 50 or more.
popular_question:
name:
other: Popular Question
desc:
other: Question with 500 views.
notable_question:
name:
other: Notable Question
desc:
other: Question with 1,000 views.
famous_question:
name:
other: Famous Question
desc:
other: Question with 5,000 views.
popular_link:
name:
other: Popular Link
desc:
other: Posted an external link with 50 clicks.
hot_link:
name:
other: Hot Link
desc:
other: Posted an external link with 300 clicks.
famous_link:
name:
other: Famous Link
desc:
other: Posted an external link with 100 clicks.
default_badge_groups:
getting_started:
name:
other: Getting Started
community:
name:
other: Community
posting:
name:
other: Posting
# The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
title: 如何設定文本格式
desc: >-
<ul class="mb-0"><li><p class="mb-2">加入連結:</p><pre class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[Title](https://url.com)</code></pre></li><li><p class="mb-2">段落之間使用回车</p></li><li><p class="mb-2"><em>_斜體_</em> 或者 **<strong>粗體</strong>**</p></li><li><p class="mb-2">使用 4 個空格縮排代碼</p></li><li><p class="mb-2">在行首加入<code>&gt;</code>表示引用</p></li><li><p class="mb-2">反引號進行轉義 <code>`像 _這樣_`</code></p></li><li><p class="mb-2">使用反引號創建代碼柵欄<code>`</code></p><pre class="mb-0"><code>```<br/>這是程式碼<br/>```</code></pre></li></ul>
<ul class="mb-0"><li><p class="mb-2">link question or answer: <code>#10010000000000001</code></p></li> <li><p class="mb-2">to make links</p><pre class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[Title](https://url.com)</code></pre></li><li><p class="mb-2">put returns between paragraphs</p></li><li><p class="mb-2"><em>_italic_</em> or **<strong>bold</strong>**</p></li><li><p class="mb-2">indent code by 4 spaces</p></li><li><p class="mb-2">quote by placing <code>&gt;</code> at start of line</p></li><li><p class="mb-2">backtick escapes <code>`like _this_`</code></p></li><li><p class="mb-2">create code fences with backticks <code>`</code></p><pre class="mb-0"><code>```<br/>code here<br/>```</code></pre></li></ul>
pagination:
prev: 上一頁
next: 下一頁
@@ -520,6 +822,7 @@ ui:
http_404: HTTP 錯誤 404
http_50X: HTTP 錯誤 500
http_403: HTTP 錯誤 403
logout: Log Out
notifications:
title: 通知
inbox: 收件夾
@@ -533,6 +836,9 @@ ui:
posts: Posts
invites: Invites
votes: Votes
answer: Answer
question: Question
badge_award: Badge
suspended:
title: 您的帳號已被停權
until_time: "你的帳號被停權至{{ time }}。"
@@ -660,6 +966,8 @@ ui:
empty: 不能為空
msg:
empty: 請選擇一個原因。
not_a_url: URL format is incorrect.
url_not_match: URL origin does not match the current website.
tag_modal:
title: 創建新標籤
form:
@@ -678,6 +986,12 @@ ui:
character: URL 固定連結包含非法字元。
desc:
label: 描述
revision:
label: Revision
edit_summary:
label: Edit summary
placeholder: >-
Briefly explain your changes (corrected spelling, fixed grammar, improved formatting)
btn_cancel: 取消
btn_submit: 提交
btn_post: Post new tag
@@ -696,41 +1010,37 @@ ui:
delete:
title: 刪除標籤
tip_with_posts: >-
<p>我們不允許<strong>刪除帶有貼文的標籤</strong></p> <p>請先從該貼文中刪除此標籤。</p>
<p>We do not allow <strong>deleting tag with posts</strong>.</p> <p>Please remove this tag from the posts first.</p>
tip_with_synonyms: >-
<p>我們不允許<strong>刪除帶有同義詞的標籤</strong></p> <p>請先從該標籤中刪除同義詞。</p>
<p>We do not allow <strong>deleting tag with synonyms</strong>.</p> <p>Please remove the synonyms from this tag first.</p>
tip: 你確定要刪除嗎?
close: 關閉
edit_tag:
title: 編輯標籤
default_reason: 編輯標籤
form:
fields:
revision:
label: 編輯歷史
display_name:
label: Display name
slug_name:
label: URL slug
info: '必須由 "a-z", "0-9", "+ # - ." 組成'
desc:
label: 描述
edit_summary:
label: Edit summary
placeholder: >-
簡單描述更改原因 (錯別字、文字表達、格式等等)
default_first_reason: Add tag
btn_save_edits: 儲存更改
btn_cancel: 取消
dates:
long_date: MM月DD日
long_date_with_year: "YYYY年MM月DD日"
long_date_with_time: "YYYY年MM月DD日 HH:mm"
long_date_with_time: "YYYY 年 MM 月 DD 日 HH:mm"
now: 剛剛
x_seconds_ago: "{{count}} 秒前"
x_minutes_ago: "{{count}} 分鐘前"
x_hours_ago: "{{count}} 小時前"
hour: 小時
day:
hours: hours
days: days
reaction:
heart: heart
smile: smile
frown: frown
btn_label: add or remove reactions
undo_emoji: undo {{ emoji }} reaction
react_emoji: react with {{ emoji }}
unreact_emoji: unreact with {{ emoji }}
comment:
btn_add_comment: 添加評論
reply_to: 回復
@@ -740,7 +1050,7 @@ ui:
btn_flag: 舉報
btn_save_edits: 保存
btn_cancel: 取消
show_more: 顯示更多評論
show_more: "{{count}} 條剩餘評論"
tip_question: >-
通过評論询问更多问题或提出改進建議。避免在評論中回答問題。
tip_answer: >-
@@ -749,6 +1059,7 @@ ui:
edit_answer:
title: 編輯回答
default_reason: 編輯回答
default_first_reason: Add answer
form:
fields:
revision:
@@ -779,6 +1090,7 @@ ui:
title: 發問
edit_title: 編輯問題
default_reason: 編輯問題
default_first_reason: Add question
similar_questions: 相似的問題
form:
fields:
@@ -822,6 +1134,7 @@ ui:
question: 問題
tag: 標籤
user: 用戶
badges: Badges
profile: 用戶主頁
setting: 帳號設置
logout: 登出
@@ -833,7 +1146,7 @@ ui:
placeholder: 搜尋
footer:
build_on: >-
基於<1>Answer</1>--為問答社群提供動力的開源軟體。<br />Made with love © {{cc}}.
Powered by <1> Apache Answer </1>- the open-source software that powers Q&A communities.<br />Made with love © {{cc}}.
upload_img:
name: 更改
loading: 讀取中...
@@ -865,8 +1178,8 @@ ui:
label: 名稱
msg:
empty: 名稱不能為空
range: 名稱最多 30 個字元
character: 'Must use the character set "a-z", "0-9", " - . _"'
range: Name must be between 2 to 30 characters in length.
character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
email:
label: 郵箱
msg:
@@ -964,7 +1277,7 @@ ui:
placeholder: "城市, 國家"
notification:
heading: 通知
email: Email
turn_on: Turn on
inbox:
label: Email notifications
description: Answers to your questions, comments, invites, and more.
@@ -981,6 +1294,8 @@ ui:
change_email_info: >-
我們已經寄出一封郵件至此電子郵件地址,請遵照說明進行確認。
email:
label: Email
new_email:
label: New email
msg: New email cannot be empty.
pass:
@@ -1019,6 +1334,10 @@ ui:
related_question:
title: 相關問題
answers: 個回答
linked_question:
title: Linked Questions
description: Questions linked to
no_linked_question: No questions linked from this question.
invite_to_answer:
title: People Asked
desc: Invite people who you think might know the answer.
@@ -1031,6 +1350,7 @@ ui:
asked: 提問於
update: 修改於
edit: 最後編輯於
commented: commented
Views: 閱讀次數
Follow: 關注
Following: 已關注
@@ -1048,10 +1368,12 @@ ui:
title: 個回答
score: 評分
newest: 最新
oldest: Oldest
btn_accept: 採納
btn_accepted: 已被採納
write_answer:
title: 你的回答
edit_answer: Edit my existing answer
btn_name: 提交你的回答
add_another_answer: 添加另一個答案
confirm_title: 繼續回答
@@ -1070,6 +1392,14 @@ ui:
confirm_btn: Reopen
title: 重新打開這個貼文
content: 確定要重新打開嗎?
list:
confirm_btn: List
title: List this post
content: Are you sure you want to list?
unlist:
confirm_btn: Unlist
title: Unlist this post
content: Are you sure you want to unlist?
pin:
title: Pin this post
content: Are you sure you wish to pinned globally? This post will appear at the top of all post lists.
@@ -1091,6 +1421,9 @@ ui:
save: 儲存
delete: 刪除
undelete: Undelete
list: List
unlist: Unlist
unlisted: Unlisted
login: 登入
signup: 註冊
logout: 登出
@@ -1114,6 +1447,21 @@ ui:
close: Close
reopen: Reopen
ok: OK
light: Light
dark: Dark
system_setting: System setting
default: Default
reset: Reset
tag: Tag
post_lowercase: post
filter: Filter
ignore: Ignore
submit: Submit
normal: Normal
closed: Closed
deleted: Deleted
pending: Pending
more: More
search:
title: 搜尋結果
keywords: 關鍵詞
@@ -1150,8 +1498,8 @@ ui:
account_result:
success: 你的帳號已通過驗證,即將返回首頁。
link: 繼續訪問主頁
invalid: >-
抱歉,此驗證連結已失效。也許是你的帳號已經通過驗證了?
oops: Oops!
invalid: The link you used no longer works.
confirm_new_email: 你的電子郵箱已更新
confirm_new_email_invalid: >-
抱歉,此驗證連結已失效。也許是你的郵箱已經成功更改了?
@@ -1173,7 +1521,8 @@ ui:
answers: 回答
newest: 最新的
active: 活躍的
frequent: 瀏覽量
hot: Hot
recommend: Recommend
score: 評分
unanswered: 未回答
modified: 修改於
@@ -1192,12 +1541,14 @@ ui:
reputation: 聲望
comments: 評論
votes: 得票
badges: Badges
newest: 最新
score: 評分
edit_profile: Edit profile
visited_x_days: "已造訪 {{ count }} 天"
viewed: 閱讀次數
joined: 加入於
comma: ","
last_login: 出現時間
about_me: 關於我
about_me_empty: "// 你好, 世界 !"
@@ -1205,6 +1556,7 @@ ui:
top_questions: 熱門問題
stats: 狀態
list_empty: 沒有找到相關的內容。<br />試試看其他標籤?
content_empty: No posts found.
accepted: 已採納
answered: 回答於
asked: 提問於
@@ -1215,8 +1567,9 @@ ui:
x_votes: 得票
x_answers: 個回答
x_questions: 個問題
recent_badges: Recent Badges
install:
title: 回答
title: Installation
next: 下一步
done: 完成
config_yaml_error: 無法建立 config.yaml 檔。
@@ -1291,7 +1644,7 @@ ui:
msg:
empty: 郵箱不能為空。
incorrect: 郵箱格式不正確。
ready_title: Your Answer is ready!
ready_title: Your site is ready
ready_desc: >-
如果你想改變更多的設定,請瀏覽<1>管理員部分</1>;在網站選單中找到它。
good_luck: "玩得愉快,祝您好運!"
@@ -1324,6 +1677,7 @@ ui:
questions: 問題
answers: 回答
users: 使用者管理
badges: Badges
flags: 檢舉
settings: 設定
general: 一般
@@ -1347,29 +1701,53 @@ ui:
login: Login
qrcode_login_tip: Please use {{ agentName }} to scan the QR code and log in.
login_failed_email_tip: Login failed, please allow this app to access your email information before try again.
badges:
modal:
title: Congratulations
content: You've earned a new badge.
close: Close
confirm: View badges
title: Badges
awarded: Awarded
earned_×: Earned ×{{ number }}
×_awarded: "{{ number }} awarded"
can_earn_multiple: You can earn this multiple times.
earned: Earned
admin:
admin_header:
title: 後台管理
dashboard:
title: 後台管理
welcome: 歡迎來到 Answer 後台管理!
site_statistics: 站點統計
welcome: Welcome to Admin!
site_statistics: Site statistics
questions: "問題:"
answers: "回答:"
comments: "評論:"
votes: "投票:"
active_users: "活躍用戶:"
users: "Users:"
flags: "檢舉:"
site_health_status: '健康狀態:'
reviews: "Reviews:"
site_health: Site health
version: "版本"
https: "HTTPS:"
uploading_files: "上傳文件:"
upload_folder: "Upload folder:"
run_mode: "Running mode:"
private: Private
public: Public
smtp: "SMTP:"
timezone: "時區:"
system_info: 系統資訊
system_info: System info
go_version: "Go version:"
database: "Database:"
database_size: "Database size:"
storage_used: "已用儲存空間:"
uptime: "運行時間:"
answer_links: 回答連結
links: Links
plugins: Plugins
github: GitHub
blog: Blog
contact: Contact
forum: Forum
documents: 文件
feedback: 用戶反饋
support: 支持
@@ -1384,6 +1762,8 @@ ui:
allowed: 允許
enabled: 已啟用
disabled: 停用
writable: Writable
not_writable: Not writable
flags:
title: 檢舉
pending: 等待處理
@@ -1407,6 +1787,22 @@ ui:
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
edit_profile_modal:
title: Edit profile
form:
fields:
display_name:
label: Display name
msg_range: Display name up to 30 characters.
username:
label: Username
msg_range: Username up to 30 characters.
email:
label: Email
msg_invalid: Invalid Email Address.
edit_success: Edited successfully
btn_cancel: Cancel
btn_submit: Submit
user_modal:
title: Add new user
form:
@@ -1418,7 +1814,7 @@ ui:
msg: "Please enter the user's email, one per line."
display_name:
label: Display name
msg: Display name must be at 4-30 characters in length.
msg: Display name must be 2-30 characters in length.
email:
label: Email
msg: Email is not valid.
@@ -1452,6 +1848,7 @@ ui:
filter:
placeholder: "按名稱篩選,用戶:id"
set_new_password: 設置新密碼
edit_profile: Edit profile
change_status: 更改狀態
change_role: 更改角色
show_logs: 顯示日誌
@@ -1470,9 +1867,7 @@ ui:
content: A suspended user can't log in.
questions:
page_title: 問題
normal: 正常
closed: 已關閉
deleted: 已刪除
unlisted: Unlisted
post: 標題
votes: 得票數
answers: 回答
@@ -1480,12 +1875,11 @@ ui:
status: 狀態
action: 操作
change: 更改
pending: Pending
filter:
placeholder: "按標題過濾,問題:id"
answers:
page_title: 回答
normal: 正常
deleted: 已刪除
post: 發布
votes: 得票數
created: 創建於
@@ -1518,6 +1912,9 @@ ui:
msg: 聯絡人信箱不能為空。
validate: 聯絡人信箱無效。
text: 負責本網站的主要聯絡人的電子郵件信箱。
check_update:
label: Software updates
text: Automatically check for updates
interface:
page_title: 介面
language:
@@ -1547,6 +1944,7 @@ ui:
msg: 加密不能為空。
text: 對於大多數服務器,SSL 是推薦的選項。
ssl: SSL
tls: TLS
none:
smtp_port:
label: SMTP port
@@ -1594,16 +1992,22 @@ ui:
text: "您可以在此加入隱私政策內容。如果您已經在別處托管了文檔,請在這裡提供完整的URL。"
write:
page_title: 編輯
restrict_answer:
title: Answer write
label: Each user can only write one answer for each question
text: "Turn off to allow users to write multiple answers to the same question, which may cause answers to be unfocused."
recommend_tags:
label: Recommend tags
text: "請在上方輸入標籤固定連結,每行一個標籤。"
text: "Recommend tags will show in the dropdown list by default."
msg:
contain_reserved: "recommended tags cannot contain reserved tags"
required_tag:
title: Required tag
label: 根據需要設置推薦標籤
title: Set required tags
label: Set “Recommend tags” as required tags
text: "每個新問題必須至少有一個推薦標籤。"
reserved_tags:
label: Reserved tags
text: "保留的標籤只能由版主加入到一個貼文中。"
text: "Reserved tags can only be used by moderator."
seo:
page_title: 搜尋引擎優化
permalink:
@@ -1617,9 +2021,10 @@ ui:
themes:
label: 主題
text: 選擇一個現有主題。
color_scheme:
label: Color scheme
navbar_style:
label: 導航欄樣式
text: 選擇一個現有主題。
primary_color:
label: 主色調
text: 修改您主題使用的顏色
@@ -1660,9 +2065,13 @@ ui:
title: 非公開的
label: 需要登入
text: 只有登入使用者才能訪問這個社群。
password_login:
title: Password login
label: Allow email and password login
text: "WARNING: If turn off, you may be unable to log in if you have not previously configured other login method."
installed_plugins:
title: Installed Plugins
plugin_link: Plugins extend and expand the functionality of Answer. You may find plugins in the <1>Answer Plugin Repository</1>.
plugin_link: Plugins extend and expand the functionality. You may find plugins in the <1>Plugin Repository</1>.
filter:
all: All
active: Active
@@ -1705,6 +2114,24 @@ ui:
level:
label: Reputation required level
text: Choose the reputation required for the privileges
msg:
should_be_number: the input should be number
number_larger_1: number should be equal or larger than 1
badges:
action: Action
active: Active
activate: Activate
all: All
awards: Awards
deactivate: Deactivate
filter:
placeholder: Filter by name, badge:id
group: Group
inactive: Inactive
name: Name
show_logs: Show logs
status: Status
title: Badges
form:
optional: (選填)
empty: 不能為空
@@ -1723,6 +2150,22 @@ ui:
edit_answer: 編輯回答
edit_tag: 編輯標籤
empty: 沒有剩餘的審核任務。
approve_revision_tip: Do you approve this revision?
approve_flag_tip: Do you approve this flag?
approve_post_tip: Do you approve this post?
approve_user_tip: Do you approve this user?
suggest_edits: Suggested edits
flag_post: Flag post
flag_user: Flag user
queued_post: Queued post
queued_user: Queued user
filter_label: Type
reputation: reputation
flag_post_type: Flagged this post as {{ type }}.
flag_user_type: Flagged this user as {{ type }}.
edit_post: Edit post
list_post: List post
unlist_post: Unlist post
timeline:
undeleted: 未刪除的
deleted: 刪除
@@ -1773,3 +2216,6 @@ ui:
post_hide_list: This post has been hidden from list.
post_show_list: This post has been shown to list.
post_reopen: This post has been reopened.
post_list: This post has been listed.
post_unlist: This post has been unlisted.
post_pending: Your post is awaiting review. This is a preview, it will be visible after it has been approved.
+38
View File
@@ -21,6 +21,7 @@ package conf
import (
"bytes"
"os"
"path/filepath"
"github.com/apache/incubator-answer/internal/base/data"
@@ -42,6 +43,21 @@ type AllConfig struct {
I18n *translator.I18n `json:"i18n" mapstructure:"i18n" yaml:"i18n"`
ServiceConfig *service_config.ServiceConfig `json:"service_config" mapstructure:"service_config" yaml:"service_config"`
Swaggerui *router.SwaggerConfig `json:"swaggerui" mapstructure:"swaggerui" yaml:"swaggerui"`
UI *server.UI `json:"ui" mapstructure:"ui" yaml:"ui"`
}
type envConfigOverrides struct {
SwaggerHost string
SwaggerAddressPort string
SiteAddr string
}
func loadEnvs() (envOverrides *envConfigOverrides) {
return &envConfigOverrides{
SwaggerHost: os.Getenv("SWAGGER_HOST"),
SwaggerAddressPort: os.Getenv("SWAGGER_ADDRESS_PORT"),
SiteAddr: os.Getenv("SITE_ADDR"),
}
}
type PathIgnore struct {
@@ -59,6 +75,26 @@ type Data struct {
Cache *data.CacheConf `json:"cache" mapstructure:"cache" yaml:"cache"`
}
// SetDefault set default config
func (c *AllConfig) SetDefault() {
if c.UI == nil {
c.UI = &server.UI{}
}
}
func (c *AllConfig) SetEnvironmentOverrides() {
envs := loadEnvs()
if envs.SiteAddr != "" {
c.Server.HTTP.Addr = envs.SiteAddr
}
if envs.SwaggerHost != "" {
c.Swaggerui.Host = envs.SwaggerHost
}
if envs.SwaggerAddressPort != "" {
c.Swaggerui.Address = envs.SwaggerAddressPort
}
}
// ReadConfig read config
func ReadConfig(configFilePath string) (c *AllConfig, err error) {
if len(configFilePath) == 0 {
@@ -72,6 +108,8 @@ func ReadConfig(configFilePath string) (c *AllConfig, err error) {
if err = config.Parse(&c); err != nil {
return nil, err
}
c.SetDefault()
c.SetEnvironmentOverrides()
return c, nil
}
+5
View File
@@ -32,6 +32,9 @@ const (
AdminTokenCacheKey = "answer:admin:token:"
AdminTokenCacheTime = 7 * 24 * time.Hour
UserTokenMappingCacheKey = "answer:user-token:mapping:"
UserEmailCodeCacheKey = "answer:user:email-code:"
UserEmailCodeCacheTime = 10 * time.Minute
UserLatestEmailCodeCacheKey = "answer:user-id:email-code:"
SiteInfoCacheKey = "answer:site-info:"
SiteInfoCacheTime = 1 * time.Hour
ConfigID2KEYCacheKeyPrefix = "answer:config:id:"
@@ -47,4 +50,6 @@ const (
NewQuestionNotificationLimitMax = 50
RateLimitCacheKeyPrefix = "answer:rate-limit:"
RateLimitCacheTime = 5 * time.Minute
RedDotCacheKey = "answer:red-dot:%s:%s"
RedDotCacheTime = 30 * 24 * time.Hour
)

Some files were not shown because too many files have changed in this diff Show More