summaryrefslogtreecommitdiff
path: root/addons/gamification
diff options
context:
space:
mode:
authorOdoo Translation Bot <c3p@odoo.com>2017-11-12 04:24:48 +0100
committerOdoo Translation Bot <c3p@odoo.com>2017-11-12 04:24:48 +0100
commit48e8282130c80f3e6cec509232ad16f0870d0d7b (patch)
tree67df357fa6f0261af521db1b5f9184a9005e6761 /addons/gamification
parent56588e8d447a188f730ecfc62b451dba046e81ef (diff)
[I18N] Update translation terms from Transifex
Diffstat (limited to 'addons/gamification')
-rw-r--r--addons/gamification/i18n/el.po25
-rw-r--r--addons/gamification/i18n/hr.po812
-rw-r--r--addons/gamification/i18n/nl.po32
-rw-r--r--addons/gamification/i18n/sr.po610
-rw-r--r--addons/gamification/i18n/sr@latin.po690
5 files changed, 1314 insertions, 855 deletions
diff --git a/addons/gamification/i18n/el.po b/addons/gamification/i18n/el.po
index c90ec1b3169..ba5b61abc2a 100644
--- a/addons/gamification/i18n/el.po
+++ b/addons/gamification/i18n/el.po
@@ -5,6 +5,7 @@
# Translators:
# Kostas Goutoudis <goutoudis@gmail.com>, 2017
# Martin Trigaux <mat@odoo.com>, 2017
+# George Tarasidis <george_tarasidis@yahoo.com>, 2017
# Nikos Gkountras <nick@ngsol.net>, 2017
# Costas Pittalis <cpittalis@gmail.com>, 2017
msgid ""
@@ -468,7 +469,7 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.badge_form_view
msgid "Badge Description"
-msgstr ""
+msgstr "Περιγραφή Κονκάρδας"
#. module: gamification
#: model:mail.message.subtype,description:gamification.mt_badge_granted
@@ -640,7 +641,7 @@ msgstr ""
#. module: gamification
#: model:ir.actions.act_window,name:gamification.action_new_simplified_res_users
msgid "Create User"
-msgstr ""
+msgstr "Δημιουργία Χρήστη"
#. module: gamification
#: model:ir.actions.act_window,help:gamification.action_new_simplified_res_users
@@ -730,7 +731,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_description_3119
msgid "Definition Description"
-msgstr ""
+msgstr "Περιγραφή Ορισμού"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
@@ -794,21 +795,21 @@ msgstr ""
#: selection:gamification.challenge,state:0
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "Done"
-msgstr "Ολοκληρωμένο"
+msgstr "Ολοκληρωμένη"
#. module: gamification
#: selection:gamification.challenge,state:0
#: selection:gamification.goal,state:0
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "Draft"
-msgstr "Πρόχειρο"
+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 "Ημερομηνία Λήξης"
+msgstr "Ημερ. Λήξης"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_batch_mode
@@ -828,7 +829,7 @@ msgstr "Όλοι"
#. module: gamification
#: selection:gamification.goal.definition,display_mode:0
msgid "Exclusive (done or not-done)"
-msgstr "Αποκλειστικά (ολοκληρωμένο ή μη)"
+msgstr "Αποκλειστικά (ολοκληρωμένη ή μη)"
#. module: gamification
#: selection:gamification.goal,state:0
@@ -1028,7 +1029,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 "Ομαδοποίηση Κατά"
+msgstr "Ομαδοποίηση κατά"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_report_message_group_id
@@ -1374,7 +1375,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_period
msgid "Periodicity"
-msgstr ""
+msgstr "Περιοδικότητα"
#. module: gamification
#: model:gamification.badge,name:gamification.badge_problem_solver
@@ -1580,7 +1581,7 @@ msgstr ""
#: 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 ""
+msgstr "Ορίστε τα στοιχεία της εταιρείας σας"
#. module: gamification
#: model:gamification.challenge.line,name:gamification.line_base_admin2
@@ -1917,7 +1918,7 @@ msgstr "Χρήστης"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_user_domain
msgid "User domain"
-msgstr ""
+msgstr "Τομέας χρήστη"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_user_ids
@@ -1933,7 +1934,7 @@ msgstr ""
#: selection:gamification.challenge,period:0
#: selection:gamification.challenge,report_message_frequency:0
msgid "Weekly"
-msgstr ""
+msgstr "Εβδομαδιαία"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_rule_auth
diff --git a/addons/gamification/i18n/hr.po b/addons/gamification/i18n/hr.po
index fb3173805d8..d0c9c85a908 100644
--- a/addons/gamification/i18n/hr.po
+++ b/addons/gamification/i18n/hr.po
@@ -1,41 +1,269 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * gamification
-#
+#
# Translators:
-# Davor Bojkić <davor.bojkic@storm.hr>, 2016
-# Ivica Dimjašević <ivica.dimjasevic@storm.hr>, 2015
+# Davor Bojkić <davor.bojkic@storm.hr>, 2017
+# Tina Milas <tina@uvid.hr>, 2017
+# Martin Trigaux <mat@odoo.com>, 2017
+# Karolina Tonković <karolina.tonkovic@storm.hr>, 2017
+# Bole <bole@dajmi5.com>, 2017
+# Vladimir Olujić <olujic.vladimir@storm.hr>, 2017
+# Đurđica Žarković <durdica.zarkovic@storm.hr>, 2017
+# Ivica Dimjašević <ivica.dimjasevic@storm.hr>, 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-05-13 12:28+0000\n"
-"Last-Translator: Davor Bojkić <davor.bojkic@storm.hr>\n"
-"Language-Team: Croatian (http://www.transifex.com/odoo/odoo-9/language/hr/)\n"
-"Language: hr\n"
+"POT-Creation-Date: 2017-10-02 11:27+0000\n"
+"PO-Revision-Date: 2017-10-02 11:27+0000\n"
+"Last-Translator: Ivica Dimjašević <ivica.dimjasevic@storm.hr>, 2017\n"
+"Language-Team: Croatian (https://www.transifex.com/odoo/teams/41243/hr/)\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%10>=2 && n"
-"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+"Language: hr\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 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
@@ -46,100 +274,77 @@ 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 "%s je pristupio izazovu."
+
+#. module: gamification
+#: code:addons/gamification/models/challenge.py:598
+#, python-format
+msgid "%s has refused the challenge"
+msgstr "%s je odbio izazov."
+
+#. 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 "<br/> %(rank)d. %(user_name)s - %(reward_name)s"
+
+#. 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 ""
"<br/>Nitko nije uspio postići zadane ciljeve, nijedna nagrada nije "
"dodijeljena za ovaj izazov."
#. 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 ""
@@ -147,57 +352,58 @@ msgstr ""
"%s."
#. 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 "
"this challenge is :"
msgstr ""
-"<br/>Specijalne nagrade su dodijeljene najboljim učesnicima. Redosljed za "
+"<br/>Specijalne nagrade su dodijeljene najboljim učesnicima. Redoslijed za "
"ovaj izazov je:"
#. module: gamification
#: 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 ""
-"<span class=\"o_stat_text\">Povezanii</span>\n"
-" <span class=\"o_stat_text\">Ciljevi</"
-"span>"
+"<span class=\"o_stat_text\">Povezani</span>\n"
+"<span class=\"o_stat_text\">ciljevi</span>"
#. 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"
msgstr ""
+"Cilj je ispunjen kada se trenutna vrijednost uspoređuje sa zadanom "
+"vrijednosti"
#. module: gamification
#: 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 ""
+"Cilj definiraju korisnik i definicija cilja.\n"
+"Ciljevi se mogu automatski kreirati korištenjem izazova."
#. module: gamification
#: selection:gamification.badge,rule_auth:0
@@ -205,11 +411,6 @@ msgid "A selected list of users"
msgstr "Lista odabranih korisnika"
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Accept"
-msgstr "Prihvati"
-
-#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_action_id
msgid "Action"
msgstr "Akcija"
@@ -232,7 +433,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_user_domain
msgid "Alternative to a list of users"
-msgstr ""
+msgstr "Alternativa listi korisnika"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_category
@@ -248,15 +449,9 @@ msgstr "Dodijeli izazov"
#: 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 ""
-"Dodijelite listu ciljeva odabranim korisnicima da ih ocijenite. Izazovi se "
-"mogu koristiti u periodu (tjedno, mjesečno..) za automatsko kreiranje "
-"ciljeva. \n"
-"Ciljevi se kreiranju za odabrane korisnike ili članove grupa."
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_rule_auth_user_ids
@@ -326,23 +521,23 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_batch_mode
msgid "Batch Mode"
-msgstr ""
+msgstr "Skupni način"
#. module: gamification
#: model:gamification.badge,name:gamification.badge_idea
msgid "Brilliant"
-msgstr ""
+msgstr "Briljantno"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.badge_kanban_view
msgid "Can not grant"
-msgstr ""
+msgstr "Nije moguće dodijeliti"
#. 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 ""
+msgstr "NIje moguće mijenjati postavke pokrenutog cilja"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.view_badge_wizard_grant
@@ -363,23 +558,16 @@ msgstr "Kategorija"
#. 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 "Izazov"
#. module: gamification
-#: model:ir.actions.act_window,name:gamification.challenge_wizard
-msgid "Challenge Description"
-msgstr "Opis izazova"
-
-#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_line_id
msgid "Challenge Line"
msgstr "Stavka izazova"
#. 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 "Stavke izazova"
@@ -459,22 +647,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 "Uvjet"
-
-#. module: gamification
#: model:ir.actions.act_window,name:gamification.action_new_simplified_res_users
msgid "Create User"
msgstr "Kreiraj korisnika"
@@ -517,7 +696,7 @@ msgstr "Kreirao"
#: 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 "Datum kreiranja"
+msgstr "Kreirano"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_create_uid
@@ -556,6 +735,7 @@ msgid "Define the visibility of the challenge through menus"
msgstr "Definirajte vidljivost izazova po izbornicima"
#. 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 "
@@ -563,12 +743,7 @@ msgid ""
msgstr ""
#. module: gamification
-#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_condition_3136
-msgid "Definition Condition"
-msgstr "Uvjet definicije"
-
-#. 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 "Opis definicije"
@@ -579,7 +754,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
@@ -595,7 +771,6 @@ msgstr "Opis"
#. 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 "Način prikaza"
@@ -612,6 +787,7 @@ msgid "Display Name"
msgstr "Naziv za prikaz"
#. 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 "Prikazano kao"
@@ -633,10 +809,11 @@ msgstr ""
#: selection:gamification.challenge,state:0
#: model:ir.ui.view,arch_db:gamification.goal_search_view
msgid "Done"
-msgstr "Završeno"
+msgstr "Riješeno"
#. 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 "Nacrt"
@@ -655,12 +832,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
@@ -705,9 +877,8 @@ msgstr "Za 3. korisnika"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_reward_id
-#, fuzzy
msgid "For Every Succeeding User"
-msgstr "Za svakog sljedećeg korisnika"
+msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_definition_form_view
@@ -722,7 +893,7 @@ msgstr "Od"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_full_suffix
msgid "Full Suffix"
-msgstr ""
+msgstr "Puni sufiks"
#. module: gamification
#: model:ir.ui.menu,name:gamification.gamification_menu
@@ -760,6 +931,13 @@ msgid "Gamification user badge"
msgstr "Značka nagrađivanja korisnika"
#. 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
@@ -768,7 +946,7 @@ msgstr "Cilj"
#. 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"
@@ -797,7 +975,9 @@ msgid "Goal List"
msgstr "Popis ciljeva"
#. 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 ""
@@ -818,14 +998,13 @@ msgstr "Definicije cilja"
#: 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 "Ciljevi"
#. module: gamification
#: model:gamification.badge,name:gamification.badge_good_job
msgid "Good Job"
-msgstr ""
+msgstr "Dobro odrađeno"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.badge_kanban_view
@@ -857,7 +1036,7 @@ msgstr "Dodijelio"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.badge_form_view
msgid "Granting"
-msgstr ""
+msgstr "Dodjeljivanje"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_search_view
@@ -879,12 +1058,17 @@ msgstr "Izazovi ljudskih resursa"
#. module: gamification
#: model:gamification.badge,name:gamification.badge_hidden
msgid "Hidden"
-msgstr "Skriven"
+msgstr "Skriveno"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_definition_form_view
msgid "How to compute the goal?"
-msgstr ""
+msgstr "Kako ispuniti cilj?"
+
+#. module: gamification
+#: selection:gamification.challenge,category:0
+msgid "Human Resources / Engagement"
+msgstr "Ljudski resursi / Angažman"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_id
@@ -905,8 +1089,8 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_remaining_sending
-msgid "If a maxium is set"
-msgstr "Ako je maksimum postavljen"
+msgid "If a maximum is set"
+msgstr "Ako je postavljen maksimum"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_user_challenge_id
@@ -948,7 +1132,7 @@ msgstr ""
#. module: gamification
#: selection:gamification.goal,state:0
msgid "In progress"
-msgstr "U Tijeku"
+msgstr "U tijeku"
#. module: gamification
#: selection:gamification.challenge,visibility_mode:0
@@ -956,22 +1140,12 @@ msgid "Individual Goals"
msgstr "Poedinačni ciljevi"
#. 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 "Pozovi nove korisnike"
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Invited"
-msgstr "Pozvani"
-
-#. 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
@@ -1025,7 +1199,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_rule_max_number
msgid "Limitation Number"
-msgstr ""
+msgstr "Broj ograničenja"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
@@ -1040,12 +1214,12 @@ msgstr "Stavke"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_ids
msgid "List of goals that will be set"
-msgstr ""
+msgstr "Lista ciljeva koji će se postaviti"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_user_ids
msgid "List of users participating to the challenge"
-msgstr ""
+msgstr "Lista korisnika koji sudjeluju na izazovu"
#. module: gamification
#: model:gamification.goal.definition,name:gamification.definition_nbr_following
@@ -1066,7 +1240,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_monetary
msgid "Monetary Value"
-msgstr ""
+msgstr "Monetarna vrijednost"
#. module: gamification
#: selection:gamification.challenge,period:0
@@ -1082,7 +1256,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_stat_this_month
msgid "Monthly total"
-msgstr ""
+msgstr "Ukupno mjesečno"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_search_view
@@ -1120,19 +1294,24 @@ 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 ""
+msgstr "Datum sljedećeg izvještaja"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.badge_form_view
msgid "No monthly sending limit"
-msgstr ""
+msgstr "Nema mjesečnog ograničenja slanja"
#. module: gamification
#: model:gamification.badge,description:gamification.badge_problem_solver
msgid "No one can solve challenges like you do."
-msgstr ""
+msgstr "Nitko ne može riješiti izazove kao Vi."
#. module: gamification
#: selection:gamification.badge,rule_auth:0
@@ -1140,10 +1319,10 @@ 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 ""
+msgstr "Nitko nije ispunio potrebne uvjete za dobivanje posebnih znački."
#. module: gamification
#: selection:gamification.challenge,period:0
@@ -1173,12 +1352,12 @@ msgstr "Kod promjene:"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_rule_auth_badge_ids
msgid "Only the people having these badges can give this badge"
-msgstr ""
+msgstr "Samo ljudi koji imaju ove značke mogu davati ovu značku"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_rule_auth_user_ids
msgid "Only these people can give this badge"
-msgstr ""
+msgstr "Samo ovi ljudi mogu davati ovu značku"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_definition_form_view
@@ -1191,14 +1370,9 @@ msgid "Owners"
msgstr "Vlasnici"
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Participating"
-msgstr "Sudjeluju"
-
-#. module: gamification
#: selection:gamification.badge,rule_auth:0
msgid "People having some badges"
-msgstr ""
+msgstr "Ljudi koji imaju neke značke"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_search_view
@@ -1257,7 +1431,7 @@ msgstr "Ručno upisano"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_form_view
msgid "Reference"
-msgstr "Šifra"
+msgstr "Vezna oznaka"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
@@ -1265,16 +1439,16 @@ msgid "Refresh Challenge"
msgstr "Osvježi izazov"
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Reject"
-msgstr "Odbijeno"
-
-#. module: gamification
#: model:ir.actions.act_window,name:gamification.goals_from_challenge_act
msgid "Related Goals"
msgstr "Povezani ciljevi"
#. module: gamification
+#: 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 "Korisničko ime povezano je s pristupom i upravljanjem modulima"
+
+#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_remaining_sending
msgid "Remaining Sending Allowed"
msgstr ""
@@ -1302,7 +1476,7 @@ msgstr "Predložak izvještaja"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_rule_auth_badge_ids
msgid "Required Badges"
-msgstr ""
+msgstr "Potrebne značke"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_form_view
@@ -1315,14 +1489,13 @@ msgid "Responsible"
msgstr "Odgovoran"
#. 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 "Nagrada"
@@ -1334,12 +1507,12 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_reward_realtime
msgid "Reward as soon as every goal is reached"
-msgstr ""
+msgstr "Nagrada čim je postignut svaki cilj"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_challenge_ids
msgid "Reward of Challenges"
-msgstr ""
+msgstr "Nagrada izazova"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_goal_definition_ids
@@ -1349,7 +1522,7 @@ msgstr "Nagradio"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.badge_form_view
msgid "Rewards for challenges"
-msgstr ""
+msgstr "Nagrade za izazove"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_search_view
@@ -1359,7 +1532,7 @@ msgstr "U tijeku"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_search_view
msgid "Running Challenges"
-msgstr ""
+msgstr "Pokrenuti izazovi"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_form_view
@@ -1374,7 +1547,7 @@ msgstr "Pretraži izazove"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_definition_search_view
msgid "Search Goal Definitions"
-msgstr ""
+msgstr "Traži definicije cilja"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_search_view
@@ -1416,32 +1589,40 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.view_goal_wizard_update_current
msgid "Set the current value you have reached for this goal"
-msgstr ""
+msgstr "Postavite trenutnu vrijednost koju ste dosegli za ovaj cilj"
#. 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 ""
+msgstr "Postavi podatke o tvrtki"
#. 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 ""
+msgstr "Postavi logo tvrtke"
#. 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 "Postavi vremensku zonu"
+
+#. 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 ""
+msgstr "Postavite vaše poduzeće"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
msgid "Start Challenge"
-msgstr ""
+msgstr "Započni Izazov"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_start_date
@@ -1452,7 +1633,7 @@ msgstr "Početni datum"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_form_view
msgid "Start goal"
-msgstr ""
+msgstr "Započni cilj"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_state
@@ -1460,7 +1641,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 "Županija"
+msgstr "Stanje"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.badge_form_view
@@ -1475,7 +1656,7 @@ msgstr "Pretplate"
#. 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 "Sufiks"
@@ -1492,7 +1673,7 @@ msgstr "Ciljna vrijednost"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_kanban_view
msgid "Target: less than"
-msgstr ""
+msgstr "Cilj: manje od"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_action_id
@@ -1500,13 +1681,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 ""
+msgstr "Izazov %s je završen."
#. 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 ""
@@ -1530,7 +1713,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"
@@ -1572,25 +1755,24 @@ msgstr "Manje je bolje"
#. 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 ""
@@ -1609,18 +1791,19 @@ 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."
-msgstr ""
+msgid ""
+"The number of time the current user has received this badge this month."
+msgstr "Broj koliko je puta trenutni korisnik primio ovu značku ovaj mjesec."
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_stat_my
msgid "The number of time the current user has received this badge."
-msgstr ""
+msgstr "Broj koliko je puta trenutni korisnik primio ovu značku."
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_stat_my_monthly_sending
msgid "The number of time the current user has sent this badge this month."
-msgstr ""
+msgstr "Broj koliko je puta trenutni korisnik primio ovu značku ovaj mjesec."
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_stat_count_distinct
@@ -1630,59 +1813,55 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_stat_this_month
msgid "The number of time this badge has been received this month."
-msgstr ""
+msgstr "Broj koliko je puta ova značka primljena ovaj mjesec."
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_stat_count
msgid "The number of time this badge has been received."
-msgstr ""
+msgstr "Broj koliko je puta ova značka primljena."
#. 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 ""
+msgstr "Jedinica cilja i trenutnih vrijednosti"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_manager_id
msgid "The user responsible for the challenge."
-msgstr ""
+msgstr "Korisnik odgovoran za izazov."
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_user_sender_id
msgid "The user who has send the badge"
-msgstr ""
+msgstr "Korisnik koji je poslao značku"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_goal_definition_ids
msgid ""
"The users that have succeeded theses goals will receive automatically the "
"badge."
-msgstr ""
+msgstr "Korisnici koji su postigli ove ciljeve automatski će primiti značku."
#. module: gamification
#: 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
@@ -1691,10 +1870,10 @@ 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 ""
+msgstr "Ovu značku ne mogu slati korisnici."
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_image
@@ -1704,17 +1883,17 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_kanban_view
msgid "To"
-msgstr "za"
+msgstr "Do"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_target_goal
msgid "To Reach"
-msgstr ""
+msgstr "Doseći"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_to_update
msgid "To update"
-msgstr ""
+msgstr "Ažurirati"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_stat_count
@@ -1737,7 +1916,7 @@ msgid "Update"
msgstr "Ažuriraj"
#. module: gamification
-#: code:addons/gamification/models/goal.py:495
+#: code:addons/gamification/models/goal.py:447
#, python-format
msgid "Update %s"
msgstr "Ažuriraj %s"
@@ -1753,15 +1932,19 @@ msgstr "Korisnik"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_user_domain
msgid "User domain"
-msgstr ""
+msgstr "Korisnička domena"
#. 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 "Korisnici"
#. module: gamification
+#: selection:gamification.challenge,category:0
+msgid "Website / Forum"
+msgstr "Web stranica / Forum"
+
+#. module: gamification
#: selection:gamification.challenge,period:0
#: selection:gamification.challenge,report_message_frequency:0
msgid "Weekly"
@@ -1770,7 +1953,7 @@ msgstr "Tjedno"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_badge_rule_auth
msgid "Who can grant this badge"
-msgstr ""
+msgstr "Tko može dati ovu značku"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.view_badge_wizard_grant
@@ -1787,7 +1970,7 @@ msgstr ""
#. module: gamification
#: model:gamification.badge,description:gamification.badge_idea
msgid "With your brilliant ideas, you are an inspiration to others."
-msgstr ""
+msgstr "S Vašim briljantnim idejama inspiracija ste drugima."
#. module: gamification
#: selection:gamification.challenge,period:0
@@ -1796,22 +1979,22 @@ msgid "Yearly"
msgstr "Godišnje"
#. 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 "Niste na popisu korisnika sa dozvolom"
#. 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 "Nije moguće dodijeliti značku sam sebi"
#. 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 ""
+msgstr "Ne možete resetirati izazov s nezavršenim ciljevima."
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.badge_form_view
@@ -1824,21 +2007,21 @@ 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 ""
+msgstr "Nemate potrebne značke."
#. 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 ""
+msgstr "Ovu ste značku već previše puta poslali ovaj mjesec."
#. module: gamification
#: model:gamification.badge,description:gamification.badge_hidden
msgid "You have found the hidden badge"
-msgstr ""
+msgstr "Pronašli ste skrivenu značku"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.badge_form_view
@@ -1854,19 +2037,18 @@ msgstr "dana"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
msgid "e.g. Monthly Sales Objectives"
-msgstr ""
+msgstr "npr. Mjesečni ciljevi prodaje"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_definition_form_view
msgid "e.g. days"
-msgstr ""
+msgstr "npr. dani"
#. 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
@@ -1895,11 +2077,6 @@ msgid "refresh"
msgstr "osvježi"
#. 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 ""
@@ -1912,55 +2089,4 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.badge_kanban_view
msgid "this month"
-msgstr ""
-
-#~ msgid "Action Needed"
-#~ msgstr "Potrebna dodatna radnja"
-
-#~ msgid "Date of the last message posted on the record."
-#~ msgstr "Datum zadnjeg zapisa"
-
-#~ msgid "Followers"
-#~ msgstr "Pratitelji"
-
-#~ msgid "Followers (Channels)"
-#~ msgstr "Pratitelji (Kanali)"
-
-#~ msgid "Followers (Partners)"
-#~ msgstr "Pratitelji (Partneri)"
-
-#~ msgid "If checked new messages require your attention."
-#~ msgstr "Ako je odabrano, nove poruke zahtijevaju Vašu pažnju."
-
-#~ msgid "If checked, new messages require your attention."
-#~ msgstr "Ako je označeno, nove poruke zahtijevaju vašu pažnju."
-
-#~ msgid "Inherited models"
-#~ msgstr "Nasljeđeni modeli"
-
-#~ msgid "Is Follower"
-#~ msgstr "Je pratitelj"
-
-#~ msgid "Last Message Date"
-#~ msgstr "Datum zadnje poruke"
-
-#~ msgid "Messages"
-#~ msgstr "Poruke"
-
-#~ msgid "Messages and communication history"
-#~ msgstr "Poruke i povijest"
-
-#~ msgid "Number of Actions"
-#~ msgstr "Broj akcija"
-
-#~ msgid "Number of messages which requires an action"
-#~ msgstr "Broj poruka koje zahtijevaju aktivnost"
-
-#~ msgid "Number of unread messages"
-#~ msgstr "Broj nepročitanih poruka"
-
-#~ msgid "Unread Messages"
-#~ msgstr "Nepročitane poruke"
-
-#~ msgid "Unread Messages Counter"
-#~ msgstr "Brojač nepročitanih poruka"
+msgstr "ovaj mjesec"
diff --git a/addons/gamification/i18n/nl.po b/addons/gamification/i18n/nl.po
index d2e501a941d..f8470f4cc83 100644
--- a/addons/gamification/i18n/nl.po
+++ b/addons/gamification/i18n/nl.po
@@ -567,6 +567,38 @@ msgid ""
"</div>\n"
"</data>"
msgstr ""
+"<?xml version=\"1.0\"?>\n"
+"<data><div>\n"
+" <p>Gefeliciteerd ${object.user_id.name} !</p>\n"
+" <p>U heeft zojuist de volgende batch ontvangen<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"
+" De badge is gegeven door <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>"
#. module: gamification
#: code:addons/gamification/models/challenge.py:655
diff --git a/addons/gamification/i18n/sr.po b/addons/gamification/i18n/sr.po
index a0d5a59588c..ccced105828 100644
--- a/addons/gamification/i18n/sr.po
+++ b/addons/gamification/i18n/sr.po
@@ -1,39 +1,263 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * gamification
-#
+#
# Translators:
+# Martin Trigaux <mat@odoo.com>, 2017
+# Slobodan Simić <slsimic@gmail.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: 2015-10-01 09:17+0000\n"
-"Last-Translator: Martin Trigaux\n"
-"Language-Team: Serbian (http://www.transifex.com/odoo/odoo-9/language/sr/)\n"
-"Language: sr\n"
+"POT-Creation-Date: 2017-10-02 11:27+0000\n"
+"PO-Revision-Date: 2017-10-02 11:27+0000\n"
+"Last-Translator: Slobodan Simić <slsimic@gmail.com>, 2017\n"
+"Language-Team: Serbian (https://www.transifex.com/odoo/teams/41243/sr/)\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%10>=2 && n"
-"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"Language: sr\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 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 +268,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 "
@@ -152,30 +353,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 +384,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 +393,14 @@ msgid "A selected list of users"
msgstr ""
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Accept"
-msgstr "Prihvati"
-
-#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_action_id
msgid "Action"
-msgstr "Akcija"
+msgstr "Радња"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_active
msgid "Active"
-msgstr "Aktivan"
+msgstr "Активно"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
@@ -237,10 +431,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
@@ -324,7 +516,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 ""
@@ -348,23 +540,16 @@ msgstr "Kategorija"
#. 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 ""
@@ -444,22 +629,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 "Uslov"
-
-#. module: gamification
#: model:ir.actions.act_window,name:gamification.action_new_simplified_res_users
msgid "Create User"
msgstr ""
@@ -537,6 +713,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 +721,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 +732,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
@@ -576,7 +749,6 @@ msgstr "Opis"
#. 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 +765,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 ""
@@ -617,7 +790,8 @@ msgid "Done"
msgstr "Završeno"
#. 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 "Priprema"
@@ -636,12 +810,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
@@ -740,6 +909,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 +924,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 +953,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 +976,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 ""
@@ -867,6 +1044,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
@@ -885,7 +1067,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
@@ -936,22 +1118,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
@@ -1100,6 +1272,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 +1297,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 +1348,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 ""
@@ -1245,13 +1417,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,14 +1467,13 @@ msgid "Responsible"
msgstr "Odgovoran"
#. 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 ""
@@ -1399,21 +1570,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 ""
@@ -1455,7 +1634,7 @@ 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 "Sufiks"
@@ -1480,13 +1659,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 +1691,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 +1733,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 +1769,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 +1799,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 +1831,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 +1848,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 ""
@@ -1717,7 +1894,7 @@ msgid "Update"
msgstr "Ažuriraj"
#. module: gamification
-#: code:addons/gamification/models/goal.py:495
+#: code:addons/gamification/models/goal.py:447
#, python-format
msgid "Update %s"
msgstr ""
@@ -1736,12 +1913,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 "Korisnici"
#. 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"
@@ -1776,19 +1957,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 ""
@@ -1804,13 +1985,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 ""
@@ -1844,9 +2025,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 +2055,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,6 +2068,3 @@ msgstr ""
#: model:ir.ui.view,arch_db:gamification.badge_kanban_view
msgid "this month"
msgstr ""
-
-#~ msgid "Messages"
-#~ msgstr "Poruke"
diff --git a/addons/gamification/i18n/sr@latin.po b/addons/gamification/i18n/sr@latin.po
index 314cb61b4a8..e1bb4653f61 100644
--- a/addons/gamification/i18n/sr@latin.po
+++ b/addons/gamification/i18n/sr@latin.po
@@ -1,40 +1,265 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * gamification
-#
+#
# Translators:
+# Martin Trigaux <mat@odoo.com>, 2017
+# Nemanja Dragovic <nemanjadragovic94@gmail.com>, 2017
+# Ljubisa Jovev <ljubisa.jovev@gmail.com>, 2017
+# Djordje Marjanovic <djordje_m@yahoo.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-05-23 20:53+0000\n"
-"Last-Translator: Martin Trigaux\n"
-"Language-Team: Serbian (Latin) (http://www.transifex.com/odoo/odoo-9/"
-"language/sr@latin/)\n"
-"Language: sr@latin\n"
+"POT-Creation-Date: 2017-10-02 11:27+0000\n"
+"PO-Revision-Date: 2017-10-02 11:27+0000\n"
+"Last-Translator: Djordje Marjanovic <djordje_m@yahoo.com>, 2017\n"
+"Language-Team: Serbian (Latin) (https://www.transifex.com/odoo/teams/41243/sr%40latin/)\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%10>=2 && n"
-"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"Language: sr@latin\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 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
@@ -45,104 +270,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 "
@@ -153,30 +355,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"
@@ -186,7 +386,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
@@ -195,11 +395,6 @@ msgid "A selected list of users"
msgstr ""
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Accept"
-msgstr "Prihvati"
-
-#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_goal_definition_action_id
msgid "Action"
msgstr "Akcija"
@@ -207,7 +402,7 @@ msgstr "Akcija"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_active
msgid "Active"
-msgstr "Aktivno"
+msgstr "Aktivan"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
@@ -238,10 +433,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
@@ -325,7 +518,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 ""
@@ -334,12 +527,12 @@ 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 "Otkaži"
+msgstr "Odustani"
#. module: gamification
#: selection:gamification.goal,state:0
msgid "Canceled"
-msgstr "Отказано"
+msgstr "Otkazano"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
@@ -349,23 +542,16 @@ 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 ""
@@ -445,22 +631,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 "Uslov"
-
-#. module: gamification
#: model:ir.actions.act_window,name:gamification.action_new_simplified_res_users
msgid "Create User"
msgstr ""
@@ -503,7 +680,7 @@ msgstr "Kreirao"
#: 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 "Kreiran"
+msgstr "Datum kreiranja"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_create_uid
@@ -542,6 +719,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 "
@@ -549,12 +727,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 ""
@@ -565,7 +738,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
@@ -581,7 +755,6 @@ msgstr "Opis"
#. 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 ""
@@ -595,9 +768,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 "Ime za prikaz"
+msgstr "Naziv za prikaz"
#. 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 ""
@@ -622,17 +796,18 @@ msgid "Done"
msgstr "Završeno"
#. 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 "Priprema"
+msgstr "Nacrt"
#. 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 "Završni Datum"
+msgstr "Završni datum"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition_batch_mode
@@ -641,12 +816,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
@@ -745,6 +915,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
@@ -753,7 +930,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"
@@ -782,7 +959,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 ""
@@ -803,7 +982,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 ""
@@ -849,7 +1027,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 "Grupisano po"
+msgstr "Grupiši po"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_report_message_group_id
@@ -872,6 +1050,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
@@ -890,7 +1073,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
@@ -906,7 +1089,7 @@ msgstr "Slika"
#. module: gamification
#: selection:gamification.challenge,state:0
msgid "In Progress"
-msgstr "U Progresu"
+msgstr "U toku"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_definition_form_view
@@ -941,22 +1124,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
@@ -966,7 +1139,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 "Zadnja izmjena"
+msgstr "Zadnja promena"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_last_report_date
@@ -988,7 +1161,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 "Zadnja izmjena"
+msgstr "Promenio"
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_user_wizard_write_date
@@ -1000,7 +1173,7 @@ msgstr "Zadnja izmjena"
#: 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 "Zadnja izmjena"
+msgstr "Vreme promene"
#. module: gamification
#: selection:gamification.challenge,visibility_mode:0
@@ -1020,7 +1193,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_ids
msgid "Lines"
-msgstr "redova"
+msgstr "Stavke"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_ids
@@ -1092,7 +1265,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_name
msgid "Name"
-msgstr "Ime:"
+msgstr "Naziv"
#. module: gamification
#: selection:gamification.challenge,report_message_frequency:0
@@ -1105,6 +1278,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 ""
@@ -1125,7 +1303,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 ""
@@ -1176,11 +1354,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 ""
@@ -1242,7 +1415,7 @@ msgstr ""
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.goal_form_view
msgid "Reference"
-msgstr "Referenca"
+msgstr "Šifra"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.challenge_form_view
@@ -1250,16 +1423,16 @@ msgid "Refresh Challenge"
msgstr ""
#. module: gamification
-#: model:ir.ui.view,arch_db:gamification.view_challenge_wizard
-msgid "Reject"
-msgstr ""
-
-#. module: gamification
#: model:ir.actions.act_window,name:gamification.goals_from_challenge_act
msgid "Related Goals"
msgstr ""
#. module: gamification
+#: 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 "Korisničko ime povezano je sa pristupom i upravljanjem modulima"
+
+#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_badge_remaining_sending
msgid "Remaining Sending Allowed"
msgstr ""
@@ -1300,14 +1473,13 @@ msgid "Responsible"
msgstr "Odgovoran"
#. 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 ""
@@ -1391,7 +1563,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,field_description:gamification.field_gamification_challenge_line_sequence
msgid "Sequence"
-msgstr "Sekvenca"
+msgstr "Prioritet"
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_challenge_line_sequence
@@ -1404,21 +1576,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 ""
@@ -1445,7 +1625,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 "region"
+msgstr "Status"
#. module: gamification
#: model:ir.ui.view,arch_db:gamification.badge_form_view
@@ -1460,7 +1640,7 @@ msgstr "Pretplata"
#. 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 "Sufiks"
@@ -1485,13 +1665,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 ""
@@ -1515,7 +1697,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"
@@ -1557,25 +1739,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 ""
@@ -1594,7 +1775,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
@@ -1623,11 +1805,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 ""
@@ -1653,21 +1837,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
@@ -1676,7 +1854,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 ""
@@ -1722,7 +1900,7 @@ msgid "Update"
msgstr "Ažuriraj"
#. module: gamification
-#: code:addons/gamification/models/goal.py:495
+#: code:addons/gamification/models/goal.py:447
#, python-format
msgid "Update %s"
msgstr ""
@@ -1741,12 +1919,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 "Korisnici"
#. 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"
@@ -1781,19 +1963,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 ""
@@ -1809,13 +1991,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 ""
@@ -1849,9 +2031,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
@@ -1880,11 +2061,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 ""
@@ -1898,51 +2074,3 @@ msgstr ""
#: model:ir.ui.view,arch_db:gamification.badge_kanban_view
msgid "this month"
msgstr ""
-
-#~ msgid "Action Needed"
-#~ msgstr "Potrebna akcija"
-
-#~ msgid "Date of the last message posted on the record."
-#~ msgstr "Datum zadnje poslate poruke na slog."
-
-#~ msgid "Followers"
-#~ msgstr "Pratioci"
-
-#~ msgid "Followers (Channels)"
-#~ msgstr "Pratioci (kanali)"
-
-#~ msgid "Followers (Partners)"
-#~ msgstr "Pratioci (partneri)"
-
-#~ msgid "If checked new messages require your attention."
-#~ msgstr "Ako je označeno, nove poruke zahtjevaju pažnju"
-
-#~ msgid "If checked, new messages require your attention."
-#~ msgstr "Ako je označeno, nove poruke zahtjevaju pažnju"
-
-#~ msgid "Is Follower"
-#~ msgstr "Je pratioc"
-
-#~ msgid "Last Message Date"
-#~ msgstr "Datum zadnje poruke"
-
-#~ msgid "Messages"
-#~ msgstr "Poruke"
-
-#~ msgid "Messages and communication history"
-#~ msgstr "Poruke i istorija komunikacije"
-
-#~ msgid "Number of Actions"
-#~ msgstr "Broj akcija"
-
-#~ msgid "Number of messages which requires an action"
-#~ msgstr "Broj poruka koje zahtjevaju akciju"
-
-#~ msgid "Number of unread messages"
-#~ msgstr "Broj nepročitanih poruka"
-
-#~ msgid "Unread Messages"
-#~ msgstr "Nepročitane poruke"
-
-#~ msgid "Unread Messages Counter"
-#~ msgstr "Brojač nepročitanih poruka"