summaryrefslogtreecommitdiff
path: root/addons/website
diff options
context:
space:
mode:
authorForam Shah <fsh@odoo.com>2016-06-08 17:53:22 +0530
committerYannick Tivisse <yti@odoo.com>2016-06-14 16:23:50 +0200
commit052dcd3ee8d48ffa1da0579a650065f3ff07e312 (patch)
treee4fb2ecac7f545a8d2144d3e1a635bccb28053d7 /addons/website
parent78b52fb637c0dbd68ca8089e048781a89e3efed5 (diff)
[IMP] web: 'Not Archived' becomes 'Active', 'Not published' becomes 'Unpublished'
Another reason why it’s better to change ‘not archived’ into ‘active’ is because ‘active’ is the functional name of this field in the filter list in list view. For the rest, it’s just a better en_US way of saying it.
Diffstat (limited to 'addons/website')
-rw-r--r--addons/website/static/src/js/website.backend.js2
-rw-r--r--addons/website/views/website_templates.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/addons/website/static/src/js/website.backend.js b/addons/website/static/src/js/website.backend.js
index a50b838854c..4d4959cba42 100644
--- a/addons/website/static/src/js/website.backend.js
+++ b/addons/website/static/src/js/website.backend.js
@@ -19,7 +19,7 @@ var WidgetWebsiteButton = form_common.AbstractField.extend({
.removeClass('text-danger')
.addClass('text-success');
} else {
- $value.html(_t('Not Published'))
+ $value.html(_t('Unpublished'))
.removeClass('text-success')
.addClass('text-danger');
}
diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml
index 1a1f72da751..12fc1bca33e 100644
--- a/addons/website/views/website_templates.xml
+++ b/addons/website/views/website_templates.xml
@@ -423,7 +423,7 @@
<template id="publish_management">
<div groups="base.group_website_publisher" t-ignore="true" class="pull-right css_editable_mode_hidden" t-att-style="style or None">
<div t-attf-class="btn-group js_publish_management #{object.website_published and 'css_published' or 'css_unpublished'}" t-att-data-id="object.id" t-att-data-object="object._name" t-att-data-controller="publish_controller">
- <button class="btn btn-danger js_publish_btn">Not Published</button>
+ <button class="btn btn-danger js_publish_btn">Unpublished</button>
<button class="btn btn-success js_publish_btn">Published</button>
<button type="button" t-attf-class="btn btn-default dropdown-toggle" t-att-id="'dopprod-%s' % object.id" data-toggle="dropdown">
<span class="caret"></span>
@@ -442,7 +442,7 @@
<template id="publish_short">
<t groups="base.group_website_publisher" t-ignore="true">
<div t-attf-class="pull-right js_publish_management #{object.website_published and 'css_published' or 'css_unpublished'}" t-att-data-id="object.id" t-att-data-object="object._name" t-att-data-controller="publish_controller">
- <button class="btn btn-danger js_publish_btn">Not Published</button>
+ <button class="btn btn-danger js_publish_btn">Unpublished</button>
<button class="btn btn-success js_publish_btn">Published</button>
</div>
</t>