1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 21:29:42 +02:00

Fix i18n strings

This commit is contained in:
Harvey Kandola 2022-03-22 12:14:31 -04:00
parent 6c8b10753d
commit 78932fb8c7
4 changed files with 6 additions and 6 deletions

View file

@ -99,7 +99,7 @@ func (h *Handler) SetSMTP(w http.ResponseWriter, r *http.Request) {
Message string `json:"message"` Message string `json:"message"`
} }
result.Message = i18n.Localize(ctx.Locale, "server_smtp_test") result.Message = i18n.Localize(ctx.Locale, "server_smtp_success")
u, err := h.Store.User.Get(ctx, ctx.UserID) u, err := h.Store.User.Get(ctx, ctx.UserID)
if err != nil { if err != nil {
@ -111,7 +111,7 @@ func (h *Handler) SetSMTP(w http.ResponseWriter, r *http.Request) {
} }
cfg := GetSMTPConfig(h.Store) cfg := GetSMTPConfig(h.Store)
h.Runtime.Log.Infof("%v", cfg) // h.Runtime.Log.Infof("%v", cfg)
dialer, err := smtp.Connect(cfg) dialer, err := smtp.Connect(cfg)
em := smtp.EmailMessage{} em := smtp.EmailMessage{}
em.Subject = i18n.Localize(ctx.Locale, "server_smtp_test_subject") em.Subject = i18n.Localize(ctx.Locale, "server_smtp_test_subject")

View file

@ -56,7 +56,7 @@ export default Component.extend(Notifier, {
}, },
); );
this.set('buttonText', this.i18n.localize('please_test')); this.set('buttonText', this.i18n.localize('please_wait'));
this.notifyInfo(this.i18n.localize('smtp_sent_test_email')); this.notifyInfo(this.i18n.localize('smtp_sent_test_email'));
this.get('saveSMTP')().then((result) => { this.get('saveSMTP')().then((result) => {

View file

@ -77,7 +77,7 @@
<div class="modal-content"> <div class="modal-content">
<div class="modal-header">{{localize 'delete'}}</div> <div class="modal-header">{{localize 'delete'}}</div>
<div class="modal-body"> <div class="modal-body">
<p>{{localize 'categroy_delete_confirm'}}</p> <p>{{localize 'category_delete_confirm'}}</p>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
{{ui/ui-button color=constants.Color.Gray light=true label=(localize 'close') dismiss=true}} {{ui/ui-button color=constants.Color.Gray light=true label=(localize 'close') dismiss=true}}

View file

@ -712,7 +712,7 @@
"mail_template_approval_explain": "You are requested to approve all changes to the following document:", "mail_template_approval_explain": "You are requested to approve all changes to the following document:",
"mail_template_password": "Your temporary password:", "mail_template_password": "Your temporary password:",
"mail_template_user_invite": "{1} has invited you to Documize Community", "mail_template_user_invite": "{1} has invited you to Documize Community",
"mail_template_user_existing": "{1] has invited you to their Documize Community account", "mail_template_user_existing": "{1} has invited you to their Documize Community account",
"mail_template_reset_password": "Your Documize Community password reset request", "mail_template_reset_password": "Your Documize Community password reset request",
"mail_template_shared": "{1} has shared space {2} with you", "mail_template_shared": "{1} has shared space {2} with you",
"mail_template_invited": "{1} has shared space {2} with you on Documize Community", "mail_template_invited": "{1} has shared space {2} with you on Documize Community",
@ -731,7 +731,7 @@
"mail_template_approval_7": "Your change is still under review and requires any other reviewer to approve the change.", "mail_template_approval_7": "Your change is still under review and requires any other reviewer to approve the change.",
"mail_template_approval_8": "Your change is still under review and requires the majority of reviewers to approve the change.", "mail_template_approval_8": "Your change is still under review and requires the majority of reviewers to approve the change.",
"mail_template_approval_9": "Your change is still under review and needs unanimous approval.", "mail_template_approval_9": "Your change is still under review and needs unanimous approval.",
"mail_template_review_outcome": "{1] reviewed your change for document {2} and was marked as {3}. {4}", "mail_template_review_outcome": "{1} reviewed your change for document {2} and was marked as {3}. {4}",
"mail_template_action_read": "Please read document {1} by {2}.", "mail_template_action_read": "Please read document {1} by {2}.",
"mail_template_action_feedback": "Please provide feedback for document {1} by {2}.", "mail_template_action_feedback": "Please provide feedback for document {1} by {2}.",
"mail_template_action_contribute": "Please contribute content to document {1} by {2}.", "mail_template_action_contribute": "Please contribute content to document {1} by {2}.",