Merge branch 'main' into feat/ui-1.1.0

This commit is contained in:
haitaoo
2023-02-21 18:07:03 +08:00
106 changed files with 5030 additions and 4852 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ FROM golang:1.19-alpine AS golang-builder
LABEL maintainer="aichy@sf.com"
ARG GOPROXY
ENV GOPROXY=https://goproxy.cn,direct
ENV GOPROXY=https://goproxy.io,direct
ENV GOPATH /go
ENV GOROOT /usr/local/go
+62
View File
@@ -0,0 +1,62 @@
name: Build Dev Image
on:
push:
branches: [ "test","dev" ]
jobs:
build:
name: Build and Push
runs-on: [self-hosted,linux]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ secrets.IMG_URL }}/${{ secrets.IMG_NAMESPACE }}/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 Container Registry
uses: docker/login-action@v2
with:
registry: ${{ secrets.IMG_URL }}
username: ${{ secrets.IMG_USERNAME }}
password: ${{ secrets.IMG_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: ./.github/Dockerfile
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
sync-git:
name: Sync to Git
runs-on: [self-hosted,linux]
needs:
- build
steps:
- name: Sync to Gitlab
uses: aiworklab/git-mirror-action@master
env:
SSH_PRIVATE_KEY: ${{ secrets.GITLAB_RSA_PRIVATE_KEY }}
with:
source-repo: git@github.com:answerdev/answer.git
destination-repo: ${{ secrets.GITLAB_REPO }}
+1 -1
View File
@@ -2,7 +2,7 @@ name: Build DockerHub Image
on:
push:
branches: [ "main","githubaction","test" ]
branches: [ "main"]
tags:
- v2.*
- v1.*
+42
View File
@@ -0,0 +1,42 @@
name: Build Test
on:
push:
branches:
- 'dev'
pull_request:
branches:
- 'dev'
jobs:
node-build-test:
name: Node Build Test
runs-on: [self-hosted, linux]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-node@v3
with:
node-version: 16
- name: Test Build
run: make install-ui-packages ui
go-build-test:
name: Go Build Test
runs-on: [self-hosted, linux]
needs:
- node-build-test
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Go Test Build
run: make clean build
-24
View File
@@ -1,24 +0,0 @@
name: Go Build Test
on:
push:
branches: [ "main","githubaction","test" ]
pull_request:
branches: [ "main" ]
jobs:
go-build-test:
runs-on: [self-hosted, linux]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Go Test Build
run: make clean build
-22
View File
@@ -1,22 +0,0 @@
name: Node Build Test
on:
push:
branches: [ "main","githubaction","test"]
pull_request:
branches: [ "main" ]
jobs:
node-build-test:
runs-on: [self-hosted, linux]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-node@v3
with:
node-version: 16
- name: Test Build
run: make install-ui-packages ui
+1 -41
View File
@@ -5,48 +5,8 @@ include:
file: ".deploy-helm.yml"
stages:
- compile-html
- compile-golang
- push
- deploy-dev
"compile the html and other static files":
image: node:16
stage: compile-html
before_script:
- npm config set registry https://repo.huaweicloud.com/repository/npm/
- make install-ui-packages
script:
- make ui
artifacts:
paths:
- ./build
"compile the golang project":
image: golang:1.18
stage: compile-golang
# before_script:
# - export GOPROXY=https://goproxy.cn,direct
script:
- make build
artifacts:
paths:
- ./answer
"build docker images and push":
stage: push
# before_script:
# - export GOPROXY=https://goproxy.cn,direct
extends: .docker-build-push
only:
- test
variables:
DockerNamespace: sf_app
DockerImage: answer
DockerTag: "$CI_COMMIT_SHORT_SHA latest"
DockerfilePath: .
PushPolicy: qingcloud
"deploy-to-local-develop-environment":
stage: deploy-dev
extends: .deploy-helm
@@ -56,7 +16,7 @@ stages:
LoadBalancerIP: 10.0.10.98
KubernetesCluster: dev
KubernetesNamespace: "sf-web"
InstallArgs: --set service.loadBalancerIP=${LoadBalancerIP} --set image.tag=$CI_COMMIT_SHORT_SHA --set replicaCount=1 --set serivce.targetPort=80
InstallArgs: --set service.loadBalancerIP=${LoadBalancerIP} --set image.tag=latest --set replicaCount=1 --set serivce.targetPort=80
ChartName: answer
InstallPolicy: replace
+12 -27
View File
@@ -7,49 +7,33 @@ env:
before:
hooks:
- go mod tidy
release:
draft: true
builds:
- id: build-amd64
- id: build
main: ./cmd/answer/.
binary: answer
ldflags: -s -w -X main.Version={{.Version}} -X main.Revision={{.ShortCommit}} -X main.Time={{.Date}} -X main.BuildUser=goreleaser
flags: -v
goos:
- linux
- darwin
goarch:
- amd64
- arm64
- id: build-windows
main: ./cmd/answer/.
binary: answer
ldflags: -s -w -X main.Version={{.Version}} -X main.Revision={{.ShortCommit}} -X main.Time={{.Date}} -X main.BuildUser=goreleaser
flags: -v
goos:
- windows
goarch:
- amd64
- id: build-arm64
main: ./cmd/answer/.
binary: answer
ldflags: -s -w -X main.Version={{.Version}} -X main.Revision={{.ShortCommit}} -X main.Time={{.Date}} -X main.BuildUser=goreleaser
goos:
- linux
goarch:
- arm64
- id: build-darwin-arm64
main: ./cmd/answer/.
binary: answer
goos:
- darwin
goarch:
- arm64
ldflags: -s -w -X main.Version={{.Version}} -X main.Revision={{.ShortCommit}} -X main.Time={{.Date}} -X main.BuildUser=goreleaser
flags: -v
- id: build-darwin-amd64
main: ./cmd/answer/.
binary: answer
goos:
- darwin
goarch:
- amd64
ldflags: -s -w -X main.Version={{.Version}} -X main.Revision={{.ShortCommit}} -X main.Time={{.Date}} -X main.BuildUser=goreleaser
flags: -v
archives:
@@ -70,3 +54,4 @@ changelog:
- '^test:'
# goreleaser release --snapshot --rm-dist
+5
View File
@@ -0,0 +1,5 @@
{
"recommendations": [
"github.copilot"
]
}
+2 -2
View File
@@ -1,6 +1,6 @@
.PHONY: build clean ui
VERSION=1.0.4
VERSION=1.0.5
BIN=answer
DIR_SRC=./cmd/answer
DOCKER_CMD=docker
@@ -41,6 +41,6 @@ install-ui-packages:
@corepack prepare pnpm@v7.12.2 --activate
ui:
@cd ui && pnpm install && pnpm build && sed -i 's/%AnswerVersion%/'$(VERSION)'/g' ./build/index.html && cd -
@cd ui && pnpm install && pnpm build && cd -
all: clean build
+25 -1
View File
@@ -1,4 +1,4 @@
version: "3"
version: "3.9"
# uffizzi integration
x-uffizzi:
@@ -10,8 +10,27 @@ 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:
@@ -24,6 +43,11 @@ services:
- 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:
+35
View File
@@ -4040,6 +4040,38 @@ const docTemplate = `{
}
}
},
"/answer/api/v1/tags": {
"get": {
"description": "get tags list",
"produces": [
"application/json"
],
"tags": [
"Tag"
],
"summary": "get tags list",
"parameters": [
{
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "csv",
"description": "string collection",
"name": "tags",
"in": "query"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/handler.RespBody"
}
}
}
}
},
"/answer/api/v1/tags/following": {
"get": {
"security": [
@@ -7141,6 +7173,9 @@ const docTemplate = `{
},
"theme": {
"$ref": "#/definitions/schema.SiteThemeResp"
},
"version": {
"type": "string"
}
}
},
+35
View File
@@ -4028,6 +4028,38 @@
}
}
},
"/answer/api/v1/tags": {
"get": {
"description": "get tags list",
"produces": [
"application/json"
],
"tags": [
"Tag"
],
"summary": "get tags list",
"parameters": [
{
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "csv",
"description": "string collection",
"name": "tags",
"in": "query"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/handler.RespBody"
}
}
}
}
},
"/answer/api/v1/tags/following": {
"get": {
"security": [
@@ -7129,6 +7161,9 @@
},
"theme": {
"$ref": "#/definitions/schema.SiteThemeResp"
},
"version": {
"type": "string"
}
}
},
+23
View File
@@ -1335,6 +1335,8 @@ definitions:
$ref: '#/definitions/schema.SiteSeoReq'
theme:
$ref: '#/definitions/schema.SiteThemeResp'
version:
type: string
type: object
schema.SiteInterfaceReq:
properties:
@@ -4351,6 +4353,27 @@ paths:
summary: get tag synonyms
tags:
- Tag
/answer/api/v1/tags:
get:
description: get tags list
parameters:
- collectionFormat: csv
description: string collection
in: query
items:
type: string
name: tags
type: array
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/handler.RespBody'
summary: get tags list
tags:
- Tag
/answer/api/v1/tags/following:
get:
description: get following tag list
+3 -4
View File
@@ -38,6 +38,7 @@ require (
github.com/swaggo/files v0.0.0-20220728132757-551d4a08d97a
github.com/swaggo/gin-swagger v1.5.3
github.com/swaggo/swag v1.8.7
github.com/tidwall/gjson v1.14.4
github.com/yuin/goldmark v1.4.13
golang.org/x/crypto v0.1.0
golang.org/x/net v0.1.0
@@ -109,6 +110,8 @@ require (
github.com/spf13/viper v1.13.0 // indirect
github.com/subosito/gotenv v1.4.1 // 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/ugorji/go/codec v1.2.7 // indirect
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
@@ -136,7 +139,3 @@ require (
modernc.org/token v1.0.0 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)
// github action runner Sometimes it will time out.
replace gitee.com/travelliu/dm v1.8.11192 => github.com/aichy126/dm v1.8.11192
replace modernc.org/z v1.2.19 => github.com/aichy126/modernc.org_z v1.2.19
+7 -1
View File
@@ -38,6 +38,7 @@ cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3f
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
gitea.com/xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a h1:lSA0F4e9A2NcQSqGqTOXqu2aRi/XEQxDCBwM8yJtE6s=
gitea.com/xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a/go.mod h1:EXuID2Zs0pAQhH8yz+DNjUbjppKQzKFAn28TMYPB6IU=
gitee.com/travelliu/dm v1.8.11192/go.mod h1:DHTzyhCrM843x9VdKVbZ+GKXGRbKM2sJ4LxihRxShkE=
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 h1:w+iIsaOQNcT7OZ575w+acHgRric5iCyQh+xv+KJ4HB8=
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
@@ -63,7 +64,6 @@ github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMx
github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g=
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c=
github.com/agiledragon/gomonkey/v2 v2.3.1/go.mod h1:ap1AmDzcVOAz1YpeJ3TCzIgstoaWLA6jbbgxfB4w2iY=
github.com/aichy126/dm v1.8.11192/go.mod h1:DHTzyhCrM843x9VdKVbZ+GKXGRbKM2sJ4LxihRxShkE=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
@@ -678,6 +678,12 @@ github.com/swaggo/swag v1.8.7/go.mod h1:ezQVUUhly8dludpVk+/PuwJWvLLanB13ygV5Pr9e
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
github.com/syndtr/goleveldb v1.0.0 h1:fBdIW9lB4Iz0n9khmH8w27SJ3QEJ7+IgjPEwGSZiFdE=
github.com/syndtr/goleveldb v1.0.0/go.mod h1:ZVVdQEZoIme9iO1Ch2Jdy24qqXrMMOU6lpPAyBWyWuQ=
github.com/tidwall/gjson v1.14.4 h1:uo0p8EbA09J7RQaflQ1aBRffTR7xedD2bcIVSYxLnkM=
github.com/tidwall/gjson v1.14.4/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=
github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM=
github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs=
github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw=
github.com/ugorji/go v1.2.7/go.mod h1:nF9osbDWLy6bDVv/Rtoh6QgnvNDpmCalQV5urGCCS6M=
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+1 -1
View File
@@ -435,7 +435,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
+1 -1
View File
@@ -435,7 +435,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
+1 -1
View File
@@ -435,7 +435,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
+1 -1
View File
@@ -435,7 +435,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
+1 -1
View File
@@ -435,7 +435,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Erfolgreich."
other: Erfolgreich.
unknown:
other: "Unbekannter Fehler."
other: Unbekannter Fehler.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Nicht autorisiert."
other: Nicht autorisiert.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "Nutzer"
other: Nutzer
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Standard ohne speziellen Zugriff."
other: Standard ohne speziellen Zugriff.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Hat Zugriff auf alle Beiträge außer Admin-Einstellungen."
other: Hat Zugriff auf alle Beiträge außer Admin-Einstellungen.
email:
other: "E-Mail"
other: E-Mail
password:
other: "Passwort"
other: Passwort
email_or_password_wrong_error:
other: "E-Mail und Password stimmen nicht überein."
other: E-Mail und Password stimmen nicht überein.
error:
admin:
email_or_password_wrong:
other: E-Mail und Password stimmen nicht überein.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "Keine Berechtigung zum Löschen."
other: Keine Berechtigung zum Löschen.
cannot_update:
other: "Keine Berechtigung zum Aktualisieren."
other: Keine Berechtigung zum Aktualisieren.
comment:
edit_without_permission:
other: "Kommentar kann nicht bearbeitet werden."
other: Kommentar kann nicht bearbeitet werden.
not_found:
other: "Kommentar wurde nicht gefunden."
other: Kommentar wurde nicht gefunden.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "E-Mail existiert bereits."
other: E-Mail existiert bereits.
need_to_be_verified:
other: "E-Mail muss überprüft werden."
other: E-Mail muss überprüft werden.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Sprachdatei nicht gefunden."
other: Sprachdatei nicht gefunden.
object:
captcha_verification_failed:
other: "Captcha ist falsch."
other: Captcha ist falsch.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verifizierung fehlgeschlagen."
other: Verifizierung fehlgeschlagen.
email_or_password_incorrect:
other: "E-Mail und Password stimmen nicht überein."
other: E-Mail und Password stimmen nicht überein.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "Das neue Passwort ist das gleiche wie das vorherige Passwort."
other: Das neue Passwort ist das gleiche wie das vorherige Passwort.
question:
not_found:
other: "Frage nicht gefunden."
other: Frage nicht gefunden.
cannot_deleted:
other: "Keine Berechtigung zum Löschen."
other: Keine Berechtigung zum Löschen.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "Keine Berechtigung zum Aktualisieren."
other: Keine Berechtigung zum Aktualisieren.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Schlagwort nicht gefunden."
other: Schlagwort nicht gefunden.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "Diese Frage ist bereits gestellt worden und hat bereits eine Antwort."
other: Diese Frage ist bereits gestellt worden und hat bereits eine Antwort.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+27 -27
View File
@@ -108,6 +108,8 @@ backend:
other: Should not contain synonym tags.
cannot_update:
other: No permission to update.
is_used_cannot_delete:
other: "You cannot delete a tag that is in use"
cannot_set_synonym_as_itself:
other: You cannot set the synonym of the current tag as itself.
smtp:
@@ -325,7 +327,7 @@ ui:
msg:
empty: Code cannot be empty.
language:
label: Language (optional)
label: Language
placeholder: Automatic detection
btn_cancel: Cancel
btn_confirm: Add
@@ -361,7 +363,7 @@ ui:
only_image: Only image files are allowed.
max_size: File size cannot exceed 4MB.
desc:
label: Description (optional)
label: Description
tab_url: Image URL
form_url:
fields:
@@ -370,7 +372,7 @@ ui:
msg:
empty: Image URL cannot be empty.
name:
label: Description (optional)
label: Description
btn_cancel: Cancel
btn_confirm: Add
uploading: Uploading
@@ -390,7 +392,7 @@ ui:
msg:
empty: URL cannot be empty.
name:
label: Description (optional)
label: Description
btn_cancel: Cancel
btn_confirm: Add
ordered_list:
@@ -438,7 +440,7 @@ ui:
range: URL slug up to 35 characters.
character: URL slug contains unallowed character set.
desc:
label: Description (optional)
label: Description
btn_cancel: Cancel
btn_submit: Submit
tag_info:
@@ -455,10 +457,13 @@ ui:
synonyms_text: The following tags will be remapped to
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag
from the posts first.</p>
content2: Are you sure you wish to delete?
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>
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>
tip: Are you sure you wish to delete?
close: Close
edit_tag:
title: Edit Tag
@@ -716,13 +721,13 @@ ui:
default: System
msg: Please upload an avatar
bio:
label: About Me (optional)
label: About Me
website:
label: Website (optional)
label: Website
placeholder: "https://example.com"
msg: Website incorrect format
location:
label: Location (optional)
label: Location
placeholder: "City, Country"
notification:
heading: Notifications
@@ -1234,11 +1239,11 @@ ui:
validate: Please enter a valid URL.
text: The address of your site.
short_desc:
label: Short Site Description (optional)
label: Short Site Description
msg: Short site description cannot be empty.
text: "Short description, as used in the title tag on homepage."
desc:
label: Site Description (optional)
label: Site Description
msg: Site description cannot be empty.
text: "Describe this site in one sentence, as used in the meta description tag."
contact_email:
@@ -1248,14 +1253,6 @@ ui:
text: Email address of key contact responsible for this site.
interface:
page_title: Interface
logo:
label: Logo (optional)
msg: Site logo cannot be empty.
text: You can upload your image or <1>reset</1> it to the site title text.
theme:
label: Theme
msg: Theme cannot be empty.
text: Select an existing theme.
language:
label: Interface Language
msg: Interface language cannot be empty.
@@ -1307,18 +1304,18 @@ ui:
branding:
page_title: Branding
logo:
label: Logo (optional)
label: Logo
msg: Logo cannot be empty.
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
label: Mobile Logo
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
label: Square Icon
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
label: Favicon
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
@@ -1403,6 +1400,7 @@ ui:
form:
optional: (optional)
empty: cannot be empty
invalid: is invalid
btn_submit: Save
@@ -1454,5 +1452,7 @@ ui:
staffs: Our community staff
reputation: reputation
votes: votes
prompt:
leave_page: "Are you sure you want to leave the page?"
changes_not_save: "Your changes may not be saved."
+126 -113
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Completado."
other: Completado.
unknown:
other: "Error desconocido."
other: Error desconocido.
request_format_error:
other: "Formato de la solicitud inválido."
other: Formato de la solicitud inválido.
unauthorized_error:
other: "No autorizado."
other: No autorizado.
database_error:
other: "Error en el servidor de datos."
other: Error en el servidor de datos.
role:
name:
user:
other: "Usuario"
other: Usuario
admin:
other: "Administrador"
other: Administrador
moderator:
other: "Moderador"
other: Moderador
description:
user:
other: "Predeterminado sin acceso especial."
other: Predeterminado sin acceso especial.
admin:
other: "Dispone de acceso total al sitio web y sus ajustes."
other: Dispone de acceso total al sitio web y sus ajustes.
moderator:
other: "Dispone de acceso a todas las publicaciones pero no a los ajustes de administrador."
other: Dispone de acceso a todas las publicaciones pero no a los ajustes de administrador.
email:
other: "Correo electrónico"
other: Correo electrónico
password:
other: "Contraseña"
other: Contraseña
email_or_password_wrong_error:
other: "Contraseña o correo incorrecto."
other: Contraseña o correo incorrecto.
error:
admin:
email_or_password_wrong:
other: Contraseña o correo incorrecto.
answer:
not_found:
other: "Respuesta no encontrada."
other: Respuesta no encontrada.
cannot_deleted:
other: "Sin permiso para eliminar."
other: Sin permiso para eliminar.
cannot_update:
other: "Sin permiso para actualizar."
other: Sin permiso para actualizar.
comment:
edit_without_permission:
other: "Edición del comentario no permitida."
other: Edición del comentario no permitida.
not_found:
other: "Comentario no encontrado."
other: Comentario no encontrado.
cannot_edit_after_deadline:
other: El tiempo del comentario ha sido demasiado largo para modificarlo.
email:
duplicate:
other: "Correo electrónico ya en uso."
other: Correo electrónico ya en uso.
need_to_be_verified:
other: "El correo debe ser verificado."
other: El correo debe ser verificado.
verify_url_expired:
other: "La URL de verificación del correo electrónico ha caducado. Por favor, vuelva a enviar el correo."
other: La URL verificada del correo electrónico ha caducado. Por favor, vuelva a enviar el correo electrónico.
lang:
not_found:
other: "Archivo de idioma no encontrado."
other: Archivo de idioma no encontrado.
object:
captcha_verification_failed:
other: "Captcha fallido."
other: Captcha fallido.
disallow_follow:
other: "No dispones de permiso para seguir."
other: No dispones de permiso para seguir.
disallow_vote:
other: "No dispones de permiso para votar."
other: No dispones de permiso para votar.
disallow_vote_your_self:
other: "No puedes votar a tu propia publicación."
other: No puedes votar a tu propia publicación.
not_found:
other: "Objeto no encontrado."
other: Objeto no encontrado.
verification_failed:
other: "Verificación fallida."
other: Verificación fallida.
email_or_password_incorrect:
other: "Contraseña o correo incorrecto."
other: Contraseña o correo incorrecto.
old_password_verification_failed:
other: "La verificación de la contraseña antigua falló"
other: La verificación de la contraseña antigua falló
new_password_same_as_previous_setting:
other: "La nueva contraseña es igual a la anterior."
other: La nueva contraseña es igual a la anterior.
question:
not_found:
other: "Pregunta no encontrada."
other: Pregunta no encontrada.
cannot_deleted:
other: "Sin permiso para eliminar."
other: Sin permiso para eliminar.
cannot_close:
other: "Sin permiso para cerrar."
other: Sin permiso para cerrar.
cannot_update:
other: "Sin permiso para actualizar."
other: Sin permiso para actualizar.
rank:
fail_to_meet_the_condition:
other: "El rango no cumple la condición."
other: El rango no cumple la condición.
report:
handle_failed:
other: "Error en el manejador del reporte."
other: Error en el manejador del reporte.
not_found:
other: "Informe no encontrado."
other: Informe no encontrado.
tag:
not_found:
other: "Etiqueta no encontrada."
other: Etiqueta no encontrada.
recommend_tag_not_found:
other: "Etiqueta recomendada no existe."
other: Etiqueta recomendada no existe.
recommend_tag_enter:
other: "Por favor, introduce al menos una de las etiquetas requeridas."
other: Por favor, introduce al menos una de las etiquetas requeridas.
not_contain_synonym_tags:
other: "No debe contener etiquetas sinónimas."
other: No debe contener etiquetas sinónimas.
cannot_update:
other: "Sin permiso para actualizar."
other: Sin permiso para actualizar.
cannot_set_synonym_as_itself:
other: "No se puede establecer como sinónimo de una etiqueta la propia etiqueta."
other: No se puede establecer como sinónimo de una etiqueta la propia etiqueta.
smtp:
config_from_name_cannot_be_email:
other: "¡Su nombre de usuario no puede ser una dirección de correo electrónico!"
other: '¡Su nombre de usuario no puede ser una dirección de correo electrónico!'
theme:
not_found:
other: "Tema no encontrado."
other: Tema no encontrado.
revision:
review_underway:
other: "No se puede editar actualmente, hay una versión en la cola de revisiones."
other: No se puede editar actualmente, hay una versión en la cola de revisiones.
no_permission:
other: "Sin permiso para revisar."
other: Sin permiso para revisar.
user:
email_or_password_wrong:
other:
other: Contraseña o correo incorrecto.
not_found:
other: "Usuario no encontrado."
other: Usuario no encontrado.
suspended:
other: "El usuario ha sido suspendido."
other: El usuario ha sido suspendido.
username_invalid:
other: "Nombre de usuario no válido."
other: Nombre de usuario no válido.
username_duplicate:
other: "El nombre de usuario ya está en uso."
other: El nombre de usuario ya está en uso.
set_avatar:
other: "Fallo al actualizar el avatar."
other: Fallo al actualizar el avatar.
cannot_update_your_role:
other: "No puedes modificar tu propio rol."
other: No puedes modificar tu propio rol.
not_allowed_registration:
other: "Actualmente el sitio no acepta registros"
other: Actualmente el sitio no acepta registros
config:
read_config_failed:
other: "Lectura de configuración fallida"
other: Lectura de configuración fallida
database:
connection_failed:
other: "Conexión a la base de datos fallida"
other: Conexión a la base de datos fallida
create_table_failed:
other: "Creación de tabla fallida"
other: Creación de tabla fallida
install:
create_config_failed:
other: "No es posible crear el archivo config.yaml."
other: No es posible crear el archivo config.yaml.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "Esta publicación es un anuncio o vandalismo. No es útil ni relevante para el tema actual."
other: Esta publicación es un anuncio o vandalismo. No es útil ni relevante para el tema actual.
rude:
name:
other: "grosero o abusivo"
other: grosero o abusivo
desc:
other: "Una persona con juicio encontraría este contenido inapropiado para un discurso respuetuoso."
other: Una persona con juicio encontraría este contenido inapropiado para un discurso respuetuoso.
duplicate:
name:
other: "duplicado"
other: duplicado
desc:
other: "La pregunta ya ha sido preguntada y resuelta previamente."
other: La pregunta ya ha sido preguntada y resuelta previamente.
not_answer:
name:
other: "no una respuesta"
other: no una respuesta
desc:
other: "Esto fue publicado como una respuesta, pero no intenta responder a la pregunta. Posiblemente debería de ser una edición, un comentario, otra pregunta o directamente eliminado totalmente."
other: Esto fue publicado como una respuesta, pero no intenta responder a la pregunta. Posiblemente debería de ser una edición, un comentario, otra pregunta o directamente eliminado totalmente.
not_need:
name:
other: "ya no necesario"
other: ya no necesario
desc:
other: "El comentario está desactualizado, es altamente controvertido o ya no relevante para esta publicación."
other: El comentario está desactualizado, es altamente controvertido o ya no relevante para esta publicación.
other:
name:
other: "otra razón"
other: otra razón
desc:
other: "Esta publicación requiere revisión por parte del gestor del sitio por alguna razón diferente a las anteriores."
other: Esta publicación requiere revisión por parte del gestor del sitio por alguna razón diferente a las anteriores.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "La pregunta ya ha sido preguntada y resuelta previamente."
other: La pregunta ya ha sido preguntada y resuelta previamente.
guideline:
name:
other: "razón específica de la comunidad"
other: razón específica de la comunidad
desc:
other: "Esta pregunta infringe alguna norma de la comunidad."
other: Esta pregunta infringe alguna norma de la comunidad.
multiple:
name:
other: "necesita más detalles o aclaraciónes"
other: necesita más detalles o aclaraciónes
desc:
other: "Esta pregunta incluye múltiples preguntas en una. Debería centrarse en un único problema/pregunta."
other: Esta pregunta incluye múltiples preguntas en una. Debería centrarse en un único problema/pregunta.
other:
name:
other: "otra razón"
other: otra razón
desc:
other: "Esta publicación requiere revisión por parte del gestor del sitio por alguna razón diferente a las anteriores."
other: Esta publicación requiere otra razón no listada arriba.
operation_type:
asked:
other: "preguntada"
other: preguntada
answered:
other: "respondida"
other: respondida
modified:
other: "modificada"
other: modificada
notification:
action:
update_question:
other: "pregunta actualizada"
other: pregunta actualizada
answer_the_question:
other: "pregunta respondidas"
other: pregunta respondidas
update_answer:
other: "respuesta actualizada"
other: respuesta actualizada
accept_answer:
other: "respuesta aceptada"
other: respuesta aceptada
comment_question:
other: "pregunta comentada"
other: pregunta comentada
comment_answer:
other: "respuesta comentada"
other: respuesta comentada
reply_to_you:
other: "te ha respondido"
other: te ha respondido
mention_you:
other: "te ha mencionado"
other: te ha mencionado
your_question_is_closed:
other: "Tu pregunta ha sido cerrada"
other: Tu pregunta ha sido cerrada
your_question_was_deleted:
other: "Tu pregunta ha sido eliminada"
other: Tu pregunta ha sido eliminada
your_answer_was_deleted:
other: "Tu respuesta ha sido eliminada"
other: Tu respuesta ha sido eliminada
your_comment_was_deleted:
other: "Tu comentario ha sido eliminado"
other: Tu comentario ha sido eliminado
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -357,7 +362,7 @@ ui:
label: Archivo de imagen
btn: Seleccionar imagen
msg:
empty: Archivo de imagen es necesario.
empty: El título no puede estar vacío.
only_image: Solo se permiten archivos de imagen.
max_size: El tamaño del archivo no puede superar 4MB.
desc:
@@ -410,7 +415,7 @@ ui:
msg:
empty: Por favor selecciona una razón.
report_modal:
flag_title: Estoy marcando este post como...
flag_title: Estoy marcando para reportar este post de...
close_title: Estoy cerrando este post como...
review_question_title: Revisar pregunta
review_answer_title: Revisar respuesta
@@ -434,8 +439,8 @@ ui:
label: URL amigable
desc: 'Debe usar el conjunto de caracteres "a-z", "0-9", "+ # - ."'
msg:
empty: La URL amigable no puede estar vacía.
range: URL amigable de hasta 35 caracteres.
empty: URL no puede estar vacío.
range: URL slug hasta 35 caracteres.
character: La URL amigable contiene caracteres no permitidos.
desc:
label: Descripción (opcional)
@@ -498,7 +503,7 @@ ui:
btn_flag: Reportar
btn_save_edits: Guardar cambios
btn_cancel: Cancelar
show_more: Ver más comentarios
show_more: Mostrar más comentarios
tip_question: >-
Utiliza los comentarios para pedir más información o sugerir mejoras y modificaciones. Evita responder preguntas en los comentarios.
tip_answer: >-
@@ -512,6 +517,8 @@ ui:
label: Revisión
answer:
label: Respuesta
feedback:
characters: El contenido debe tener al menos 6 caracteres.
edit_summary:
label: Editar resumen
placeholder: >-
@@ -636,7 +643,7 @@ ui:
msg:
empty: El correo electrónico no puede estar vacío.
change_email:
page_title: Bienvenido a Answer
page_title: Bienvenido a {{site_name}}
btn_cancel: Cancelar
btn_update: Actualizar dirección de correo
send_success: >-
@@ -674,12 +681,12 @@ ui:
display_name:
label: Nombre a mostrar
msg: El nombre a mostrar no puede estar vacío.
msg_range: Nombre a mostrar hasta 30 caracteres
msg_range: Display name up to 30 characters.
username:
label: Nombre de usuario
caption: La gente puede mencionarte con "@nombredeusuario".
msg: El nombre de usuario no puede estar vacío.
msg_range: Nombre de usuario hasta 30 caracteres
msg_range: Username up to 30 characters.
character: 'Debe usar el conjunto de caracteres "a-z", "0-9", " - . _"'
avatar:
label: Imagen de perfil
@@ -765,6 +772,7 @@ ui:
confirm_info: >-
<p>¿Seguro que quieres añadir otra respuesta?</p><p>Puedes utilizar el enlace de edición para detallar y mejorar tu respuesta existente en su lugar.</p>
empty: La respuesta no puede estar vacía.
characters: content must be at least 6 characters in length.
reopen:
title: Reabrir esta publicación
content: '¿Seguro que quieres reabrir esta publicación?'
@@ -829,7 +837,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Bienvenido a Answer
page_title: Welcome to {{site_name}}
success: Tu nueva cuenta ha sido confirmada, serás redirigido a la página de inicio.
link: Continuar a la página de inicio
invalid: >-
@@ -840,7 +848,7 @@ ui:
unsubscribe:
page_title: Desuscribir
success_title: Desuscrito con éxito
success_desc: Has sido eliminado con éxito de esta lista de suscriptores y no recibirás más correos electrónicos nuestros.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Cambiar ajustes
question:
following_tags: Etiquetas seguidas
@@ -902,7 +910,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -932,7 +940,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -978,6 +986,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -985,7 +998,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1119,7 +1132,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1128,13 +1141,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1253,14 +1266,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+117 -104
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Succès."
other: Succès.
unknown:
other: "Erreur inconnue."
other: Erreur inconnue.
request_format_error:
other: "Format de fichier incorrect."
other: Format de fichier incorrect.
unauthorized_error:
other: "Non autorisé."
other: Non autorisé.
database_error:
other: "Erreur du serveur de données."
other: Erreur du serveur de données.
role:
name:
user:
other: "Utilisateur"
other: Utilisateur
admin:
other: "Admin"
other: Admin
moderator:
other: "Modérateur"
other: Modérateur
description:
user:
other: "Par défaut, sans accès spécial."
other: Par défaut, sans accès spécial.
admin:
other: "Possède tous les droits pour accéder au site."
other: Possède tous les droits pour accéder au site.
moderator:
other: "Possède les accès à tous les messages sauf aux paramètres d'administration."
other: Possède les accès à tous les messages sauf aux paramètres d'administration.
email:
other: "Email"
other: Email
password:
other: "Mot de passe"
other: Mot de passe
email_or_password_wrong_error:
other: "L'email et le mot de passe ne correspondent pas."
other: L'email et le mot de passe ne correspondent pas.
error:
admin:
email_or_password_wrong:
other: L'email et le mot de passe ne correspondent pas.
answer:
not_found:
other: "Réponse introuvable."
other: Réponse introuvable.
cannot_deleted:
other: "Pas de permission pour supprimer."
other: Pas de permission pour supprimer.
cannot_update:
other: "Pas de permission pour mettre à jour."
other: Pas de permission pour mettre à jour.
comment:
edit_without_permission:
other: "Les commentaires ne sont pas autorisés à être modifiés."
other: Les commentaires ne sont pas autorisés à être modifiés.
not_found:
other: "Commentaire non trouvé."
other: Commentaire non trouvé.
cannot_edit_after_deadline:
other: Le commentaire a été posté il y a trop longtemps pour être modifié.
email:
duplicate:
other: "L'adresse e-mail existe déjà."
other: L'adresse e-mail existe déjà.
need_to_be_verified:
other: "L'adresse e-mail doit être vérifiée."
other: L'adresse e-mail doit être vérifiée.
verify_url_expired:
other: "L'URL de vérification de l'email a expiré, veuillez renvoyer l'email."
other: L'URL de vérification de l'email a expiré, veuillez renvoyer l'email.
lang:
not_found:
other: "Fichier de langue non trouvé."
other: Fichier de langue non trouvé.
object:
captcha_verification_failed:
other: "Le Captcha est incorrect."
other: Le Captcha est incorrect.
disallow_follow:
other: "Vous n’êtes pas autorisé à suivre."
other: Vous n’êtes pas autorisé à suivre.
disallow_vote:
other: "Vous n’êtes pas autorisé à voter."
other: Vous n’êtes pas autorisé à voter.
disallow_vote_your_self:
other: "Vous ne pouvez pas voter pour votre propre message."
other: Vous ne pouvez pas voter pour votre propre message.
not_found:
other: "Objet non trouvé."
other: Objet non trouvé.
verification_failed:
other: "La vérification a échoué."
other: La vérification a échoué.
email_or_password_incorrect:
other: "L'e-mail et le mot de passe ne correspondent pas."
other: L'e-mail et le mot de passe ne correspondent pas.
old_password_verification_failed:
other: "La vérification de l'ancien mot de passe a échoué"
other: La vérification de l'ancien mot de passe a échoué
new_password_same_as_previous_setting:
other: "Le nouveau mot de passe est le même que le précédent."
other: Le nouveau mot de passe est le même que le précédent.
question:
not_found:
other: "Question non trouvée."
other: Question non trouvée.
cannot_deleted:
other: "Pas de permission pour supprimer."
other: Pas de permission pour supprimer.
cannot_close:
other: "Pas de permission pour fermer."
other: Pas de permission pour fermer.
cannot_update:
other: "Pas de permission pour mettre à jour."
other: Pas de permission pour mettre à jour.
rank:
fail_to_meet_the_condition:
other: "Le rang ne remplit pas la condition."
other: Le rang ne remplit pas la condition.
report:
handle_failed:
other: "La gestion du rapport a échoué."
other: La gestion du rapport a échoué.
not_found:
other: "Rapport non trouvé."
other: Rapport non trouvé.
tag:
not_found:
other: "Tag non trouvé."
other: Tag non trouvé.
recommend_tag_not_found:
other: "Le tag de recommandation n'existe pas."
other: Le tag de recommandation n'existe pas.
recommend_tag_enter:
other: "Veuillez entrer au moins un des tags requis."
other: Veuillez saisir au moins un tag.
not_contain_synonym_tags:
other: "Ne dois pas contenir de tags synonymes."
other: Ne dois pas contenir de tags synonymes.
cannot_update:
other: "Pas de permission pour mettre à jour."
other: Pas de permission pour mettre à jour.
cannot_set_synonym_as_itself:
other: "Vous ne pouvez pas définir le synonyme de la balise actuelle comme elle-même."
other: Vous ne pouvez pas définir le synonyme de la balise actuelle comme elle-même.
smtp:
config_from_name_cannot_be_email:
other: "Le nom d'expéditeur ne peut pas être une adresse e-mail."
other: Le nom d'expéditeur ne peut pas être une adresse e-mail.
theme:
not_found:
other: "Thème non trouvé."
other: Thème non trouvé.
revision:
review_underway:
other: "Impossible d'éditer actuellement, il y a une version dans la file d'attente des revues."
other: Impossible d'éditer actuellement, il y a une version dans la file d'attente des revues.
no_permission:
other: "Vous n'êtes pas autorisé à Vérifier."
other: Vous n'êtes pas autorisé à Vérifier.
user:
email_or_password_wrong:
other:
other: L'email et le mot de passe ne correspondent pas.
not_found:
other: "Utilisateur non trouvé."
other: Utilisateur non trouvé.
suspended:
other: "L'utilisateur a été suspendu."
other: L'utilisateur a été suspendu.
username_invalid:
other: "Le nom d'utilisateur est invalide."
other: Le nom d'utilisateur est invalide.
username_duplicate:
other: "Nom d'utilisateur déjà utilisé."
other: Nom d'utilisateur déjà utilisé.
set_avatar:
other: "La configuration de l'avatar a échoué."
other: La configuration de l'avatar a échoué.
cannot_update_your_role:
other: "Vous ne pouvez pas modifier votre rôle."
other: Vous ne pouvez pas modifier votre rôle.
not_allowed_registration:
other: "Actuellement, le site n'est pas ouvert aux inscriptions"
other: Actuellement, le site n'est pas ouvert aux inscriptions
config:
read_config_failed:
other: "La lecture de la configuration a échoué"
other: La lecture de la configuration a échoué
database:
connection_failed:
other: "La connexion à la base de données a échoué"
other: La connexion à la base de données a échoué
create_table_failed:
other: "La création de la table a échoué"
other: La création de la table a échoué
install:
create_config_failed:
other: "Impossible de créer le fichier config.yaml."
other: Impossible de créer le fichier config.yaml.
upload:
unsupported_file_format:
other: Format de fichier non supporté.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "Ce message est une publicité ou un vandalisme. Il n'est pas utile ou pertinent pour le sujet actuel."
other: Ce message est une publicité ou un vandalisme. Il n'est pas utile ou pertinent pour le sujet actuel.
rude:
name:
other: "grossier ou abusif"
other: grossier ou abusif
desc:
other: "Une personne raisonnable jugerait que ce contenu est inapproprié pour un discours respectueux."
other: Une personne raisonnable jugerait que ce contenu est inapproprié pour un discours respectueux.
duplicate:
name:
other: "doublon"
other: doublon
desc:
other: "Cette question a déjà été posée auparavant et a déjà une réponse."
other: Cette question a déjà été posée auparavant et a déjà une réponse.
not_answer:
name:
other: "ce n'est pas une réponse"
other: ce n'est pas une réponse
desc:
other: "Cela a été posté comme une réponse, mais il n'essaie pas de répondre à la question. Il devrait s'agir d'une modification, d'un commentaire, d'une autre question, ou d'une suppression totale."
other: Cela a été posté comme une réponse, mais il n'essaie pas de répondre à la question. Il devrait s'agir d'une modification, d'un commentaire, d'une autre question, ou d'une suppression totale.
not_need:
name:
other: "nest plus nécessaire"
other: nest plus nécessaire
desc:
other: "Ce commentaire est obsolète, conversationnel ou non pertinent pour ce post."
other: Ce commentaire est obsolète, conversationnel ou non pertinent pour ce post.
other:
name:
other: "quelque chose d'autre"
other: quelque chose d'autre
desc:
other: "Ce message nécessite l'attention du personnel pour une autre raison non listée ci-dessus."
other: Ce message nécessite l'attention du personnel pour une autre raison non listée ci-dessus.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "Cette question a déjà été posée auparavant et a déjà une réponse."
other: Cette question a déjà été posée auparavant et a déjà une réponse.
guideline:
name:
other: "une raison spécifique à la communauté"
other: une raison spécifique à la communauté
desc:
other: "Cette question ne répond pas à une règle communautaire."
other: Cette question ne répond pas à une règle communautaire.
multiple:
name:
other: "a besoin de détails ou de clarté"
other: a besoin de détails ou de clarté
desc:
other: "Cette question comprend actuellement plusieurs questions en une seule. Elle ne devrait se concentrer que sur un seul problème."
other: Cette question comprend actuellement plusieurs questions en une seule. Elle ne devrait se concentrer que sur un seul problème.
other:
name:
other: "quelque chose d'autre"
other: quelque chose d'autre
desc:
other: "Ce message nécessite l'attention du personnel pour une autre raison non listée ci-dessus."
other: Ce message nécessite l'attention du personnel pour une autre raison non listée ci-dessus.
operation_type:
asked:
other: "a demandé"
other: a demandé
answered:
other: "a répondu"
other: a répondu
modified:
other: "modifié"
other: modifié
notification:
action:
update_question:
other: "question mise à jour"
other: question mise à jour
answer_the_question:
other: "question répondue"
other: question répondue
update_answer:
other: "réponse mise à jour"
other: réponse mise à jour
accept_answer:
other: "réponse acceptée"
other: réponse acceptée
comment_question:
other: "a commenté la question"
other: a commenté la question
comment_answer:
other: "a commenté la réponse"
other: a commenté la réponse
reply_to_you:
other: "vous a répondu"
other: vous a répondu
mention_you:
other: "vous a mentionné"
other: vous a mentionné
your_question_is_closed:
other: "Une réponse a été publiée pour votre question"
other: Une réponse a été publiée pour votre question
your_question_was_deleted:
other: "Une réponse a été publiée pour votre question"
other: Une réponse a été publiée pour votre question
your_answer_was_deleted:
other: "Votre réponse a bien été supprimée"
other: Votre réponse a bien été supprimée
your_comment_was_deleted:
other: "Votre commentaire a été supprimé"
other: Votre commentaire a été supprimé
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -491,6 +496,8 @@ ui:
label: Modification
answer:
label: Réponse
feedback:
characters: le contenu doit comporter au moins 6 caractères.
edit_summary:
label: Modifier le résumé
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: L'e-mail ne peut pas être vide.
change_email:
page_title: Bienvenue sur Answer
page_title: Bienvenue sur {{site_name}}
btn_cancel: Annuler
btn_update: Mettre à jour l'adresse e-mail
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Nom affiché
msg: Le nom ne peut être vide.
msg_range: Le nom doit contenir moins de 30 caractères
msg_range: Le nom doit contenir moins de 30 caractères.
username:
label: Nom d'utilisateur
caption: Les gens peuvent vous mentionner avec "@username".
msg: Le nom d'utilisateur ne peut pas être vide.
msg_range: Le nom d'utilisateur doit contenir moins de 30 caractères
msg_range: Le nom d'utilisateur doit contenir moins de 30 caractères.
character: 'Doit utiliser seulement les caractères "a-z", "0-9", " - . _"'
avatar:
label: Image de profil
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Êtes-vous sûr de vouloir ajouter une autre réponse ?</p><p>Vous pouvez utiliser le lien d'édition pour affiner et améliorer votre réponse existante.</p>
empty: La réponse ne peut être vide.
characters: le contenu doit comporter au moins 6 caractères.
reopen:
title: Rouvrir ce message
content: Êtes-vous sûr de vouloir rouvrir ?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Erreur...
account_result:
page_title: Bienvenue sur Answer
page_title: Bienvenue sur {{site_name}}
success: Votre nouveau compte est confirmé; vous serez redirigé vers la page d'accueil.
link: Continuer vers la page d'accueil
invalid: >-
@@ -907,7 +915,7 @@ ui:
label: Le fichier config.yaml a été créé.
desc: >-
Vous pouvez créer manuellement le fichier <1>config.yaml</1> dans le répertoire <1>/var/wwww/xxx/</1> et y coller le texte suivant.
info: "Après avoir fait cela, cliquez sur le bouton \"Suivant\"."
info: Après avoir fini, cliquez sur le bouton "Suivant".
site_information: Informations du site
admin_account: Compte Admin
site_name:
@@ -952,7 +960,12 @@ ui:
Il semble que se soit déjà installer. Pour tout réinstaller, veuillez d'abord nettoyer votre ancienne base de données.
db_failed: La connexion à la base de données a échoué
db_failed_desc: >-
Il semble que les informations de la base de données présentes dans le fichier <1>config.yaml</1> soient incorrect ou que le contact avec le serveur ne puisse pas être établi. Cela peut vouloir dire que l'hôte de la base de données soit non opérationnel.
Il semble que les informations de la base de données présentes dans le fichier <1>config.yaml</1> soient incorrects ou que le contact avec le serveur ne puisse pas être établi. Cela peut vouloir dire que l'hôte de la base de données soit non opérationnel.
counts:
views: vues
votes: votes
answers: réponses
accepted: Accepté
page_404:
desc: "Nous sommes désolés, mais cette page nexiste pas."
back_home: Retour à la page d'accueil
@@ -1094,7 +1107,7 @@ ui:
password:
label: Mot de passe
text: L'utilisateur sera déconnecté et devra se reconnecter.
msg: Le mot de passe doit comporter entre 8 et 32 caractères.
msg: Le mot de passe doit contenir entre 8 et 32 caractères.
btn_cancel: Annuler
btn_submit: Valider
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Nom affiché
msg: le nom affiché doit avoir une longueur de 4 à 30 caractères.
msg: Le nom affiché doit avoir une longueur de 3 à 30 caractères.
email:
label: Email
msg: L'email n'est pas valide.
password:
label: Mot de passe
msg: Le mot de passe doit comporter entre 8 et 32 caractères.
msg: Le mot de passe doit contenir entre 8 et 32 caractères.
btn_cancel: Annuler
btn_submit: Valider
questions:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+1 -1
View File
@@ -435,7 +435,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
+124 -111
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Sukses."
other: Sukses.
unknown:
other: "Kesalahan tidak diketahui."
other: Kesalahan tidak diketahui.
request_format_error:
other: "Permintaan tidak sah."
other: Permintaan tidak sah.
unauthorized_error:
other: "Tidak diizinkan."
other: Tidak diizinkan.
database_error:
other: "Kesalahan data server."
other: Kesalahan data server.
role:
name:
user:
other: "Pengguna"
other: Pengguna
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default tanpa akses khusus."
other: Default tanpa akses khusus.
admin:
other: "Memiliki hak penuh untuk mengakses website."
other: Memiliki hak penuh untuk mengakses website.
moderator:
other: "Memiliki hak penuh pada semua pertanyaan, kecuali pengaturan Admin."
other: Memiliki hak penuh pada semua pertanyaan, kecuali pengaturan Admin.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email dan kata sandi tidak cocok."
other: Email dan kata sandi tidak cocok.
error:
admin:
email_or_password_wrong:
other: Email dan kata sandi tidak cocok.
answer:
not_found:
other: "Jawaban tidak ditemukan."
other: Jawaban tidak ditemukan.
cannot_deleted:
other: "Tidak memiliki izin untuk menghapus."
other: Tidak memiliki izin untuk menghapus.
cannot_update:
other: "Tidak memiliki izin untuk memperbaharui."
other: Tidak memiliki izin untuk memperbaharui.
comment:
edit_without_permission:
other: "Komentar tidak boleh diedit."
other: Komentar tidak boleh diedit.
not_found:
other: "Komentar tidak ditemukan."
other: Komentar tidak ditemukan.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email telah terdaftar."
other: Email telah terdaftar.
need_to_be_verified:
other: "Email harus terverifikasi."
other: Email harus terverifikasi.
verify_url_expired:
other: "URL verifikasi email telah kadaluwarsa, silahkan kirim ulang."
other: URL verifikasi email telah kadaluwarsa, silahkan kirim ulang.
lang:
not_found:
other: "Bahasa tidak ditemukan."
other: Bahasa tidak ditemukan.
object:
captcha_verification_failed:
other: "Captcha salah."
other: Captcha salah.
disallow_follow:
other: "Anda tidak diizinkan untuk mengikuti."
other: Anda tidak diizinkan untuk mengikuti.
disallow_vote:
other: "Anda tidak diizinkan untuk melakukan voring."
other: Anda tidak diizinkan untuk melakukan voring.
disallow_vote_your_self:
other: "Anda tidak dapat melakukan voting untuk ulasan Anda sendiri."
other: Anda tidak dapat melakukan voting untuk ulasan Anda sendiri.
not_found:
other: "Objek tidak ditemukan."
other: Objek tidak ditemukan.
verification_failed:
other: "Verifikasi gagal."
other: Verifikasi gagal.
email_or_password_incorrect:
other: "Email dan kata sandi tidak cocok."
other: Email dan kata sandi tidak cocok.
old_password_verification_failed:
other: "Verifikasi password lama, gagal"
other: Verifikasi password lama, gagal
new_password_same_as_previous_setting:
other: "Password baru sama dengan password yang sebelumnya."
other: Password baru sama dengan password yang sebelumnya.
question:
not_found:
other: "Pertanyaan tidak ditemukan."
other: Pertanyaan tidak ditemukan.
cannot_deleted:
other: "Tidak memiliki izin untuk menghapus."
other: Tidak memiliki izin untuk menghapus.
cannot_close:
other: "Tidak memiliki izin untuk menutup."
other: Tidak memiliki izin untuk menutup.
cannot_update:
other: "Tidak memiliki izin untuk memperbaharui."
other: Tidak memiliki izin untuk memperbaharui.
rank:
fail_to_meet_the_condition:
other: "Peringkat gagal memenuhi syarat."
other: Peringkat gagal memenuhi syarat.
report:
handle_failed:
other: "Laporan penanganan gagal."
other: Laporan penanganan gagal.
not_found:
other: "Laporan tidak ditemukan."
other: Laporan tidak ditemukan.
tag:
not_found:
other: "Tag tidak ditemukan."
other: Tag tidak ditemukan.
recommend_tag_not_found:
other: "Tag rekomendasi tidak ada."
other: Tag rekomendasi tidak ada.
recommend_tag_enter:
other: "Silahkan isi setidaknya satu tag yang diperlukan."
other: Silahkan isi setidaknya satu tag yang diperlukan.
not_contain_synonym_tags:
other: "Tidak boleh mengandung Tag sinonim."
other: Tidak boleh mengandung Tag sinonim.
cannot_update:
other: "Tidak memiliki izin untuk memperbaharui."
other: Tidak memiliki izin untuk memperbaharui.
cannot_set_synonym_as_itself:
other: "Anda tidak bisa menetapkan sinonim dari tag saat ini dengan tag yang sama."
other: Anda tidak bisa menetapkan sinonim dari tag saat ini dengan tag yang sama.
smtp:
config_from_name_cannot_be_email:
other: "Nama Pengguna tidak bisa menjadi alamat email."
other: Nama Pengguna tidak bisa menjadi alamat email.
theme:
not_found:
other: "Tema tidak ditemukan."
other: Tema tidak ditemukan.
revision:
review_underway:
other: "Tidak dapat mengedit saat ini, sedang ada review versi pada antrian."
other: Tidak dapat mengedit saat ini, sedang ada review versi pada antrian.
no_permission:
other: "Tidak memiliki izin untuk merevisi."
other: Tidak memiliki izin untuk merevisi.
user:
email_or_password_wrong:
other:
other: Email dan kata sandi tidak cocok.
not_found:
other: "Pengguna tidak ditemukan."
other: Pengguna tidak ditemukan.
suspended:
other: "Pengguna ini telah ditangguhkan."
other: Pengguna ini telah ditangguhkan.
username_invalid:
other: "Nama pengguna tidak valid."
other: Nama pengguna tidak valid.
username_duplicate:
other: "Nama pengguna sudah digunakan."
other: Nama pengguna sudah digunakan.
set_avatar:
other: "Set avatar gagal."
other: Set avatar gagal.
cannot_update_your_role:
other: "Anda tidak dapat memodifikasi role anda sendiri."
other: Anda tidak dapat memodifikasi role anda sendiri.
not_allowed_registration:
other: "Website tidak membuka pendaftaran baru untuk saat ini"
other: Website tidak membuka pendaftaran baru untuk saat ini
config:
read_config_failed:
other: "Gagal membaca konfigurasi"
other: Gagal membaca konfigurasi
database:
connection_failed:
other: "Koneksi ke database gagal"
other: Koneksi ke database gagal
create_table_failed:
other: "Gagal membuat tabel"
other: Gagal membuat tabel
install:
create_config_failed:
other: "Tidak dapat membuat konfigurasi pada file .YAML."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "Spam"
other: Spam
desc:
other: "Posting ini adalah iklan, atau vandalisme. Tidak berguna atau relevan dengan topik saat ini."
other: Posting ini adalah iklan, atau vandalisme. Tidak berguna atau relevan dengan topik saat ini.
rude:
name:
other: "kasar atau kejam"
other: kasar atau kejam
desc:
other: "Orang yang berakal sehat akan menganggap konten ini tidak pantas untuk wacana yang terhormat."
other: Orang yang berakal sehat akan menganggap konten ini tidak pantas untuk wacana yang terhormat.
duplicate:
name:
other: "Duplikat"
other: Duplikat
desc:
other: "Pertanyaan ini telah ditanyakan sebelumnya dan sudah ada jawabannya."
other: Pertanyaan ini telah ditanyakan sebelumnya dan sudah ada jawabannya.
not_answer:
name:
other: "bukan jawaban"
other: bukan jawaban
desc:
other: "Ini diposting sebagai jawaban, tetapi tidak menjawab pertanyaan. Itu mungkin berupa suntingan, komentar, pertanyaan lain, atau telah dihapus sepenuhnya."
other: Ini diposting sebagai jawaban, tetapi tidak menjawab pertanyaan. Itu mungkin berupa suntingan, komentar, pertanyaan lain, atau telah dihapus sepenuhnya.
not_need:
name:
other: "tidak Dibutuhkan Lagi"
other: tidak Dibutuhkan Lagi
desc:
other: "Komentar ini kedaluwarsa, sesuai percakapan, atau tidak relevan dengan postingan ini."
other: Komentar ini kedaluwarsa, sesuai percakapan, atau tidak relevan dengan postingan ini.
other:
name:
other: "lainnya"
other: lainnya
desc:
other: "Posting ini membutuhkan perhatian staf karena alasan lain yang tidak tercantum di atas."
other: Posting ini membutuhkan perhatian staf karena alasan lain yang tidak tercantum di atas.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "Pertanyaan ini telah ditanyakan sebelumnya dan sudah ada jawabannya."
other: Pertanyaan ini telah ditanyakan sebelumnya dan sudah ada jawabannya.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "Pertanyaan ini tidak sesuai dengan pedoman komunitas."
other: Pertanyaan ini tidak sesuai dengan pedoman komunitas.
multiple:
name:
other: "membutuhkan detail atau kejelasan"
other: membutuhkan detail atau kejelasan
desc:
other: "Pertanyaan ini mencakup beberapa pertanyaan pada satu post. Pertanyaan harus fokus pada satu masalah saja."
other: Pertanyaan ini mencakup beberapa pertanyaan pada satu post. Pertanyaan harus fokus pada satu masalah saja.
other:
name:
other: "lainnya"
other: lainnya
desc:
other: "Posting ini membutuhkan alasan lain yang tidak tercantum di atas."
other: Posting ini membutuhkan alasan lain yang tidak tercantum di atas.
operation_type:
asked:
other: "ditanyakan"
other: ditanyakan
answered:
other: "dijawab"
other: dijawab
modified:
other: "dimodifikasi"
other: dimodifikasi
notification:
action:
update_question:
other: "pertanyaan yang diperbaharui"
other: pertanyaan yang diperbaharui
answer_the_question:
other: "pertanyaan yang dijawab"
other: pertanyaan yang dijawab
update_answer:
other: "jawaban yang diperbaharui"
other: jawaban yang diperbaharui
accept_answer:
other: "pertanyaan yanag diterima"
other: pertanyaan yanag diterima
comment_question:
other: "pertanyaan yang dikomentari"
other: pertanyaan yang dikomentari
comment_answer:
other: "jawaban yang dikomentari"
other: jawaban yang dikomentari
reply_to_you:
other: "membalas Anda"
other: membalas Anda
mention_you:
other: "menyebutmu"
other: menyebutmu
your_question_is_closed:
other: "Pertanyaanmu telah ditutup"
other: Pertanyaanmu telah ditutup
your_question_was_deleted:
other: "Pertanyaanmu telah dihapus"
other: Pertanyaanmu telah dihapus
your_answer_was_deleted:
other: "Jawabanmu telah dihapus"
other: Jawabanmu telah dihapus
your_comment_was_deleted:
other: "Komentarmu telah dihapus"
other: Komentarmu telah dihapus
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Hapus tagar ini
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Anda yakin ingin menghapusnya?
close: Tutup
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Simpan suntingan
btn_cancel: Batal
show_more: Tampilkan lebih banyak komentar
show_more: Show more comments
tip_question: >-
Gunakan komentar untuk meminta informasi lebih lanjut atau menyarankan perbaikan. Hindari menjawab pertanyaan di komentar.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revisi
answer:
label: Jawaban
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Sunting ringkasan
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email tidak boleh kosong.
change_email:
page_title: Selamat datang di Answer
page_title: Welcome to {{site_name}}
btn_cancel: Batal
btn_update: Perbarui alamat email
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Yakin ingin menambahkan jawaban lain?</p><p>Sebagai gantinya, Anda dapat menggunakan tautan edit untuk menyaring dan menyempurnakan jawaban anda.</p>
empty: Jawaban tidak boleh kosong.
characters: content must be at least 6 characters in length.
reopen:
title: Buka kembali postingan ini
content: Kamu yakin ingin membuka kembali?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Jawaban
next: Selanjutnya
done: Selesai
config_yaml_error: Tidak dapat membuat konfigurasi file .yaml
config_yaml_error: Can't create the config.yaml file.
lang:
label: Silakan pilih Bahasa
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -952,7 +960,12 @@ ui:
You appear to have already installed. To reinstall please clear your old database tables first.
db_failed: Koneksi ke database gagal
db_failed_desc: >-
Ini berarti bahwa informasi database dalam file <1>config.yaml</1> Anda salah atau koneksi ke server database tidak dapat dilakukan. Ini bisa berarti server database Anda sedang down.
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Sayangnya, halaman ini tidak ada."
back_home: Kembali ke beranda
@@ -960,7 +973,7 @@ ui:
desc: Server mengalami kesalahan internal dan tidak dapat menyelesaikan permintaan Anda.
back_home: Kembali ke beranda
page_maintenance:
desc: "Sedang dalam perbaikan, akan kembali secepatnya."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dasbor
contents: Konten
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: Pengguna akan keluar dan harus masuk lagi.
msg: Panjang kata sandi minimal 8 - 32 karakter.
msg: Password must be at 8-32 characters in length.
btn_cancel: Batal
btn_submit: Kirim
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Nama
msg: panjang nama minimal 4 - 30 karakter.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email tidak sah.
password:
label: Kata sandi
msg: Panjang kata sandi minimal 8 - 32 karakter.
msg: Password must be at 8-32 characters in length.
btn_cancel: Batal
btn_submit: Kirim
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Successo"
other: Successo
unknown:
other: "Errore sconosciuto"
other: Errore sconosciuto
request_format_error:
other: "Il formato della richiesta non è valido"
other: Il formato della richiesta non è valido
unauthorized_error:
other: "Non autorizzato"
other: Non autorizzato
database_error:
other: "Errore server dati"
other: Errore server dati
role:
name:
user:
other: "Utente"
other: Utente
admin:
other: "Amministratore"
other: Amministratore
moderator:
other: "Moderatore"
other: Moderatore
description:
user:
other: "Predefinito senza alcun accesso speciale."
other: Predefinito senza alcun accesso speciale.
admin:
other: "Avere il pieno potere di accedere al sito."
other: Avere il pieno potere di accedere al sito.
moderator:
other: "Ha accesso a tutti i post tranne le impostazioni di amministratore."
other: Ha accesso a tutti i post tranne le impostazioni di amministratore.
email:
other: "email"
other: email
password:
other: "password"
other: password
email_or_password_wrong_error:
other: "Email o password errati"
other: Email o password errati
error:
admin:
email_or_password_wrong:
other: Email o password errati
answer:
not_found:
other: "Risposta non trovata"
other: Risposta non trovata
cannot_deleted:
other: "Permesso per cancellare mancante."
other: Permesso per cancellare mancante.
cannot_update:
other: "Nessun permesso per l'aggiornamento."
other: Nessun permesso per l'aggiornamento.
comment:
edit_without_permission:
other: "Non si hanno di privilegi sufficienti per modificare il commento"
other: Non si hanno di privilegi sufficienti per modificare il commento
not_found:
other: "Commento non trovato"
other: Commento non trovato
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "email già esistente"
other: email già esistente
need_to_be_verified:
other: "email deve essere verificata"
other: email deve essere verificata
verify_url_expired:
other: "l'url di verifica email è scaduto, si prega di reinviare la email"
other: l'url di verifica email è scaduto, si prega di reinviare la email
lang:
not_found:
other: "lingua non trovata"
other: lingua non trovata
object:
captcha_verification_failed:
other: "captcha errato"
other: captcha errato
disallow_follow:
other: "Non sei autorizzato a seguire"
other: Non sei autorizzato a seguire
disallow_vote:
other: "non sei autorizzato a votare"
other: non sei autorizzato a votare
disallow_vote_your_self:
other: "Non puoi votare un tuo post!"
other: Non puoi votare un tuo post!
not_found:
other: "oggetto non trovato"
other: oggetto non trovato
verification_failed:
other: "verifica fallita"
other: verifica fallita
email_or_password_incorrect:
other: "email o password incorretti"
other: email o password incorretti
old_password_verification_failed:
other: "la verifica della vecchia password è fallita"
other: la verifica della vecchia password è fallita
new_password_same_as_previous_setting:
other: "La nuova password è identica alla precedente"
other: La nuova password è identica alla precedente
question:
not_found:
other: "domanda non trovata"
other: domanda non trovata
cannot_deleted:
other: "Permesso per cancellare mancante."
other: Permesso per cancellare mancante.
cannot_close:
other: "Nessun permesso per chiudere."
other: Nessun permesso per chiudere.
cannot_update:
other: "Nessun permesso per l'aggiornamento."
other: Nessun permesso per l'aggiornamento.
rank:
fail_to_meet_the_condition:
other: "Condizioni non valide per il grado"
other: Condizioni non valide per il grado
report:
handle_failed:
other: "Gestione del report fallita"
other: Gestione del report fallita
not_found:
other: "Report non trovato"
other: Report non trovato
tag:
not_found:
other: "Etichetta non trovata"
other: Etichetta non trovata
recommend_tag_not_found:
other: "Il Tag consigliato non esiste."
other: Il Tag consigliato non esiste.
recommend_tag_enter:
other: "Inserisci almeno un tag."
other: Inserisci almeno un tag.
not_contain_synonym_tags:
other: "Non deve contenere tag sinonimi."
other: Non deve contenere tag sinonimi.
cannot_update:
other: "Nessun permesso per l'aggiornamento."
other: Nessun permesso per l'aggiornamento.
cannot_set_synonym_as_itself:
other: "Non puoi impostare il sinonimo del tag corrente come se stesso."
other: Non puoi impostare il sinonimo del tag corrente come se stesso.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "tema non trovato"
other: tema non trovato
revision:
review_underway:
other: "Non è possibile modificare al momento, c'è una versione nella coda di revisione."
other: Non è possibile modificare al momento, c'è una versione nella coda di revisione.
no_permission:
other: "Nessun permesso per la revisione."
other: Nessun permesso per la revisione.
user:
email_or_password_wrong:
other:
other: Email o password errati
not_found:
other: "utente non trovato"
other: utente non trovato
suspended:
other: "utente sospeso"
other: utente sospeso
username_invalid:
other: "utente non valido"
other: utente non valido
username_duplicate:
other: "Nome utente già in uso"
other: Nome utente già in uso
set_avatar:
other: "Inserimento dell'Avatar non riuscito."
other: Inserimento dell'Avatar non riuscito.
cannot_update_your_role:
other: "Non puoi modificare il tuo ruolo."
other: Non puoi modificare il tuo ruolo.
not_allowed_registration:
other: "Al momento il sito non è aperto per la registrazione"
other: Al momento il sito non è aperto per la registrazione
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "posta indesiderata"
other: posta indesiderata
desc:
other: "Questo articolo è una pubblicità o vandalismo. Non è utile o rilevante all'argomento corrente."
other: Questo articolo è una pubblicità o vandalismo. Non è utile o rilevante all'argomento corrente.
rude:
name:
other: "scortese o violento"
other: scortese o violento
desc:
other: "Una persona ragionevole trova questo contenuto inappropriato a un discorso rispettoso."
other: Una persona ragionevole trova questo contenuto inappropriato a un discorso rispettoso.
duplicate:
name:
other: "duplicato"
other: duplicato
desc:
other: "Questa domanda è già stata posta e ha già una risposta."
other: Questa domanda è già stata posta e ha già una risposta.
not_answer:
name:
other: "non è una risposta"
other: non è una risposta
desc:
other: "Questo è stato pubblicato come una risposta, ma non tenta di rispondere alla domanda. Dovrebbe forse essere una modifica, un commento, un'altra domanda, o cancellata del tutto."
other: Questo è stato pubblicato come una risposta, ma non tenta di rispondere alla domanda. Dovrebbe forse essere una modifica, un commento, un'altra domanda, o cancellata del tutto.
not_need:
name:
other: "non più necessario"
other: non più necessario
desc:
other: "Questo commento è obsoleto, conversazionale o non pertinente per questo post."
other: Questo commento è obsoleto, conversazionale o non pertinente per questo post.
other:
name:
other: "altro"
other: altro
desc:
other: "Questo articolo richiede una supervisione dello staff per altre ragioni non listate sopra."
other: Questo articolo richiede una supervisione dello staff per altre ragioni non listate sopra.
question:
close:
duplicate:
name:
other: "posta indesiderata"
other: posta indesiderata
desc:
other: "Questa domanda è già stata posta e ha già una risposta."
other: Questa domanda è già stata posta e ha già una risposta.
guideline:
name:
other: "motivo legato alla community"
other: motivo legato alla community
desc:
other: "Questa domanda non soddisfa le linee guida della comunità."
other: Questa domanda non soddisfa le linee guida della comunità.
multiple:
name:
other: "richiede maggiori dettagli o chiarezza"
other: richiede maggiori dettagli o chiarezza
desc:
other: "Questa domanda attualmente include più domande in uno. Dovrebbe concentrarsi su un solo problema."
other: Questa domanda attualmente include più domande in uno. Dovrebbe concentrarsi su un solo problema.
other:
name:
other: "altro"
other: altro
desc:
other: "Questo articolo richiede un'altro motivo non listato sopra."
other: Questo articolo richiede un'altro motivo non listato sopra.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "domanda aggiornata"
other: domanda aggiornata
answer_the_question:
other: "domanda risposta"
other: domanda risposta
update_answer:
other: "risposta aggiornata"
other: risposta aggiornata
accept_answer:
other: "risposta accettata"
other: risposta accettata
comment_question:
other: "domanda commentata"
other: domanda commentata
comment_answer:
other: "risposta commentata"
other: risposta commentata
reply_to_you:
other: "hai ricevuto risposta"
other: hai ricevuto risposta
mention_you:
other: "sei stato menzionato"
other: sei stato menzionato
your_question_is_closed:
other: "la tua domanda è stata chiusa"
other: la tua domanda è stata chiusa
your_question_was_deleted:
other: "la tua domanda è stata rimossa"
other: la tua domanda è stata rimossa
your_answer_was_deleted:
other: "la tua risposta è stata rimossa"
other: la tua risposta è stata rimossa
your_comment_was_deleted:
other: "il tuo commento è stato rimosso"
other: il tuo commento è stato rimosso
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Sucesso."
other: Sucesso.
unknown:
other: "Erro desconhecido."
other: Erro desconhecido.
request_format_error:
other: "Formato de solicitação não é válido."
other: Formato de solicitação não é válido.
unauthorized_error:
other: "Não autorizado."
other: Não autorizado.
database_error:
other: "Erro no servidor de dados."
other: Erro no servidor de dados.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+124 -111
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Выполнено."
other: Выполнено.
unknown:
other: "Неизвестная ошибка."
other: Неизвестная ошибка.
request_format_error:
other: "Формат файла не корректен."
other: Формат файла не корректен.
unauthorized_error:
other: "Авторизация не выполнена."
other: Авторизация не выполнена.
database_error:
other: "Ошибка сервера данных."
other: Ошибка сервера данных.
role:
name:
user:
other: "Пользователь"
other: Пользователь
admin:
other: "Администратор"
other: Администратор
moderator:
other: "Модератор"
other: Модератор
description:
user:
other: "По умолчанию, без специального доступа."
other: По умолчанию, без специального доступа.
admin:
other: "Имейте все полномочия для доступа к сайту."
other: Имейте все полномочия для доступа к сайту.
moderator:
other: "Имеет доступ ко всем сообщениям, кроме настроек администратора."
other: Имеет доступ ко всем сообщениям, кроме настроек администратора.
email:
other: "Эл. почта"
other: Эл. почта
password:
other: "Пароль"
other: Пароль
email_or_password_wrong_error:
other: "Неверное имя пользователя или пароль."
other: Неверное имя пользователя или пароль.
error:
admin:
email_or_password_wrong:
other: Неверное имя пользователя или пароль.
answer:
not_found:
other: "Ответ не найден."
other: Ответ не найден.
cannot_deleted:
other: "Недостаточно прав для удаления."
other: Недостаточно прав для удаления.
cannot_update:
other: "Нет прав для обновления."
other: Нет прав для обновления.
comment:
edit_without_permission:
other: "Комментарий не может редактироваться."
other: Комментарий не может редактироваться.
not_found:
other: "Комментарий не найден."
other: Комментарий не найден.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Адрес электронной почты уже существует."
other: Адрес электронной почты уже существует.
need_to_be_verified:
other: "Адрес электронной почты должен быть подтвержден."
other: Адрес электронной почты должен быть подтвержден.
verify_url_expired:
other: "Срок действия подтверждённого адреса электронной почты истек, пожалуйста, отправьте письмо повторно."
other: Срок действия подтверждённого адреса электронной почты истек, пожалуйста, отправьте письмо повторно.
lang:
not_found:
other: "Языковой файл не найден."
other: Языковой файл не найден.
object:
captcha_verification_failed:
other: "Captcha введена неверно."
other: Captcha введена неверно.
disallow_follow:
other: "Вы не можете подписаться."
other: Вы не можете подписаться.
disallow_vote:
other: "Вы не можете голосовать."
other: Вы не можете голосовать.
disallow_vote_your_self:
other: "Вы не можете голосовать за собственный отзыв."
other: Вы не можете голосовать за собственный отзыв.
not_found:
other: "Объект не найден."
other: Объект не найден.
verification_failed:
other: "Проверка не удалась."
other: Проверка не удалась.
email_or_password_incorrect:
other: "Email или пароль не совпадают."
other: Email или пароль не совпадают.
old_password_verification_failed:
other: "Не удалось подтвердить старый пароль"
other: Не удалось подтвердить старый пароль
new_password_same_as_previous_setting:
other: "Пароль не может быть таким же как прежний."
other: Пароль не может быть таким же как прежний.
question:
not_found:
other: "Вопрос не найден."
other: Вопрос не найден.
cannot_deleted:
other: "Недостаточно прав для удаления."
other: Недостаточно прав для удаления.
cannot_close:
other: "Нет разрешения на закрытие."
other: Нет разрешения на закрытие.
cannot_update:
other: "Нет разрешения на обновление."
other: Нет разрешения на обновление.
rank:
fail_to_meet_the_condition:
other: "Ранг не соответствует условию."
other: Ранг не соответствует условию.
report:
handle_failed:
other: "Не удалось обработать отчет."
other: Не удалось обработать отчет.
not_found:
other: "Отчет не найден."
other: Отчет не найден.
tag:
not_found:
other: "Тег не найден."
other: Тег не найден.
recommend_tag_not_found:
other: "Рекомендуемый тег не существует."
other: Рекомендуемый тег не существует.
recommend_tag_enter:
other: "Пожалуйста, введите хотя бы один тег."
other: Пожалуйста, введите хотя бы один тег.
not_contain_synonym_tags:
other: "Не должно содержать теги синонимы."
other: Не должно содержать теги синонимы.
cannot_update:
other: "Нет прав для обновления."
other: Нет прав для обновления.
cannot_set_synonym_as_itself:
other: "Вы не можете установить синоним текущего тега."
other: Вы не можете установить синоним текущего тега.
smtp:
config_from_name_cannot_be_email:
other: "Имя пользователя не может быть адрес электронной почты."
other: Имя От не может быть адресом электронной почты.
theme:
not_found:
other: "Тема не найдена."
other: Тема не найдена.
revision:
review_underway:
other: "В настоящее время не удается редактировать версию, в очереди на проверку."
other: В настоящее время не удается редактировать версию, в очереди на проверку.
no_permission:
other: "Нет прав на ревизию."
other: Нет прав на ревизию.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -283,7 +288,7 @@ ui:
blockquote:
text: Цитата
bold:
text: Жирный
text: Сильный
chart:
text: Диаграмма
flow_chart: Блок-схема
@@ -413,7 +418,7 @@ ui:
label: Идентификатор URL
desc: 'Необходимо использовать набор символов "a-z", "0-9", "+ # - ."'
msg:
empty: URL не может быть пустым.
empty: URL slug не может быть пустым.
range: URL slug до 35 символов.
character: URL slug содержит недопустимый набор символов.
desc:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+1 -1
View File
@@ -435,7 +435,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "Success."
other: Success.
unknown:
other: "Unknown error."
other: Unknown error.
request_format_error:
other: "Request format is not valid."
other: Request format is not valid.
unauthorized_error:
other: "Unauthorized."
other: Unauthorized.
database_error:
other: "Data server error."
other: Data server error.
role:
name:
user:
other: "User"
other: User
admin:
other: "Admin"
other: Admin
moderator:
other: "Moderator"
other: Moderator
description:
user:
other: "Default with no special access."
other: Default with no special access.
admin:
other: "Have the full power to access the site."
other: Have the full power to access the site.
moderator:
other: "Has access to all posts except admin settings."
other: Has access to all posts except admin settings.
email:
other: "Email"
other: Email
password:
other: "Password"
other: Password
email_or_password_wrong_error:
other: "Email and password do not match."
other: Email and password do not match.
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
answer:
not_found:
other: "Answer do not found."
other: Answer do not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_update:
other: "No permission to update."
other: No permission to update.
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: Comment are not allowed to edit.
not_found:
other: "Comment not found."
other: Comment not found.
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "Email already exists."
other: Email already exists.
need_to_be_verified:
other: "Email should be verified."
other: Email should be verified.
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
other: Email verified URL has expired, please resend the email.
lang:
not_found:
other: "Language file not found."
other: Language file not found.
object:
captcha_verification_failed:
other: "Captcha wrong."
other: Captcha wrong.
disallow_follow:
other: "You are not allowed to follow."
other: You are not allowed to follow.
disallow_vote:
other: "You are not allowed to vote."
other: You are not allowed to vote.
disallow_vote_your_self:
other: "You can't vote for your own post."
other: You can't vote for your own post.
not_found:
other: "Object not found."
other: Object not found.
verification_failed:
other: "Verification failed."
other: Verification failed.
email_or_password_incorrect:
other: "Email and password do not match."
other: Email and password do not match.
old_password_verification_failed:
other: "The old password verification failed"
other: The old password verification failed
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: The new password is the same as the previous one.
question:
not_found:
other: "Question not found."
other: Question not found.
cannot_deleted:
other: "No permission to delete."
other: No permission to delete.
cannot_close:
other: "No permission to close."
other: No permission to close.
cannot_update:
other: "No permission to update."
other: No permission to update.
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
other: Rank fail to meet the condition.
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: Report not found.
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "Theme not found."
other: Theme not found.
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: a duplicate
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+125 -110
View File
@@ -2,237 +2,244 @@
backend:
base:
success:
other: "成功。"
other: 成功。
unknown:
other: "未知错误。"
other: 未知错误。
request_format_error:
other: "请求格式错误。"
other: 请求格式错误。
unauthorized_error:
other: "未授权。"
other: 未授权。
database_error:
other: "数据服务器错误。"
other: 数据服务器错误。
role:
name:
user:
other: "用户"
other: 用户
admin:
other: "管理员"
other: 管理员
moderator:
other: "版主"
other: 版主
description:
user:
other: "默认没有特殊访问权限。"
other: 默认没有特殊访问权限。
admin:
other: "拥有管理网站的全部权限。"
other: 拥有管理网站的全部权限。
moderator:
other: "拥有访问除管理员设置以外的所有权限。"
other: 拥有访问除管理员设置以外的所有权限。
email:
other: "邮箱"
other: 邮箱
password:
other: "密码"
other: 密码
email_or_password_wrong_error:
other: "邮箱和密码不匹配。"
other: 邮箱和密码不匹配。
error:
admin:
email_or_password_wrong:
other: 邮箱和密码不匹配。
answer:
not_found:
other: "没有找到答案。"
other: 没有找到答案。
cannot_deleted:
other: "没有删除权限。"
other: 没有删除权限。
cannot_update:
other: "没有更新权限。"
other: 没有更新权限。
comment:
edit_without_permission:
other: "不允许编辑评论。"
other: 不允许编辑评论。
not_found:
other: "评论未找到。"
other: 评论未找到。
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "邮箱已经存在。"
other: 邮箱已经存在。
need_to_be_verified:
other: "邮箱需要验证。"
other: 邮箱需要验证。
verify_url_expired:
other: "邮箱验证的网址已过期,请重新发送邮件。"
other: 邮箱验证的网址已过期,请重新发送邮件。
lang:
not_found:
other: "语言未找到"
other: 语言未找到
object:
captcha_verification_failed:
other: "验证码错误"
other: 验证码错误
disallow_follow:
other: "你不能关注"
other: 你不能关注
disallow_vote:
other: "你不能投票"
other: 你不能投票
disallow_vote_your_self:
other: "你不能为自己的帖子投票!"
other: 你不能为自己的帖子投票!
not_found:
other: "对象未找到"
other: 对象未找到
verification_failed:
other: "验证失败"
other: 验证失败
email_or_password_incorrect:
other: "邮箱或密码不正确"
other: 邮箱或密码不正确
old_password_verification_failed:
other: "旧密码验证失败"
other: 旧密码验证失败
new_password_same_as_previous_setting:
other: "新密码与之前的设置相同"
other: 新密码与之前的设置相同
question:
not_found:
other: "问题未找到"
other: 问题未找到
cannot_deleted:
other: "无删除权限"
other: 无删除权限
cannot_close:
other: "无关闭权限"
other: 无关闭权限
cannot_update:
other: "无更新权限"
other: 无更新权限
rank:
fail_to_meet_the_condition:
other: "级别不符合条件"
other: 级别不符合条件
report:
handle_failed:
other: "报告处理失败"
other: 报告处理失败
not_found:
other: "报告未找到"
other: 报告未找到
tag:
not_found:
other: "标签未找到"
other: 标签未找到
recommend_tag_not_found:
other: "推荐标签不存在"
other: 推荐标签不存在
recommend_tag_enter:
other: "请输入至少一个必需的标签。"
other: 请输入至少一个必需的标签。
not_contain_synonym_tags:
other: "不应包含同义词标签。"
other: 不应包含同义词标签。
cannot_update:
other: "没有更新标签权限。"
other: 没有更新标签权限。
is_used_cannot_delete:
other: 您不能删除正在被使用的标签
cannot_set_synonym_as_itself:
other: "您不能将当前标签的同义词设置为本身。"
other: 您不能将当前标签的同义词设置为本身。
smtp:
config_from_name_cannot_be_email:
other: "发件人名称不能是电子邮件地址。"
other: 发件人名称不能是电子邮件地址。
theme:
not_found:
other: "主题未找到"
other: 主题未找到
revision:
review_underway:
other: "目前无法编辑,有一个版本在审阅队列中。"
other: 目前无法编辑,有一个版本在审阅队列中。
no_permission:
other: "无权限修改"
other: 无权限修改
user:
email_or_password_wrong:
other:
other: 邮箱或密码错误
not_found:
other: "用户未找到"
other: 用户未找到
suspended:
other: "用户已被暂停"
other: 用户已被暂停
username_invalid:
other: "用户名无效"
other: 用户名无效
username_duplicate:
other: "用户名已被使用"
other: 用户名已被使用
set_avatar:
other: "头像设置错误"
other: 头像设置错误
cannot_update_your_role:
other: "您不能修改自己的角色。"
other: 您不能修改自己的角色。
not_allowed_registration:
other: "目前该站点未开放注册"
other: 目前该站点未开放注册
config:
read_config_failed:
other: "读取配置失败"
other: 读取配置失败
database:
connection_failed:
other: "数据库连接失败"
other: 数据库连接失败
create_table_failed:
other: "创建表失败"
other: 创建表失败
install:
create_config_failed:
other: "无法创建 config.yaml 文件。"
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "垃圾信息"
other: 垃圾信息
desc:
other: "这个帖子是一个广告,或是破坏性行为。它对当前的主题没有用处,也不相关。"
other: 这个帖子是一个广告,或是破坏性行为。它对当前的主题没有用处,也不相关。
rude:
name:
other: "粗鲁或辱骂的"
other: 粗鲁或辱骂的
desc:
other: "一个有理智的人都会认为这种内容不适合进行尊重性的讨论。"
other: 一个有理智的人都会认为这种内容不适合进行尊重性的讨论。
duplicate:
name:
other: "重复信息"
other: 重复信息
desc:
other: "此问题以前就有人问过,而且已经有了答案。"
other: 此问题以前就有人问过,而且已经有了答案。
not_answer:
name:
other: "不是答案"
other: 不是答案
desc:
other: "此帖子是作为一个答案发布的,但它并没有试图回答这个问题。总之,它可能应该是个编辑,评论,另一个问题或者被删除。"
other: 此帖子是作为一个答案发布的,但它并没有试图回答这个问题。总之,它可能应该是个编辑,评论,另一个问题或者被删除。
not_need:
name:
other: "不再需要"
other: 不再需要
desc:
other: "此评论已过时,对话或与此帖子无关。"
other: 此评论已过时,对话或与此帖子无关。
other:
name:
other: "其他原因"
other: 其他原因
desc:
other: "此帖子需要工作人员关注,因为是上述所列以外的其他理由。"
other: 此帖子需要工作人员关注,因为是上述所列以外的其他理由。
question:
close:
duplicate:
name:
other: "垃圾信息"
other: 垃圾信息
desc:
other: "此问题以前就有人问过,而且已经有了答案。"
other: 此问题以前就有人问过,而且已经有了答案。
guideline:
name:
other: "社区特定原因"
other: 社区特定原因
desc:
other: "此问题不符合社区准则。"
other: 此问题不符合社区准则。
multiple:
name:
other: "需要细节或澄清"
other: 需要细节或澄清
desc:
other: "此问题目前涵盖多个问题。它应该只集中在一个问题上。"
other: 此问题目前涵盖多个问题。它应该只集中在一个问题上。
other:
name:
other: "其他原因"
other: 其他原因
desc:
other: "这个帖子需要上面没有列出的另一个原因。"
other: 这个帖子需要上面没有列出的另一个原因。
operation_type:
asked:
other: "提问于"
other: 提问于
answered:
other: "回答于"
other: 回答于
modified:
other: "修改于"
other: 修改于
notification:
action:
update_question:
other: "更新了问题"
other: 更新了问题
answer_the_question:
other: "回答了问题"
other: 回答了问题
update_answer:
other: "更新了答案"
other: 更新了答案
accept_answer:
other: "已接受的回答"
other: 已接受的回答
comment_question:
other: "评论了问题"
other: 评论了问题
comment_answer:
other: "评论了答案"
other: 评论了答案
reply_to_you:
other: "回复了你"
other: 回复了你
mention_you:
other: "提到了你"
other: 提到了你
your_question_is_closed:
other: "你的问题已被关闭"
other: 你的问题已被关闭
your_question_was_deleted:
other: "你的问题已被删除"
other: 你的问题已被删除
your_answer_was_deleted:
other: "你的答案已被删除"
other: 你的答案已被删除
your_comment_was_deleted:
other: "你的评论已被删除"
other: 你的评论已被删除
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -477,7 +484,7 @@ ui:
btn_flag: 举报
btn_save_edits: 保存
btn_cancel: 取消
show_more: 显示更多评论
show_more: Show more comments
tip_question: >-
使用评论提问更多信息或者提出改进意见。尽量避免使用评论功能回答问题。
tip_answer: >-
@@ -491,6 +498,8 @@ ui:
label: 编辑历史
answer:
label: 回答内容
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: 编辑概要
placeholder: >-
@@ -615,7 +624,7 @@ ui:
msg:
empty: 邮箱不能为空
change_email:
page_title: 欢迎来到 {{site_name}}
page_title: Welcome to {{site_name}}
btn_cancel: 取消
btn_update: 更新电子邮件地址
send_success: >-
@@ -653,12 +662,12 @@ ui:
display_name:
label: 昵称
msg: 昵称不能为空。
msg_range: 昵称不能超过 30 个字符。
msg_range: Display name up to 30 characters.
username:
label: 用户名
caption: 用户之间可以通过 "@用户名" 进行交互。
msg: 用户名不能为空
msg_range: 用户名不能超过 30 个字符
msg_range: Username up to 30 characters.
character: '用户名只能由 "a-z", "0-9", " - . _" 组成'
avatar:
label: 头像
@@ -744,6 +753,7 @@ ui:
confirm_info: >-
<p>您确定要提交一个新的回答吗?</p><p>您可以直接编辑和改善您之前的回答的。</p>
empty: 回答内容不能为空。
characters: content must be at least 6 characters in length.
reopen:
title: 重新打开这个帖子
content: 确定要重新打开吗?
@@ -804,7 +814,7 @@ ui:
modal_confirm:
title: 发生错误...
account_result:
page_title: 欢迎来到 {{site_name}}
page_title: Welcome to {{site_name}}
success: 你的账号已通过验证,即将返回首页。
link: 返回首页
invalid: >-
@@ -815,7 +825,7 @@ ui:
unsubscribe:
page_title: 退订
success_title: 取消订阅成功
success_desc: 您已成功地从此订阅者列表中移除,并且将不会再收到我们的任何电子邮件。
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: 更改设置
question:
following_tags: 已关注的标签
@@ -877,7 +887,7 @@ ui:
title: Answer
next: 下一步
done: 完成
config_yaml_error: 无法创建配置文件
config_yaml_error: Can't create the config.yaml file.
lang:
label: 请选择一种语言
db_type:
@@ -907,7 +917,7 @@ ui:
label: 已创建 config.yaml 文件。
desc: >-
您可以手动在 <1>/var/wwww/xxx/</1> 目录中创建<1>config.yaml</1> 文件并粘贴以下文本。
info: "完成后,点击“下一步”按钮。"
info: After you've done that, click "Next" button.
site_information: 站点信息
admin_account: 管理员账户
site_name:
@@ -952,7 +962,12 @@ ui:
您似乎已经安装过了。要重新安装,请先清除旧的数据库表。
db_failed: 数据连接异常!
db_failed_desc: >-
这或者意味着数据库信息在 <1>config.yaml</1> 文件不正确,或者无法与数据库服务器建立联系。这可能意味着您的主机数据库服务器已关闭。
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "很抱歉,此页面不存在。"
back_home: 回到主页
@@ -960,7 +975,7 @@ ui:
desc: 服务器遇到了一个错误,无法完成你的请求。
back_home: 回到主页
page_maintenance:
desc: "我们正在进行维护,我们将很快回来。"
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: 后台管理
contents: 内容管理
@@ -1095,7 +1110,7 @@ ui:
password:
label: 密码
text: 用户将被注销,需要再次登录。
msg: 密码的长度必须是8-32个字符。
msg: Password must be at 8-32 characters in length.
btn_cancel: 取消
btn_submit: 提交
user_modal:
@@ -1104,13 +1119,13 @@ ui:
fields:
display_name:
label: 昵称
msg: 昵称的长度必须是 3-30 个字符。
msg: Display Name must be at 3-30 characters in length.
email:
label: 邮箱
msg: 电子邮箱无效。
password:
label: 密码
msg: 密码的长度必须是8-32个字符。
msg: Password must be at 8-32 characters in length.
btn_cancel: 取消
btn_submit: 提交
questions:
@@ -1229,14 +1244,14 @@ ui:
text: 在你的网站左上方的Logo图标。使用一个高度为56,长宽比大于3:1的宽长方形图像。如果留空,将显示网站标题文本。
mobile_logo:
label: 移动端图标(可选)
text: 在你的网站的移动版上使用的标志。使用一个高度为56的宽矩形图像。如果留空,将使用 "Logo"设置中的图像。
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: 方形图标 (可选)
msg: 方形图标不能为空。
text: 用作元数据图标的基础的图像。最好是大于512x512。
favicon:
label: 收藏夹图标(可选)
text: 网站的图标。要在 CDN 正常工作,它必须是 png。 将调整大小到32x32。如果留空,将使用“方形图标”。
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: 法律条款
terms_of_service:
+123 -110
View File
@@ -2,237 +2,242 @@
backend:
base:
success:
other: "成功!"
other: 成功!
unknown:
other: "未知的錯誤。"
other: 未知的錯誤。
request_format_error:
other: "請求的格式無效。"
other: 請求的格式無效。
unauthorized_error:
other: "未授權。"
other: 未授權。
database_error:
other: "資料庫錯誤。"
other: 資料庫錯誤。
role:
name:
user:
other: "使用者"
other: 使用者
admin:
other: "管理者"
other: 管理者
moderator:
other: "版主"
other: 版主
description:
user:
other: "預設沒有特別閱讀權限"
other: 預設沒有特別閱讀權限
admin:
other: "擁有所有權限"
other: 擁有所有權限
moderator:
other: "可以訪問除了管理員設定以外的所有貼文"
other: 可以訪問除了管理員設定以外的所有貼文
email:
other: "電子郵件"
other: 電子郵件
password:
other: "密碼"
other: 密碼
email_or_password_wrong_error:
other: "電子郵箱和密碼不匹配。"
other: 電子郵箱和密碼不匹配。
error:
admin:
email_or_password_wrong:
other: 電子郵箱和密碼不匹配。
answer:
not_found:
other: "無答案。"
other: 無答案。
cannot_deleted:
other: "無刪除權限。"
other: 無刪除權限。
cannot_update:
other: "無更新權限。"
other: 無更新權限。
comment:
edit_without_permission:
other: "不允許編輯評論。"
other: 不允許編輯評論。
not_found:
other: "無評論。"
other: 無評論。
cannot_edit_after_deadline:
other: The comment time has been too long to modify.
email:
duplicate:
other: "該電子郵件已被使用"
other: 該電子郵件已被使用
need_to_be_verified:
other: "需驗證電子郵件信箱。"
other: 需驗證電子郵件信箱。
verify_url_expired:
other: "電子郵件驗證網址已過期,請重發確認郵件。"
other: 電子郵件驗證網址已過期,請重發確認郵件。
lang:
not_found:
other: "無此語系檔。"
other: 無此語系檔。
object:
captcha_verification_failed:
other: "驗證碼錯誤。"
other: 驗證碼錯誤。
disallow_follow:
other: "你不能追蹤"
other: 你不能追蹤
disallow_vote:
other: "你不能投票"
other: 你不能投票
disallow_vote_your_self:
other: "你不能為自己的貼文投票"
other: 你不能為自己的貼文投票
not_found:
other: "找不到物件"
other: 找不到物件
verification_failed:
other: "驗證失敗。"
other: 驗證失敗。
email_or_password_incorrect:
other: "電子郵箱和密碼不匹配。"
other: 電子郵箱和密碼不匹配。
old_password_verification_failed:
other: "舊密碼驗證失敗"
other: 舊密碼驗證失敗
new_password_same_as_previous_setting:
other: "新密碼與先前的一樣。"
other: 新密碼與先前的一樣。
question:
not_found:
other: "找不到問題。"
other: 找不到問題。
cannot_deleted:
other: "沒有刪除的權限。"
other: 沒有刪除的權限。
cannot_close:
other: "沒有關閉的權限。"
other: 沒有關閉的權限。
cannot_update:
other: "沒有更新的權限。"
other: 沒有更新的權限。
rank:
fail_to_meet_the_condition:
other: "無法為條件排序"
other: 無法為條件排序
report:
handle_failed:
other: "Report handle failed."
other: Report handle failed.
not_found:
other: "Report not found."
other: 找不到報告
tag:
not_found:
other: "Tag not found."
other: Tag not found.
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: Recommend Tag is not exist.
recommend_tag_enter:
other: "Please enter at least one required tag."
other: Please enter at least one required tag.
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: Should not contain synonym tags.
cannot_update:
other: "No permission to update."
other: No permission to update.
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
other: You cannot set the synonym of the current tag as itself.
smtp:
config_from_name_cannot_be_email:
other: "The From Name cannot be a email address."
other: The From Name cannot be a email address.
theme:
not_found:
other: "未找到主題。"
other: 未找到主題。
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: Can't edit currently, there is a version in the review queue.
no_permission:
other: "No permission to Revision."
other: No permission to Revision.
user:
email_or_password_wrong:
other:
other: Email and password do not match.
not_found:
other: "User not found."
other: User not found.
suspended:
other: "User has been suspended."
other: User has been suspended.
username_invalid:
other: "Username is invalid."
other: Username is invalid.
username_duplicate:
other: "Username is already in use."
other: Username is already in use.
set_avatar:
other: "Avatar set failed."
other: Avatar set failed.
cannot_update_your_role:
other: "You cannot modify your role."
other: You cannot modify your role.
not_allowed_registration:
other: "Currently the site is not open for registration"
other: Currently the site is not open for registration
config:
read_config_failed:
other: "Read config failed"
other: Read config failed
database:
connection_failed:
other: "Database connection failed"
other: Database connection failed
create_table_failed:
other: "Create table failed"
other: Create table failed
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: Can't create the config.yaml file.
upload:
unsupported_file_format:
other: Unsupported file format.
report:
spam:
name:
other: "spam"
other: spam
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.
rude:
name:
other: "rude or abusive"
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.
duplicate:
name:
other: "a duplicate"
other: 重複
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
not_answer:
name:
other: "not an answer"
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.
not_need:
name:
other: "no longer needed"
other: no longer needed
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: This comment is outdated, conversational or not relevant to this post.
other:
name:
other: "something else"
other: something else
desc:
other: "This post requires staff attention for another reason not listed above."
other: This post requires staff attention for another reason not listed above.
question:
close:
duplicate:
name:
other: "spam"
other: spam
desc:
other: "This question has been asked before and already has an answer."
other: This question has been asked before and already has an answer.
guideline:
name:
other: "a community-specific reason"
other: a community-specific reason
desc:
other: "This question doesn't meet a community guideline."
other: This question doesn't meet a community guideline.
multiple:
name:
other: "needs details or clarity"
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"
other: something else
desc:
other: "This post requires another reason not listed above."
other: This post requires another reason not listed above.
operation_type:
asked:
other: "asked"
other: asked
answered:
other: "answered"
other: answered
modified:
other: "modified"
other: modified
notification:
action:
update_question:
other: "updated question"
other: updated question
answer_the_question:
other: "answered question"
other: answered question
update_answer:
other: "updated answer"
other: updated answer
accept_answer:
other: "accepted answer"
other: accepted answer
comment_question:
other: "commented question"
other: commented question
comment_answer:
other: "commented answer"
other: commented answer
reply_to_you:
other: "replied to you"
other: replied to you
mention_you:
other: "mentioned you"
other: mentioned you
your_question_is_closed:
other: "Your question has been closed"
other: Your question has been closed
your_question_was_deleted:
other: "Your question has been deleted"
other: Your question has been deleted
your_answer_was_deleted:
other: "Your answer has been deleted"
other: Your answer has been deleted
your_comment_was_deleted:
other: "Your comment has been deleted"
other: Your comment has been deleted
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
@@ -435,7 +440,7 @@ ui:
delete:
title: Delete this tag
content: >-
<p>We do not allowed deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
<p>We do not allow deleting tag with posts.</p><p>Please remove this tag from the posts first.</p>
content2: Are you sure you wish to delete?
close: Close
edit_tag:
@@ -477,7 +482,7 @@ ui:
btn_flag: Flag
btn_save_edits: Save edits
btn_cancel: Cancel
show_more: Show more comment
show_more: Show more comments
tip_question: >-
Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.
tip_answer: >-
@@ -491,6 +496,8 @@ ui:
label: Revision
answer:
label: Answer
feedback:
characters: content must be at least 6 characters in length.
edit_summary:
label: Edit Summary
placeholder: >-
@@ -615,7 +622,7 @@ ui:
msg:
empty: Email cannot be empty.
change_email:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
btn_cancel: Cancel
btn_update: Update email address
send_success: >-
@@ -653,12 +660,12 @@ ui:
display_name:
label: Display Name
msg: Display name cannot be empty.
msg_range: Display name up to 30 characters
msg_range: Display name up to 30 characters.
username:
label: Username
caption: People can mention you as "@username".
msg: Username cannot be empty.
msg_range: Username up to 30 characters
msg_range: Username up to 30 characters.
character: 'Must use the character set "a-z", "0-9", " - . _"'
avatar:
label: Profile Image
@@ -744,6 +751,7 @@ ui:
confirm_info: >-
<p>Are you sure you want to add another answer?</p><p>You could use the edit link to refine and improve your existing answer, instead.</p>
empty: Answer cannot be empty.
characters: content must be at least 6 characters in length.
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
@@ -804,7 +812,7 @@ ui:
modal_confirm:
title: Error...
account_result:
page_title: Welcome to Answer
page_title: Welcome to {{site_name}}
success: Your new account is confirmed; you will be redirected to the home page.
link: Continue to homepage
invalid: >-
@@ -815,7 +823,7 @@ ui:
unsubscribe:
page_title: Unsubscribe
success_title: Unsubscribe Successful
success_desc: You have been successfully removed from this subscriber list and wont receive any further emails from us.
success_desc: You have been successfully removed from this subscriber list and won't receive any further emails from us.
link: Change settings
question:
following_tags: Following Tags
@@ -877,7 +885,7 @@ ui:
title: Answer
next: Next
done: Done
config_yaml_error: Cant create the config.yaml file.
config_yaml_error: Can't create the config.yaml file.
lang:
label: Please Choose a Language
db_type:
@@ -907,7 +915,7 @@ ui:
label: The config.yaml file created.
desc: >-
You can create the <1>config.yaml</1> file manually in the <1>/var/wwww/xxx/</1> directory and paste the following text into it.
info: "After youve done that, click Next button."
info: After you've done that, click "Next" button.
site_information: Site Information
admin_account: Admin Account
site_name:
@@ -953,6 +961,11 @@ ui:
db_failed: Database connection failed
db_failed_desc: >-
This either means that the database information in your <1>config.yaml</1> file is incorrect or that contact with the database server could not be established. This could mean your hosts database server is down.
counts:
views: views
votes: votes
answers: answers
accepted: Accepted
page_404:
desc: "Unfortunately, this page doesn't exist."
back_home: Back to homepage
@@ -960,7 +973,7 @@ ui:
desc: The server encountered an error and could not complete your request.
back_home: Back to homepage
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "We are under maintenance, we'll be back soon."
nav_menus:
dashboard: Dashboard
contents: Contents
@@ -1094,7 +1107,7 @@ ui:
password:
label: Password
text: The user will be logged out and need to login again.
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
user_modal:
@@ -1103,13 +1116,13 @@ ui:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
msg: Display Name must be at 3-30 characters in length.
email:
label: Email
msg: Email is not valid.
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
msg: Password must be at 8-32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
questions:
@@ -1228,14 +1241,14 @@ ui:
text: The logo image at the top left of your site. Use a wide rectangular image with a height of 56 and an aspect ratio greater than 3:1. If left blank, the site title text will be shown.
mobile_logo:
label: Mobile Logo (optional)
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the logo setting will be used.
text: The logo used on mobile version of your site. Use a wide rectangular image with a height of 56. If left blank, the image from the "logo" setting will be used.
square_icon:
label: Square Icon (optional)
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
favicon:
label: Favicon (optional)
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, square icon will be used.
text: A favicon for your site. To work correctly over a CDN it must be a png. Will be resized to 32x32. If left blank, "square icon" will be used.
legal:
page_title: Legal
terms_of_service:
+1
View File
@@ -43,6 +43,7 @@ const (
TagNotFound = "error.tag.not_found"
TagNotContainSynonym = "error.tag.not_contain_synonym_tags"
TagCannotUpdate = "error.tag.cannot_update"
TagIsUsedCannotDelete = "error.tag.is_used_cannot_delete"
RankFailToMeetTheCondition = "error.rank.fail_to_meet_the_condition"
ThemeNotFound = "error.theme.not_found"
LangNotFound = "error.lang.not_found"
+19
View File
@@ -33,6 +33,7 @@ import (
"github.com/go-playground/validator/v10/translations/vi"
"github.com/go-playground/validator/v10/translations/zh"
"github.com/go-playground/validator/v10/translations/zh_tw"
"github.com/microcosm-cc/bluemonday"
myErrors "github.com/segmentfault/pacman/errors"
"github.com/segmentfault/pacman/i18n"
"github.com/segmentfault/pacman/log"
@@ -116,10 +117,28 @@ func NotBlank(fl validator.FieldLevel) (res bool) {
}
}
func Sanitizer(fl validator.FieldLevel) (res bool) {
field := fl.Field()
switch field.Kind() {
case reflect.String:
filter := bluemonday.UGCPolicy()
content := strings.Replace(filter.Sanitize(field.String()), "&amp;", "&", -1)
field.SetString(content)
return true
case reflect.Chan, reflect.Map, reflect.Slice, reflect.Array:
return field.Len() > 0
case reflect.Ptr, reflect.Interface, reflect.Func:
return !field.IsNil()
default:
return field.IsValid() && field.Interface() != reflect.Zero(field.Type()).Interface()
}
}
func createDefaultValidator(la i18n.Language) *validator.Validate {
validate := validator.New()
// _ = validate.RegisterValidation("notblank", validators.NotBlank)
_ = validate.RegisterValidation("notblank", NotBlank)
_ = validate.RegisterValidation("sanitizer", Sanitizer)
validate.RegisterTagNameFunc(func(fld reflect.StructField) (res string) {
defer func() {
if len(res) > 0 {
-14
View File
@@ -41,7 +41,6 @@ func InstallAllInitialEnvironment(dataDirPath string) {
FormatAllPath(dataDirPath)
installUploadDir()
installI18nBundle()
installReservedUsernames()
fmt.Println("install all initial environment done")
}
@@ -114,16 +113,3 @@ func installI18nBundle() {
}
}
}
func installReservedUsernames() {
reservedUsernamesJsonFilePath := filepath.Join(ConfigFileDir, DefaultReservedUsernamesConfigFileName)
if !dir.CheckFileExist(reservedUsernamesJsonFilePath) {
err := writer.WriteFile(reservedUsernamesJsonFilePath, string(configs.ReservedUsernames))
if err != nil {
fmt.Printf("[%s] write file fail: %s\n", DefaultReservedUsernamesConfigFileName, err)
} else {
fmt.Printf("[%s] write file success\n", DefaultReservedUsernamesConfigFileName)
}
return
}
}
+1 -1
View File
@@ -31,7 +31,7 @@ func NewSiteinfoController(siteInfoService *siteinfo_common.SiteInfoCommonServic
// @Router /answer/api/v1/siteinfo [get]
func (sc *SiteinfoController) GetSiteInfo(ctx *gin.Context) {
var err error
resp := &schema.SiteInfoResp{}
resp := &schema.SiteInfoResp{Version: constant.Version}
resp.General, err = sc.siteInfoService.GetSiteGeneral(ctx)
if err != nil {
log.Error(err)
+21 -1
View File
@@ -1,6 +1,8 @@
package controller
import (
"strings"
"github.com/answerdev/answer/internal/base/handler"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/base/reason"
@@ -48,6 +50,25 @@ func (tc *TagController) SearchTagLike(ctx *gin.Context) {
handler.HandleResponse(ctx, err, resp)
}
// GetTagsBySlugName
// @Summary get tags list
// @Description get tags list
// @Tags Tag
// @Produce json
// @Param tags query []string false "string collection" collectionFormat(csv)
// @Success 200 {object} handler.RespBody{}
// @Router /answer/api/v1/tags [get]
func (tc *TagController) GetTagsBySlugName(ctx *gin.Context) {
req := &schema.SearchTagsBySlugName{}
if handler.BindAndCheck(ctx, req) {
return
}
req.TagList = strings.Split(req.Tags, ",")
// req.IsAdmin = middleware.GetIsAdminFromContext(ctx)
resp, err := tc.tagService.GetTagsBySlugName(ctx, req.TagList)
handler.HandleResponse(ctx, err, resp)
}
// RemoveTag delete tag
// @Summary delete tag
// @Description delete tag
@@ -73,7 +94,6 @@ func (tc *TagController) RemoveTag(ctx *gin.Context) {
handler.HandleResponse(ctx, errors.Forbidden(reason.RankFailToMeetTheCondition), nil)
return
}
err = tc.tagService.RemoveTag(ctx, req)
handler.HandleResponse(ctx, err, nil)
}
@@ -205,7 +205,7 @@ func (sc *SiteInfoController) UpdateGeneral(ctx *gin.Context) {
return
}
err := sc.siteInfoService.SaveSiteGeneral(ctx, req)
handler.HandleResponse(ctx, err, nil)
handler.HandleResponse(ctx, err, req)
}
// UpdateInterface update site interface
+125
View File
@@ -0,0 +1,125 @@
package install
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"net/http/httptest"
"os"
"github.com/gin-gonic/gin"
"github.com/tidwall/gjson"
)
type Env struct {
AutoInstall string `json:"auto_install"`
DbType string `json:"db_type"`
DbUsername string `json:"db_username"`
DbPassword string `json:"db_password"`
DbHost string `json:"db_host"`
DbName string `json:"db_name"`
DbFile string `json:"db_file"`
Language string `json:"lang"`
SiteName string `json:"site_name"`
SiteURL string `json:"site_url"`
ContactEmail string `json:"contact_email"`
AdminName string `json:"name"`
AdminPassword string `json:"password"`
AdminEmail string `json:"email"`
}
func TryToInstallByEnv() (installByEnv bool, err error) {
env := loadEnv()
if len(env.AutoInstall) == 0 {
return false, nil
}
fmt.Println("[auto-install] try to install by environment variable")
return true, initByEnv(env)
}
func loadEnv() (env *Env) {
return &Env{
AutoInstall: os.Getenv("AUTO_INSTALL"),
DbType: os.Getenv("DB_TYPE"),
DbUsername: os.Getenv("DB_USERNAME"),
DbPassword: os.Getenv("DB_PASSWORD"),
DbHost: os.Getenv("DB_HOST"),
DbName: os.Getenv("DB_NAME"),
DbFile: os.Getenv("DB_FILE"),
Language: os.Getenv("LANGUAGE"),
SiteName: os.Getenv("SITE_NAME"),
SiteURL: os.Getenv("SITE_URL"),
ContactEmail: os.Getenv("CONTACT_EMAIL"),
AdminName: os.Getenv("ADMIN_NAME"),
AdminPassword: os.Getenv("ADMIN_PASSWORD"),
AdminEmail: os.Getenv("ADMIN_EMAIL"),
}
}
func initByEnv(env *Env) (err error) {
gin.SetMode(gin.TestMode)
if err = dbCheck(env); err != nil {
return err
}
if err = initConfigAndDb(env); err != nil {
return err
}
if err = initBaseInfo(env); err != nil {
return err
}
return nil
}
func dbCheck(env *Env) (err error) {
req := &CheckDatabaseReq{
DbType: env.DbType,
DbUsername: env.DbUsername,
DbPassword: env.DbPassword,
DbHost: env.DbHost,
DbName: env.DbName,
DbFile: env.DbFile,
}
return requestAPI(req, "POST", "/installation/db/check", CheckDatabase)
}
func initConfigAndDb(env *Env) (err error) {
req := &CheckDatabaseReq{
DbType: env.DbType,
DbUsername: env.DbUsername,
DbPassword: env.DbPassword,
DbHost: env.DbHost,
DbName: env.DbName,
DbFile: env.DbFile,
}
return requestAPI(req, "POST", "/installation/init", InitEnvironment)
}
func initBaseInfo(env *Env) (err error) {
req := &InitBaseInfoReq{
Language: env.Language,
SiteName: env.SiteName,
SiteURL: env.SiteURL,
ContactEmail: env.ContactEmail,
AdminName: env.AdminName,
AdminPassword: env.AdminPassword,
AdminEmail: env.AdminEmail,
}
return requestAPI(req, "POST", "/installation/base-info", InitBaseInfo)
}
func requestAPI(req interface{}, method, url string, handlerFunc gin.HandlerFunc) error {
w := httptest.NewRecorder()
c, _ := gin.CreateTestContext(w)
body, _ := json.Marshal(req)
c.Request, _ = http.NewRequest(method, url, bytes.NewBuffer(body))
if method == "POST" {
c.Request.Header.Set("Content-Type", "application/json")
}
handlerFunc(c)
if w.Code != http.StatusOK {
return fmt.Errorf(gjson.Get(w.Body.String(), "msg").String())
}
return nil
}
+5
View File
@@ -21,6 +21,11 @@ func Run(configPath string) {
panic(err)
}
// try to install by env
if installByEnv, err := TryToInstallByEnv(); installByEnv && err != nil {
fmt.Printf("[auto-install] try to init by env fail: %v\n", err)
}
installServer := NewInstallHTTPServer()
if len(port) == 0 {
port = "80"
+9 -1
View File
@@ -107,6 +107,14 @@ func (qr *questionRepo) UpdateQuestionStatus(ctx context.Context, question *enti
return nil
}
func (qr *questionRepo) UpdateQuestionStatusWithOutUpdateTime(ctx context.Context, question *entity.Question) (err error) {
_, err = qr.data.DB.Where("id =?", question.ID).Cols("status").Update(question)
if err != nil {
return errors.InternalServer(reason.DatabaseError).WithError(err).WithStack()
}
return nil
}
func (qr *questionRepo) UpdateAccepted(ctx context.Context, question *entity.Question) (err error) {
_, err = qr.data.DB.Where("id =?", question.ID).Cols("accepted_answer_id").Update(question)
if err != nil {
@@ -199,7 +207,7 @@ func (qr *questionRepo) GetQuestionIDsPage(ctx context.Context, page, pageSize i
item := &schema.SiteMapQuestionInfo{}
item.ID = question.ID
item.Title = htmltext.UrlTitle(question.Title)
item.UpdateTime = fmt.Sprintf("%v", question.PostUpdateTime.UTC())
item.UpdateTime = fmt.Sprintf("%v", question.PostUpdateTime.Format(time.RFC3339))
questionIDList = append(questionIDList, item)
}
return questionIDList, nil
+1 -1
View File
@@ -74,7 +74,7 @@ func (ur *UserRankRepo) checkUserMinRank(ctx context.Context, session *xorm.Sess
isReachStandard bool, err error,
) {
bean := &entity.User{ID: userID}
_, err = session.Select("rank").Get(bean)
_, err = session.Select("`rank`").Get(bean)
if err != nil {
return false, errors.InternalServer(reason.DatabaseError).WithError(err).WithStack()
}
+9
View File
@@ -8,6 +8,7 @@ import (
"github.com/answerdev/answer/internal/entity"
"github.com/answerdev/answer/internal/service/tag_common"
"github.com/answerdev/answer/internal/service/unique"
"github.com/answerdev/answer/pkg/converter"
"github.com/segmentfault/pacman/errors"
"xorm.io/builder"
)
@@ -61,6 +62,14 @@ func (tr *tagRepo) UpdateTagSynonym(ctx context.Context, tagSlugNameList []strin
return
}
func (tr *tagRepo) GetTagSynonymCount(ctx context.Context, tagID string) (count int64, err error) {
count, err = tr.data.DB.Count(&entity.Tag{MainTagID: converter.StringToInt64(tagID), Status: entity.TagStatusAvailable})
if err != nil {
err = errors.InternalServer(reason.DatabaseError).WithError(err).WithStack()
}
return
}
// GetTagList get tag list all
func (tr *tagRepo) GetTagList(ctx context.Context, tag *entity.Tag) (tagList []*entity.Tag, err error) {
tagList = make([]*entity.Tag, 0)
+1
View File
@@ -141,6 +141,7 @@ func (a *AnswerAPIRouter) RegisterUnAuthAnswerAPIRouter(r *gin.RouterGroup) {
r.GET("/tags/page", a.tagController.GetTagWithPage)
r.GET("/tags/following", a.tagController.GetFollowingTags)
r.GET("/tag", a.tagController.GetTagInfo)
r.GET("/tags", a.tagController.GetTagsBySlugName)
r.GET("/tag/synonyms", a.tagController.GetTagSynonyms)
//search
+6 -5
View File
@@ -18,11 +18,11 @@ const PermaLinkQuestionID = 2
// SiteGeneralReq site general request
type SiteGeneralReq struct {
Name string `validate:"required,gt=1,lte=128" form:"name" json:"name"`
ShortDescription string `validate:"omitempty,gt=3,lte=255" form:"short_description" json:"short_description"`
Description string `validate:"omitempty,gt=3,lte=2000" form:"description" json:"description"`
SiteUrl string `validate:"required,gt=1,lte=512,url" form:"site_url" json:"site_url"`
ContactEmail string `validate:"required,gt=1,lte=512,email" form:"contact_email" json:"contact_email"`
Name string `validate:"required,sanitizer,gt=1,lte=128" form:"name" json:"name"`
ShortDescription string `validate:"omitempty,sanitizer,gt=3,lte=255" form:"short_description" json:"short_description"`
Description string `validate:"omitempty,sanitizer,gt=3,lte=2000" form:"description" json:"description"`
SiteUrl string `validate:"required,sanitizer,gt=1,lte=512,url" form:"site_url" json:"site_url"`
ContactEmail string `validate:"required,sanitizer,gt=1,lte=512,email" form:"contact_email" json:"contact_email"`
}
type SiteSeoReq struct {
@@ -166,6 +166,7 @@ type SiteInfoResp struct {
Theme *SiteThemeResp `json:"theme"`
CustomCssHtml *SiteCustomCssHTMLResp `json:"custom_css_html"`
SiteSeo *SiteSeoReq `json:"site_seo"`
Version string `json:"version"`
}
type TemplateSiteInfoResp struct {
General *SiteGeneralResp `json:"general"`
+6
View File
@@ -16,6 +16,12 @@ type SearchTagLikeReq struct {
IsAdmin bool `json:"-"`
}
type SearchTagsBySlugName struct {
Tags string `json:"tags" form:"tags"`
TagList []string `json:"-"`
IsAdmin bool `json:"-"`
}
// GetTagInfoReq get tag info request
type GetTagInfoReq struct {
// tag id
+4
View File
@@ -78,6 +78,10 @@ func (as *AnswerService) RemoveAnswer(ctx context.Context, req *schema.RemoveAns
if !exist {
return nil
}
// if the status is deleted, return directly
if answerInfo.Status == entity.AnswerStatusDeleted {
return nil
}
if !req.IsAdmin {
if answerInfo.UserID != req.UserID {
return errors.BadRequest(reason.AnswerCannotDeleted)
@@ -34,6 +34,7 @@ type QuestionRepo interface {
GetQuestionPage(ctx context.Context, page, pageSize int, userID, tagID, orderCond string) (
questionList []*entity.Question, total int64, err error)
UpdateQuestionStatus(ctx context.Context, question *entity.Question) (err error)
UpdateQuestionStatusWithOutUpdateTime(ctx context.Context, question *entity.Question) (err error)
SearchByTitleLike(ctx context.Context, title string) (questionList []*entity.Question, err error)
UpdatePvCount(ctx context.Context, questionID string) (err error)
UpdateAnswerCount(ctx context.Context, questionID string, num int) (err error)
+5 -1
View File
@@ -323,6 +323,10 @@ func (qs *QuestionService) RemoveQuestion(ctx context.Context, req *schema.Remov
if err != nil {
return err
}
//if the status is deleted, return directly
if questionInfo.Status == entity.QuestionStatusDeleted {
return nil
}
if !has {
return nil
}
@@ -354,7 +358,7 @@ func (qs *QuestionService) RemoveQuestion(ctx context.Context, req *schema.Remov
}
questionInfo.Status = entity.QuestionStatusDeleted
err = qs.questionRepo.UpdateQuestionStatus(ctx, questionInfo)
err = qs.questionRepo.UpdateQuestionStatusWithOutUpdateTime(ctx, questionInfo)
if err != nil {
return err
}
+33
View File
@@ -50,6 +50,25 @@ func NewTagService(
// RemoveTag delete tag
func (ts *TagService) RemoveTag(ctx context.Context, req *schema.RemoveTagReq) (err error) {
//If the tag has associated problems, it cannot be deleted
tagCount, err := ts.tagCommonService.CountTagRelByTagID(ctx, req.TagID)
if err != nil {
return err
}
if tagCount > 0 {
return errors.BadRequest(reason.TagIsUsedCannotDelete)
}
//If the tag has associated problems, it cannot be deleted
tagSynonymCount, err := ts.tagRepo.GetTagSynonymCount(ctx, req.TagID)
if err != nil {
return err
}
if tagSynonymCount > 0 {
return errors.BadRequest(reason.TagIsUsedCannotDelete)
}
// tagRelRepo
err = ts.tagRepo.RemoveTag(ctx, req.TagID)
if err != nil {
return err
@@ -116,6 +135,20 @@ func (ts *TagService) GetTagInfo(ctx context.Context, req *schema.GetTagInfoReq)
return resp, nil
}
func (ts *TagService) GetTagsBySlugName(ctx context.Context, tagNames []string) ([]*schema.TagItem, error) {
tagList := make([]*schema.TagItem, 0)
tagListInDB, err := ts.tagCommonService.GetTagListByNames(ctx, tagNames)
if err != nil {
return tagList, err
}
for _, tag := range tagListInDB {
tagItem := &schema.TagItem{}
copier.Copy(tagItem, tag)
tagList = append(tagList, tagItem)
}
return tagList, nil
}
// GetFollowingTags get following tags
func (ts *TagService) GetFollowingTags(ctx context.Context, userID string) (
resp []*schema.GetFollowingTagsResp, err error) {
@@ -38,6 +38,7 @@ type TagRepo interface {
RemoveTag(ctx context.Context, tagID string) (err error)
UpdateTag(ctx context.Context, tag *entity.Tag) (err error)
UpdateTagSynonym(ctx context.Context, tagSlugNameList []string, mainTagID int64, mainTagSlugName string) (err error)
GetTagSynonymCount(ctx context.Context, tagID string) (count int64, err error)
GetTagList(ctx context.Context, tag *entity.Tag) (tagList []*entity.Tag, err error)
}
@@ -563,6 +564,10 @@ func (ts *TagCommonService) ObjectChangeTag(ctx context.Context, objectTagData *
return nil
}
func (ts *TagCommonService) CountTagRelByTagID(ctx context.Context, tagID string) (count int64, err error) {
return ts.tagRelRepo.CountTagRelByTagID(ctx, tagID)
}
// RefreshTagQuestionCount refresh tag question count
func (ts *TagCommonService) RefreshTagQuestionCount(ctx context.Context, tagIDs []string) (err error) {
for _, tagID := range tagIDs {
-118
View File
@@ -1,118 +0,0 @@
# Answer
`Answer` is a modern Q&A community application ✨
To learn more about the philosophy and goals of the project, visit [Answer](https://answer.dev).
## ⚙️ Prerequisites
- [Node.js](https://nodejs.org/) `>=16.17`
- [pnpm](https://pnpm.io/) `>=7`
pnpm is required by building the Answer project. To installing the pnpm tools with below commands:
```bash
corepack enable
corepack prepare pnpm@v7.12.2 --activate
```
With Node.js v16.17 or newer, you may install the latest version of pnpm by just specifying the tag:
```bash
corepack prepare pnpm@latest --activate
```
## 🔨 Development
clone the repo locally and run following command in your terminal:
```shell
$ git clone git@github.com:answerdev/answer.git answer
$ cd answer/ui
$ pnpm install
$ pnpm start
```
now, your browser should already open automatically, and autoload `http://localhost:3000`.
you can also manually visit it.
## 👷 Workflow
when cloning repo, and run `pnpm install` to init dependencies. you can use project commands below:
- `pnpm start` run Answer web locally.
- `pnpm build` build Answer for production
- `pnpm lint` lint and fix the code style
## 🌍 I18n(Multi-language)
If you need to add or edit a language entry, just go to the `/i18n/en_US.yaml` file,
all front-end language entries are placed under the `ui` field.
If you would like to help us with the i18n translation, please visit [Answer@Crowdin](https://crowdin.com/translate/answer)
## 💡 Project instructions
```
.
├── cmd
├── configs
├── docs
├── i18n
├── en_US.yaml (basic language file)
├── i18n.yaml (language list)
├── internal
├── ...
└── ui (front-end project starts here)
├── build (built results directory, usually without concern)
├── public (html template for public)
├── scripts (some scripting tools on front-end project)
├── src (almost all front-end resources are here)
├── assets (static resources)
├── common (project information/data defined here)
├── components (all components of the project)
├── hooks (all hooks of the project)
├── i18n (Used only to initialize the front-end i18n tool)
├── pages (all pages of the project)
├── router (Project routing definition)
├── services (all data api of the project)
├── stores (all data stores of the project)
├── utils (all utils of the project)
```
## 🤝 Contributing
#### Fix Bug
If you find a bug, please don't hesitate to [submit an issue](https://github.com/answerdev/answer/issues) to us.
If you can fix it, please include a note with your issue submission.
If it is a bug definitely, you can submit your PR after we confirm it, which will ensure you don't do anything useless.
#### Code Review & Comment
In our development, some codes are not logical we know. If you find it, please don't hesitate to submit PR to us.
In the same way, some function has no comment. We would appreciate it if you could help us supplement it.
#### Translation
All our translations are placed in the i18n directory.
1. If you find that the corresponding key in the language you are using does not have a translation, you can submit your translation.
2. If you want to submit a new language translation, please add your language to the `i18n.yaml` file.
#### Features or Plugin
1. We developed the features for the plan based on the [roadmap](https://github.com/orgs/answerdev/projects/1). If you are suggestions for new functions, please confirm whether they have been planned.
2. Plugins will be available in the future, so stay tuned.
## 📱Environment Support
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br />Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br />Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br />Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br />Safari |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| last 2 versions | last 2 versions | last 2 versions | last 2 versions |
## ⭐ Built with
- [TypeScript](https://www.typescriptlang.org/) - strongly typed JavaScript
- [React.js](https://reactjs.org/) - Our front end is a React.js app
- [React Router](https://reactrouter.com/en/main) - Router library
- [Bootstrap](https://getbootstrap.com/) - UI library.
- [React Bootstrap](https://react-bootstrap.github.io/) - UI Library(rebuilt for React)
- [axios](https://github.com/axios/axios) - Request library
- [SWR](https://swr.bootcss.com/) - Request library
- [react-i18next](https://react.i18next.com/) - International library
- [zustand](https://github.com/pmndrs/zustand) - State-management library
+1 -1
View File
@@ -38,7 +38,7 @@
"react-dom": "^18.2.0",
"react-helmet-async": "^1.3.0",
"react-i18next": "^11.18.3",
"react-router-dom": "^6.4.0",
"react-router-dom": "^6.8.1",
"semver": "^7.3.8",
"swr": "^1.3.0",
"urlcat": "^3.0.0",
+340 -1136
View File
File diff suppressed because it is too large Load Diff
+83 -1
View File
@@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="generator" content="Answer %AnswerVersion% - https://github.com/answerdev/answer">
<meta name="generator" content="Answer - https://github.com/answerdev/answer">
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
</head>
<body>
@@ -16,6 +16,10 @@
#spin-mask {
display: none !important;
}
#protect-brower {
display: none;
}
</style>
</noscript>
<style>
@@ -49,11 +53,89 @@
border-radius: 50%;
animation: 0.75s linear infinite _doc-spin;
}
#protect-brower {
padding: 20px;
text-align: center;
}
</style>
<div id="spin-container">
<div class="spinner"></div>
</div>
<div id="protect-brower"></div>
</div>
</div>
</body>
<script>
/**
* @description: Prompt that the browser version is too low
*/
const defaultList = [
{
name: 'Edge',
version: '100'
},
{
name: 'Firefox',
version: '100'
},
{
name: 'Chrome',
version: '90'
},
{
name: 'Safari',
version: '15'
}
];
function getBrowerTypeAndVersion(){
var brower = {
name: '',
version: ''
};
var ua = navigator.userAgent.toLowerCase();
var s;
(s = ua.match(/edge\/([\d\.]+)/)) ? brower = { name: 'Edge', version: s[1] } :
(s = ua.match(/firefox\/([\d\.]+)/)) ? brower = { name: 'Firefox', version: s[1] } :
(s = ua.match(/chrome\/([\d\.]+)/)) ? brower = { name: 'Chrome', version: s[1] } :
(s = ua.match(/version\/([\d\.]+).*safari/)) ? brower = { name: 'Safari', version: s[1] } : brower = { name: 'unknown', version: '' };
// 根据关系进行判断
return brower;
}
function compareVersion(version1, version2) {
var v1 = version1.split('.');
var v2 = version2.split('.');
var len = Math.max(v1.length, v2.length);
while (v1.length < len) {
v1.push('0');
}
while (v2.length < len) {
v2.push('0');
}
for (var i = 0; i < len; i++) {
var num1 = parseInt(v1[i]);
var num2 = parseInt(v2[i]);
if (num1 >= num2) {
return 1;
} else if (num1 < num2) {
return -1;
}
}
return 0;
}
const browerInfo = getBrowerTypeAndVersion();
const notSupport = defaultList.some(item => {
if (item.name === browerInfo.name) {
return compareVersion(browerInfo.version, item.version) === -1;
}
return false;
});
if (notSupport) {
const div = document.getElementById('protect-brower');
div.innerText = 'The current browser version is too low, in order not to affect the normal use of the function, please upgrade the browser to the latest version.'
}
</script>
</html>
+1
View File
@@ -327,6 +327,7 @@ export interface SiteSettings {
custom_css_html: AdminSettingsCustom;
theme: AdminSettingsTheme;
site_seo: AdminSettingsSeo;
version: string;
}
export interface AdminSettingBranding {
@@ -5,7 +5,7 @@ import { useTranslation } from 'react-i18next';
import classNames from 'classnames';
import { TextArea, Mentions } from '@/components';
import { usePageUsers } from '@/hooks';
import { usePageUsers, usePromptWithUnload } from '@/hooks';
const Index = ({
className = '',
@@ -16,13 +16,19 @@ const Index = ({
mode,
}) => {
const [value, setValue] = useState('');
const [immData, setImmData] = useState('');
const pageUsers = usePageUsers();
const { t } = useTranslation('translation', { keyPrefix: 'comment' });
const [validationErrorMsg, setValidationErrorMsg] = useState('');
usePromptWithUnload({
when: type === 'edit' ? immData !== value : Boolean(value),
});
useEffect(() => {
if (!initialValue) {
return;
}
setImmData(initialValue);
setValue(initialValue);
}, [initialValue]);
@@ -5,13 +5,18 @@ import { useTranslation } from 'react-i18next';
import classNames from 'classnames';
import { TextArea, Mentions } from '@/components';
import { usePageUsers } from '@/hooks';
import { usePageUsers, usePromptWithUnload } from '@/hooks';
const Index = ({ userName, onSendReply, onCancel, mode }) => {
const [value, setValue] = useState('');
const pageUsers = usePageUsers();
const { t } = useTranslation('translation', { keyPrefix: 'comment' });
const [validationErrorMsg, setValidationErrorMsg] = useState('');
usePromptWithUnload({
when: Boolean(value),
});
const handleChange = (e) => {
setValue(e.target.value);
};
+6 -1
View File
@@ -239,7 +239,12 @@ const Code: FC<IEditorContext> = ({ editor, wrapText }) => {
)}
</Form.Group>
<Form.Group controlId="editor.codeLanguageType" className="mb-3">
<Form.Label>{t('code.form.fields.language.label')}</Form.Label>
<Form.Label>{`${t('code.form.fields.language.label')} ${t(
'optional',
{
keyPrefix: 'form',
},
)}`}</Form.Label>
<Select
options={codeLanguageType}
value={lang}
+27 -9
View File
@@ -41,7 +41,7 @@ const Image: FC<IEditorContext> = ({ editor }) => {
if (filteredFiles.length > 0) {
AnswerModal.confirm({
content: t('image.only_image'),
content: t('image.form_image.fields.file.msg.only_image'),
});
return false;
}
@@ -51,7 +51,7 @@ const Image: FC<IEditorContext> = ({ editor }) => {
if (filteredImages.length > 0) {
AnswerModal.confirm({
content: t('image.max_size'),
content: t('image.form_image.fields.file.msg.max_size'),
});
return false;
}
@@ -96,13 +96,24 @@ const Image: FC<IEditorContext> = ({ editor }) => {
const endPos = { ...startPos, ch: startPos.ch + loadingText.length };
editor.replaceSelection(loadingText);
const urls = await upload(fileList);
const text = urls.map(({ name, url }) => {
return `![${name}](${url})`;
const urls = await upload(fileList).catch((ex) => {
console.log('ex: ', ex);
});
editor.replaceRange(text.join('\n'), startPos, endPos);
const text: string[] = [];
if (Array.isArray(urls)) {
urls.forEach(({ name, url }) => {
if (name && url) {
text.push(`![${name}](${url})`);
}
});
}
if (text.length) {
editor.replaceRange(text.join('\n'), startPos, endPos);
} else {
// Clear loading text
editor.replaceRange('', startPos, endPos);
}
};
const paste = async (_, event) => {
@@ -251,7 +262,12 @@ const Image: FC<IEditorContext> = ({ editor }) => {
<Form.Group controlId="editor.imgDescription" className="mb-3">
<Form.Label>
{t('image.form_image.fields.desc.label')}
{`${t('image.form_image.fields.desc.label')} ${t(
'optional',
{
keyPrefix: 'form',
},
)}`}
</Form.Label>
<Form.Control
type="text"
@@ -285,7 +301,9 @@ const Image: FC<IEditorContext> = ({ editor }) => {
<Form.Group controlId="editor.imgName" className="mb-3">
<Form.Label>
{t('image.form_url.fields.name.label')}
{`${t('image.form_url.fields.name.label')} ${t('optional', {
keyPrefix: 'form',
})}`}
</Form.Label>
<Form.Control
type="text"
+6 -1
View File
@@ -88,7 +88,12 @@ const Link: FC<IEditorContext> = ({ editor }) => {
</Form.Group>
<Form.Group controlId="editor.internetSiteName" className="mb-3">
<Form.Label>{t('link.form.fields.name.label')}</Form.Label>
<Form.Label>{`${t('link.form.fields.name.label')} ${t(
'optional',
{
keyPrefix: 'form',
},
)}`}</Form.Label>
<Form.Control
type="text"
value={name.value}
+12 -5
View File
@@ -15,6 +15,7 @@ import {
Link,
useNavigate,
useLocation,
useMatch,
} from 'react-router-dom';
import classnames from 'classnames';
@@ -35,16 +36,22 @@ import './index.scss';
const Header: FC = () => {
const navigate = useNavigate();
const { user, clear: clearUserStore } = loggedUserInfoStore();
const { t } = useTranslation();
const location = useLocation();
const [urlSearch] = useSearchParams();
const q = urlSearch.get('q');
const { user, clear: clearUserStore } = loggedUserInfoStore();
const { t } = useTranslation();
const [searchStr, setSearch] = useState('');
const siteInfo = siteInfoStore((state) => state.siteInfo);
const brandingInfo = brandingStore((state) => state.branding);
const loginSetting = loginSettingStore((state) => state.login);
const { data: redDot } = useQueryNotificationStatus();
const location = useLocation();
const tagMatch = useMatch('/tags/:slugName');
let askUrl = '/questions/ask';
if (tagMatch && tagMatch.params.slugName) {
askUrl = `${askUrl}?tags=${tagMatch.params.slugName}`;
}
const handleInput = (val) => {
setSearch(val);
};
@@ -189,7 +196,7 @@ const Header: FC = () => {
<Nav.Item className="lg-none mt-3 pb-1">
<Link
to="/questions/ask"
to={askUrl}
className="text-capitalize text-nowrap btn btn-light">
{t('btns.add_question')}
</Link>
@@ -202,7 +209,7 @@ const Header: FC = () => {
<Nav className="d-flex align-items-center flex-lg-nowrap">
<Nav.Item className="me-3">
<Link
to="/questions/ask"
to={askUrl}
className={classnames('text-capitalize text-nowrap btn', {
'btn-light': navbarStyle !== 'theme-light',
'btn-primary': navbarStyle === 'theme-light',
+19 -2
View File
@@ -1,7 +1,7 @@
import { FC } from 'react';
import { FC, useEffect } from 'react';
import { Helmet } from 'react-helmet-async';
import { brandingStore, pageTagStore } from '@/stores';
import { brandingStore, pageTagStore, siteInfoStore } from '@/stores';
const doInsertCustomCSS = !document.querySelector('link[href*="custom.css"]');
@@ -10,6 +10,23 @@ const Index: FC = () => {
const { pageTitle, keywords, description } = pageTagStore(
(state) => state.items,
);
const appVersion = siteInfoStore((_) => _.version);
const setAppGenerator = () => {
if (!appVersion) {
return;
}
const generatorMetaNode = document.querySelector('meta[name="generator"]');
if (generatorMetaNode) {
generatorMetaNode.setAttribute(
'content',
`Answer ${appVersion} - https://github.com/answerdev/answer`,
);
}
};
useEffect(() => {
setAppGenerator();
}, [appVersion]);
return (
<Helmet>
<link
+2
View File
@@ -9,6 +9,7 @@ import useUserModal from './useUserModal';
import useChangePasswordModal from './useChangePasswordModal';
import usePageTags from './usePageTags';
import useLoginRedirect from './useLoginRedirect';
import usePromptWithUnload from './usePrompt';
export {
useTagModal,
@@ -22,4 +23,5 @@ export {
useChangePasswordModal,
usePageTags,
useLoginRedirect,
usePromptWithUnload,
};
+40
View File
@@ -0,0 +1,40 @@
import { useCallback } from 'react';
import {
useBeforeUnload,
unstable_usePrompt as usePrompt,
} from 'react-router-dom';
import { useTranslation } from 'react-i18next';
// https://gist.github.com/chaance/2f3c14ec2351a175024f62fd6ba64aa6
// The link above is an example of implementing usePromt with useBlocer.
interface PromptProps {
when: boolean;
beforeUnload?: boolean;
}
const usePromptWithUnload = ({
when = false,
beforeUnload = true,
}: PromptProps) => {
const { t } = useTranslation('translation', { keyPrefix: 'prompt' });
usePrompt({
when,
message: `${t('leave_page')} ${t('changes_not_save')}`,
});
useBeforeUnload(
useCallback(
(event) => {
if (beforeUnload && when) {
const msg = t('changes_not_save');
event.preventDefault();
event.returnValue = msg;
}
},
[when, beforeUnload],
),
{ capture: true },
);
};
export default usePromptWithUnload;
+3 -1
View File
@@ -225,7 +225,9 @@ const useTagModal = (props: IProps = {}) => {
</Form.Control.Feedback>
</Form.Group>
<Form.Group controlId="description">
<Form.Label>{t('form.fields.desc.label')}</Form.Label>
<Form.Label>{`${t('form.fields.desc.label')} ${t('optional', {
keyPrefix: 'form',
})}`}</Form.Label>
<Form.Control
className="font-monospace"
value={formData.description.value}
+10 -4
View File
@@ -44,22 +44,28 @@ const Index: FC = () => {
properties: {
logo: {
type: 'string',
title: t('logo.label'),
title: `${t('logo.label')} ${t('optional', { keyPrefix: 'form' })}`,
description: t('logo.text'),
},
mobile_logo: {
type: 'string',
title: t('mobile_logo.label'),
title: `${t('mobile_logo.label')} ${t('optional', {
keyPrefix: 'form',
})}`,
description: t('mobile_logo.text'),
},
square_icon: {
type: 'string',
title: t('square_icon.label'),
title: `${t('square_icon.label')} ${t('optional', {
keyPrefix: 'form',
})}`,
description: t('square_icon.text'),
},
favicon: {
type: 'string',
title: t('favicon.label'),
title: `${t('favicon.label')} ${t('optional', {
keyPrefix: 'form',
})}`,
description: t('favicon.text'),
},
},
+8 -2
View File
@@ -98,7 +98,10 @@ const Flags: FC = () => {
<small className="text-secondary">
Flagged {li.object_type}
</small>
<BaseUserCard data={li.reported_user} className="mt-2" />
<BaseUserCard
data={li.reported_user}
className="mt-2 fs-14"
/>
<a
href={pathFactory.questionLanding(
li.question_id,
@@ -120,7 +123,10 @@ const Flags: FC = () => {
time={li.created_at}
className="fs-14 text-secondary"
/>
<BaseUserCard data={li.report_user} className="mt-2 mb-2" />
<BaseUserCard
data={li.report_user}
className="mt-2 mb-2 fs-14"
/>
{li.flagged_reason ? (
<small>{li.flagged_content}</small>
) : (
+18 -4
View File
@@ -33,12 +33,16 @@ const General: FC = () => {
},
short_description: {
type: 'string',
title: t('short_desc.label'),
title: `${t('short_desc.label')} ${t('optional', {
keyPrefix: 'form',
})}`,
description: t('short_desc.text'),
},
description: {
type: 'string',
title: t('desc.label'),
title: `${t('desc.label')} ${t('optional', {
keyPrefix: 'form',
})}`,
description: t('desc.text'),
},
contact_email: {
@@ -88,6 +92,7 @@ const General: FC = () => {
const [formData, setFormData] = useState<Type.FormDataType>(
initFormData(schema),
);
const onSubmit = (evt) => {
evt.preventDefault();
evt.stopPropagation();
@@ -100,12 +105,21 @@ const General: FC = () => {
};
updateGeneralSetting(reqParams)
.then(() => {
.then((res) => {
Toast.onShow({
msg: t('update', { keyPrefix: 'toast' }),
variant: 'success',
});
updateSiteInfo(reqParams);
if (res.name) {
formData.name.value = res.name;
formData.description.value = res.description;
formData.short_description.value = res.short_description;
formData.site_url.value = res.site_url;
formData.contact_email.value = res.contact_email;
}
setFormData({ ...formData });
updateSiteInfo(res);
})
.catch((err) => {
if (err.isError) {
+3 -3
View File
@@ -294,7 +294,7 @@ const Index: FC = () => {
<h5>{t('warn_title')}</h5>
<p>
<Trans
i18nKey="install.warn_description"
i18nKey="install.warn_desc"
components={{ 1: <code /> }}
/>{' '}
<Trans i18nKey="install.install_now">
@@ -313,7 +313,7 @@ const Index: FC = () => {
<h5>{t('db_failed')}</h5>
<p>
<Trans
i18nKey="install.db_failed_description"
i18nKey="install.db_failed_desc"
components={{ 1: <code /> }}
/>
</p>
@@ -323,7 +323,7 @@ const Index: FC = () => {
{step === 8 && (
<div>
<h5>{t('installed')}</h5>
<p>{t('installed_description')}</p>
<p>{t('installed_desc')}</p>
</div>
)}
</Card.Body>
+62 -53
View File
@@ -1,12 +1,13 @@
import React, { useState, useEffect, useRef } from 'react';
import { Container, Row, Col, Form, Button, Card } from 'react-bootstrap';
import { useParams, useNavigate } from 'react-router-dom';
import { useParams, useNavigate, useSearchParams } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
import dayjs from 'dayjs';
import classNames from 'classnames';
import { isEqual } from 'lodash';
import { usePageTags } from '@/hooks';
import { usePageTags, usePromptWithUnload } from '@/hooks';
import { Editor, EditorRef, TagSelector } from '@/components';
import type * as Type from '@/common/interface';
import {
@@ -16,6 +17,7 @@ import {
useQueryRevisions,
postAnswer,
useQueryQuestionByTitle,
getTagsBySlugName,
} from '@/services';
import { handleFormError } from '@/utils';
import { pathFactory } from '@/router/pathFactory';
@@ -60,7 +62,9 @@ const Ask = () => {
};
const { t } = useTranslation('translation', { keyPrefix: 'ask' });
const [formData, setFormData] = useState<FormDataItem>(initFormData);
const [immData, setImmData] = useState<FormDataItem>(initFormData);
const [checked, setCheckState] = useState(false);
const [contentChanged, setContentChanged] = useState(false);
const [focusType, setForceType] = useState('');
const resetForm = () => {
setFormData(initFormData);
@@ -77,14 +81,60 @@ const Ask = () => {
const { qid } = useParams();
const navigate = useNavigate();
const [searchParams] = useSearchParams();
const initQueryTags = () => {
const queryTags = searchParams.get('tags');
if (!queryTags) {
return;
}
getTagsBySlugName(queryTags).then((tags) => {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
handleTagsChange(tags);
});
};
const isEdit = qid !== undefined;
const { data: similarQuestions = { list: [] } } = useQueryQuestionByTitle(
isEdit ? '' : formData.title.value,
);
useEffect(() => {
const { title, tags, content, answer } = formData;
const { title: editTitle, tags: editTags, content: editContent } = immData;
// edited
if (qid) {
if (
editTitle.value !== title.value ||
editContent.value !== content.value ||
!isEqual(
editTags.value.map((v) => v.slug_name),
tags.value.map((v) => v.slug_name),
)
) {
setContentChanged(true);
} else {
setContentChanged(false);
}
return;
}
// write
if (title.value || tags.value.length > 0 || content.value || answer.value) {
setContentChanged(true);
} else {
setContentChanged(false);
}
}, [formData]);
usePromptWithUnload({
when: contentChanged,
});
useEffect(() => {
if (!isEdit) {
resetForm();
initQueryTags();
}
}, [isEdit]);
const { data: revisions = [] } = useQueryRevisions(qid);
@@ -103,6 +153,7 @@ const Ask = () => {
original_text: '',
};
});
setImmData({ ...formData });
setFormData({ ...formData });
});
}, [qid]);
@@ -110,25 +161,25 @@ const Ask = () => {
const handleTitleChange = (e: React.ChangeEvent<HTMLInputElement>) => {
setFormData({
...formData,
title: { ...formData.title, value: e.currentTarget.value },
title: { ...formData.title, value: e.currentTarget.value, errorMsg: '' },
});
};
const handleContentChange = (value: string) => {
setFormData({
...formData,
content: { ...formData.content, value },
content: { ...formData.content, value, errorMsg: '' },
});
};
const handleTagsChange = (value) =>
setFormData({
...formData,
tags: { ...formData.tags, value },
tags: { ...formData.tags, value, errorMsg: '' },
});
const handleAnswerChange = (value: string) =>
setFormData({
...formData,
answer: { ...formData.answer, value },
answer: { ...formData.answer, value, errorMsg: '' },
});
const handleSummaryChange = (evt: React.ChangeEvent<HTMLInputElement>) =>
@@ -140,55 +191,10 @@ const Ask = () => {
},
});
const checkValidated = (): boolean => {
const bol = true;
const { title, content, tags, answer } = formData;
if (title.value && Array.from(title.value).length <= 150) {
formData.title = {
value: title.value,
isInvalid: false,
errorMsg: '',
};
}
if (content.value) {
formData.content = {
value: content.value,
isInvalid: false,
errorMsg: '',
};
}
if (Array.isArray(tags.value) && tags.value.length > 0) {
formData.tags = {
value: tags.value,
isInvalid: false,
errorMsg: '',
};
}
if (checked) {
if (answer.value) {
formData.answer = {
value: answer.value,
isInvalid: false,
errorMsg: '',
};
}
}
setFormData({
...formData,
});
return bol;
};
const handleSubmit = async (event: React.FormEvent<HTMLFormElement>) => {
setContentChanged(false);
event.preventDefault();
event.stopPropagation();
if (!checkValidated()) {
return;
}
const params: Type.QuestionParams = {
title: formData.title.value,
@@ -232,7 +238,9 @@ const Ask = () => {
})
.catch((err) => {
if (err.isError) {
const data = handleFormError(err, formData);
const data = handleFormError(err, formData, [
{ from: 'content', to: 'answer' },
]);
setFormData({ ...data });
}
});
@@ -250,6 +258,7 @@ const Ask = () => {
const index = e.target.value;
const revision = revisions[index];
formData.content.value = revision.content.content;
setImmData({ ...formData });
setFormData({ ...formData });
};
const bool = similarQuestions.length > 0 && !isEdit;
@@ -5,6 +5,7 @@ import { useTranslation } from 'react-i18next';
import { marked } from 'marked';
import classNames from 'classnames';
import { usePromptWithUnload } from '@/hooks';
import { Editor, Modal, TextArea } from '@/components';
import { FormDataType } from '@/common/interface';
import { postAnswer } from '@/services';
@@ -35,6 +36,10 @@ const Index: FC<Props> = ({ visible = false, data, callback }) => {
const [focusType, setFocusType] = useState('');
const [editorFocusState, setEditorFocusState] = useState(false);
usePromptWithUnload({
when: Boolean(formData.content.value),
});
const checkValidated = (): boolean => {
let bol = true;
const { content } = formData;
+21 -3
View File
@@ -1,4 +1,4 @@
import React, { useState, useRef } from 'react';
import React, { useState, useRef, useEffect } from 'react';
import { Container, Row, Col, Form, Button, Card } from 'react-bootstrap';
import { useParams, useNavigate } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
@@ -7,7 +7,7 @@ import dayjs from 'dayjs';
import classNames from 'classnames';
import { handleFormError } from '@/utils';
import { usePageTags } from '@/hooks';
import { usePageTags, usePromptWithUnload } from '@/hooks';
import { pathFactory } from '@/router/pathFactory';
import { Editor, EditorRef, Icon } from '@/components';
import type * as Type from '@/common/interface';
@@ -44,6 +44,8 @@ const Index = () => {
const { data } = useQueryAnswerInfo(aid);
const [formData, setFormData] = useState<FormDataItem>(initFormData);
const [immData, setImmData] = useState(initFormData);
const [contentChanged, setContentChanged] = useState(false);
initFormData.content.value = data?.info.content || '';
@@ -55,6 +57,19 @@ const Index = () => {
const questionContentRef = useRef<HTMLDivElement>(null);
usePromptWithUnload({
when: contentChanged,
});
useEffect(() => {
const { content, description } = formData;
if (immData.content.value !== content.value || description.value) {
setContentChanged(true);
} else {
setContentChanged(false);
}
}, [formData.content.value, formData.description.value]);
const handleAnswerChange = (value: string) =>
setFormData({
...formData,
@@ -93,7 +108,9 @@ const Index = () => {
return bol;
};
const handleSubmit = (event: React.FormEvent<HTMLFormElement>) => {
const handleSubmit = async (event: React.FormEvent<HTMLFormElement>) => {
setContentChanged(false);
event.preventDefault();
event.stopPropagation();
if (!checkValidated()) {
@@ -131,6 +148,7 @@ const Index = () => {
const index = e.target.value;
const revision = revisions[index];
formData.content.value = revision.content.content;
setImmData({ ...formData });
setFormData({ ...formData });
};
+42 -2
View File
@@ -1,4 +1,4 @@
import React, { useState, useRef } from 'react';
import React, { useState, useRef, useEffect } from 'react';
import { Container, Row, Col, Form, Button, Card } from 'react-bootstrap';
import { useParams, useNavigate } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
@@ -6,7 +6,7 @@ import { useTranslation } from 'react-i18next';
import dayjs from 'dayjs';
import classNames from 'classnames';
import { usePageTags } from '@/hooks';
import { usePageTags, usePromptWithUnload } from '@/hooks';
import { Editor, EditorRef } from '@/components';
import { loggedUserInfoStore } from '@/stores';
import type * as Type from '@/common/interface';
@@ -40,6 +40,7 @@ const initFormData = {
errorMsg: '',
},
};
const Index = () => {
const { is_admin = false } = loggedUserInfoStore((state) => state.user);
@@ -54,11 +55,45 @@ const Index = () => {
initFormData.slugName.value = data?.slug_name || '';
initFormData.description.value = data?.original_text || '';
const [formData, setFormData] = useState<FormDataItem>(initFormData);
const [immData, setImmData] = useState(initFormData);
const [contentChanged, setContentChanged] = useState(false);
const editorRef = useRef<EditorRef>({
getHtml: () => '',
});
usePromptWithUnload({
when: contentChanged,
});
useEffect(() => {
const { displayName, slugName, description, editSummary } = formData;
const {
displayName: display_name,
slugName: slug_name,
description: original_text,
} = immData;
if (!display_name || !slug_name || !original_text) {
return;
}
if (
display_name.value !== displayName.value ||
slug_name.value !== slugName.value ||
original_text.value !== description.value ||
editSummary.value
) {
setContentChanged(true);
} else {
setContentChanged(false);
}
}, [
formData.displayName.value,
formData.slugName.value,
formData.description.value,
formData.editSummary.value,
]);
const handleDescriptionChange = (value: string) =>
setFormData({
...formData,
@@ -91,6 +126,8 @@ const Index = () => {
};
const handleSubmit = (event: React.FormEvent<HTMLFormElement>) => {
setContentChanged(false);
event.preventDefault();
event.stopPropagation();
if (!checkValidated()) {
@@ -117,6 +154,9 @@ const Index = () => {
const index = e.target.value;
const revision = revisions[index];
formData.description.value = revision.content.original_text;
formData.displayName.value = revision.content.display_name;
formData.slugName.value = revision.content.slug_name;
setImmData({ ...formData });
setFormData({ ...formData });
};
+14 -2
View File
@@ -86,15 +86,27 @@ const TagIntroduction = () => {
if (synonymsData?.synonyms && synonymsData.synonyms.length > 0) {
Modal.confirm({
title: t('delete.title'),
content: t('delete.content2'),
content: t('delete.tip_with_synonyms'),
showConfirm: false,
cancelText: t('delete.close'),
});
return;
}
if (tagInfo.question_count > 0) {
Modal.confirm({
title: t('delete.title'),
content: t('delete.tip_with_posts'),
showConfirm: false,
cancelText: t('delete.close'),
});
return;
}
Modal.confirm({
title: t('delete.title'),
content: t('delete.content'),
content: t('delete.tip'),
confirmText: t('delete', { keyPrefix: 'btns' }),
confirmBtnVariant: 'danger',
onConfirm: () => {
deleteTag(tagInfo.tag_id);
},
+11 -3
View File
@@ -384,7 +384,11 @@ const Index: React.FC = () => {
</Form.Group>
<Form.Group controlId="bio" className="mb-3">
<Form.Label>{t('bio.label')}</Form.Label>
<Form.Label>
{`${t('bio.label')} ${t('optional', {
keyPrefix: 'form',
})}`}
</Form.Label>
<Form.Control
className="font-monospace"
required
@@ -408,7 +412,9 @@ const Index: React.FC = () => {
</Form.Group>
<Form.Group controlId="website" className="mb-3">
<Form.Label>{t('website.label')}</Form.Label>
<Form.Label>{`${t('website.label')} ${t('optional', {
keyPrefix: 'form',
})}`}</Form.Label>
<Form.Control
required
type="url"
@@ -431,7 +437,9 @@ const Index: React.FC = () => {
</Form.Group>
<Form.Group controlId="email" className="mb-3">
<Form.Label>{t('location.label')}</Form.Label>
<Form.Label>{`${t('location.label')} ${t('optional', {
keyPrefix: 'form',
})}`}</Form.Label>
<Form.Control
required
type="text"
+5 -1
View File
@@ -51,7 +51,11 @@ const Users = () => {
className="mb-4">
<div className="d-flex">
<Link to={`/users/${user.username}`}>
<Avatar size="48px" avatar={user?.avatar} />
<Avatar
size="48px"
avatar={user?.avatar}
searchStr="s=96"
/>
</Link>
<div className="ms-2">
<Link to={`/users/${user.username}`}>
+3 -3
View File
@@ -6,9 +6,9 @@ import ErrorBoundary from '@/pages/50X';
import baseRoutes, { RouteNode } from '@/router/routes';
import RouteGuard from '@/router/RouteGuard';
const routes: RouteObject[] = [];
const routes: RouteNode[] = [];
const routeWrapper = (routeNodes: RouteNode[], root: RouteObject[]) => {
const routeWrapper = (routeNodes: RouteNode[], root: RouteNode[]) => {
routeNodes.forEach((rn) => {
if (rn.page === 'pages/Layout') {
rn.element = rn.guard ? (
@@ -49,4 +49,4 @@ const routeWrapper = (routeNodes: RouteNode[], root: RouteObject[]) => {
routeWrapper(baseRoutes, routes);
export default routes;
export default routes as RouteObject[];

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