Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd61ee21

Browse files
committed
Make missing title on comment error page translatable
1 parentd9b1960 commitd61ee21

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

‎app/Resources/translations/messages.cs.xliff

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@
5151
<source>title.add_comment</source>
5252
<target>Přidat komentář</target>
5353
</trans-unit>
54+
<trans-unitid="title.comment_error">
55+
<source>title.comment_error</source>
56+
<target>Při vytváření komentáře došlo k chybě</target>
57+
</trans-unit>
5458

5559
<trans-unitid="action.show">
5660
<source>action.show</source>

‎app/Resources/translations/messages.en.xliff

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@
5151
<source>title.add_comment</source>
5252
<target>Add a comment</target>
5353
</trans-unit>
54+
<trans-unitid="title.comment_error">
55+
<source>title.comment_error</source>
56+
<target>There was an error publishing your comment</target>
57+
</trans-unit>
5458

5559
<trans-unitid="action.show">
5660
<source>action.show</source>

‎app/Resources/views/blog/comment_form_error.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{%blockbody_id'comment_form_error' %}
44

55
{%blockmain %}
6-
<h1class="text-danger">There was an error publishing your comment</h1>
6+
<h1class="text-danger">{{'title.comment_error'|trans }}</h1>
77

88
<divclass="well">
99
{{include('blog/comment_form.html.twig') }}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp