mirror of https://gitee.com/answerdev/answer.git
fix(i18n): Rewrite description as desc to be compatible with go-i18n
This commit is contained in:
parent
c2e72d106e
commit
7d6acca9c9
|
@ -129,32 +129,32 @@ backend:
|
||||||
spam:
|
spam:
|
||||||
name:
|
name:
|
||||||
other: "spam"
|
other: "spam"
|
||||||
description:
|
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:
|
rude:
|
||||||
name:
|
name:
|
||||||
other: "rude or abusive"
|
other: "rude or abusive"
|
||||||
description:
|
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:
|
duplicate:
|
||||||
name:
|
name:
|
||||||
other: "a duplicate"
|
other: "a duplicate"
|
||||||
description:
|
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:
|
not_answer:
|
||||||
name:
|
name:
|
||||||
other: "not an answer"
|
other: "not an answer"
|
||||||
description:
|
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:
|
not_need:
|
||||||
name:
|
name:
|
||||||
other: "no longer needed"
|
other: "no longer needed"
|
||||||
description:
|
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:
|
other:
|
||||||
name:
|
name:
|
||||||
other: "something else"
|
other: "something else"
|
||||||
description:
|
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:
|
question:
|
||||||
|
@ -162,22 +162,22 @@ backend:
|
||||||
duplicate:
|
duplicate:
|
||||||
name:
|
name:
|
||||||
other: "spam"
|
other: "spam"
|
||||||
description:
|
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:
|
guideline:
|
||||||
name:
|
name:
|
||||||
other: "a community-specific reason"
|
other: "a community-specific reason"
|
||||||
description:
|
desc:
|
||||||
other: "This question doesn't meet a community guideline."
|
other: "This question doesn't meet a community guideline."
|
||||||
multiple:
|
multiple:
|
||||||
name:
|
name:
|
||||||
other: "needs details or clarity"
|
other: "needs details or clarity"
|
||||||
description:
|
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:
|
other:
|
||||||
name:
|
name:
|
||||||
other: "something else"
|
other: "something else"
|
||||||
description:
|
desc:
|
||||||
other: "This post requires another reason not listed above."
|
other: "This post requires another reason not listed above."
|
||||||
|
|
||||||
notification:
|
notification:
|
||||||
|
@ -210,7 +210,7 @@ backend:
|
||||||
ui:
|
ui:
|
||||||
how_to_format:
|
how_to_format:
|
||||||
title: How to Format
|
title: How to Format
|
||||||
description: >-
|
desc: >-
|
||||||
<ul class="mb-0"><li><p class="mb-2">to make links</p><pre
|
<ul class="mb-0"><li><p class="mb-2">to make links</p><pre
|
||||||
class="mb-2"><code><https://url.com><br/><br/>[Title](https://url.com)</code></pre></li><li><p
|
class="mb-2"><code><https://url.com><br/><br/>[Title](https://url.com)</code></pre></li><li><p
|
||||||
class="mb-2">put returns between paragraphs</p></li><li><p
|
class="mb-2">put returns between paragraphs</p></li><li><p
|
||||||
|
@ -319,7 +319,7 @@ ui:
|
||||||
empty: File cannot be empty.
|
empty: File cannot be empty.
|
||||||
only_image: Only image files are allowed.
|
only_image: Only image files are allowed.
|
||||||
max_size: File size cannot exceed 4MB.
|
max_size: File size cannot exceed 4MB.
|
||||||
description:
|
desc:
|
||||||
label: Description (optional)
|
label: Description (optional)
|
||||||
tab_url: Image URL
|
tab_url: Image URL
|
||||||
form_url:
|
form_url:
|
||||||
|
@ -391,12 +391,12 @@ ui:
|
||||||
range: Display name up to 35 characters.
|
range: Display name up to 35 characters.
|
||||||
slug_name:
|
slug_name:
|
||||||
label: URL Slug
|
label: URL Slug
|
||||||
description: 'Must use the character set "a-z", "0-9", "+ # - ."'
|
desc: 'Must use the character set "a-z", "0-9", "+ # - ."'
|
||||||
msg:
|
msg:
|
||||||
empty: URL slug cannot be empty.
|
empty: URL slug cannot be empty.
|
||||||
range: URL slug up to 35 characters.
|
range: URL slug up to 35 characters.
|
||||||
character: URL slug contains unallowed character set.
|
character: URL slug contains unallowed character set.
|
||||||
description:
|
desc:
|
||||||
label: Description (optional)
|
label: Description (optional)
|
||||||
btn_cancel: Cancel
|
btn_cancel: Cancel
|
||||||
btn_submit: Submit
|
btn_submit: Submit
|
||||||
|
@ -431,7 +431,7 @@ ui:
|
||||||
slug_name:
|
slug_name:
|
||||||
label: URL Slug
|
label: URL Slug
|
||||||
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
|
info: 'Must use the character set "a-z", "0-9", "+ # - ."'
|
||||||
description:
|
desc:
|
||||||
label: Description
|
label: Description
|
||||||
edit_summary:
|
edit_summary:
|
||||||
label: Edit Summary
|
label: Edit Summary
|
||||||
|
@ -492,7 +492,7 @@ ui:
|
||||||
button_following: Following
|
button_following: Following
|
||||||
tag_label: questions
|
tag_label: questions
|
||||||
search_placeholder: Filter by tag name
|
search_placeholder: Filter by tag name
|
||||||
no_description: The tag has no description.
|
no_desc: The tag has no description.
|
||||||
more: More
|
more: More
|
||||||
ask:
|
ask:
|
||||||
title: Add Question
|
title: Add Question
|
||||||
|
@ -897,7 +897,7 @@ ui:
|
||||||
config_yaml:
|
config_yaml:
|
||||||
title: Create config.yaml
|
title: Create config.yaml
|
||||||
label: The config.yaml file created.
|
label: The config.yaml file created.
|
||||||
description: >-
|
desc: >-
|
||||||
You can create the <1>config.yaml</1> file manually in the
|
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.
|
<1>/var/wwww/xxx/</1> directory and paste the following text into it.
|
||||||
info: "After you’ve done that, click “Next” button."
|
info: "After you’ve done that, click “Next” button."
|
||||||
|
@ -934,31 +934,31 @@ ui:
|
||||||
empty: Email cannot be empty.
|
empty: Email cannot be empty.
|
||||||
incorrect: Email incorrect format.
|
incorrect: Email incorrect format.
|
||||||
ready_title: Your Answer is Ready!
|
ready_title: Your Answer is Ready!
|
||||||
ready_description: >-
|
ready_desc: >-
|
||||||
If you ever feel like changing more settings, visit <1>admin section</1>;
|
If you ever feel like changing more settings, visit <1>admin section</1>;
|
||||||
find it in the site menu.
|
find it in the site menu.
|
||||||
good_luck: "Have fun, and good luck!"
|
good_luck: "Have fun, and good luck!"
|
||||||
warn_title: Warning
|
warn_title: Warning
|
||||||
warn_description: >-
|
warn_desc: >-
|
||||||
The file <1>config.yaml</1> already exists. If you need to reset any of the
|
The file <1>config.yaml</1> already exists. If you need to reset any of the
|
||||||
configuration items in this file, please delete it first.
|
configuration items in this file, please delete it first.
|
||||||
install_now: You may try <1>installing now</1>.
|
install_now: You may try <1>installing now</1>.
|
||||||
installed: Already installed
|
installed: Already installed
|
||||||
installed_description: >-
|
installed_desc: >-
|
||||||
You appear to have already installed. To reinstall please clear your old
|
You appear to have already installed. To reinstall please clear your old
|
||||||
database tables first.
|
database tables first.
|
||||||
db_failed: Database connection failed
|
db_failed: Database connection failed
|
||||||
db_failed_description: >-
|
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 host’s database server is 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 host’s database server is down.
|
||||||
|
|
||||||
page_404:
|
page_404:
|
||||||
description: "Unfortunately, this page doesn't exist."
|
desc: "Unfortunately, this page doesn't exist."
|
||||||
back_home: Back to homepage
|
back_home: Back to homepage
|
||||||
page_50X:
|
page_50X:
|
||||||
description: The server encountered an error and could not complete your request.
|
desc: The server encountered an error and could not complete your request.
|
||||||
back_home: Back to homepage
|
back_home: Back to homepage
|
||||||
page_maintenance:
|
page_maintenance:
|
||||||
description: "We are under maintenance, we’ll be back soon."
|
desc: "We are under maintenance, we’ll be back soon."
|
||||||
nav_menus:
|
nav_menus:
|
||||||
dashboard: Dashboard
|
dashboard: Dashboard
|
||||||
contents: Contents
|
contents: Contents
|
||||||
|
@ -1025,13 +1025,13 @@ ui:
|
||||||
btn_cancel: Cancel
|
btn_cancel: Cancel
|
||||||
btn_submit: Submit
|
btn_submit: Submit
|
||||||
normal_name: normal
|
normal_name: normal
|
||||||
normal_description: A normal user can ask and answer questions.
|
normal_desc: A normal user can ask and answer questions.
|
||||||
suspended_name: suspended
|
suspended_name: suspended
|
||||||
suspended_description: A suspended user can't log in.
|
suspended_desc: A suspended user can't log in.
|
||||||
deleted_name: deleted
|
deleted_name: deleted
|
||||||
deleted_description: "Delete profile, authentication associations."
|
deleted_desc: "Delete profile, authentication associations."
|
||||||
inactive_name: inactive
|
inactive_name: inactive
|
||||||
inactive_description: An inactive user must re-validate their email.
|
inactive_desc: An inactive user must re-validate their email.
|
||||||
confirm_title: Delete this user
|
confirm_title: Delete this user
|
||||||
confirm_content: Are you sure you want to delete this user? This is permanent!
|
confirm_content: Are you sure you want to delete this user? This is permanent!
|
||||||
confirm_btn: Delete
|
confirm_btn: Delete
|
||||||
|
@ -1040,11 +1040,11 @@ ui:
|
||||||
status_modal:
|
status_modal:
|
||||||
title: "Change {{ type }} status to..."
|
title: "Change {{ type }} status to..."
|
||||||
normal_name: normal
|
normal_name: normal
|
||||||
normal_description: A normal post available to everyone.
|
normal_desc: A normal post available to everyone.
|
||||||
closed_name: closed
|
closed_name: closed
|
||||||
closed_description: "A closed question can't answer, but still can edit, vote and comment."
|
closed_desc: "A closed question can't answer, but still can edit, vote and comment."
|
||||||
deleted_name: deleted
|
deleted_name: deleted
|
||||||
deleted_description: All reputation gained and lost will be restored.
|
deleted_desc: All reputation gained and lost will be restored.
|
||||||
btn_cancel: Cancel
|
btn_cancel: Cancel
|
||||||
btn_submit: Submit
|
btn_submit: Submit
|
||||||
btn_next: Next
|
btn_next: Next
|
||||||
|
@ -1116,11 +1116,11 @@ ui:
|
||||||
msg: Site url cannot be empty.
|
msg: Site url cannot be empty.
|
||||||
validate: Please enter a valid URL.
|
validate: Please enter a valid URL.
|
||||||
text: The address of your site.
|
text: The address of your site.
|
||||||
short_description:
|
short_desc:
|
||||||
label: Short Site Description (optional)
|
label: Short Site Description (optional)
|
||||||
msg: Short site description cannot be empty.
|
msg: Short site description cannot be empty.
|
||||||
text: "Short description, as used in the title tag on homepage."
|
text: "Short description, as used in the title tag on homepage."
|
||||||
description:
|
desc:
|
||||||
label: Site Description (optional)
|
label: Site Description (optional)
|
||||||
msg: Site description cannot be empty.
|
msg: Site description cannot be empty.
|
||||||
text: "Describe this site in one sentence, as used in the meta description tag."
|
text: "Describe this site in one sentence, as used in the meta description tag."
|
||||||
|
|
Loading…
Reference in New Issue