summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2018-04-09 17:40:21 +0200
committerJeremy Kersten <jke@odoo.com>2018-04-09 21:28:00 +0200
commitbae90d81df7fa0bd229ac042d58ec5a8e4e2bb3b (patch)
treeff7d9253caf7f14ed330e9c67876aadbbd342ae7 /addons
parentfedff9b650567b6ca31700a95faf5043e5a38f02 (diff)
[IMP] website_forum: fix some plurialize translation
Diffstat (limited to 'addons')
-rw-r--r--addons/website_forum/views/website_forum.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/addons/website_forum/views/website_forum.xml b/addons/website_forum/views/website_forum.xml
index 7c755dd1df8..8fd82a76b6d 100644
--- a/addons/website_forum/views/website_forum.xml
+++ b/addons/website_forum/views/website_forum.xml
@@ -256,15 +256,17 @@
<i t-if="question.post_type == 'link'" t-attf-class="fa fa-link" t-att-title="question.post_type.capitalize()" />
<span>By </span><span t-field="question.create_uid" t-options='{"widget": "contact", "country_image": True, "fields": ["name", "country_id"]}' style="display: inline-block;"/>
<span> • </span><span t-field="question.write_date" t-options='{"format":"short"}'/>
- <span> • </span><span t-field="question.views" /> View<t t-if="question.views&gt;1">s</t>
+ <span> • </span><span t-field="question.views" /> <t t-if="question.views&lt;=1">View</t><t t-else="">Views</t>
<span> • </span><a t-attf-href="/forum/#{ slug(forum) }/question/#{ slug(question) }">
<t t-esc="question.child_count"/>
<t t-if="question.post_type == 'question'">
- Answer<t t-if="question.child_count&gt;1">s</t>
+ <t t-if="question.child_count&lt;=1">View</t>
+ <t t-else="">Views</t>
</t>
<t t-if="question.post_type != 'question'">
- Comment<t t-if="question.child_count&gt;1">s</t>
+ <t t-if="question.child_count&lt;=1">Comment</t>
+ <t t-else="">Comments</t>
</t>
</a>
<t t-if="question.state == 'flagged'">