From d9d1b05d4a7dfebdba0f302a50bf29d257c8ed67 Mon Sep 17 00:00:00 2001 From: Azmi TOUIL <42934070+AzmiTouil@users.noreply.github.com> Date: Mon, 26 Aug 2024 14:14:09 +0200 Subject: [PATCH] fix: Implement default programs to discover the platform community options - MEED-7343 - MEED-2836 - Meeds-io/meeds#2322 - Meeds-io/meeds#2321 (#543) This PR will Implement a default programs to discover the platform community options --- .../src/main/resources/default-rules.json | 12 ++++++++++++ .../locale/addon/Gamification_en.properties | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 wallet-services/src/main/resources/default-rules.json diff --git a/wallet-services/src/main/resources/default-rules.json b/wallet-services/src/main/resources/default-rules.json new file mode 100644 index 0000000000..caac00b295 --- /dev/null +++ b/wallet-services/src/main/resources/default-rules.json @@ -0,0 +1,12 @@ +{ + "rules": [ + { + "event": "createWallet", + "score": 10, + "appendEmoji": "\uD83D\uDCB3", + "programTitle": "Getting Started", + "recurrence": "ONCE", + "defaultRealizationStatus": "ACCEPTED" + } + ] +} diff --git a/wallet-services/src/main/resources/locale/addon/Gamification_en.properties b/wallet-services/src/main/resources/locale/addon/Gamification_en.properties index b77fa6f036..f445f38d5b 100644 --- a/wallet-services/src/main/resources/locale/addon/Gamification_en.properties +++ b/wallet-services/src/main/resources/locale/addon/Gamification_en.properties @@ -3,3 +3,6 @@ gamification.event.description.createWallet=You Initialize your wallet gamification.event.display.yourWallet=Your Wallet gamification.achievement.cannotUpdateStatus.tooltip=Status cannot be updated as reward have been sent + +gamification.defaultProgram.rule.createWallet.title=Initialize your wallet +gamification.defaultProgram.rule.createWallet.description=Initialize your wallet to receive rewards, to buy or sell products in the perkstore