Skip to content

Commit df556d3

Browse files
committed
Fixed some translation errors
1 parent 7c6e0ed commit df556d3

File tree

3 files changed

+37
-27
lines changed

3 files changed

+37
-27
lines changed

app/Resources/translations/messages.en.xliff

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
<source>title.twig_template_code</source>
3636
<target>Twig template code</target>
3737
</trans-unit>
38+
<trans-unit id="title.login_help">
39+
<source>title.login_help</source>
40+
<target>Try either of the following users</target>
41+
</trans-unit>
3842
<trans-unit id="title.login">
3943
<source>title.login</source>
4044
<target>Secure Sign in</target>
@@ -232,31 +236,6 @@
232236
<source>title.homepage</source>
233237
<target><![CDATA[For more information, check out the <a href="http://symfony.com/doc">Symfony doc</a>.]]></target>
234238
</trans-unit>
235-
236-
<trans-unit id="post.blank_summary">
237-
<source>entity.summary_blank</source>
238-
<target>Give your post a summary!</target>
239-
</trans-unit>
240-
<trans-unit id="post.too_short_content">
241-
<source>entity.post_short</source>
242-
<target>Post content is too short ({{ limit }} characters minimum)</target>
243-
</trans-unit>
244-
<trans-unit id="comment.blank">
245-
<source>entity.comment_blank</source>
246-
<target>Please don't leave your comment blank!</target>
247-
</trans-unit>
248-
<trans-unit id="comment.too_short">
249-
<source>entity.comment_short</source>
250-
<target>Comment is too short ({{ limit }} characters minimum)</target>
251-
</trans-unit>
252-
<trans-unit id="comment.too_long">
253-
<source>entity.comment_long</source>
254-
<target>Comment is too long ({{ limit }} characters maximum)</target>
255-
</trans-unit>
256-
<trans-unit id="comment.is_spam">
257-
<source>entity.comment_invalid</source>
258-
<target>The content of this comment is considered spam.</target>
259-
</trans-unit>
260239
</body>
261240
</file>
262241
</xliff>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0"?>
2+
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
3+
<file source-language="en" target-language="en" datatype="plaintext" original="file.ext">
4+
<body>
5+
<trans-unit id="post.blank_summary">
6+
<source>post.blank_summary</source>
7+
<target>Give your post a summary!</target>
8+
</trans-unit>
9+
<trans-unit id="post.too_short_content">
10+
<source>post.too_short_content</source>
11+
<target>Post content is too short ({{ limit }} characters minimum)</target>
12+
</trans-unit>
13+
<trans-unit id="comment.blank">
14+
<source>comment.blank</source>
15+
<target>Please don't leave your comment blank!</target>
16+
</trans-unit>
17+
<trans-unit id="comment.too_short">
18+
<source>comment.too_short</source>
19+
<target>Comment is too short ({{ limit }} characters minimum)</target>
20+
</trans-unit>
21+
<trans-unit id="comment.too_long">
22+
<source>comment.too_long</source>
23+
<target>Comment is too long ({{ limit }} characters maximum)</target>
24+
</trans-unit>
25+
<trans-unit id="comment.is_spam">
26+
<source>comment.is_spam</source>
27+
<target>The content of this comment is considered spam.</target>
28+
</trans-unit>
29+
</body>
30+
</file>
31+
</xliff>

app/Resources/views/default/homepage.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<div class="col-sm-6">
1919
<div class="jumbotron">
2020
<p>
21-
{{ 'description.browse_app'|trans|raw }}
21+
{{ 'help.browse_app'|trans|raw }}
2222
</p>
2323
<p>
2424
<a class="btn btn-primary btn-lg" href="{{ path('blog_index') }}">
@@ -31,7 +31,7 @@
3131
<div class="col-sm-6">
3232
<div class="jumbotron">
3333
<p>
34-
{{ 'description.browse_admin'|trans|raw }}
34+
{{ 'help.browse_admin'|trans|raw }}
3535
</p>
3636
<p>
3737
<a class="btn btn-primary btn-lg" href="{{ path('admin_index') }}">

0 commit comments

Comments
 (0)