summaryrefslogtreecommitdiff
path: root/addons/gamification
diff options
context:
space:
mode:
authorOdoo Translation Bot <c3p@odoo.com>2017-11-26 04:25:05 +0100
committerOdoo Translation Bot <c3p@odoo.com>2017-11-26 04:25:05 +0100
commit31e574b153774bbfb8dc6eada06d8b48b99794a4 (patch)
tree39e9d57fead025b23eacabf2cada57d69d94d6a7 /addons/gamification
parent4e9aa65c33c47b47520a4274daf060d55b23fcf9 (diff)
[I18N] Update translation terms from Transifex
Diffstat (limited to 'addons/gamification')
-rw-r--r--addons/gamification/i18n/ca.po748
-rw-r--r--addons/gamification/i18n/da.po7
-rw-r--r--addons/gamification/i18n/he.po26
-rw-r--r--addons/gamification/i18n/lv.po730
4 files changed, 891 insertions, 620 deletions
diff --git a/addons/gamification/i18n/ca.po b/addons/gamification/i18n/ca.po
index 6661d976cce..81f683efb82 100644
--- a/addons/gamification/i18n/ca.po
+++ b/addons/gamification/i18n/ca.po
@@ -1,38 +1,262 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * gamification
-#
+#
# Translators:
+# Quim - eccit <quim@eccit.com>, 2017
msgid ""
msgstr ""
-"Project-Id-Version: Odoo 9.0\n"
+"Project-Id-Version: Odoo Server 10.saas~18\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-08-18 14:08+0000\n"
-"PO-Revision-Date: 2016-06-08 09:25+0000\n"
-"Last-Translator: Martin Trigaux\n"
-"Language-Team: Catalan (http://www.transifex.com/odoo/odoo-9/language/ca/)\n"
-"Language: ca\n"
+"POT-Creation-Date: 2017-10-02 11:27+0000\n"
+"PO-Revision-Date: 2017-10-02 11:27+0000\n"
+"Last-Translator: Quim - eccit <quim@eccit.com>, 2017\n"
+"Language-Team: Catalan (https://www.transifex.com/odoo/teams/41243/ca/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
+"Language: ca\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: gamification
-#: model:mail.template,body_html:gamification.email_template_badge_received
+#: model:mail.template,body_html:gamification.simple_report_template
msgid ""
"\n"
-" <p>Congratulation, you have received the badge <strong>${object."
-"badge_id.name}</strong> !\n"
-" % if object.sender_id\n"
-" This badge was granted by <strong>${object.sender_id.name}</"
-"strong>.\n"
-" % endif\n"
-" </p>\n"
+" \n"
+"% set record = ctx.get('record')\n"
+"% set company = record and record.company_id or user.company_id\n"
+"% set challenge_lines = ctx.get('challenge_lines', []) \n"
+"<table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"font-family: 'Helvetica'; background-color: #EEE; border-collapse: collapse;\">\n"
+"<tr>\n"
+" <td valign=\"top\" align=\"center\">\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"600\" style=\"margin: 0 auto; width: 600px;\">\n"
+" <tr><td>\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n"
+" <tr>\n"
+" <td valign=\"middle\" align=\"left\" style=\"padding:30px 15px;\">\n"
+" <img width=\"90\" src=\"/logo.png?company=${user.company_id.id}\" style=\"width:80px;\"/>\n"
+" </td>\n"
+" % if object.visibility_mode == 'ranking':\n"
+" <td style=\"padding:15px;\">\n"
+" <p style=\"font-size:20px;color:#666666;\" align=\"right\">Leaderboard</p>\n"
+" </td>\n"
+" % endif\n"
+" </tr>\n"
+" </table>\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" bgcolor=\"#fff\" style=\"background-color:#fff;\">\n"
+" <tr><td style=\"padding: 15px;\">\n"
+" % if object.visibility_mode == 'personal':\n"
+" <span style=\"color:#666666;font-size:13px;\">Here is your current progress in the challenge <strong>${object.name}</strong>.</span>\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"margin-top:20px;\">\n"
+" <tr>\n"
+" <td align=\"center\">\n"
+" <p style=\"font-size:27px;color:#666666;\">Personal Performance</p>\n"
+" </td>\n"
+" </tr>\n"
+" </table>\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"margin-top:30px;color:#666666;\">\n"
+" <thead>\n"
+" <tr style=\"color:#9A6C8E; font-size:12px;\">\n"
+" <th align=\"left\" style=\"padding-bottom: 0px;width:40%;text-align:left;\">Goals</th>\n"
+" <th style=\"width:20%;text-align:right;\" align=\"left\">Target</th>\n"
+" <th style=\"width:20%;text-align:right;\" align=\"right\">Current</th>\n"
+" <th style=\"width:20%;text-align:right;\" align=\"right\">Completeness</th>\n"
+" </tr>\n"
+" <tr>\n"
+" <td colspan=\"5\" style=\"height:1px;background-color:#9A6C8E;\"></td>\n"
+" </tr>\n"
+" </thead>\n"
+" <tbody>\n"
+" % for line in challenge_lines:\n"
+" <tr\n"
+" % if line['completeness'] >= 100:\n"
+" style=\"font-weight:bold;\"\n"
+" % endif\n"
+" >\n"
+" <td style=\"padding: 20px 0;\" align=\"left\">\n"
+" ${line['name']}\n"
+" % if line['suffix'] or line['monetary']:\n"
+" (${line['full_suffix']})\n"
+" % endif\n"
+" </td>\n"
+" <td style=\"padding: 20px 0;\" align=\"right\">${\"%.2f\" % line['target']}\n"
+" % if line['suffix']:\n"
+" ${line['suffix']}\n"
+" % endif\n"
+" </td>\n"
+" <td style=\"padding: 20px 0;\" align=\"right\">${\"%.2f\" % line['current']}\n"
+" % if line['suffix']:\n"
+" ${line['suffix']}\n"
+" % endif\n"
+" </td>\n"
+" <td style=\"padding: 20px 0;font-size:25px;color:#9A6C8E;\" align=\"right\"><strong>${line['completeness']| int}%</strong></td>\n"
+" </tr>\n"
+" <tr>\n"
+" <td colspan=\"5\" style=\"height:1px;background-color:#e3e3e3;\"></td>\n"
+" </tr>\n"
+" % endfor \n"
+" </tbody>\n"
+" </table> \n"
+" % else: \n"
+" <span style=\"color:#A8A8A8;font-size:13px;\">\n"
+" Challenge: <strong>${object.name}</strong>.\n"
+" </span> \n"
+" % for line in challenge_lines:\n"
+" <!-- Header + Button table -->\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\"style=\"margin-top:35px;\">\n"
+" <tr>\n"
+" <td width=\"50%\">\n"
+" <p style=\"font-size:22px;color:#666666;\">Top Achievers for goal <strong>${line['name']}</strong></p>\n"
+" </td>\n"
+" </tr>\n"
+" </table>\n"
+" <!-- Podium -->\n"
+" % if len(line['goals'])>2:\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"margin-top:10px;\">\n"
+" <tr><td style=\"padding:0 30px;\">\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"table-layout: fixed;\">\n"
+" <tr>\n"
+" % set top_goals = [line['goals'][1], line['goals'][0], line['goals'][2]]\n"
+" % for goal in top_goals:\n"
+" <td align=\"center\" style=\"width:32%;\">\n"
+" % if loop.index == 1:\n"
+" % set extra_div = '<div style=\"height:40px;\"></div>'\n"
+" % set heightA = 95\n"
+" % set heightB = 75\n"
+" % set bgColor = '#b898b0'\n"
+" % set fontSize = 50\n"
+" % set podiumPosition = '2'\n"
+" % elif loop.index == 2:\n"
+" % set extra_div = ''\n"
+" % set heightA = 55\n"
+" % set heightB = 115\n"
+" % set bgColor = '#9A6C8E'\n"
+" % set fontSize = 85\n"
+" % set podiumPosition = '1'\n"
+" % elif loop.index == 3:\n"
+" % set extra_div = '<div style=\"height:60px;\"></div>'\n"
+" % set heightA = 115\n"
+" % set heightB = 55\n"
+" % set bgColor = '#c8afc1'\n"
+" % set fontSize = 35\n"
+" % set podiumPosition = '3'\n"
+" % endif\n"
+" <div style=\"margin:0 3px 0 3px;height:220px;\">\n"
+" <div style=\"height:${heightA}px;\">\n"
+" ${extra_div | safe} \n"
+" <div style=\"height:55px;\">\n"
+" % set path = object.env['res.users'].browse(goal['user_id']).partner_id.image_small\n"
+" <img style=\"margin-bottom:5px;width:50px;height:50px;border-radius:50%;\" src=\"data:image/jpeg;base64,${path}\" alt=\"${goal['name']}\"/>\n"
+" </div> \n"
+" <div align=\"center\" style =\"color:${bgColor};height:20px\">\n"
+" ${goal['name']}\n"
+" </div \n"
+" </div>\n"
+" <div style=\"background-color:${bgColor | safe};height:${heightB}px;\">\n"
+" <strong><span style=\"color:#fff;font-size:${fontSize}px;\">${podiumPosition | safe}</span></strong>\n"
+" </div>\n"
+" <div style=\"height:30px;\">\n"
+" <p style=\"color:#9A6C8E;font-size:20px;margin-top:10px;\">\n"
+" ${\"%.2f\" % goal['current']}\n"
+" % if line['suffix'] or line['monetary']:\n"
+" ${line['full_suffix']}\n"
+" % endif\n"
+" </p>\n"
+" </div>\n"
+" </div>\n"
+" </td>\n"
+" % endfor\n"
+" </tr>\n"
+" </table>\n"
+" </td>\n"
+" </tr>\n"
+" </table>\n"
+" % endif\n"
+" <!-- data table -->\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"margin-bottom:5px\">\n"
+" <tr>\n"
+" <td>\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"margin-top:30px;margin-bottom:5px;color:#666666;\">\n"
+" <thead>\n"
+" <tr style=\"color:#9A6C8E; font-size:12px;\">\n"
+" <th style=\"width:15%;text-align:center;\">Rank</th>\n"
+" <th style=\"width:25%;text-align:left;\">Name</th>\n"
+" <th style=\"width:30%;text-align:right;\">Performance \n"
+" % if line['suffix']:\n"
+" (${line['suffix']})\n"
+" % elif line['monetary']:\n"
+" (${company.currency_id.symbol})\n"
+" % endif\n"
+" </th>\n"
+" <th style=\"width:30%;text-align:right;\"\">Completeness</th>\n"
+" </tr>\n"
+" <tr>\n"
+" <td colspan=\"5\" style=\"height:1px;background-color:#9A6C8E;\"></td>\n"
+" </tr>\n"
+" </thead>\n"
+" <tbody>\n"
+" % for goal in line['goals']:\n"
+" <tr>\n"
+" % set tdBgColor = '#fff'\n"
+" % set tdColor = 'gray'\n"
+" % set mutedColor = '#AAAAAA'\n"
+" % set tdPercentageColor = '#9A6C8E'\n"
+" <td width=\"15%\" align=\"center\" valign=\"middle\" style=\"background-color:${tdBgColor};padding :5px 0;font-size:20px;\">${goal['rank']+1}\n"
+" </td>\n"
+" <td width=\"25%\" align=\"left\" valign=\"middle\" style=\"background-color:${tdBgColor};padding :5px 0;font-size:13px;\">${goal['name']}</td>\n"
+" <td width=\"30%\" align=\"right\" style=\"background-color:${tdBgColor};padding:5px 0;line-height:1;\">${\"%.2f\" % goal['current']}<br/><span style=\"font-size:13px;color:${mutedColor};\">on ${\"%.2f\" % line['target']}</span>\n"
+" </td>\n"
+" <td width=\"30%\" style=\"color:${tdPercentageColor};background-color:${tdBgColor};padding-right:15px;font-size:22px;\" align=\"right\"><strong>${goal['completeness'] | int}%</strong></td>\n"
+" </tr>\n"
+" <tr>\n"
+" <td colspan=\"5\" style=\"height:1px;background-color:#DADADA;\"></td>\n"
+" </tr>\n"
+" % endfor\n"
+" </tbody>\n"
+" </table>\n"
+" </td>\n"
+" </tr>\n"
+" </table> \n"
+" % endfor\n"
+" % endif\n"
+" </td></tr>\n"
+" </table>\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"padding: 15px; color: #666666;margin-bottom: 5px;\">\n"
+" <tr>\n"
+" <td align=\"center\" style=\"min-width: 590px;\">\n"
+" <table width=\"580\" border=\"0\" cellpadding=\"0\" style=\"min-width: 580px; font-size: 12px;\">\n"
+" <tr>\n"
+" <td valign=\"middle\" align=\"left\" style=\"padding-top: 10px; padding-bottom: 10px;\">\n"
+" ${company.name}<br/>\n"
+" ${company.phone or ''}\n"
+" </td>\n"
+" <td valign=\"middle\" align=\"right\" style=\"padding-top: 10px; padding-bottom: 10px;\">\n"
+" % if company.email:\n"
+" <a href=\"mailto:${company.email}\" style=\"text-decoration:none; color: #666666;\">${company.email}</a><br/>\n"
+" % endif\n"
+" % if company.website:\n"
+" <a href=\"${company.website}\" style=\"text-decoration:none; color: #666666;\">\n"
+" ${company.website}\n"
+" </a>\n"
+" % endif\n"
+" </td>\n"
+" </tr>\n"
+" </table>\n"
+" </td>\n"
+" </tr> \n"
+" <tr>\n"
+" <td align=\"center\">\n"
+" Powered by <a target=\"_blank\" href=\"https://www.odoo.com\">Odoo</a>.\n"
+" </td>\n"
+" </tr>\n"
+" </table>\n"
+" </td></tr>\n"
+" </table>\n"
+" </td>\n"
+"</tr>\n"
+"</table>\n"
+" \n"
"\n"
-" % if object.comment\n"
-" <p><em>${object.comment}</em></p>\n"
-" % endif\n"
-" "
msgstr ""
#. module: gamification
@@ -43,104 +267,81 @@ msgid ""
" <strong>Reminder ${object.name}</strong>\n"
" </p>\n"
" \n"
-" <p>You have not updated your progress for the goal ${object."
-"definition_id.name} (currently reached at ${object.completeness}%) for at "
-"least ${object.remind_update_delay} days. Do not forget to do it.</p>\n"
+" <p>You have not updated your progress for the goal ${object.definition_id.name} (currently reached at ${object.completeness}%) for at least ${object.remind_update_delay} days. Do not forget to do it.</p>\n"
" "
msgstr ""
#. module: gamification
-#: model:mail.template,body_html:gamification.simple_report_template
+#: code:addons/gamification/models/challenge.py:589
+#, python-format
+msgid "%s has joined the challenge"
+msgstr ""
+
+#. module: gamification
+#: code:addons/gamification/models/challenge.py:598
+#, python-format
+msgid "%s has refused the challenge"
+msgstr ""
+
+#. module: gamification
+#: model:mail.template,body_html:gamification.email_template_badge_received
msgid ""
-"\n"
-"<p>\n"
-" <strong>${object.name}</strong>\n"
-"</p>\n"
-"<p class=\"oe_grey\">The following message contains the current progress for "
-"the challenge ${object.name}</p>\n"
-"\n"
-"% if object.visibility_mode == 'personal':\n"
-" <table width=\"100%\" border=\"1\">\n"
-" <tr>\n"
-" <th>Goal</th>\n"
-" <th>Target</th>\n"
-" <th>Current</th>\n"
-" <th>Completeness</th>\n"
-" </tr>\n"
-" % for line in ctx[\"challenge_lines\"]:\n"
-" <tr\n"
-" % if line['completeness'] >= 100:\n"
-" style=\"font-weight:bold;\"\n"
-" % endif\n"
-" >\n"
-" <td>${line['name']}</td>\n"
-" <td>${line['target']}\n"
-" % if line['suffix']:\n"
-" ${line['suffix']}\n"
-" % endif\n"
-" </td>\n"
-" <td>${line['current']}\n"
-" % if line['suffix']:\n"
-" ${line['suffix']}\n"
-" % endif\n"
-" </td>\n"
-" <td>${line['completeness']} %</td>\n"
-" </tr>\n"
-" % endfor\n"
-" </table>\n"
-"% else:\n"
-" % for line in ctx[\"challenge_lines\"]:\n"
-" <table width=\"100%\" border=\"1\">\n"
-" <tr>\n"
-" <th colspan=\"4\">${line['name']}</th>\n"
-" </tr>\n"
-" <tr>\n"
-" <th>#</th>\n"
-" <th>Person</th>\n"
-" <th>Completeness</th>\n"
-" <th>Current</th>\n"
-" </tr>\n"
-" % for goal in line['goals']:\n"
-" <tr\n"
-" % if goal.completeness >= 100:\n"
-" style=\"font-weight:bold;\"\n"
-" % endif\n"
-" >\n"
-" <td>${goal['rank']}</td>\n"
-" <td>${goal['name']}</td>\n"
-" <td>${goal['completeness']}%</td>\n"
-" <td>${goal['current']}/${line['target']}\n"
-" % if line['suffix']:\n"
-" ${line['suffix']}\n"
-" % endif\n"
-" </td>\n"
-" </tr>\n"
-" % endfor\n"
-" </table>\n"
-"\n"
-" <br/><br/>\n"
-"\n"
-" % endfor\n"
+"<?xml version=\"1.0\"?>\n"
+"<data><div>\n"
+" <p>Congratulations ${object.user_id.name} !</p>\n"
+" <p>You just received badge <strong>${object.badge_id.name}</strong> !</p>\n"
+"</div>\n"
+"<div>\n"
+"% if object.badge_id.description\n"
+"<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"width: 600px; margin-top: 5px;\">\n"
+"<tbody><tr>\n"
+" <td valign=\"center\">\n"
+" <img src=\"/web/image/gamification.badge/${object.badge_id.id}/image/80x80\" style=\"padding: 0px; margin: 0px; height: auto; width: 80px;\" alt=\"${user.company_id.name}\"/>\n"
+" </td>\n"
+" <td valign=\"center\">\n"
+" <cite>${object.badge_id.description}</cite>\n"
+" </td>\n"
+"</tr></tbody>\n"
+"</table>\n"
"% endif\n"
-" "
+"</div>\n"
+"<div>\n"
+" <p>\n"
+"% if object.sender_id\n"
+" This badge was granted by <strong>${object.sender_id.name}</strong>.\n"
+"% endif\n"
+" </p>\n"
+" <p>\n"
+"% if object.comment\n"
+" <em>${object.comment}</em>\n"
+"% endif\n"
+" </p>\n"
+"</div>\n"
+"</data>"
+msgstr ""
+
+#. module: gamification
+#: code:addons/gamification/models/challenge.py:655
+#, python-format
+msgid "<br/> %(rank)d. %(user_name)s - %(reward_name)s"
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/challenge.py:746
+#: code:addons/gamification/models/challenge.py:652
#, python-format
msgid ""
-"<br/>Nobody has succeeded to reach every goal, no badge is rewarded for this "
-"challenge."
+"<br/>Nobody has succeeded to reach every goal, no badge is rewarded for this"
+" challenge."
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/challenge.py:744
+#: code:addons/gamification/models/challenge.py:650
#, python-format
msgid "<br/>Reward (badge %s) for every succeeding user was sent to %s."
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/challenge.py:753
+#: code:addons/gamification/models/challenge.py:660
#, python-format
msgid ""
"<br/>Special rewards were sent to the top competing users. The ranking for "
@@ -151,30 +352,28 @@ msgstr ""
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
msgid ""
"<span class=\"o_stat_text\">Related</span>\n"
-" <span class=\"o_stat_text\">Goals</span>"
+" <span class=\"o_stat_text\">Goals</span>"
msgstr ""
#. module: gamification
#: model:ir.actions.act_window,help:gamification.badge_list_action
msgid ""
"A badge is a symbolic token granted to a user as a sign of reward.\n"
-" It can be deserved automatically when some conditions "
-"are met or manually by users.\n"
-" Some badges are harder than others to get with specific "
-"conditions."
+" It can be deserved automatically when some conditions are met or manually by users.\n"
+" Some badges are harder than others to get with specific conditions."
msgstr ""
#. module: gamification
#: model:ir.actions.act_window,help:gamification.goal_definition_list_action
msgid ""
-"A goal definition is a technical model of goal defining a condition to "
-"reach.\n"
-" The dates, values to reach or users are defined in goal "
-"instance."
+"A goal definition is a technical model of goal defining a condition to reach.\n"
+" The dates, values to reach or users are defined in goal instance."
msgstr ""
#. module: gamification
+#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_condition
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_condition
+#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_condition_3120
msgid ""
"A goal is considered as completed when the current value is compared to the "
"value to reach"
@@ -184,7 +383,7 @@ msgstr ""
#: model:ir.actions.act_window,help:gamification.goal_list_action
msgid ""
"A goal is defined by a user and a goal definition.\n"
-" Goals can be created automatically by using challenges."
+" Goals can be created automatically by using challenges."
msgstr ""
#. module: gamification
@@ -193,14 +392,9 @@ msgid "A selected list of users"
msgstr ""
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Accept"
-msgstr "Accepta"
-
-#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_action_id
msgid "Action"
-msgstr "Acció"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_active
@@ -236,10 +430,8 @@ msgstr ""
#: model:ir.actions.act_window,help:gamification.challenge_list_action
msgid ""
"Assign a list of goals to chosen users to evaluate them.\n"
-" The challenge can use a period (weekly, monthly...) for "
-"automatic creation of goals.\n"
-" The goals are created for the specified users or member "
-"of the group."
+" The challenge can use a period (weekly, monthly...) for automatic creation of goals.\n"
+" The goals are created for the specified users or member of the group."
msgstr ""
#. module: gamification
@@ -296,7 +488,7 @@ msgstr ""
#: model:ir.actions.act_window,name:gamification.badge_list_action
#: model:ir.ui.menu,name:gamification.gamification_badge_menu
msgid "Badges"
-msgstr "Insígnies"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
@@ -323,7 +515,7 @@ msgid "Can not grant"
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/goal.py:461
+#: code:addons/gamification/models/goal.py:412
#, python-format
msgid "Can not modify the configuration of a started goal"
msgstr ""
@@ -337,33 +529,26 @@ msgstr "Cancel·la"
#. module: gamification
#: selection:gamification.goal,state:0
msgid "Canceled"
-msgstr "Cancel·lat"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
msgid "Category"
-msgstr "Categoria"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_challenge_id
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_challenge_id
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
msgid "Challenge"
msgstr ""
#. module: gamification
-#: model:ir.actions.act_window,name:gamification.challenge_wizard
-msgid "Challenge Description"
-msgstr ""
-
-#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_line_id
msgid "Challenge Line"
msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_line_list_view
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
msgid "Challenge Lines"
msgstr ""
@@ -430,7 +615,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_comment
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_wizard_comment
msgid "Comment"
-msgstr "Comentari"
+msgstr ""
#. module: gamification
#: model:gamification.challenge,name:gamification.challenge_base_discover
@@ -443,22 +628,13 @@ msgid "Completeness"
msgstr ""
#. module: gamification
+#: model:ir.model.fields,field_description:gamification.field_gamification_goal_computation_mode
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_computation_mode
#: model:ir.ui.view,arch_db:gamification.goal_definition_search_view
msgid "Computation Mode"
msgstr ""
#. module: gamification
-#: model:ir.model.fields,field_description:gamification.field_gamification_goal_computation_mode
-msgid "Computation mode"
-msgstr ""
-
-#. module: gamification
-#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_condition
-msgid "Condition"
-msgstr "Condició"
-
-#. module: gamification
#: model:ir.actions.act_window,name:gamification.action_new_simplified_res_users
msgid "Create User"
msgstr ""
@@ -471,15 +647,11 @@ msgid ""
"not connect to the system. You can assign them groups in order to give them "
"specific access to the applications they need to use in the system."
msgstr ""
-"Creeu i gestioneu els usuaris que accediran al sistema. Els usuaris poden "
-"ser desactivats si durant un període de temps no haurien d'accedir al "
-"sistema. Podeu assignar grups per tal de donar-los accés a les aplicacions "
-"que necessiten utilitzar en el sistema."
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_create_date
msgid "Created"
-msgstr "Creat"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_create_uid
@@ -506,12 +678,12 @@ msgstr "Creat el"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_create_uid
msgid "Creator"
-msgstr "Autor"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_current
msgid "Current"
-msgstr "Actiu"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_current
@@ -527,7 +699,7 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_form_view
msgid "Data"
-msgstr "Dades"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_field_date_id
@@ -540,6 +712,7 @@ msgid "Define the visibility of the challenge through menus"
msgstr ""
#. module: gamification
+#: model:ir.model.fields,help:gamification.field_gamification_goal_computation_mode
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_computation_mode
msgid ""
"Defined how will be computed the goals. The result of the operation will be "
@@ -547,12 +720,7 @@ msgid ""
msgstr ""
#. module: gamification
-#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_condition_3136
-msgid "Definition Condition"
-msgstr ""
-
-#. module: gamification
-#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_description_3145
+#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_description_3119
msgid "Definition Description"
msgstr ""
@@ -563,7 +731,8 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
-msgid "Describe the challenge: what is does, who it targets, why it matters..."
+msgid ""
+"Describe the challenge: what is does, who it targets, why it matters..."
msgstr ""
#. module: gamification
@@ -579,7 +748,6 @@ msgstr "Descripció"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_visibility_mode
-#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_display
msgid "Display Mode"
msgstr ""
@@ -593,9 +761,10 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_display_name
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_display_name
msgid "Display Name"
-msgstr "Mostra Nom"
+msgstr "Mostrar Nom"
#. module: gamification
+#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_display
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_display_mode
msgid "Displayed as"
msgstr ""
@@ -617,20 +786,21 @@ msgstr ""
#: selection:gamification.challenge,state:0
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "Done"
-msgstr "Realitzat"
+msgstr ""
#. module: gamification
-#: selection:gamification.challenge,state:0 selection:gamification.goal,state:0
+#: selection:gamification.challenge,state:0
+#: selection:gamification.goal,state:0
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "Draft"
-msgstr "Esborrany"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_end_date
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_end_date
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "End Date"
-msgstr "Data final"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_batch_mode
@@ -639,18 +809,13 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_batch_user_expression
-msgid "Evaluted expression for batch mode"
-msgstr ""
-
-#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Even if the challenge is failed, best challengers will be rewarded"
+msgid "Evaluated expression for batch mode"
msgstr ""
#. module: gamification
#: selection:gamification.badge,rule_auth:0
msgid "Everyone"
-msgstr "Tothom"
+msgstr ""
#. module: gamification
#: selection:gamification.goal.definition,display_mode:0
@@ -660,7 +825,7 @@ msgstr ""
#. module: gamification
#: selection:gamification.goal,state:0
msgid "Failed"
-msgstr "Fallit"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_field_id
@@ -700,7 +865,7 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_kanban_view
msgid "From"
-msgstr "De"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_full_suffix
@@ -743,6 +908,13 @@ msgid "Gamification user badge"
msgstr ""
#. module: gamification
+#: model:ir.actions.server,name:gamification.ir_cron_check_challenge_ir_actions_server
+#: model:ir.cron,cron_name:gamification.ir_cron_check_challenge
+#: model:ir.cron,name:gamification.ir_cron_check_challenge
+msgid "Gamification: Goal Challenge Check"
+msgstr ""
+
+#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_goal_id
#: model:ir.ui.view,arch_db:gamification.goal_form_view
#: model:ir.ui.view,arch_db:gamification.view_challenge_kanban
@@ -751,7 +923,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_definition_id
-#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_id_3147
+#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_id_3104
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_name
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "Goal Definition"
@@ -780,7 +952,9 @@ msgid "Goal List"
msgstr ""
#. module: gamification
+#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_condition
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_condition
+#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_condition_3120
msgid "Goal Performance"
msgstr ""
@@ -801,7 +975,6 @@ msgstr ""
#: model:ir.ui.menu,name:gamification.gamification_goal_menu
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
#: model:ir.ui.view,arch_db:gamification.view_challenge_kanban
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
msgid "Goals"
msgstr ""
@@ -847,7 +1020,7 @@ msgstr ""
#: model:ir.ui.view,arch_db:gamification.goal_definition_search_view
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "Group By"
-msgstr "Agrupa per"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_report_message_group_id
@@ -862,7 +1035,7 @@ msgstr ""
#. module: gamification
#: model:gamification.badge,name:gamification.badge_hidden
msgid "Hidden"
-msgstr "Ocult"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_definition_form_view
@@ -870,6 +1043,11 @@ msgid "How to compute the goal?"
msgstr ""
#. module: gamification
+#: selection:gamification.challenge,category:0
+msgid "Human Resources / Engagement"
+msgstr ""
+
+#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_id
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_id
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_wizard_id
@@ -879,7 +1057,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_id
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_id
msgid "ID"
-msgstr "ID"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_res_id_field
@@ -888,7 +1066,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_remaining_sending
-msgid "If a maxium is set"
+msgid "If a maximum is set"
msgstr ""
#. module: gamification
@@ -899,12 +1077,12 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_image
msgid "Image"
-msgstr "Imatge"
+msgstr ""
#. module: gamification
#: selection:gamification.challenge,state:0
msgid "In Progress"
-msgstr "En procés"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_definition_form_view
@@ -931,7 +1109,7 @@ msgstr ""
#. module: gamification
#: selection:gamification.goal,state:0
msgid "In progress"
-msgstr "En curs"
+msgstr ""
#. module: gamification
#: selection:gamification.challenge,visibility_mode:0
@@ -939,22 +1117,12 @@ msgid "Individual Goals"
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/goal.py:338
-#, python-format
-msgid "Invalid return content from the evaluation of code for definition %s"
-msgstr ""
-
-#. module: gamification
+#: model:gamification.challenge.line,name:gamification.line_base_admin3
#: model:gamification.goal.definition,name:gamification.definition_base_invite
msgid "Invite new Users"
msgstr ""
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Invited"
-msgstr ""
-
-#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge___last_update
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user___last_update
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_wizard___last_update
@@ -964,7 +1132,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition___last_update
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard___last_update
msgid "Last Modified on"
-msgstr "Darrera modificació feta el"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_last_report_date
@@ -986,7 +1154,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_write_uid
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_write_uid
msgid "Last Updated by"
-msgstr "Actualitzat per última vegada per"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_wizard_write_date
@@ -998,7 +1166,7 @@ msgstr "Actualitzat per última vegada per"
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_write_date
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_write_date
msgid "Last Updated on"
-msgstr "Actualitzat per última vegada el dia"
+msgstr ""
#. module: gamification
#: selection:gamification.challenge,visibility_mode:0
@@ -1018,7 +1186,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_ids
msgid "Lines"
-msgstr "Línies"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_ids
@@ -1039,7 +1207,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_model_id
#: model:ir.ui.view,arch_db:gamification.goal_definition_search_view
msgid "Model"
-msgstr "Model"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_definition_monetary
@@ -1055,7 +1223,7 @@ msgstr ""
#: selection:gamification.challenge,period:0
#: selection:gamification.challenge,report_message_frequency:0
msgid "Monthly"
-msgstr "Mensualment"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_rule_max
@@ -1090,12 +1258,12 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_name
msgid "Name"
-msgstr "Nom"
+msgstr ""
#. module: gamification
#: selection:gamification.challenge,report_message_frequency:0
msgid "Never"
-msgstr "Mai"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_remind_update_delay
@@ -1103,6 +1271,11 @@ msgid "Never reminded if no value or zero is specified."
msgstr ""
#. module: gamification
+#: model:mail.template,subject:gamification.email_template_badge_received
+msgid "New badge ${object.badge_id.name} granted"
+msgstr ""
+
+#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_next_report_date
msgid "Next Report Date"
msgstr ""
@@ -1123,7 +1296,7 @@ msgid "No one, assigned through challenges"
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/challenge.py:756
+#: code:addons/gamification/models/challenge.py:667
#, python-format
msgid "Nobody reached the required conditions to receive special badges."
msgstr ""
@@ -1174,11 +1347,6 @@ msgid "Owners"
msgstr ""
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Participating"
-msgstr ""
-
-#. module: gamification
#: selection:gamification.badge,rule_auth:0
msgid "People having some badges"
msgstr ""
@@ -1186,7 +1354,7 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_search_view
msgid "Period"
-msgstr "Període"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_period
@@ -1213,7 +1381,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_compute_code
msgid "Python Code"
-msgstr "Codi de Python"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_compute_code
@@ -1248,13 +1416,13 @@ msgid "Refresh Challenge"
msgstr ""
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Reject"
+#: model:ir.actions.act_window,name:gamification.goals_from_challenge_act
+msgid "Related Goals"
msgstr ""
#. module: gamification
-#: model:ir.actions.act_window,name:gamification.goals_from_challenge_act
-msgid "Related Goals"
+#: model:ir.model.fields,help:gamification.field_gamification_badge_user_wizard_user_id
+msgid "Related user name for the resource to manage its access."
msgstr ""
#. module: gamification
@@ -1295,17 +1463,16 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_manager_id
msgid "Responsible"
-msgstr "Responsable"
+msgstr ""
#. module: gamification
-#: code:addons/gamification/models/challenge.py:551
+#: code:addons/gamification/models/challenge.py:490
#, python-format
msgid "Retrieving progress for personal challenge without user information"
msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
msgid "Reward"
msgstr ""
@@ -1337,7 +1504,7 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "Running"
-msgstr "En procés"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_search_view
@@ -1347,7 +1514,7 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_form_view
msgid "Schedule"
-msgstr "Planificació"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_search_view
@@ -1389,7 +1556,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_sequence
msgid "Sequence"
-msgstr "Seqüència"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_sequence
@@ -1402,21 +1569,29 @@ msgid "Set the current value you have reached for this goal"
msgstr ""
#. module: gamification
+#: model:gamification.challenge.line,name:gamification.line_base_admin1
#: model:gamification.goal.definition,name:gamification.definition_base_company_data
msgid "Set your Company Data"
msgstr ""
#. module: gamification
+#: model:gamification.challenge.line,name:gamification.line_base_admin2
#: model:gamification.goal.definition,name:gamification.definition_base_company_logo
msgid "Set your Company Logo"
msgstr ""
#. module: gamification
+#: model:gamification.challenge.line,name:gamification.line_base_discover1
#: model:gamification.goal.definition,name:gamification.definition_base_timezone
msgid "Set your Timezone"
msgstr ""
#. module: gamification
+#: selection:gamification.challenge,category:0
+msgid "Settings / Gamification Tools"
+msgstr ""
+
+#. module: gamification
#: model:gamification.challenge,name:gamification.challenge_base_configure
msgid "Setup your Company"
msgstr ""
@@ -1430,7 +1605,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_start_date
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_start_date
msgid "Start Date"
-msgstr "Data d'inici"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_form_view
@@ -1443,24 +1618,24 @@ msgstr ""
#: model:ir.ui.view,arch_db:gamification.challenge_search_view
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "State"
-msgstr "Estat"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.badge_form_view
msgid "Statistics"
-msgstr "Estadístiques"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
msgid "Subscriptions"
-msgstr "Documents periòdics"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_definition_full_suffix
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_suffix
-#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_suffix_3141
+#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_suffix_3121
msgid "Suffix"
-msgstr "Sufix"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_invited_user_ids
@@ -1483,13 +1658,15 @@ msgid "The action that will be called to update the goal value."
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/challenge.py:740
+#: code:addons/gamification/models/challenge.py:646
#, python-format
msgid "The challenge %s is finished."
msgstr ""
#. module: gamification
+#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_definition_full_suffix
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_full_suffix
+#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_suffix_3121
msgid "The currency and suffix field"
msgstr ""
@@ -1513,7 +1690,7 @@ msgid ""
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/goal.py:129
+#: code:addons/gamification/models/goal.py:93
#, python-format
msgid ""
"The domain for the definition %s seems incorrect, please check it.\n"
@@ -1555,25 +1732,24 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_rule_max_number
-msgid "The maximum number of time this badge can be sent per month per person."
+msgid ""
+"The maximum number of time this badge can be sent per month per person."
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/goal.py:146
+#: code:addons/gamification/models/goal.py:110
#, python-format
msgid ""
-"The model configuration for the definition %s seems incorrect, please check "
-"it.\n"
+"The model configuration for the definition %s seems incorrect, please check it.\n"
"\n"
"%s not found"
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/goal.py:143
+#: code:addons/gamification/models/goal.py:107
#, python-format
msgid ""
-"The model configuration for the definition %s seems incorrect, please check "
-"it.\n"
+"The model configuration for the definition %s seems incorrect, please check it.\n"
"\n"
"%s not stored"
msgstr ""
@@ -1592,7 +1768,8 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_stat_my_this_month
-msgid "The number of time the current user has received this badge this month."
+msgid ""
+"The number of time the current user has received this badge this month."
msgstr ""
#. module: gamification
@@ -1621,11 +1798,13 @@ msgid "The number of time this badge has been received."
msgstr ""
#. module: gamification
+#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_definition_monetary
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_monetary
msgid "The target and current value are defined in the company currency."
msgstr ""
#. module: gamification
+#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_definition_suffix
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_suffix
msgid "The unit of the target and current values"
msgstr ""
@@ -1651,21 +1830,15 @@ msgstr ""
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_batch_user_expression
msgid ""
"The value to compare with the distinctive field. The expression can contain "
-"reference to 'user' which is a browse record of the current user, e.g. user."
-"id, user.partner_id.id..."
+"reference to 'user' which is a browse record of the current user, e.g. "
+"user.id, user.partner_id.id..."
msgstr ""
#. module: gamification
#: model:ir.actions.act_window,help:gamification.goals_from_challenge_act
msgid ""
"There is no goals associated to this challenge matching your search.\n"
-" Make sure that your challenge is active and assigned to at "
-"least one user."
-msgstr ""
-
-#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "There is no reward upon completion of this challenge."
+" Make sure that your challenge is active and assigned to at least one user."
msgstr ""
#. module: gamification
@@ -1674,7 +1847,7 @@ msgid "These goals will not be recomputed."
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/badge.py:223
+#: code:addons/gamification/models/badge.py:210
#, python-format
msgid "This badge can not be sent by users."
msgstr ""
@@ -1687,7 +1860,7 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_kanban_view
msgid "To"
-msgstr "A"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_target_goal
@@ -1702,7 +1875,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_stat_count
msgid "Total"
-msgstr "Total"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_unique_owner_ids
@@ -1712,15 +1885,15 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_definition_suffix
msgid "Unit"
-msgstr "Unitat de venda"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.view_goal_wizard_update_current
msgid "Update"
-msgstr "Actualitza"
+msgstr ""
#. module: gamification
-#: code:addons/gamification/models/goal.py:495
+#: code:addons/gamification/models/goal.py:447
#, python-format
msgid "Update %s"
msgstr ""
@@ -1731,7 +1904,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_user_id
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "User"
-msgstr "Usuari"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_user_domain
@@ -1739,12 +1912,16 @@ msgid "User domain"
msgstr ""
#. module: gamification
-#: model:ir.model,name:gamification.model_res_users
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_user_ids
msgid "Users"
msgstr "Usuaris"
#. module: gamification
+#: selection:gamification.challenge,category:0
+msgid "Website / Forum"
+msgstr ""
+
+#. module: gamification
#: selection:gamification.challenge,period:0
#: selection:gamification.challenge,report_message_frequency:0
msgid "Weekly"
@@ -1779,19 +1956,19 @@ msgid "Yearly"
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/badge.py:225
+#: code:addons/gamification/models/badge.py:212
#, python-format
msgid "You are not in the user allowed list."
msgstr ""
#. module: gamification
-#: code:addons/gamification/wizard/grant_badge.py:26
+#: code:addons/gamification/wizard/grant_badge.py:24
#, python-format
msgid "You can not grant a badge to yourself"
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/challenge.py:235
+#: code:addons/gamification/models/challenge.py:196
#, python-format
msgid "You can not reset a challenge with unfinished goals."
msgstr ""
@@ -1807,13 +1984,13 @@ msgid "You did great at your job."
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/badge.py:227
+#: code:addons/gamification/models/badge.py:214
#, python-format
msgid "You do not have the required badges."
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/badge.py:229
+#: code:addons/gamification/models/badge.py:216
#, python-format
msgid "You have already sent this badge too many time this month."
msgstr ""
@@ -1832,7 +2009,7 @@ msgstr ""
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
#: model:ir.ui.view,arch_db:gamification.goal_form_view
msgid "days"
-msgstr "dies"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
@@ -1847,9 +2024,8 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_definition_form_view
msgid ""
-"e.g. result = pool.get('mail.followers').search(cr, uid, [('res_model', '=', "
-"'mail.channel'), ('partner_id', '=', object.user_id.partner_id.id)], "
-"count=True, context=context)"
+"e.g. result = env['mail.followers'].search_count([('res_model', '=', "
+"'mail.channel'), ('partner_id', '=', object.user_id.partner_id.id)])"
msgstr ""
#. module: gamification
@@ -1878,11 +2054,6 @@ msgid "refresh"
msgstr ""
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "reply later"
-msgstr ""
-
-#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_form_view
msgid "than the target."
msgstr ""
@@ -1896,54 +2067,3 @@ msgstr ""
#: model:ir.ui.view,arch_db:gamification.badge_kanban_view
msgid "this month"
msgstr ""
-
-#~ msgid "Action Needed"
-#~ msgstr "Cal fer alguna acció"
-
-#~ msgid "Date of the last message posted on the record."
-#~ msgstr "Data de l'últim missatge enviat al registre."
-
-#~ msgid "Followers"
-#~ msgstr "Seguidors"
-
-#~ msgid "Followers (Channels)"
-#~ msgstr "Followers (Canals)"
-
-#~ msgid "Followers (Partners)"
-#~ msgstr "Seguidors (Socis)"
-
-#~ msgid "If checked new messages require your attention."
-#~ msgstr "Si està marcat hi ha missatges nous pendents."
-
-#~ msgid "If checked, new messages require your attention."
-#~ msgstr "Si està marcat, els nous missatges requereixen la vostra atenció"
-
-#~ msgid "Inherited models"
-#~ msgstr "Models Heretats "
-
-#~ msgid "Is Follower"
-#~ msgstr "És seguidor"
-
-#~ msgid "Last Message Date"
-#~ msgstr "Data Últim Missatge"
-
-#~ msgid "Messages"
-#~ msgstr "Missatges"
-
-#~ msgid "Messages and communication history"
-#~ msgstr "Historial de missatges i comunicació"
-
-#~ msgid "Number of Actions"
-#~ msgstr "Nombre d'accions"
-
-#~ msgid "Number of messages which requires an action"
-#~ msgstr "Nombre de missatges que requereixen una atenció"
-
-#~ msgid "Number of unread messages"
-#~ msgstr "Nombre de missatges no llegits"
-
-#~ msgid "Unread Messages"
-#~ msgstr "Missatges pendents de llegir"
-
-#~ msgid "Unread Messages Counter"
-#~ msgstr "Comptador de missatges no llegits"
diff --git a/addons/gamification/i18n/da.po b/addons/gamification/i18n/da.po
index d244661891d..e0dbe1c975e 100644
--- a/addons/gamification/i18n/da.po
+++ b/addons/gamification/i18n/da.po
@@ -11,13 +11,14 @@
# jonas jensen <j.jensen@tcomp.dk>, 2017
# Hans Henrik Gabelgaard <hhg@gabelgaard.org>, 2017
# Jesper Carstensen <jc@danodoo.dk>, 2017
+# Laerke Mathiasen <lhm@flexerp.dk>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.saas~18\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-02 11:27+0000\n"
"PO-Revision-Date: 2017-10-02 11:27+0000\n"
-"Last-Translator: Jesper Carstensen <jc@danodoo.dk>, 2017\n"
+"Last-Translator: Laerke Mathiasen <lhm@flexerp.dk>, 2017\n"
"Language-Team: Danish (https://www.transifex.com/odoo/teams/41243/da/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -282,7 +283,7 @@ msgstr ""
#: code:addons/gamification/models/challenge.py:589
#, python-format
msgid "%s has joined the challenge"
-msgstr ""
+msgstr "%s har sluttet sig til udfordringen"
#. module: gamification
#: code:addons/gamification/models/challenge.py:598
@@ -644,7 +645,7 @@ msgstr ""
#. module: gamification
#: model:ir.actions.act_window,name:gamification.action_new_simplified_res_users
msgid "Create User"
-msgstr ""
+msgstr "Opret Bruger"
#. module: gamification
#: model:ir.actions.act_window,help:gamification.action_new_simplified_res_users
diff --git a/addons/gamification/i18n/he.po b/addons/gamification/i18n/he.po
index 5c68a01ed8d..77318895bae 100644
--- a/addons/gamification/i18n/he.po
+++ b/addons/gamification/i18n/he.po
@@ -615,7 +615,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_comment
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_wizard_comment
msgid "Comment"
-msgstr ""
+msgstr "הערה"
#. module: gamification
#: model:gamification.challenge,name:gamification.challenge_base_discover
@@ -662,7 +662,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_create_uid
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_create_uid
msgid "Created by"
-msgstr ""
+msgstr "נוצר על ידי"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_create_date
@@ -673,7 +673,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_create_date
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_create_date
msgid "Created on"
-msgstr ""
+msgstr "נוצר ב-"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_create_uid
@@ -761,7 +761,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_display_name
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_display_name
msgid "Display Name"
-msgstr ""
+msgstr "השם המוצג"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_display
@@ -800,7 +800,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_end_date
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "End Date"
-msgstr ""
+msgstr "תאריך סיום"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_batch_mode
@@ -1057,7 +1057,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_id
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_id
msgid "ID"
-msgstr ""
+msgstr "מזהה"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_res_id_field
@@ -1132,7 +1132,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition___last_update
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard___last_update
msgid "Last Modified on"
-msgstr ""
+msgstr "תאריך שינוי אחרון"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_last_report_date
@@ -1154,7 +1154,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_write_uid
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_write_uid
msgid "Last Updated by"
-msgstr ""
+msgstr "עודכן לאחרונה על ידי"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_wizard_write_date
@@ -1166,7 +1166,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_write_date
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_write_date
msgid "Last Updated on"
-msgstr ""
+msgstr "תאריך עדכון אחרון"
#. module: gamification
#: selection:gamification.challenge,visibility_mode:0
@@ -1258,7 +1258,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_name
msgid "Name"
-msgstr ""
+msgstr "שם"
#. module: gamification
#: selection:gamification.challenge,report_message_frequency:0
@@ -1556,7 +1556,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_sequence
msgid "Sequence"
-msgstr ""
+msgstr "רצף"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_sequence
@@ -1618,7 +1618,7 @@ msgstr ""
#: model:ir.ui.view,arch_db:gamification.challenge_search_view
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "State"
-msgstr ""
+msgstr "מחוז"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.badge_form_view
@@ -1635,7 +1635,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_suffix
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_suffix_3121
msgid "Suffix"
-msgstr ""
+msgstr "סיומת"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_invited_user_ids
diff --git a/addons/gamification/i18n/lv.po b/addons/gamification/i18n/lv.po
index f372944d5d9..cbfaf7be7dd 100644
--- a/addons/gamification/i18n/lv.po
+++ b/addons/gamification/i18n/lv.po
@@ -1,39 +1,259 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * gamification
-#
-# Translators:
+#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo 9.0\n"
+"Project-Id-Version: Odoo Server 10.saas~18\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-08-18 14:08+0000\n"
-"PO-Revision-Date: 2015-10-01 09:17+0000\n"
-"Last-Translator: Martin Trigaux\n"
-"Language-Team: Latvian (http://www.transifex.com/odoo/odoo-9/language/lv/)\n"
-"Language: lv\n"
+"POT-Creation-Date: 2017-10-02 11:27+0000\n"
+"PO-Revision-Date: 2017-10-02 11:27+0000\n"
+"Language-Team: Latvian (https://www.transifex.com/odoo/teams/41243/lv/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
-"2);\n"
+"Language: lv\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
#. module: gamification
-#: model:mail.template,body_html:gamification.email_template_badge_received
+#: model:mail.template,body_html:gamification.simple_report_template
msgid ""
"\n"
-" <p>Congratulation, you have received the badge <strong>${object."
-"badge_id.name}</strong> !\n"
-" % if object.sender_id\n"
-" This badge was granted by <strong>${object.sender_id.name}</"
-"strong>.\n"
-" % endif\n"
-" </p>\n"
+" \n"
+"% set record = ctx.get('record')\n"
+"% set company = record and record.company_id or user.company_id\n"
+"% set challenge_lines = ctx.get('challenge_lines', []) \n"
+"<table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"font-family: 'Helvetica'; background-color: #EEE; border-collapse: collapse;\">\n"
+"<tr>\n"
+" <td valign=\"top\" align=\"center\">\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"600\" style=\"margin: 0 auto; width: 600px;\">\n"
+" <tr><td>\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n"
+" <tr>\n"
+" <td valign=\"middle\" align=\"left\" style=\"padding:30px 15px;\">\n"
+" <img width=\"90\" src=\"/logo.png?company=${user.company_id.id}\" style=\"width:80px;\"/>\n"
+" </td>\n"
+" % if object.visibility_mode == 'ranking':\n"
+" <td style=\"padding:15px;\">\n"
+" <p style=\"font-size:20px;color:#666666;\" align=\"right\">Leaderboard</p>\n"
+" </td>\n"
+" % endif\n"
+" </tr>\n"
+" </table>\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" bgcolor=\"#fff\" style=\"background-color:#fff;\">\n"
+" <tr><td style=\"padding: 15px;\">\n"
+" % if object.visibility_mode == 'personal':\n"
+" <span style=\"color:#666666;font-size:13px;\">Here is your current progress in the challenge <strong>${object.name}</strong>.</span>\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"margin-top:20px;\">\n"
+" <tr>\n"
+" <td align=\"center\">\n"
+" <p style=\"font-size:27px;color:#666666;\">Personal Performance</p>\n"
+" </td>\n"
+" </tr>\n"
+" </table>\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"margin-top:30px;color:#666666;\">\n"
+" <thead>\n"
+" <tr style=\"color:#9A6C8E; font-size:12px;\">\n"
+" <th align=\"left\" style=\"padding-bottom: 0px;width:40%;text-align:left;\">Goals</th>\n"
+" <th style=\"width:20%;text-align:right;\" align=\"left\">Target</th>\n"
+" <th style=\"width:20%;text-align:right;\" align=\"right\">Current</th>\n"
+" <th style=\"width:20%;text-align:right;\" align=\"right\">Completeness</th>\n"
+" </tr>\n"
+" <tr>\n"
+" <td colspan=\"5\" style=\"height:1px;background-color:#9A6C8E;\"></td>\n"
+" </tr>\n"
+" </thead>\n"
+" <tbody>\n"
+" % for line in challenge_lines:\n"
+" <tr\n"
+" % if line['completeness'] >= 100:\n"
+" style=\"font-weight:bold;\"\n"
+" % endif\n"
+" >\n"
+" <td style=\"padding: 20px 0;\" align=\"left\">\n"
+" ${line['name']}\n"
+" % if line['suffix'] or line['monetary']:\n"
+" (${line['full_suffix']})\n"
+" % endif\n"
+" </td>\n"
+" <td style=\"padding: 20px 0;\" align=\"right\">${\"%.2f\" % line['target']}\n"
+" % if line['suffix']:\n"
+" ${line['suffix']}\n"
+" % endif\n"
+" </td>\n"
+" <td style=\"padding: 20px 0;\" align=\"right\">${\"%.2f\" % line['current']}\n"
+" % if line['suffix']:\n"
+" ${line['suffix']}\n"
+" % endif\n"
+" </td>\n"
+" <td style=\"padding: 20px 0;font-size:25px;color:#9A6C8E;\" align=\"right\"><strong>${line['completeness']| int}%</strong></td>\n"
+" </tr>\n"
+" <tr>\n"
+" <td colspan=\"5\" style=\"height:1px;background-color:#e3e3e3;\"></td>\n"
+" </tr>\n"
+" % endfor \n"
+" </tbody>\n"
+" </table> \n"
+" % else: \n"
+" <span style=\"color:#A8A8A8;font-size:13px;\">\n"
+" Challenge: <strong>${object.name}</strong>.\n"
+" </span> \n"
+" % for line in challenge_lines:\n"
+" <!-- Header + Button table -->\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\"style=\"margin-top:35px;\">\n"
+" <tr>\n"
+" <td width=\"50%\">\n"
+" <p style=\"font-size:22px;color:#666666;\">Top Achievers for goal <strong>${line['name']}</strong></p>\n"
+" </td>\n"
+" </tr>\n"
+" </table>\n"
+" <!-- Podium -->\n"
+" % if len(line['goals'])>2:\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"margin-top:10px;\">\n"
+" <tr><td style=\"padding:0 30px;\">\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"table-layout: fixed;\">\n"
+" <tr>\n"
+" % set top_goals = [line['goals'][1], line['goals'][0], line['goals'][2]]\n"
+" % for goal in top_goals:\n"
+" <td align=\"center\" style=\"width:32%;\">\n"
+" % if loop.index == 1:\n"
+" % set extra_div = '<div style=\"height:40px;\"></div>'\n"
+" % set heightA = 95\n"
+" % set heightB = 75\n"
+" % set bgColor = '#b898b0'\n"
+" % set fontSize = 50\n"
+" % set podiumPosition = '2'\n"
+" % elif loop.index == 2:\n"
+" % set extra_div = ''\n"
+" % set heightA = 55\n"
+" % set heightB = 115\n"
+" % set bgColor = '#9A6C8E'\n"
+" % set fontSize = 85\n"
+" % set podiumPosition = '1'\n"
+" % elif loop.index == 3:\n"
+" % set extra_div = '<div style=\"height:60px;\"></div>'\n"
+" % set heightA = 115\n"
+" % set heightB = 55\n"
+" % set bgColor = '#c8afc1'\n"
+" % set fontSize = 35\n"
+" % set podiumPosition = '3'\n"
+" % endif\n"
+" <div style=\"margin:0 3px 0 3px;height:220px;\">\n"
+" <div style=\"height:${heightA}px;\">\n"
+" ${extra_div | safe} \n"
+" <div style=\"height:55px;\">\n"
+" % set path = object.env['res.users'].browse(goal['user_id']).partner_id.image_small\n"
+" <img style=\"margin-bottom:5px;width:50px;height:50px;border-radius:50%;\" src=\"data:image/jpeg;base64,${path}\" alt=\"${goal['name']}\"/>\n"
+" </div> \n"
+" <div align=\"center\" style =\"color:${bgColor};height:20px\">\n"
+" ${goal['name']}\n"
+" </div \n"
+" </div>\n"
+" <div style=\"background-color:${bgColor | safe};height:${heightB}px;\">\n"
+" <strong><span style=\"color:#fff;font-size:${fontSize}px;\">${podiumPosition | safe}</span></strong>\n"
+" </div>\n"
+" <div style=\"height:30px;\">\n"
+" <p style=\"color:#9A6C8E;font-size:20px;margin-top:10px;\">\n"
+" ${\"%.2f\" % goal['current']}\n"
+" % if line['suffix'] or line['monetary']:\n"
+" ${line['full_suffix']}\n"
+" % endif\n"
+" </p>\n"
+" </div>\n"
+" </div>\n"
+" </td>\n"
+" % endfor\n"
+" </tr>\n"
+" </table>\n"
+" </td>\n"
+" </tr>\n"
+" </table>\n"
+" % endif\n"
+" <!-- data table -->\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"margin-bottom:5px\">\n"
+" <tr>\n"
+" <td>\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"margin-top:30px;margin-bottom:5px;color:#666666;\">\n"
+" <thead>\n"
+" <tr style=\"color:#9A6C8E; font-size:12px;\">\n"
+" <th style=\"width:15%;text-align:center;\">Rank</th>\n"
+" <th style=\"width:25%;text-align:left;\">Name</th>\n"
+" <th style=\"width:30%;text-align:right;\">Performance \n"
+" % if line['suffix']:\n"
+" (${line['suffix']})\n"
+" % elif line['monetary']:\n"
+" (${company.currency_id.symbol})\n"
+" % endif\n"
+" </th>\n"
+" <th style=\"width:30%;text-align:right;\"\">Completeness</th>\n"
+" </tr>\n"
+" <tr>\n"
+" <td colspan=\"5\" style=\"height:1px;background-color:#9A6C8E;\"></td>\n"
+" </tr>\n"
+" </thead>\n"
+" <tbody>\n"
+" % for goal in line['goals']:\n"
+" <tr>\n"
+" % set tdBgColor = '#fff'\n"
+" % set tdColor = 'gray'\n"
+" % set mutedColor = '#AAAAAA'\n"
+" % set tdPercentageColor = '#9A6C8E'\n"
+" <td width=\"15%\" align=\"center\" valign=\"middle\" style=\"background-color:${tdBgColor};padding :5px 0;font-size:20px;\">${goal['rank']+1}\n"
+" </td>\n"
+" <td width=\"25%\" align=\"left\" valign=\"middle\" style=\"background-color:${tdBgColor};padding :5px 0;font-size:13px;\">${goal['name']}</td>\n"
+" <td width=\"30%\" align=\"right\" style=\"background-color:${tdBgColor};padding:5px 0;line-height:1;\">${\"%.2f\" % goal['current']}<br/><span style=\"font-size:13px;color:${mutedColor};\">on ${\"%.2f\" % line['target']}</span>\n"
+" </td>\n"
+" <td width=\"30%\" style=\"color:${tdPercentageColor};background-color:${tdBgColor};padding-right:15px;font-size:22px;\" align=\"right\"><strong>${goal['completeness'] | int}%</strong></td>\n"
+" </tr>\n"
+" <tr>\n"
+" <td colspan=\"5\" style=\"height:1px;background-color:#DADADA;\"></td>\n"
+" </tr>\n"
+" % endfor\n"
+" </tbody>\n"
+" </table>\n"
+" </td>\n"
+" </tr>\n"
+" </table> \n"
+" % endfor\n"
+" % endif\n"
+" </td></tr>\n"
+" </table>\n"
+" <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" style=\"padding: 15px; color: #666666;margin-bottom: 5px;\">\n"
+" <tr>\n"
+" <td align=\"center\" style=\"min-width: 590px;\">\n"
+" <table width=\"580\" border=\"0\" cellpadding=\"0\" style=\"min-width: 580px; font-size: 12px;\">\n"
+" <tr>\n"
+" <td valign=\"middle\" align=\"left\" style=\"padding-top: 10px; padding-bottom: 10px;\">\n"
+" ${company.name}<br/>\n"
+" ${company.phone or ''}\n"
+" </td>\n"
+" <td valign=\"middle\" align=\"right\" style=\"padding-top: 10px; padding-bottom: 10px;\">\n"
+" % if company.email:\n"
+" <a href=\"mailto:${company.email}\" style=\"text-decoration:none; color: #666666;\">${company.email}</a><br/>\n"
+" % endif\n"
+" % if company.website:\n"
+" <a href=\"${company.website}\" style=\"text-decoration:none; color: #666666;\">\n"
+" ${company.website}\n"
+" </a>\n"
+" % endif\n"
+" </td>\n"
+" </tr>\n"
+" </table>\n"
+" </td>\n"
+" </tr> \n"
+" <tr>\n"
+" <td align=\"center\">\n"
+" Powered by <a target=\"_blank\" href=\"https://www.odoo.com\">Odoo</a>.\n"
+" </td>\n"
+" </tr>\n"
+" </table>\n"
+" </td></tr>\n"
+" </table>\n"
+" </td>\n"
+"</tr>\n"
+"</table>\n"
+" \n"
"\n"
-" % if object.comment\n"
-" <p><em>${object.comment}</em></p>\n"
-" % endif\n"
-" "
msgstr ""
#. module: gamification
@@ -44,104 +264,81 @@ msgid ""
" <strong>Reminder ${object.name}</strong>\n"
" </p>\n"
" \n"
-" <p>You have not updated your progress for the goal ${object."
-"definition_id.name} (currently reached at ${object.completeness}%) for at "
-"least ${object.remind_update_delay} days. Do not forget to do it.</p>\n"
+" <p>You have not updated your progress for the goal ${object.definition_id.name} (currently reached at ${object.completeness}%) for at least ${object.remind_update_delay} days. Do not forget to do it.</p>\n"
" "
msgstr ""
#. module: gamification
-#: model:mail.template,body_html:gamification.simple_report_template
+#: code:addons/gamification/models/challenge.py:589
+#, python-format
+msgid "%s has joined the challenge"
+msgstr ""
+
+#. module: gamification
+#: code:addons/gamification/models/challenge.py:598
+#, python-format
+msgid "%s has refused the challenge"
+msgstr ""
+
+#. module: gamification
+#: model:mail.template,body_html:gamification.email_template_badge_received
msgid ""
-"\n"
-"<p>\n"
-" <strong>${object.name}</strong>\n"
-"</p>\n"
-"<p class=\"oe_grey\">The following message contains the current progress for "
-"the challenge ${object.name}</p>\n"
-"\n"
-"% if object.visibility_mode == 'personal':\n"
-" <table width=\"100%\" border=\"1\">\n"
-" <tr>\n"
-" <th>Goal</th>\n"
-" <th>Target</th>\n"
-" <th>Current</th>\n"
-" <th>Completeness</th>\n"
-" </tr>\n"
-" % for line in ctx[\"challenge_lines\"]:\n"
-" <tr\n"
-" % if line['completeness'] >= 100:\n"
-" style=\"font-weight:bold;\"\n"
-" % endif\n"
-" >\n"
-" <td>${line['name']}</td>\n"
-" <td>${line['target']}\n"
-" % if line['suffix']:\n"
-" ${line['suffix']}\n"
-" % endif\n"
-" </td>\n"
-" <td>${line['current']}\n"
-" % if line['suffix']:\n"
-" ${line['suffix']}\n"
-" % endif\n"
-" </td>\n"
-" <td>${line['completeness']} %</td>\n"
-" </tr>\n"
-" % endfor\n"
-" </table>\n"
-"% else:\n"
-" % for line in ctx[\"challenge_lines\"]:\n"
-" <table width=\"100%\" border=\"1\">\n"
-" <tr>\n"
-" <th colspan=\"4\">${line['name']}</th>\n"
-" </tr>\n"
-" <tr>\n"
-" <th>#</th>\n"
-" <th>Person</th>\n"
-" <th>Completeness</th>\n"
-" <th>Current</th>\n"
-" </tr>\n"
-" % for goal in line['goals']:\n"
-" <tr\n"
-" % if goal.completeness >= 100:\n"
-" style=\"font-weight:bold;\"\n"
-" % endif\n"
-" >\n"
-" <td>${goal['rank']}</td>\n"
-" <td>${goal['name']}</td>\n"
-" <td>${goal['completeness']}%</td>\n"
-" <td>${goal['current']}/${line['target']}\n"
-" % if line['suffix']:\n"
-" ${line['suffix']}\n"
-" % endif\n"
-" </td>\n"
-" </tr>\n"
-" % endfor\n"
-" </table>\n"
-"\n"
-" <br/><br/>\n"
-"\n"
-" % endfor\n"
+"<?xml version=\"1.0\"?>\n"
+"<data><div>\n"
+" <p>Congratulations ${object.user_id.name} !</p>\n"
+" <p>You just received badge <strong>${object.badge_id.name}</strong> !</p>\n"
+"</div>\n"
+"<div>\n"
+"% if object.badge_id.description\n"
+"<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"width: 600px; margin-top: 5px;\">\n"
+"<tbody><tr>\n"
+" <td valign=\"center\">\n"
+" <img src=\"/web/image/gamification.badge/${object.badge_id.id}/image/80x80\" style=\"padding: 0px; margin: 0px; height: auto; width: 80px;\" alt=\"${user.company_id.name}\"/>\n"
+" </td>\n"
+" <td valign=\"center\">\n"
+" <cite>${object.badge_id.description}</cite>\n"
+" </td>\n"
+"</tr></tbody>\n"
+"</table>\n"
"% endif\n"
-" "
+"</div>\n"
+"<div>\n"
+" <p>\n"
+"% if object.sender_id\n"
+" This badge was granted by <strong>${object.sender_id.name}</strong>.\n"
+"% endif\n"
+" </p>\n"
+" <p>\n"
+"% if object.comment\n"
+" <em>${object.comment}</em>\n"
+"% endif\n"
+" </p>\n"
+"</div>\n"
+"</data>"
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/challenge.py:746
+#: code:addons/gamification/models/challenge.py:655
+#, python-format
+msgid "<br/> %(rank)d. %(user_name)s - %(reward_name)s"
+msgstr ""
+
+#. module: gamification
+#: code:addons/gamification/models/challenge.py:652
#, python-format
msgid ""
-"<br/>Nobody has succeeded to reach every goal, no badge is rewarded for this "
-"challenge."
+"<br/>Nobody has succeeded to reach every goal, no badge is rewarded for this"
+" challenge."
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/challenge.py:744
+#: code:addons/gamification/models/challenge.py:650
#, python-format
msgid "<br/>Reward (badge %s) for every succeeding user was sent to %s."
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/challenge.py:753
+#: code:addons/gamification/models/challenge.py:660
#, python-format
msgid ""
"<br/>Special rewards were sent to the top competing users. The ranking for "
@@ -152,30 +349,28 @@ msgstr ""
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
msgid ""
"<span class=\"o_stat_text\">Related</span>\n"
-" <span class=\"o_stat_text\">Goals</span>"
+" <span class=\"o_stat_text\">Goals</span>"
msgstr ""
#. module: gamification
#: model:ir.actions.act_window,help:gamification.badge_list_action
msgid ""
"A badge is a symbolic token granted to a user as a sign of reward.\n"
-" It can be deserved automatically when some conditions "
-"are met or manually by users.\n"
-" Some badges are harder than others to get with specific "
-"conditions."
+" It can be deserved automatically when some conditions are met or manually by users.\n"
+" Some badges are harder than others to get with specific conditions."
msgstr ""
#. module: gamification
#: model:ir.actions.act_window,help:gamification.goal_definition_list_action
msgid ""
-"A goal definition is a technical model of goal defining a condition to "
-"reach.\n"
-" The dates, values to reach or users are defined in goal "
-"instance."
+"A goal definition is a technical model of goal defining a condition to reach.\n"
+" The dates, values to reach or users are defined in goal instance."
msgstr ""
#. module: gamification
+#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_condition
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_condition
+#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_condition_3120
msgid ""
"A goal is considered as completed when the current value is compared to the "
"value to reach"
@@ -185,7 +380,7 @@ msgstr ""
#: model:ir.actions.act_window,help:gamification.goal_list_action
msgid ""
"A goal is defined by a user and a goal definition.\n"
-" Goals can be created automatically by using challenges."
+" Goals can be created automatically by using challenges."
msgstr ""
#. module: gamification
@@ -194,19 +389,14 @@ msgid "A selected list of users"
msgstr ""
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Accept"
-msgstr "Apstiprināt"
-
-#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_action_id
msgid "Action"
-msgstr "Darbība"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_active
msgid "Active"
-msgstr "Aktīvs Sistēmā"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
@@ -237,10 +427,8 @@ msgstr ""
#: model:ir.actions.act_window,help:gamification.challenge_list_action
msgid ""
"Assign a list of goals to chosen users to evaluate them.\n"
-" The challenge can use a period (weekly, monthly...) for "
-"automatic creation of goals.\n"
-" The goals are created for the specified users or member "
-"of the group."
+" The challenge can use a period (weekly, monthly...) for automatic creation of goals.\n"
+" The goals are created for the specified users or member of the group."
msgstr ""
#. module: gamification
@@ -269,7 +457,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_wizard_badge_id
#: model:ir.ui.view,arch_db:gamification.badge_form_view
msgid "Badge"
-msgstr "Vārda birka"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.badge_form_view
@@ -297,7 +485,7 @@ msgstr ""
#: model:ir.actions.act_window,name:gamification.badge_list_action
#: model:ir.ui.menu,name:gamification.gamification_badge_menu
msgid "Badges"
-msgstr "Vārda birka"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
@@ -324,7 +512,7 @@ msgid "Can not grant"
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/goal.py:461
+#: code:addons/gamification/models/goal.py:412
#, python-format
msgid "Can not modify the configuration of a started goal"
msgstr ""
@@ -333,38 +521,31 @@ msgstr ""
#: model:ir.ui.view,arch_db:gamification.view_badge_wizard_grant
#: model:ir.ui.view,arch_db:gamification.view_goal_wizard_update_current
msgid "Cancel"
-msgstr "Atcelt"
+msgstr ""
#. module: gamification
#: selection:gamification.goal,state:0
msgid "Canceled"
-msgstr "Atcelts"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
msgid "Category"
-msgstr "Kategorija"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_challenge_id
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_challenge_id
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
msgid "Challenge"
msgstr ""
#. module: gamification
-#: model:ir.actions.act_window,name:gamification.challenge_wizard
-msgid "Challenge Description"
-msgstr ""
-
-#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_line_id
msgid "Challenge Line"
msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_line_list_view
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
msgid "Challenge Lines"
msgstr ""
@@ -431,7 +612,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_comment
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_wizard_comment
msgid "Comment"
-msgstr "Komentārs"
+msgstr ""
#. module: gamification
#: model:gamification.challenge,name:gamification.challenge_base_discover
@@ -444,22 +625,13 @@ msgid "Completeness"
msgstr ""
#. module: gamification
+#: model:ir.model.fields,field_description:gamification.field_gamification_goal_computation_mode
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_computation_mode
#: model:ir.ui.view,arch_db:gamification.goal_definition_search_view
msgid "Computation Mode"
msgstr ""
#. module: gamification
-#: model:ir.model.fields,field_description:gamification.field_gamification_goal_computation_mode
-msgid "Computation mode"
-msgstr ""
-
-#. module: gamification
-#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_condition
-msgid "Condition"
-msgstr "Nosacījums"
-
-#. module: gamification
#: model:ir.actions.act_window,name:gamification.action_new_simplified_res_users
msgid "Create User"
msgstr ""
@@ -476,7 +648,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_create_date
msgid "Created"
-msgstr "Izveidots"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_create_uid
@@ -487,7 +659,7 @@ msgstr "Izveidots"
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_create_uid
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_create_uid
msgid "Created by"
-msgstr "Izveidoja"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_create_date
@@ -498,17 +670,17 @@ msgstr "Izveidoja"
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_create_date
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_create_date
msgid "Created on"
-msgstr "Izveidots"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_create_uid
msgid "Creator"
-msgstr "Autors"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_current
msgid "Current"
-msgstr "Tekošais"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_current
@@ -519,12 +691,12 @@ msgstr ""
#: selection:gamification.challenge,period:0
#: selection:gamification.challenge,report_message_frequency:0
msgid "Daily"
-msgstr "Ikdienas"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_form_view
msgid "Data"
-msgstr "Datne"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_field_date_id
@@ -537,6 +709,7 @@ msgid "Define the visibility of the challenge through menus"
msgstr ""
#. module: gamification
+#: model:ir.model.fields,help:gamification.field_gamification_goal_computation_mode
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_computation_mode
msgid ""
"Defined how will be computed the goals. The result of the operation will be "
@@ -544,12 +717,7 @@ msgid ""
msgstr ""
#. module: gamification
-#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_condition_3136
-msgid "Definition Condition"
-msgstr ""
-
-#. module: gamification
-#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_description_3145
+#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_description_3119
msgid "Definition Description"
msgstr ""
@@ -560,7 +728,8 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
-msgid "Describe the challenge: what is does, who it targets, why it matters..."
+msgid ""
+"Describe the challenge: what is does, who it targets, why it matters..."
msgstr ""
#. module: gamification
@@ -572,11 +741,10 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_description
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_description
msgid "Description"
-msgstr "Apraksts"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_visibility_mode
-#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_display
msgid "Display Mode"
msgstr ""
@@ -593,6 +761,7 @@ msgid "Display Name"
msgstr ""
#. module: gamification
+#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_display
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_display_mode
msgid "Displayed as"
msgstr ""
@@ -614,20 +783,21 @@ msgstr ""
#: selection:gamification.challenge,state:0
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "Done"
-msgstr "Pabeigts"
+msgstr ""
#. module: gamification
-#: selection:gamification.challenge,state:0 selection:gamification.goal,state:0
+#: selection:gamification.challenge,state:0
+#: selection:gamification.goal,state:0
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "Draft"
-msgstr "Melnraksts"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_end_date
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_end_date
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "End Date"
-msgstr "Beigu datums"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_batch_mode
@@ -636,12 +806,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_batch_user_expression
-msgid "Evaluted expression for batch mode"
-msgstr ""
-
-#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Even if the challenge is failed, best challengers will be rewarded"
+msgid "Evaluated expression for batch mode"
msgstr ""
#. module: gamification
@@ -657,7 +822,7 @@ msgstr ""
#. module: gamification
#: selection:gamification.goal,state:0
msgid "Failed"
-msgstr "Neizdevās"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_field_id
@@ -697,7 +862,7 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_kanban_view
msgid "From"
-msgstr "No"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_full_suffix
@@ -740,6 +905,13 @@ msgid "Gamification user badge"
msgstr ""
#. module: gamification
+#: model:ir.actions.server,name:gamification.ir_cron_check_challenge_ir_actions_server
+#: model:ir.cron,cron_name:gamification.ir_cron_check_challenge
+#: model:ir.cron,name:gamification.ir_cron_check_challenge
+msgid "Gamification: Goal Challenge Check"
+msgstr ""
+
+#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_goal_id
#: model:ir.ui.view,arch_db:gamification.goal_form_view
#: model:ir.ui.view,arch_db:gamification.view_challenge_kanban
@@ -748,7 +920,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_definition_id
-#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_id_3147
+#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_id_3104
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_name
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "Goal Definition"
@@ -777,7 +949,9 @@ msgid "Goal List"
msgstr ""
#. module: gamification
+#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_condition
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_condition
+#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_condition_3120
msgid "Goal Performance"
msgstr ""
@@ -798,7 +972,6 @@ msgstr ""
#: model:ir.ui.menu,name:gamification.gamification_goal_menu
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
#: model:ir.ui.view,arch_db:gamification.view_challenge_kanban
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
msgid "Goals"
msgstr ""
@@ -844,7 +1017,7 @@ msgstr ""
#: model:ir.ui.view,arch_db:gamification.goal_definition_search_view
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "Group By"
-msgstr "Grupēt pēc"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_report_message_group_id
@@ -859,7 +1032,7 @@ msgstr ""
#. module: gamification
#: model:gamification.badge,name:gamification.badge_hidden
msgid "Hidden"
-msgstr "Slēpts"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_definition_form_view
@@ -867,6 +1040,11 @@ msgid "How to compute the goal?"
msgstr ""
#. module: gamification
+#: selection:gamification.challenge,category:0
+msgid "Human Resources / Engagement"
+msgstr ""
+
+#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_id
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_id
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_wizard_id
@@ -876,7 +1054,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_id
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_id
msgid "ID"
-msgstr "ID"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_res_id_field
@@ -885,7 +1063,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_remaining_sending
-msgid "If a maxium is set"
+msgid "If a maximum is set"
msgstr ""
#. module: gamification
@@ -896,12 +1074,12 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_image
msgid "Image"
-msgstr "Attēls"
+msgstr ""
#. module: gamification
#: selection:gamification.challenge,state:0
msgid "In Progress"
-msgstr "Tiek izpildīts"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_definition_form_view
@@ -928,7 +1106,7 @@ msgstr ""
#. module: gamification
#: selection:gamification.goal,state:0
msgid "In progress"
-msgstr "Procesā"
+msgstr ""
#. module: gamification
#: selection:gamification.challenge,visibility_mode:0
@@ -936,22 +1114,12 @@ msgid "Individual Goals"
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/goal.py:338
-#, python-format
-msgid "Invalid return content from the evaluation of code for definition %s"
-msgstr ""
-
-#. module: gamification
+#: model:gamification.challenge.line,name:gamification.line_base_admin3
#: model:gamification.goal.definition,name:gamification.definition_base_invite
msgid "Invite new Users"
msgstr ""
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Invited"
-msgstr ""
-
-#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge___last_update
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user___last_update
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_wizard___last_update
@@ -983,7 +1151,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_write_uid
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_write_uid
msgid "Last Updated by"
-msgstr "Pēdējo reizi atjaunoja"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_wizard_write_date
@@ -995,7 +1163,7 @@ msgstr "Pēdējo reizi atjaunoja"
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_wizard_write_date
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_write_date
msgid "Last Updated on"
-msgstr "Pēdējās izmaiņas"
+msgstr ""
#. module: gamification
#: selection:gamification.challenge,visibility_mode:0
@@ -1015,7 +1183,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_ids
msgid "Lines"
-msgstr "Rindas"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_ids
@@ -1036,7 +1204,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_model_id
#: model:ir.ui.view,arch_db:gamification.goal_definition_search_view
msgid "Model"
-msgstr "Modelis"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_definition_monetary
@@ -1052,7 +1220,7 @@ msgstr ""
#: selection:gamification.challenge,period:0
#: selection:gamification.challenge,report_message_frequency:0
msgid "Monthly"
-msgstr "Ikmēneša"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_rule_max
@@ -1087,12 +1255,12 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_name
msgid "Name"
-msgstr "Nosaukums"
+msgstr ""
#. module: gamification
#: selection:gamification.challenge,report_message_frequency:0
msgid "Never"
-msgstr "Nekad"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_remind_update_delay
@@ -1100,6 +1268,11 @@ msgid "Never reminded if no value or zero is specified."
msgstr ""
#. module: gamification
+#: model:mail.template,subject:gamification.email_template_badge_received
+msgid "New badge ${object.badge_id.name} granted"
+msgstr ""
+
+#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_next_report_date
msgid "Next Report Date"
msgstr ""
@@ -1120,7 +1293,7 @@ msgid "No one, assigned through challenges"
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/challenge.py:756
+#: code:addons/gamification/models/challenge.py:667
#, python-format
msgid "Nobody reached the required conditions to receive special badges."
msgstr ""
@@ -1171,11 +1344,6 @@ msgid "Owners"
msgstr ""
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Participating"
-msgstr ""
-
-#. module: gamification
#: selection:gamification.badge,rule_auth:0
msgid "People having some badges"
msgstr ""
@@ -1183,7 +1351,7 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_search_view
msgid "Period"
-msgstr "Periods"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_period
@@ -1210,7 +1378,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_compute_code
msgid "Python Code"
-msgstr "Python pirmkods"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_compute_code
@@ -1237,7 +1405,7 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_form_view
msgid "Reference"
-msgstr "Atsauksme"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
@@ -1245,13 +1413,13 @@ msgid "Refresh Challenge"
msgstr ""
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Reject"
+#: model:ir.actions.act_window,name:gamification.goals_from_challenge_act
+msgid "Related Goals"
msgstr ""
#. module: gamification
-#: model:ir.actions.act_window,name:gamification.goals_from_challenge_act
-msgid "Related Goals"
+#: model:ir.model.fields,help:gamification.field_gamification_badge_user_wizard_user_id
+msgid "Related user name for the resource to manage its access."
msgstr ""
#. module: gamification
@@ -1292,17 +1460,16 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_manager_id
msgid "Responsible"
-msgstr "Atbildīgais"
+msgstr ""
#. module: gamification
-#: code:addons/gamification/models/challenge.py:551
+#: code:addons/gamification/models/challenge.py:490
#, python-format
msgid "Retrieving progress for personal challenge without user information"
msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
msgid "Reward"
msgstr ""
@@ -1334,7 +1501,7 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "Running"
-msgstr "Darbojas"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_search_view
@@ -1344,7 +1511,7 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_form_view
msgid "Schedule"
-msgstr "Grafiks"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_search_view
@@ -1386,7 +1553,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_sequence
msgid "Sequence"
-msgstr "Sērija"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_sequence
@@ -1399,21 +1566,29 @@ msgid "Set the current value you have reached for this goal"
msgstr ""
#. module: gamification
+#: model:gamification.challenge.line,name:gamification.line_base_admin1
#: model:gamification.goal.definition,name:gamification.definition_base_company_data
msgid "Set your Company Data"
msgstr ""
#. module: gamification
+#: model:gamification.challenge.line,name:gamification.line_base_admin2
#: model:gamification.goal.definition,name:gamification.definition_base_company_logo
msgid "Set your Company Logo"
msgstr ""
#. module: gamification
+#: model:gamification.challenge.line,name:gamification.line_base_discover1
#: model:gamification.goal.definition,name:gamification.definition_base_timezone
msgid "Set your Timezone"
msgstr ""
#. module: gamification
+#: selection:gamification.challenge,category:0
+msgid "Settings / Gamification Tools"
+msgstr ""
+
+#. module: gamification
#: model:gamification.challenge,name:gamification.challenge_base_configure
msgid "Setup your Company"
msgstr ""
@@ -1427,7 +1602,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_start_date
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_start_date
msgid "Start Date"
-msgstr "Sākuma datums"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_form_view
@@ -1440,12 +1615,12 @@ msgstr ""
#: model:ir.ui.view,arch_db:gamification.challenge_search_view
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "State"
-msgstr "Stāvoklis"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.badge_form_view
msgid "Statistics"
-msgstr "Statistika"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
@@ -1455,9 +1630,9 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_definition_full_suffix
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_suffix
-#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_suffix_3141
+#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_suffix_3121
msgid "Suffix"
-msgstr "Sufikss"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_invited_user_ids
@@ -1480,13 +1655,15 @@ msgid "The action that will be called to update the goal value."
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/challenge.py:740
+#: code:addons/gamification/models/challenge.py:646
#, python-format
msgid "The challenge %s is finished."
msgstr ""
#. module: gamification
+#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_definition_full_suffix
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_full_suffix
+#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_suffix_3121
msgid "The currency and suffix field"
msgstr ""
@@ -1510,7 +1687,7 @@ msgid ""
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/goal.py:129
+#: code:addons/gamification/models/goal.py:93
#, python-format
msgid ""
"The domain for the definition %s seems incorrect, please check it.\n"
@@ -1552,25 +1729,24 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_rule_max_number
-msgid "The maximum number of time this badge can be sent per month per person."
+msgid ""
+"The maximum number of time this badge can be sent per month per person."
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/goal.py:146
+#: code:addons/gamification/models/goal.py:110
#, python-format
msgid ""
-"The model configuration for the definition %s seems incorrect, please check "
-"it.\n"
+"The model configuration for the definition %s seems incorrect, please check it.\n"
"\n"
"%s not found"
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/goal.py:143
+#: code:addons/gamification/models/goal.py:107
#, python-format
msgid ""
-"The model configuration for the definition %s seems incorrect, please check "
-"it.\n"
+"The model configuration for the definition %s seems incorrect, please check it.\n"
"\n"
"%s not stored"
msgstr ""
@@ -1589,7 +1765,8 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_stat_my_this_month
-msgid "The number of time the current user has received this badge this month."
+msgid ""
+"The number of time the current user has received this badge this month."
msgstr ""
#. module: gamification
@@ -1618,11 +1795,13 @@ msgid "The number of time this badge has been received."
msgstr ""
#. module: gamification
+#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_definition_monetary
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_monetary
msgid "The target and current value are defined in the company currency."
msgstr ""
#. module: gamification
+#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_definition_suffix
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_suffix
msgid "The unit of the target and current values"
msgstr ""
@@ -1648,21 +1827,15 @@ msgstr ""
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_batch_user_expression
msgid ""
"The value to compare with the distinctive field. The expression can contain "
-"reference to 'user' which is a browse record of the current user, e.g. user."
-"id, user.partner_id.id..."
+"reference to 'user' which is a browse record of the current user, e.g. "
+"user.id, user.partner_id.id..."
msgstr ""
#. module: gamification
#: model:ir.actions.act_window,help:gamification.goals_from_challenge_act
msgid ""
"There is no goals associated to this challenge matching your search.\n"
-" Make sure that your challenge is active and assigned to at "
-"least one user."
-msgstr ""
-
-#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "There is no reward upon completion of this challenge."
+" Make sure that your challenge is active and assigned to at least one user."
msgstr ""
#. module: gamification
@@ -1671,7 +1844,7 @@ msgid "These goals will not be recomputed."
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/badge.py:223
+#: code:addons/gamification/models/badge.py:210
#, python-format
msgid "This badge can not be sent by users."
msgstr ""
@@ -1684,7 +1857,7 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_kanban_view
msgid "To"
-msgstr "Kam"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_target_goal
@@ -1699,7 +1872,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_stat_count
msgid "Total"
-msgstr "Summa"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_unique_owner_ids
@@ -1709,15 +1882,15 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_definition_suffix
msgid "Unit"
-msgstr "Vienība"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.view_goal_wizard_update_current
msgid "Update"
-msgstr "Jaunināt"
+msgstr ""
#. module: gamification
-#: code:addons/gamification/models/goal.py:495
+#: code:addons/gamification/models/goal.py:447
#, python-format
msgid "Update %s"
msgstr ""
@@ -1728,7 +1901,7 @@ msgstr ""
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_user_id
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "User"
-msgstr "Lietotājs"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_user_domain
@@ -1736,16 +1909,20 @@ msgid "User domain"
msgstr ""
#. module: gamification
-#: model:ir.model,name:gamification.model_res_users
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_user_ids
msgid "Users"
-msgstr "Lietotāji"
+msgstr ""
+
+#. module: gamification
+#: selection:gamification.challenge,category:0
+msgid "Website / Forum"
+msgstr ""
#. module: gamification
#: selection:gamification.challenge,period:0
#: selection:gamification.challenge,report_message_frequency:0
msgid "Weekly"
-msgstr "Reizi nedēļā"
+msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_rule_auth
@@ -1773,22 +1950,22 @@ msgstr ""
#: selection:gamification.challenge,period:0
#: selection:gamification.challenge,report_message_frequency:0
msgid "Yearly"
-msgstr "Ik gadu"
+msgstr ""
#. module: gamification
-#: code:addons/gamification/models/badge.py:225
+#: code:addons/gamification/models/badge.py:212
#, python-format
msgid "You are not in the user allowed list."
msgstr ""
#. module: gamification
-#: code:addons/gamification/wizard/grant_badge.py:26
+#: code:addons/gamification/wizard/grant_badge.py:24
#, python-format
msgid "You can not grant a badge to yourself"
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/challenge.py:235
+#: code:addons/gamification/models/challenge.py:196
#, python-format
msgid "You can not reset a challenge with unfinished goals."
msgstr ""
@@ -1804,13 +1981,13 @@ msgid "You did great at your job."
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/badge.py:227
+#: code:addons/gamification/models/badge.py:214
#, python-format
msgid "You do not have the required badges."
msgstr ""
#. module: gamification
-#: code:addons/gamification/models/badge.py:229
+#: code:addons/gamification/models/badge.py:216
#, python-format
msgid "You have already sent this badge too many time this month."
msgstr ""
@@ -1829,7 +2006,7 @@ msgstr ""
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
#: model:ir.ui.view,arch_db:gamification.goal_form_view
msgid "days"
-msgstr "dienas"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
@@ -1844,9 +2021,8 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_definition_form_view
msgid ""
-"e.g. result = pool.get('mail.followers').search(cr, uid, [('res_model', '=', "
-"'mail.channel'), ('partner_id', '=', object.user_id.partner_id.id)], "
-"count=True, context=context)"
+"e.g. result = env['mail.followers'].search_count([('res_model', '=', "
+"'mail.channel'), ('partner_id', '=', object.user_id.partner_id.id)])"
msgstr ""
#. module: gamification
@@ -1875,11 +2051,6 @@ msgid "refresh"
msgstr ""
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "reply later"
-msgstr ""
-
-#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_form_view
msgid "than the target."
msgstr ""
@@ -1893,24 +2064,3 @@ msgstr ""
#: model:ir.ui.view,arch_db:gamification.badge_kanban_view
msgid "this month"
msgstr ""
-
-#~ msgid "Date of the last message posted on the record."
-#~ msgstr "Pēdējā ierakstam piesaistītā ziņojuma datums."
-
-#~ msgid "Followers"
-#~ msgstr "Sekotāji"
-
-#~ msgid "If checked new messages require your attention."
-#~ msgstr "Ja atzīmēts, tad jauni ziņojumi pieprasīs jūsu uzmanību."
-
-#~ msgid "Last Message Date"
-#~ msgstr "Pēdēja ziņojuma datums"
-
-#~ msgid "Messages"
-#~ msgstr "Ziņojumi"
-
-#~ msgid "Messages and communication history"
-#~ msgstr "Ziņojumu un komunikācijas vēsture"
-
-#~ msgid "Unread Messages"
-#~ msgstr "Neizlasīti ziņojumi"