Skip to content

Commit

Permalink
Fixed some translation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Jul 6, 2015
1 parent 7c6e0ed commit df556d3
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 27 deletions.
29 changes: 4 additions & 25 deletions app/Resources/translations/messages.en.xliff
Expand Up @@ -35,6 +35,10 @@
<source>title.twig_template_code</source>
<target>Twig template code</target>
</trans-unit>
<trans-unit id="title.login_help">
<source>title.login_help</source>
<target>Try either of the following users</target>
</trans-unit>
<trans-unit id="title.login">
<source>title.login</source>
<target>Secure Sign in</target>
Expand Down Expand Up @@ -232,31 +236,6 @@
<source>title.homepage</source>
<target><![CDATA[For more information, check out the <a href="http://symfony.com/doc">Symfony doc</a>.]]></target>
</trans-unit>

<trans-unit id="post.blank_summary">
<source>entity.summary_blank</source>
<target>Give your post a summary!</target>
</trans-unit>
<trans-unit id="post.too_short_content">
<source>entity.post_short</source>
<target>Post content is too short ({{ limit }} characters minimum)</target>
</trans-unit>
<trans-unit id="comment.blank">
<source>entity.comment_blank</source>
<target>Please don't leave your comment blank!</target>
</trans-unit>
<trans-unit id="comment.too_short">
<source>entity.comment_short</source>
<target>Comment is too short ({{ limit }} characters minimum)</target>
</trans-unit>
<trans-unit id="comment.too_long">
<source>entity.comment_long</source>
<target>Comment is too long ({{ limit }} characters maximum)</target>
</trans-unit>
<trans-unit id="comment.is_spam">
<source>entity.comment_invalid</source>
<target>The content of this comment is considered spam.</target>
</trans-unit>
</body>
</file>
</xliff>
31 changes: 31 additions & 0 deletions app/Resources/translations/validators.en.xliff
@@ -0,0 +1,31 @@
<?xml version="1.0"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="en" datatype="plaintext" original="file.ext">
<body>
<trans-unit id="post.blank_summary">
<source>post.blank_summary</source>
<target>Give your post a summary!</target>
</trans-unit>
<trans-unit id="post.too_short_content">
<source>post.too_short_content</source>
<target>Post content is too short ({{ limit }} characters minimum)</target>
</trans-unit>
<trans-unit id="comment.blank">
<source>comment.blank</source>
<target>Please don't leave your comment blank!</target>
</trans-unit>
<trans-unit id="comment.too_short">
<source>comment.too_short</source>
<target>Comment is too short ({{ limit }} characters minimum)</target>
</trans-unit>
<trans-unit id="comment.too_long">
<source>comment.too_long</source>
<target>Comment is too long ({{ limit }} characters maximum)</target>
</trans-unit>
<trans-unit id="comment.is_spam">
<source>comment.is_spam</source>
<target>The content of this comment is considered spam.</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 2 additions & 2 deletions app/Resources/views/default/homepage.html.twig
Expand Up @@ -18,7 +18,7 @@
<div class="col-sm-6">
<div class="jumbotron">
<p>
{{ 'description.browse_app'|trans|raw }}
{{ 'help.browse_app'|trans|raw }}
</p>
<p>
<a class="btn btn-primary btn-lg" href="{{ path('blog_index') }}">
Expand All @@ -31,7 +31,7 @@
<div class="col-sm-6">
<div class="jumbotron">
<p>
{{ 'description.browse_admin'|trans|raw }}
{{ 'help.browse_admin'|trans|raw }}
</p>
<p>
<a class="btn btn-primary btn-lg" href="{{ path('admin_index') }}">
Expand Down

0 comments on commit df556d3

Please sign in to comment.