Merge branch 'github-main' into github-pr

This commit is contained in:
LinkinStar 2023-01-16 10:37:57 +08:00
commit e82e0f2639
12 changed files with 1583 additions and 1407 deletions

View File

@ -2,65 +2,65 @@
backend:
base:
success:
other: "Success."
other: "Erfolgreich."
unknown:
other: "Unknown error."
other: "Unbekannter Fehler."
request_format_error:
other: "Request format is not valid."
unauthorized_error:
other: "Unauthorized."
other: "Nicht autorisiert."
database_error:
other: "Data server error."
role:
name:
user:
other: "User"
other: "Nutzer"
admin:
other: "Admin"
moderator:
other: "Moderator"
description:
user:
other: "Default with no special access."
other: "Standard ohne speziellen Zugriff."
admin:
other: "Have the full power to access the site."
moderator:
other: "Has access to all posts except admin settings."
other: "Hat Zugriff auf alle Beiträge außer Admin-Einstellungen."
email:
other: "Email"
other: "E-Mail"
password:
other: "Password"
other: "Passwort"
email_or_password_wrong_error:
other: "Email and password do not match."
other: "E-Mail und Password stimmen nicht überein."
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
other: E-Mail und Password stimmen nicht überein.
answer:
not_found:
other: "Answer do not found."
cannot_deleted:
other: "No permission to delete."
other: "Keine Berechtigung zum Löschen."
cannot_update:
other: "No permission to update."
other: "Keine Berechtigung zum Aktualisieren."
comment:
edit_without_permission:
other: "Comment are not allowed to edit."
other: "Kommentar kann nicht bearbeitet werden."
not_found:
other: "Comment not found."
other: "Kommentar wurde nicht gefunden."
email:
duplicate:
other: "Email already exists."
other: "E-Mail existiert bereits."
need_to_be_verified:
other: "Email should be verified."
other: "E-Mail muss überprüft werden."
verify_url_expired:
other: "Email verified URL has expired, please resend the email."
lang:
not_found:
other: "Language file not found."
other: "Sprachdatei nicht gefunden."
object:
captcha_verification_failed:
other: "Captcha wrong."
other: "Captcha ist falsch."
disallow_follow:
other: "You are not allowed to follow."
disallow_vote:
@ -70,22 +70,22 @@ backend:
not_found:
other: "Object not found."
verification_failed:
other: "Verification failed."
other: "Verifizierung fehlgeschlagen."
email_or_password_incorrect:
other: "Email and password do not match."
other: "E-Mail und Password stimmen nicht überein."
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: "Das neue Passwort ist das gleiche wie das vorherige Passwort."
question:
not_found:
other: "Question not found."
other: "Frage nicht gefunden."
cannot_deleted:
other: "No permission to delete."
other: "Keine Berechtigung zum Löschen."
cannot_close:
other: "No permission to close."
cannot_update:
other: "No permission to update."
other: "Keine Berechtigung zum Aktualisieren."
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
@ -96,7 +96,7 @@ backend:
other: "Report not found."
tag:
not_found:
other: "Tag not found."
other: "Schlagwort nicht gefunden."
recommend_tag_not_found:
other: "Recommend Tag is not exist."
recommend_tag_enter:
@ -107,6 +107,9 @@ backend:
other: "No permission to update."
cannot_set_synonym_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."
theme:
not_found:
other: "Theme not found."
@ -129,21 +132,21 @@ backend:
other: "Username is already in use."
set_avatar:
other: "Avatar set failed."
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
cannot_update_your_role:
other: "You cannot modify your role."
not_allowed_registration:
other: "Currently the site is not open for registration"
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
report:
spam:
name:
@ -181,7 +184,7 @@ backend:
name:
other: "spam"
desc:
other: "This question has been asked before and already has an answer."
other: "Diese Frage ist bereits gestellt worden und hat bereits eine Antwort."
guideline:
name:
other: "a community-specific reason"
@ -197,6 +200,13 @@ backend:
other: "something else"
desc:
other: "This post requires another reason not listed above."
operation_type:
asked:
other: "asked"
answered:
other: "answered"
modified:
other: "modified"
notification:
action:
update_question:
@ -230,24 +240,24 @@ ui:
desc: >-
<ul class="mb-0"><li><p class="mb-2">to make links</p><pre class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[Title](https://url.com)</code></pre></li><li><p class="mb-2">put returns between paragraphs</p></li><li><p class="mb-2"><em>_italic_</em> or **<strong>bold</strong>**</p></li><li><p class="mb-2">indent code by 4 spaces</p></li><li><p class="mb-2">quote by placing <code>&gt;</code> at start of line</p></li><li><p class="mb-2">backtick escapes <code>`like _this_`</code></p></li><li><p class="mb-2">create code fences with backticks <code>`</code></p><pre class="mb-0"><code>```<br/>code here<br/>```</code></pre></li></ul>
pagination:
prev: Prev
next: Next
prev: Zurück
next: Weiter
page_title:
question: Question
questions: Questions
tag: Tag
tags: Tags
question: Frage
questions: Fragen
tag: Schlagwort
tags: Schlagwörter
tag_wiki: tag wiki
edit_tag: Edit Tag
ask_a_question: Add Question
edit_question: Edit Question
edit_answer: Edit Answer
search: Search
search: Suche
posts_containing: Posts containing
settings: Settings
settings: Einstellungen
notifications: Notifications
login: Log In
sign_up: Sign Up
login: Anmelden
sign_up: Registrieren
account_recovery: Account Recovery
account_activation: Account Activation
confirm_email: Confirm Email
@ -367,7 +377,7 @@ ui:
unordered_list:
text: Bulleted List
table:
text: Table
text: Tabelle
heading: Heading
cell: Cell
close_modal:
@ -586,13 +596,13 @@ ui:
empty: Name cannot be empty.
range: Name up to 30 characters.
email:
label: Email
label: E-Mail
msg:
empty: Email cannot be empty.
empty: E-Mail-Feld darf nicht leer sein.
password:
label: Password
label: Passwort
msg:
empty: Password cannot be empty.
empty: Passwort-Feld darf nicht leer sein.
different: The passwords entered on both sides are inconsistent
account_forgot:
page_title: Forgot Your Password
@ -600,7 +610,7 @@ ui:
send_success: >-
If an account matches <strong>{{mail}}</strong>, you should receive an email with instructions on how to reset your password shortly.
email:
label: Email
label: E-Mail
msg:
empty: Email cannot be empty.
change_email:
@ -674,24 +684,24 @@ ui:
radio: "Answers to your questions, comments, and more"
account:
heading: Account
change_email_btn: Change email
change_pass_btn: Change password
change_email_btn: E-Mail-Adresse ändern
change_pass_btn: Passwort ändern
change_email_info: >-
We've sent an email to that address. Please follow the confirmation instructions.
email:
label: Email
msg: Email cannot be empty.
password_title: Password
label: E-Mail
msg: E-Mail-Feld darf nicht leer sein.
password_title: Passwort
current_pass:
label: Current Password
label: Aktuelles Passwort
msg:
empty: Current Password cannot be empty.
length: The length needs to be between 8 and 32.
different: The two entered passwords do not match.
new_pass:
label: New Password
label: Neues Passwort
pass_confirm:
label: Confirm New Password
label: Neues Passwort bestätigen
interface:
heading: Interface
lang:
@ -747,10 +757,10 @@ ui:
tip_question_deleted: This post has been deleted
tip_answer_deleted: This answer has been deleted
btns:
confirm: Confirm
cancel: Cancel
save: Save
delete: Delete
confirm: Bestätigen
cancel: Abbrechen
save: Speichern
delete: Löschen
login: Log in
signup: Sign up
logout: Log out
@ -801,6 +811,11 @@ ui:
confirm_new_email: Your email has been updated.
confirm_new_email_invalid: >-
Sorry, this confirmation link is no longer valid. Perhaps your email was already changed?
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.
link: Change settings
question:
following_tags: Following Tags
edit: Edit
@ -871,7 +886,7 @@ ui:
placeholder: root
msg: Username cannot be empty.
db_password:
label: Password
label: Passwort
placeholder: root
msg: Password cannot be empty.
db_host:
@ -991,13 +1006,14 @@ ui:
answer_links: Answer Links
documents: Documents
feedback: Feedback
support: Support
review: Review
config: Config
update_to: Update to
latest: Latest
check_failed: Check failed
"yes": "Yes"
"no": "No"
"yes": "Ja"
"no": "Nein"
not_allowed: Not allowed
allowed: Allowed
enabled: Enabled
@ -1045,7 +1061,7 @@ ui:
users:
title: Users
name: Name
email: Email
email: E-Mail
reputation: Reputation
created_at: Created Time
delete_at: Deleted Time
@ -1184,7 +1200,7 @@ ui:
ssl: SSL
none: None
smtp_port:
label: SMTP Port
label: SMTP-Port
msg: SMTP port must be number 1 ~ 65535.
text: The port to your mail server.
smtp_username:

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -14,18 +14,18 @@ backend:
role:
name:
user:
other: "User"
other: "Utente"
admin:
other: "Admin"
other: "Amministratore"
moderator:
other: "Moderator"
other: "Moderatore"
description:
user:
other: "Default with no special access."
other: "Predefinito senza alcun accesso speciale."
admin:
other: "Have the full power to access the site."
other: "Avere il pieno potere di accedere al sito."
moderator:
other: "Has access to all posts except admin settings."
other: "Ha accesso a tutti i post tranne le impostazioni di amministratore."
email:
other: "email"
password:
@ -40,9 +40,9 @@ backend:
not_found:
other: "Risposta non trovata"
cannot_deleted:
other: "No permission to delete."
other: "Permesso per cancellare mancante."
cannot_update:
other: "No permission to update."
other: "Nessun permesso per l'aggiornamento."
comment:
edit_without_permission:
other: "Non si hanno di privilegi sufficienti per modificare il commento"
@ -81,11 +81,11 @@ backend:
not_found:
other: "domanda non trovata"
cannot_deleted:
other: "No permission to delete."
other: "Permesso per cancellare mancante."
cannot_close:
other: "No permission to close."
other: "Nessun permesso per chiudere."
cannot_update:
other: "No permission to update."
other: "Nessun permesso per l'aggiornamento."
rank:
fail_to_meet_the_condition:
other: "Condizioni non valide per il grado"
@ -98,23 +98,26 @@ backend:
not_found:
other: "Etichetta non trovata"
recommend_tag_not_found:
other: "Recommend Tag is not exist."
other: "Il Tag consigliato non esiste."
recommend_tag_enter:
other: "Please enter at least one required tag."
other: "Inserisci almeno un tag."
not_contain_synonym_tags:
other: "Should not contain synonym tags."
other: "Non deve contenere tag sinonimi."
cannot_update:
other: "No permission to update."
other: "Nessun permesso per l'aggiornamento."
cannot_set_synonym_as_itself:
other: "You cannot set the synonym of the current tag as itself."
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."
theme:
not_found:
other: "tema non trovato"
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
other: "Non è possibile modificare al momento, c'è una versione nella coda di revisione."
no_permission:
other: "No permission to Revision."
other: "Nessun permesso per la revisione."
user:
email_or_password_wrong:
other:
@ -128,75 +131,82 @@ backend:
username_duplicate:
other: "utente già in uso"
set_avatar:
other: "Avatar set failed."
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
other: "Inserimento dell'Avatar non riuscito."
cannot_update_your_role:
other: "You cannot modify your role."
other: "Non puoi modificare il tuo ruolo."
not_allowed_registration:
other: "Currently the site is not open for registration"
other: "Al momento il sito non è aperto per la registrazione"
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
report:
spam:
name:
other: "spam"
other: "posta indesiderata"
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: "Questo articolo è una pubblicità o vandalismo. Non è utile o rilevante all'argomento corrente."
rude:
name:
other: "scortese o violento"
desc:
other: "A reasonable person would find this content inappropriate for respectful discourse."
other: "Una persona ragionevole trova questo contenuto inappropriato a un discorso rispettoso."
duplicate:
name:
other: "duplicato"
desc:
other: "This question has been asked before and already has an answer."
other: "Questa domanda è già stata posta e ha già una risposta."
not_answer:
name:
other: "non è una risposta"
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: "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"
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: "Questo commento è obsoleto, conversazionale o non pertinente per questo post."
other:
name:
other: "altro"
desc:
other: "This post requires staff attention for another reason not listed above."
other: "Questo articolo richiede una supervisione dello staff per altre ragioni non listate sopra."
question:
close:
duplicate:
name:
other: "spam"
other: "posta indesiderata"
desc:
other: "This question has been asked before and already has an answer."
other: "Questa domanda è già stata posta e ha già una risposta."
guideline:
name:
other: "motivo legato alla community"
desc:
other: "This question doesn't meet a community guideline."
other: "Questa domanda non soddisfa le linee guida della comunità."
multiple:
name:
other: "richiede maggiori dettagli o chiarezza"
desc:
other: "This question currently includes multiple questions in one. It should focus on one problem only."
other: "Questa domanda attualmente include più domande in uno. Dovrebbe concentrarsi su un solo problema."
other:
name:
other: "altro"
desc:
other: "This post requires another reason not listed above."
other: "Questo articolo richiede un'altro motivo non listato sopra."
operation_type:
asked:
other: "asked"
answered:
other: "answered"
modified:
other: "modified"
notification:
action:
update_question:
@ -206,7 +216,7 @@ backend:
update_answer:
other: "risposta aggiornata"
accept_answer:
other: "risposta accepted"
other: "risposta accettata"
comment_question:
other: "domanda commentata"
comment_answer:
@ -226,21 +236,21 @@ backend:
#The following fields are used for interface presentation(Front-end)
ui:
how_to_format:
title: How to Format
title: Come formattare
desc: >-
<ul class="mb-0"><li><p class="mb-2">to make links</p><pre class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[Title](https://url.com)</code></pre></li><li><p class="mb-2">put returns between paragraphs</p></li><li><p class="mb-2"><em>_italic_</em> or **<strong>bold</strong>**</p></li><li><p class="mb-2">indent code by 4 spaces</p></li><li><p class="mb-2">quote by placing <code>&gt;</code> at start of line</p></li><li><p class="mb-2">backtick escapes <code>`like _this_`</code></p></li><li><p class="mb-2">create code fences with backticks <code>`</code></p><pre class="mb-0"><code>```<br/>code here<br/>```</code></pre></li></ul>
<ul class="mb-0"><li><p class="mb-2">to make links</p><pre class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[Title](https://url. om)</code></pre></li><li><p class="mb-2">mette i rendimenti tra i paragrafi</p></li><li><p class="mb-2"><em>_italic_</em> o **<strong>grassetto</strong>**</p></li><li><p class="mb-2">trattino di codice per 4 spazi</p></li><li><p class="mb-2">preventivo inserendo <code>&gt;</code> all'inizio della riga</p></li><li><p class="mb-2">backtick escapes <code>`like _this_`</code></p></li><li><p class="mb-2">crea recinzioni di codice con backticks <code>`</code></p><pre class="mb-0">````<code><br/>codice qui<br/>`````</code></pre></li></ul>
pagination:
prev: Prev
next: Next
prev: Prec
next: Successivo
page_title:
question: Question
questions: Questions
question: Domanda
questions: Domande
tag: Tag
tags: Tags
tag_wiki: tag wiki
edit_tag: Edit Tag
ask_a_question: Add Question
edit_question: Edit Question
edit_tag: Modifica Tag
ask_a_question: Aggiungi una domanda
edit_question: Modifica Domanda
edit_answer: Edit Answer
search: Search
posts_containing: Posts containing
@ -801,6 +811,11 @@ ui:
confirm_new_email: Your email has been updated.
confirm_new_email_invalid: >-
Sorry, this confirmation link is no longer valid. Perhaps your email was already changed?
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.
link: Change settings
question:
following_tags: Following Tags
edit: Edit
@ -991,6 +1006,7 @@ ui:
answer_links: Answer Links
documents: Documents
feedback: Feedback
support: Support
review: Review
config: Config
update_to: Update to

View File

@ -107,6 +107,9 @@ backend:
other: "No permission to update."
cannot_set_synonym_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."
theme:
not_found:
other: "Theme not found."
@ -129,21 +132,21 @@ backend:
other: "Username is already in use."
set_avatar:
other: "Avatar set failed."
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
cannot_update_your_role:
other: "You cannot modify your role."
not_allowed_registration:
other: "Currently the site is not open for registration"
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
report:
spam:
name:
@ -197,6 +200,13 @@ backend:
other: "something else"
desc:
other: "This post requires another reason not listed above."
operation_type:
asked:
other: "asked"
answered:
other: "answered"
modified:
other: "modified"
notification:
action:
update_question:
@ -801,6 +811,11 @@ ui:
confirm_new_email: Your email has been updated.
confirm_new_email_invalid: >-
Sorry, this confirmation link is no longer valid. Perhaps your email was already changed?
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.
link: Change settings
question:
following_tags: Following Tags
edit: Edit
@ -991,6 +1006,7 @@ ui:
answer_links: Answer Links
documents: Documents
feedback: Feedback
support: Support
review: Review
config: Config
update_to: Update to

View File

@ -107,6 +107,9 @@ backend:
other: "No permission to update."
cannot_set_synonym_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."
theme:
not_found:
other: "Theme not found."
@ -129,21 +132,21 @@ backend:
other: "Username is already in use."
set_avatar:
other: "Avatar set failed."
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
cannot_update_your_role:
other: "You cannot modify your role."
not_allowed_registration:
other: "Currently the site is not open for registration"
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
report:
spam:
name:
@ -197,6 +200,13 @@ backend:
other: "something else"
desc:
other: "This post requires another reason not listed above."
operation_type:
asked:
other: "asked"
answered:
other: "answered"
modified:
other: "modified"
notification:
action:
update_question:
@ -801,6 +811,11 @@ ui:
confirm_new_email: Your email has been updated.
confirm_new_email_invalid: >-
Sorry, this confirmation link is no longer valid. Perhaps your email was already changed?
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.
link: Change settings
question:
following_tags: Following Tags
edit: Edit
@ -991,6 +1006,7 @@ ui:
answer_links: Answer Links
documents: Documents
feedback: Feedback
support: Support
review: Review
config: Config
update_to: Update to

View File

@ -2,15 +2,15 @@
backend:
base:
success:
other: "Success."
other: "Sucesso."
unknown:
other: "Unknown error."
other: "Erro desconhecido."
request_format_error:
other: "Request format is not valid."
other: "Formato de solicitação não é válido."
unauthorized_error:
other: "Unauthorized."
other: "Não autorizado."
database_error:
other: "Data server error."
other: "Erro no servidor de dados."
role:
name:
user:
@ -107,6 +107,9 @@ backend:
other: "No permission to update."
cannot_set_synonym_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."
theme:
not_found:
other: "Theme not found."
@ -129,21 +132,21 @@ backend:
other: "Username is already in use."
set_avatar:
other: "Avatar set failed."
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
cannot_update_your_role:
other: "You cannot modify your role."
not_allowed_registration:
other: "Currently the site is not open for registration"
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
report:
spam:
name:
@ -197,6 +200,13 @@ backend:
other: "something else"
desc:
other: "This post requires another reason not listed above."
operation_type:
asked:
other: "asked"
answered:
other: "answered"
modified:
other: "modified"
notification:
action:
update_question:
@ -801,6 +811,11 @@ ui:
confirm_new_email: Your email has been updated.
confirm_new_email_invalid: >-
Sorry, this confirmation link is no longer valid. Perhaps your email was already changed?
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.
link: Change settings
question:
following_tags: Following Tags
edit: Edit
@ -991,6 +1006,7 @@ ui:
answer_links: Answer Links
documents: Documents
feedback: Feedback
support: Support
review: Review
config: Config
update_to: Update to

View File

@ -107,6 +107,9 @@ backend:
other: "No permission to update."
cannot_set_synonym_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."
theme:
not_found:
other: "Theme not found."
@ -129,21 +132,21 @@ backend:
other: "Username is already in use."
set_avatar:
other: "Avatar set failed."
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
cannot_update_your_role:
other: "You cannot modify your role."
not_allowed_registration:
other: "Currently the site is not open for registration"
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
report:
spam:
name:
@ -197,6 +200,13 @@ backend:
other: "something else"
desc:
other: "This post requires another reason not listed above."
operation_type:
asked:
other: "asked"
answered:
other: "answered"
modified:
other: "modified"
notification:
action:
update_question:
@ -801,6 +811,11 @@ ui:
confirm_new_email: Your email has been updated.
confirm_new_email_invalid: >-
Sorry, this confirmation link is no longer valid. Perhaps your email was already changed?
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.
link: Change settings
question:
following_tags: Following Tags
edit: Edit
@ -991,6 +1006,7 @@ ui:
answer_links: Answer Links
documents: Documents
feedback: Feedback
support: Support
review: Review
config: Config
update_to: Update to

View File

@ -107,6 +107,9 @@ backend:
other: "No permission to update."
cannot_set_synonym_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."
theme:
not_found:
other: "Theme not found."
@ -129,21 +132,21 @@ backend:
other: "Username is already in use."
set_avatar:
other: "Avatar set failed."
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
cannot_update_your_role:
other: "You cannot modify your role."
not_allowed_registration:
other: "Currently the site is not open for registration"
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
report:
spam:
name:
@ -197,6 +200,13 @@ backend:
other: "something else"
desc:
other: "This post requires another reason not listed above."
operation_type:
asked:
other: "asked"
answered:
other: "answered"
modified:
other: "modified"
notification:
action:
update_question:
@ -801,6 +811,11 @@ ui:
confirm_new_email: Your email has been updated.
confirm_new_email_invalid: >-
Sorry, this confirmation link is no longer valid. Perhaps your email was already changed?
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.
link: Change settings
question:
following_tags: Following Tags
edit: Edit
@ -991,6 +1006,7 @@ ui:
answer_links: Answer Links
documents: Documents
feedback: Feedback
support: Support
review: Review
config: Config
update_to: Update to

View File

@ -2,15 +2,15 @@
backend:
base:
success:
other: "成功"
other: "成功"
unknown:
other: "未知错误"
other: "未知错误"
request_format_error:
other: "请求格式错误"
other: "请求格式错误"
unauthorized_error:
other: "未登录"
other: "未授权。"
database_error:
other: "数据服务异常"
other: "数据服务器错误。"
role:
name:
user:
@ -23,38 +23,38 @@ backend:
user:
other: "默认没有特殊访问权限。"
admin:
other: "拥有进入网站的全部权限。"
other: "拥有管理网站的全部权限。"
moderator:
other: "有权访问所有的帖子,无法进入管理员设置页面。"
other: "拥有访问除管理员设置以外的所有权限。"
email:
other: "邮箱"
password:
other: "密码"
email_or_password_wrong_error:
other: "邮箱或密码错误"
other: "邮箱和密码不匹配。"
error:
admin:
email_or_password_wrong:
other: 邮箱或密码错误
other: 邮箱和密码不匹配。
answer:
not_found:
other: "答案未找到"
other: "没有找到答案。"
cannot_deleted:
other: "无删除权限"
other: "没有删除权限。"
cannot_update:
other: "无修改权限"
other: "没有更新权限。"
comment:
edit_without_permission:
other: "不允许编辑评论"
other: "不允许编辑评论"
not_found:
other: "评论未找到"
other: "评论未找到"
email:
duplicate:
other: "邮箱已经存在"
other: "邮箱已经存在"
need_to_be_verified:
other: "邮箱需要验证"
other: "邮箱需要验证"
verify_url_expired:
other: "邮箱验证的网址已过期,请重新发送邮件"
other: "邮箱验证的网址已过期,请重新发送邮件"
lang:
not_found:
other: "语言未找到"
@ -106,7 +106,10 @@ backend:
cannot_update:
other: "没有更新标签权限。"
cannot_set_synonym_as_itself:
other: "你无法将当前标签的同义词设置为当前标签自己"
other: "您不能将当前标签的同义词设置为本身。"
smtp:
config_from_name_cannot_be_email:
other: "发件人名称不能是电子邮件地址。"
theme:
not_found:
other: "主题未找到"
@ -129,75 +132,81 @@ backend:
other: "用户名已被使用"
set_avatar:
other: "头像设置错误"
config:
read_config_failed:
other: "读取配置失败"
database:
connection_failed:
other: "数据连接异常!"
create_table_failed:
other: "创建表失败"
install:
create_config_failed:
other: "无法创建配置文件"
cannot_update_your_role:
other: "你无法修改自己的角色"
other: "您不能修改自己的角色。"
not_allowed_registration:
other: "目前该网站尚未开放注册"
other: "目前该站点未开放注册"
config:
read_config_failed:
other: "读取配置失败"
database:
connection_failed:
other: "数据库连接失败"
create_table_failed:
other: "创建表失败"
install:
create_config_failed:
other: "无法创建 config.yaml 文件。"
report:
spam:
name:
other: "垃圾信息"
desc:
other: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
other: "这个帖子是一个广告,或是破坏性行为。它对当前的主题没有用处,也不相关。"
rude:
name:
other: "粗鲁或辱骂的"
desc:
other: "A reasonable person would find this content inappropriate for respectful discourse."
other: "一个有理智的人都会认为这种内容不适合进行尊重性的讨论。"
duplicate:
name:
other: "重复信息"
desc:
other: "This question has been asked before and already has an answer."
other: "此问题以前就有人问过,而且已经有了答案。"
not_answer:
name:
other: "不是答案"
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: "此帖子是作为一个答案发布的,但它并没有试图回答这个问题。总之,它可能应该是个编辑,评论,另一个问题或者被删除。"
not_need:
name:
other: "不再需要"
desc:
other: "This comment is outdated, conversational or not relevant to this post."
other: "此评论已过时,对话或与此帖子无关。"
other:
name:
other: "其他原因"
desc:
other: "This post requires staff attention for another reason not listed above."
other: "此帖子需要工作人员关注,因为是上述所列以外的其他理由。"
question:
close:
duplicate:
name:
other: "垃圾信息"
desc:
other: "This question has been asked before and already has an answer."
other: "此问题以前就有人问过,而且已经有了答案。"
guideline:
name:
other: "社区特定原因"
desc:
other: "This question doesn't meet a community guideline."
other: "此问题不符合社区准则。"
multiple:
name:
other: "需要细节或澄清"
desc:
other: "This question currently includes multiple questions in one. It should focus on one problem only."
other: "此问题目前涵盖多个问题。它应该只集中在一个问题上。"
other:
name:
other: "其他原因"
desc:
other: "This post requires another reason not listed above."
other: "这个帖子需要上面没有列出的另一个原因。"
operation_type:
asked:
other: "提问于"
answered:
other: "回答于"
modified:
other: "修改于"
notification:
action:
update_question:
@ -207,7 +216,7 @@ backend:
update_answer:
other: "更新了答案"
accept_answer:
other: "接受了答案"
other: "已接受的回答"
comment_question:
other: "评论了问题"
comment_answer:
@ -229,15 +238,7 @@ ui:
how_to_format:
title: 如何设定文本格式
desc: >-
<ul class="mb-0"><li><p class="mb-2">添加链接:</p><pre
class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[标题](https://url.com)</code></pre></li><li><p
class="mb-2">段落之间使用空行分隔</p></li><li><p class="mb-2"><em>_斜体_</em> 或者
**<strong>粗体</strong>**</p></li><li><p class="mb-2">使用 4
个空格缩进代码</p></li><li><p
class="mb-2">在行首添加<code>&gt;</code>表示引用</p></li><li><p class="mb-2">反引号进行转义
<code>`像 _这样_`</code></p></li><li><p
class="mb-2">使用<code>```</code>创建代码块</p><pre class="mb-0"><code>```<br/>//
这是代码<br/>```</code></pre></li></ul>
<ul class="mb-0"><li><p class="mb-2">添加链接:</p><pre class="mb-2"><code>&lt;https://url.com&gt;<br/><br/>[标题](https://url.com)</code></pre></li><li><p class="mb-2">段落之间使用空行分隔</p></li><li><p class="mb-2"><em>_斜体_</em> 或者 **<strong>粗体</strong>**</p></li><li><p class="mb-2">使用 4 个空格缩进代码</p></li><li><p class="mb-2">在行首添加<code>&gt;</code>表示引用</p></li><li><p class="mb-2">反引号进行转义 <code>`像 _这样_`</code></p></li><li><p class="mb-2">使用<code>```</code>创建代码块</p><pre class="mb-0"><code>```<br/>// 这是代码<br/>```</code></pre></li></ul>
pagination:
prev: 上一页
next: 下一页
@ -266,7 +267,7 @@ ui:
install: Answer 安装
upgrade: Answer 升级
maintenance: 网站维护
users: Users
users: 用户
notifications:
title: 通知
inbox: 收件箱
@ -290,7 +291,7 @@ ui:
class_diagram: 类图
state_diagram: 状态图
entity_relationship_diagram: ER 图
user_defined_diagram: User defined diagram
user_defined_diagram: 用户自定义图表
gantt_chart: 甘特图
pie_chart: 饼图
code:
@ -339,7 +340,7 @@ ui:
only_image: 只能上传图片文件。
max_size: 图片文件大小不能超过 4 MB。
desc:
label: 图片描述(可选)
label: 描述(可选)
tab_url: 网络图片
form_url:
fields:
@ -410,13 +411,13 @@ ui:
range: 不能超过 35 个字符
slug_name:
label: URL 固定链接
desc: '必须由 "a-z", "0-9", "+ # - ." 组成'
desc: '必须使用字符集 "a-z"、"0-9"、"+ # - ."'
msg:
empty: 不能为空
range: 不能超过 35 个字符
character: 包含非法字符
desc:
label: 标签描述(可选)
label: 描述(可选)
btn_cancel: 取消
btn_submit: 提交
tag_info:
@ -564,8 +565,7 @@ ui:
placeholder: 搜索
footer:
build_on: >-
Built on <1> Answer </1>- the open-source software that powers Q&A
communities<br />Made with love © 2022 Answer
基于<1>Answer</1>--为问答社区提供动力的开源软件。<br />Made with love © {{cc}}.
upload_img:
name: 更改图片
loading: 加载中...
@ -618,7 +618,7 @@ ui:
btn_cancel: 取消
btn_update: 更新电子邮件地址
send_success: >-
If an account matches <strong>{{mail}}</strong>, you should receive an email with instructions on how to reset your password shortly.
如果账户与<strong>{{mail}}</strong>相匹配,您应该很快就会收到一封电子邮件,说明如何重置您的密码。
email:
label: 新邮箱
msg:
@ -647,8 +647,8 @@ ui:
account: 账号
interface: 界面
profile:
heading: Profile
btn_name: Save
heading: 个人资料
btn_name: 保存
display_name:
label: 昵称
msg: 昵称不能为空
@ -666,7 +666,7 @@ ui:
custom: 自定义
btn_refresh: 刷新
custom_text: 您可以上传您的图片。
default: System
default: 系统
msg: 请上传头像
bio:
label: 关于我 (可选)
@ -678,12 +678,12 @@ ui:
label: 位置 (可选)
placeholder: "城市, 国家"
notification:
heading: Notifications
heading: 通知
email:
label: 邮件通知
radio: "你的提问有新的回答,评论,和其他"
account:
heading: Account
heading: 账号
change_email_btn: 更改邮箱
change_pass_btn: 更改密码
change_email_info: >-
@ -703,7 +703,7 @@ ui:
pass_confirm:
label: 确认新密码
interface:
heading: Interface
heading: 界面
lang:
label: 界面语言
text: 设置用户界面语言,在刷新页面后生效。
@ -711,7 +711,7 @@ ui:
update: 更新成功
update_password: 更改密码成功。
flag_success: 感谢您的标记,我们会尽快处理。
forbidden_operate_self: Forbidden to operate on yourself
forbidden_operate_self: 禁止自己操作
review: 您的修订将在审核通过后显示。
related_question:
title: 相关问题
@ -737,16 +737,16 @@ ui:
write_answer:
title: 你的回答
btn_name: 提交你的回答
add_another_answer: Add another answer
add_another_answer: 添加另一个答案
confirm_title: 继续回答
continue: 继续
confirm_info: >-
<p>您确定要提交一个新的回答吗?</p><p>您可以直接编辑和改善您之前的回答的。</p>
empty: 回答内容不能为空。
reopen:
title: Reopen this post
content: Are you sure you want to reopen?
success: This post has been reopened
title: 重新打开这个帖子
content: 确定要重新打开吗?
success: 这个帖子已被重新打开
delete:
title: 删除
question: >-
@ -811,6 +811,11 @@ ui:
confirm_new_email: 你的电子邮箱已更新
confirm_new_email_invalid: >-
抱歉,此验证链接已失效。也许是你的邮箱已经成功更改了?
unsubscribe:
page_title: 退订
success_title: 取消订阅成功
success_desc: 您已成功地从此订阅者列表中移除,并且将不会再收到我们的任何电子邮件。
link: 更改设置
question:
following_tags: 已关注的标签
edit: 编辑
@ -873,9 +878,9 @@ ui:
done: 完成
config_yaml_error: 无法创建配置文件
lang:
label: Please Choose a Language
label: 请选择一种语言
db_type:
label: Database Engine
label: 数据库引擎
db_username:
label: 用户名
placeholder: root
@ -890,17 +895,17 @@ ui:
msg: 数据库地址不能为空
db_name:
label: 数据库名
placeholder: answer
placeholder: 回答
msg: 数据库名称不能为空。
db_file:
label: Database File
label: 数据库文件
placeholder: /data/answer.db
msg: 数据库文件不能为空。
config_yaml:
title: 创建 config.yaml
label: 已创建 config.yaml 文件。
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.
您可以手动在 <1>/var/wwww/xxx/</1> 目录中创建<1>config.yaml</1> 文件并粘贴以下文本。
info: "完成后,点击“下一步”按钮。"
site_information: 站点信息
admin_account: 管理员账户
@ -909,52 +914,52 @@ ui:
msg: 站点名称不能为空。
site_url:
label: 站点地址URL
text: The address of your site.
text: 此网站的地址。
msg:
empty: 站点URL不能为空。
incorrect: 站点URL格式不正确。
contact_email:
label: 联系邮箱
text: Email address of key contact responsible for this site.
text: 负责本网站的主要联系人的电子邮件地址。
msg:
empty: Contact Email cannot be empty.
incorrect: Contact Email incorrect format.
empty: 联系人邮箱地址不能为空。
incorrect: 联系人邮箱地址不正确。
admin_name:
label: Name
msg: Name cannot be empty.
label: 昵称
msg: 昵称不能为空。
admin_password:
label: Password
label: 密码
text: >-
You will need this password to log in. Please store it in a secure location.
msg: Password cannot be empty.
您需要此密码才能登录。请将其存储在一个安全的位置。
msg: 密码不能为空。
admin_email:
label: Email
text: You will need this email to log in.
label: 邮箱
text: 您需要此电子邮件才能登录。
msg:
empty: Email cannot be empty.
incorrect: Email incorrect format.
ready_title: Your Answer is Ready!
empty: 邮箱不能为空。
incorrect: 邮箱格式不正确。
ready_title: 你的答案已经准备好了!
ready_desc: >-
If you ever feel like changing more settings, visit <1>admin section</1>; find it in the site menu.
good_luck: "Have fun, and good luck!"
warn_title: Warning
如果你想改变更多的设置,请访问<1>管理员部分</1>;在网站菜单中找到它。
good_luck: "玩得愉快,祝您好运!"
warn_title: 警告
warn_desc: >-
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.
install_now: You may try <1>installing now</1>.
文件<1>config.yaml</1>已存在。如果您需要重置此文件中的任何配置项,请先删除它。
install_now: 您可以尝试<1>现在安装</1>。
installed: 已安裝
installed_desc: >-
You appear to have already installed. To reinstall please clear your old database tables first.
您似乎已经安装过了。要重新安装,请先清除旧的数据库表。
db_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.
这或者意味着数据库信息在 <1>config.yaml</1> 文件不正确,或者无法与数据库服务器建立联系。这可能意味着您的主机数据库服务器已关闭。
page_404:
desc: 页面不存在
desc: "很抱歉,此页面不存在。"
back_home: 回到主页
page_50X:
desc: 服务器遇到了一个错误,无法完成你的请求。
back_home: 回到主页
page_maintenance:
desc: "We are under maintenance, well be back soon."
desc: "我们正在进行维护,我们将很快回来。"
nav_menus:
dashboard: 后台管理
contents: 内容管理
@ -972,10 +977,10 @@ ui:
tos: 服务条款
privacy: 隐私政策
seo: SEO
customize: Customize
themes: Themes
customize: 自定义
themes: 主题
css-html: CSS/HTML
login: Login
login: 登录
admin:
admin_header:
title: 后台管理
@ -1001,6 +1006,7 @@ ui:
answer_links: 回答链接
documents: 文档
feedback: 用户反馈
support: 帮助
review: 审查
config: 配置
update_to: 更新到
@ -1025,11 +1031,11 @@ ui:
btn_cancel: 取消
btn_submit: 提交
normal_name: 正常
normal_desc: 正常状态的用户可以提问和回答。
normal_desc: 普通用户可以提问和回答。
suspended_name: 封禁
suspended_desc: 被封禁的用户将无法登录。
deleted_name: 删除
deleted_desc: 删除用户的个人信息,认证等等。
deleted_desc: "删除个人资料和身份验证关联。"
inactive_name: 不活跃
inactive_desc: 不活跃的用户必须重新验证邮箱。
confirm_title: 删除此用户
@ -1040,11 +1046,11 @@ ui:
status_modal:
title: "更改 {{ type }} 状态为..."
normal_name: 正常
normal_desc: 所有用户都可以访问
normal_desc: 所有用户都可以访问的普通帖子。
closed_name: 关闭
closed_desc: 不能回答,但仍然可以编辑、投票和评论。
closed_desc: "关闭的问题不能回答,但仍然可以编辑、投票和评论。"
deleted_name: 删除
deleted_desc: 所有获得/损失的声望将会恢复。
deleted_desc: 获得和丧失的所有信誉积分将被恢复。
btn_cancel: 取消
btn_submit: 提交
btn_next: 下一步
@ -1079,32 +1085,32 @@ ui:
change_status: 更改状态
change_role: 更改角色
show_logs: 显示日志
add_user: Add user
add_user: 添加用户
new_password_modal:
title: Set new password
title: 设置新密码
form:
fields:
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.
btn_cancel: Cancel
btn_submit: Submit
label: 密码
text: 用户将被注销,需要再次登录。
msg: 密码的长度必须是8-32个字符。
btn_cancel: 取消
btn_submit: 提交
user_modal:
title: Add new user
title: 添加新用户
form:
fields:
display_name:
label: Display Name
msg: display_name must be at 4 - 30 characters in length.
label: 昵称
msg: 昵称的长度必须是4-30个字符。
email:
label: Email
msg: Email is not valid.
label: 邮箱
msg: 电子邮箱无效。
password:
label: Password
msg: Password must be at 8 - 32 characters in length.
btn_cancel: Cancel
btn_submit: Submit
label: 密码
msg: 密码的长度必须是8-32个字符。
btn_cancel: 取消
btn_submit: 提交
questions:
page_title: 问题
normal: 正常
@ -1118,7 +1124,7 @@ ui:
action: 操作
change: 更改
filter:
placeholder: "Filter by title, question:id"
placeholder: "按标题过滤,问题:id"
answers:
page_title: 回答
normal: 正常
@ -1130,21 +1136,31 @@ ui:
action: 操作
change: 更改
filter:
placeholder: "Filter by title, answer:id"
placeholder: "按标题筛选,答案:id"
general:
page_title: 一般
name:
label: 站点名称
msg: 不能为空
text: 站点的名称作为站点的标题HTML 的 title 标签)。
text: "站点的名称作为站点的标题HTML 的 title 标签)。"
site_url:
label: 网站网址
msg: 网站网址不能为空。
validate: 请输入一个有效的 URL。
text: 此网站的地址。
short_desc:
label: 简短的站点标语 (可选)
msg: 不能为空
text: 简短的标语作为网站主页的标题HTML 的 title 标签)。
label: 简短网站描述(可选)
msg: 简短网站描述不能为空
text: "简短的标语作为网站主页的标题Html 的 title 标签)。"
desc:
label: 网站描述 (可选)
msg: 不能为空
text: 使用一句话描述本站作为网站的描述HTML 的 meta 标签)。
msg: 网站描述不能为空。
text: "使用一句话描述本站作为网站的描述Html 的 meta 标签)。"
contact_email:
label: 联系人邮箱
msg: 联系人邮箱不能为空。
validate: 联系人邮箱无效。
text: 负责本网站的主要联系人的电子邮件地址。
interface:
page_title: 界面
logo:
@ -1160,9 +1176,9 @@ ui:
msg: 不能为空
text: 设置用户界面语言,在刷新页面后生效。
time_zone:
label: Timezone
msg: Timezone cannot be empty.
text: Choose a city in the same timezone as you.
label: 时区
msg: 时区不能为空。
text: 选择一个与您相同时区的城市。
smtp:
page_title: SMTP
from_email:
@ -1198,97 +1214,97 @@ ui:
text: 提供用于接收测试邮件的邮箱地址。
msg: 地址无效
smtp_authentication:
label: Enable authentication
title: SMTP Authentication
label: 启用身份验证
title: SMTP身份验证
msg: 不能为空
"yes": "是"
"no": "否"
branding:
page_title: Branding
page_title: 品牌
logo:
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.
label: 图标
msg: 图标不能为空。
text: 在你的网站左上方的Logo图标。使用一个高度为56长宽比大于3:1的宽长方形图像。如果留空将显示网站标题文本。
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.
label: 移动端图标(可选)
text: 在你的网站的移动版上使用的标志。使用一个高度为56的宽矩形图像。如果留空将使用 "Logo"设置中的图像。
square_icon:
label: Square Icon
msg: Square icon cannot be empty.
text: Image used as the base for metadata icons. Should ideally be larger than 512x512.
label: 方形图标
msg: 方形图标不能为空。
text: 用作元数据图标的基础的图像。最好是大于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.
label: 收藏夹图标(可选)
text: 网站的图标。要在 CDN 正常工作,它必须是 png。 将调整大小到32x32。如果留空将使用“方形图标”。
legal:
page_title: Legal
page_title: 法律条款
terms_of_service:
label: Terms of Service
text: "You can add terms of service content here. If you already have a document hosted elsewhere, provide the full URL here."
label: 服务条款
text: "您可以在此添加服务内容的条款。如果您已经在别处托管了文档请在这里提供完整的URL。"
privacy_policy:
label: Privacy Policy
text: "You can add privacy policy content here. If you already have a document hosted elsewhere, provide the full URL here."
label: 隐私条款
text: "您可以在此添加隐私政策内容。如果您已经在别处托管了文档请在这里提供完整的URL。"
write:
page_title: Write
page_title: 编辑
recommend_tags:
label: Recommend Tags
text: "Please input tag slug above, one tag per line."
label: 推荐标签
text: "请输入以上标签,每行一个标签。"
required_tag:
title: Required Tag
label: Set recommend tag as required
text: "Every new question must have at least one recommend tag."
title: 必需的标签
label: 根据需要设置推荐标签
text: "每个新问题必须至少有一个推荐标签。"
reserved_tags:
label: Reserved Tags
text: "Reserved tags can only be added to a post by moderator."
label: 保留标签
text: "保留的标签只能由版主添加到一个帖子中。"
seo:
page_title: SEO
page_title: 搜索引擎优化
permalink:
label: Permalink
text: Custom URL structures can improve the usability, and forward-compatibility of your links.
label: 固定链接
text: 自定义URL结构可以提高可用性以及你的链接的向前兼容性。
robots:
label: robots.txt
text: This will permanently override any related site settings.
text: 这将永久覆盖任何相关的网站设置。
themes:
page_title: Themes
page_title: 主题
themes:
label: Themes
text: Select an existing theme.
label: 主题
text: 选择一个现有主题。
navbar_style:
label: Navbar Style
text: Select an existing theme.
label: 导航栏样式
text: 选择一个现有主题。
primary_color:
label: Primary Color
text: Modify the colors used by your themes
label: 主色调
text: 修改您主题使用的颜色
css_and_html:
page_title: CSS and HTML
page_title: CSS HTML
custom_css:
label: Custom CSS
text: This will insert as <link>
label: 自定义CSS
text: 这将在 <link> 之前插入
head:
label: Head
text: This will insert before </head>
label: 头部
text: 这将在 </head> 之前插入
header:
label: Header
text: This will insert after <body>
label: 标题
text: 这将在 <body> 之前插入
footer:
label: Footer
text: This will insert before </html>.
label: 页脚
text: 这将在 </html> 之前插入
login:
page_title: Login
page_title: 登录
membership:
title: Membership
label: Allow new registrations
text: Turn off to prevent anyone from creating a new account.
title: 会员
label: 允许新注册
text: 关闭以防止任何人创建新帐户。
private:
title: Private
label: Login required
text: Only logged in users can access this community.
title: 非公开的
label: 需要登录
text: 只有登录用户才能访问这个社区。
form:
empty: cannot be empty
invalid: is invalid
btn_submit: Save
not_found_props: "Required property {{ key }} not found."
empty: 不能为空
invalid: 是无效的
btn_submit: 保存
not_found_props: "所需属性 {{ key }} 未找到。"
page_review:
review: Review
review: 评论
proposed: 提案
question_edit: 问题编辑
answer_edit: 回答编辑
@ -1326,11 +1342,11 @@ ui:
comment: 评论
no_data: "空空如也"
users:
title: Users
users_with_the_most_reputation: Users with the highest reputation scores
users_with_the_most_vote: Users who voted the most
staffs: Our community staff
reputation: reputation
votes: votes
title: 用户
users_with_the_most_reputation: 信誉积分最高的用户
users_with_the_most_vote: 投票最多的用户
staffs: 我们的社区工作人员
reputation: 声望值
votes: 投票

View File

@ -4,11 +4,11 @@ backend:
success:
other: "成功!"
unknown:
other: "Unknown error."
other: "未知的錯誤。"
request_format_error:
other: "Request format is not valid."
other: "請求的格式無效。"
unauthorized_error:
other: "Unauthorized."
other: "未授權。"
database_error:
other: "Data server error."
role:
@ -29,13 +29,13 @@ backend:
email:
other: "Email"
password:
other: "Password"
other: "密碼"
email_or_password_wrong_error:
other: "Email and password do not match."
other: "電子郵箱和密碼不匹配。"
error:
admin:
email_or_password_wrong:
other: Email and password do not match.
other: 電子郵箱和密碼不匹配。
answer:
not_found:
other: "Answer do not found."
@ -70,22 +70,22 @@ backend:
not_found:
other: "Object not found."
verification_failed:
other: "Verification failed."
other: "驗證失敗。"
email_or_password_incorrect:
other: "Email and password do not match."
other: "電子郵箱和密碼不匹配。"
old_password_verification_failed:
other: "The old password verification failed"
other: "舊密碼驗證失敗"
new_password_same_as_previous_setting:
other: "The new password is the same as the previous one."
other: "新密碼與先前的一樣。"
question:
not_found:
other: "Question not found."
other: "找不到問題。"
cannot_deleted:
other: "No permission to delete."
other: "沒有刪除的權限。"
cannot_close:
other: "No permission to close."
other: "沒有關閉的權限。"
cannot_update:
other: "No permission to update."
other: "沒有更新的權限。"
rank:
fail_to_meet_the_condition:
other: "Rank fail to meet the condition."
@ -107,9 +107,12 @@ backend:
other: "No permission to update."
cannot_set_synonym_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."
theme:
not_found:
other: "Theme not found."
other: "未找到主題。"
revision:
review_underway:
other: "Can't edit currently, there is a version in the review queue."
@ -129,21 +132,21 @@ backend:
other: "Username is already in use."
set_avatar:
other: "Avatar set failed."
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
cannot_update_your_role:
other: "You cannot modify your role."
not_allowed_registration:
other: "Currently the site is not open for registration"
config:
read_config_failed:
other: "Read config failed"
database:
connection_failed:
other: "Database connection failed"
create_table_failed:
other: "Create table failed"
install:
create_config_failed:
other: "Cant create the config.yaml file."
report:
spam:
name:
@ -197,6 +200,13 @@ backend:
other: "something else"
desc:
other: "This post requires another reason not listed above."
operation_type:
asked:
other: "asked"
answered:
other: "answered"
modified:
other: "modified"
notification:
action:
update_question:
@ -801,6 +811,11 @@ ui:
confirm_new_email: Your email has been updated.
confirm_new_email_invalid: >-
Sorry, this confirmation link is no longer valid. Perhaps your email was already changed?
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.
link: Change settings
question:
following_tags: Following Tags
edit: Edit
@ -991,6 +1006,7 @@ ui:
answer_links: Answer Links
documents: Documents
feedback: Feedback
support: Support
review: Review
config: Config
update_to: Update to

View File

@ -88,7 +88,7 @@ func (ar *ActivityRepo) GetActivity(ctx context.Context, session *xorm.Session,
func (ar *ActivityRepo) GetUserIDObjectIDActivitySum(ctx context.Context, userID, objectID string) (int, error) {
sum := &entity.ActivityRankSum{}
_, err := ar.data.DB.Table(entity.Activity{}.TableName()).
Select("sum(rank) as rank").
Select("sum(`rank`) as `rank`").
Where("user_id =?", userID).
And("object_id = ?", objectID).
And("cancelled =0").
@ -113,7 +113,7 @@ func (ar *ActivityRepo) AddActivity(ctx context.Context, activity *entity.Activi
func (ar *ActivityRepo) GetUsersWhoHasGainedTheMostReputation(
ctx context.Context, startTime, endTime time.Time, limit int) (rankStat []*entity.ActivityUserRankStat, err error) {
rankStat = make([]*entity.ActivityUserRankStat, 0)
session := ar.data.DB.Select("user_id, SUM(rank) AS rank_amount").Table("activity")
session := ar.data.DB.Select("user_id, SUM(`rank`) AS rank_amount").Table("activity")
session.Where("has_rank = 1 AND cancelled = 0")
session.Where("created_at >= ?", startTime)
session.Where("created_at <= ?", endTime)