diff options
| author | Okan SUMER (osu) <osu@odoo.com> | 2020-03-18 15:55:18 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2020-05-14 18:27:00 +0000 |
| commit | bfb70b6b9c0afceaa145d5053ea68e1d1e08d21e (patch) | |
| tree | 3363d11a15fd3f7295c2ebbbff91e388b073b2c9 /addons/website_forum/static/src | |
| parent | 87a1b547178db9531df7f81bd89516f1d08f6320 (diff) | |
[IMP] website_forum: rename fields, labels, texts,...
This commit rename every "Question" references by "Post"
to make it appropriate for both forum's type (Question and Discussion)
It renames some other fields/labels to be shorter or with a
capital letter at the start.
Update demo data to add a title to answers
Part of https://github.com/odoo/odoo/pull/46634
task-2201708
Diffstat (limited to 'addons/website_forum/static/src')
| -rw-r--r-- | addons/website_forum/static/src/js/tours/website_forum.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/website_forum/static/src/js/tours/website_forum.js b/addons/website_forum/static/src/js/tours/website_forum.js index d3d182701d2..b8bd5c67a11 100644 --- a/addons/website_forum/static/src/js/tours/website_forum.js +++ b/addons/website_forum/static/src/js/tours/website_forum.js @@ -11,11 +11,11 @@ odoo.define("website_forum.tour_forum", function (require) { }, [{ trigger: ".o_forum_ask_btn", position: "left", - content: _t("Ask the question in this forum by clicking on the button."), + content: _t("Create a new post in this forum by clicking on the button."), }, { trigger: "input[name=post_name]", position: "top", - content: _t("Give your question title."), + content: _t("Give your post title."), }, { trigger: ".note-editable p", extra_trigger: "input[name=post_name]:not(:propValue(\"\"))", @@ -31,7 +31,7 @@ odoo.define("website_forum.tour_forum", function (require) { actions.auto("input[id=s2id_autogen2]"); }, }, { - trigger: "button:contains(\"Post Your Question\")", + trigger: "button:contains(\"Post\")", extra_trigger: "input[id=s2id_autogen2]:not(:propValue(\"Tags\"))", content: _t("Click to post your question."), position: "bottom", |
