diff --git a/portlets/src/main/resources/locale/portlet/Challenges_en.properties b/portlets/src/main/resources/locale/portlet/Challenges_en.properties index b09dff798e..7a197cb750 100644 --- a/portlets/src/main/resources/locale/portlet/Challenges_en.properties +++ b/portlets/src/main/resources/locale/portlet/Challenges_en.properties @@ -253,8 +253,8 @@ program.form.programColor.RuleExampleDescription=Here is the description when ex program.form.programColor.programColorAlreadyUsed=Color already used by another program. Please select another one. program.form.errorSavingProgram=An error occurred while saving your program. Please contact administrators. -program.createProgramsTitle=List incentive programs as open so visitors can start participating -program.createProgram=Manage Programs +program.createProgramsTitle=Create incentive programs and start rewarding your users +program.createProgram=Create program rule.form.translateTitle=Add translations to title rule.form.translateDescription=Add translations to description @@ -389,9 +389,6 @@ gamification.overview.label.firstAnnounecement=Be the first to do it gamification.overview.label.actionsAvailable=Available Actions search.connector.label.rules=Actions -gamification.overview.programsOverviewSummary=Let's do it smoothly by {0}doing this program{1} -gamification.overview.topChallengersSummary=Challenge yourself by taking actions and be known -gamification.overview.challengesOverviewSummary=Don't rush and {0}start checking these actions{1} gamification.overview.programs=Programs gamification.overview.leaderboard=Leaderboard gamification.overview.actions=Actions diff --git a/portlets/src/main/resources/locale/portlet/Challenges_fr.properties b/portlets/src/main/resources/locale/portlet/Challenges_fr.properties index 597033ce32..440eb618fd 100644 --- a/portlets/src/main/resources/locale/portlet/Challenges_fr.properties +++ b/portlets/src/main/resources/locale/portlet/Challenges_fr.properties @@ -389,19 +389,11 @@ gamification.overview.label.firstAnnounecement=A vous de participer gamification.overview.label.actionsAvailable=Actions disponibles search.connector.label.rules=Actions -gamification.overview.programs=Programmes -gamification.overview.weeklyLeaderboard=Classement hebdomadaire -gamification.overview.actions=Actions -gamification.overview.actionsList=Actions pour la sélection -gamification.overview.programsList=Liste des programmes -gamification.overview.leaderboard.drawer.title=Classement -gamification.overview.programsFilter.drawer.title=Filtrer par programme -gamification.overview.userAchievementsList.drawer.title=Liste des accomplissements -gamification.overview.reputationKudosSummary={0}Félicitez vos pairs{1} pour les encourager à contribuer et à partager davantage -gamification.overview.reputationKudosSummaryForExternal=Envoyez des kudos aux autres membres de votre communauté pour les encourager à participer davantage ! -gamification.overview.reputationBadgesSummary=Obtenez des badges liés à vos actions et valorisez vos compétences -gamification.overview.firstActionsToDoTitle=Actions à faire en premier -gamification.overview.endingActionsTitle=Bientôt terminé +gamification.overview.reputationKudosSummary={0}F\u00E9licitez vos pairs{1} pour les encourager \u00E0 contribuer et \u00E0 partager davantage +gamification.overview.reputationKudosSummaryForExternal=Envoyez des kudos aux autres membres de votre communaut\u00E9 pour les encourager \u00E0 participer davantage ! +gamification.overview.reputationBadgesSummary=Obtenez des badges li\u00E9s \u00E0 vos actions et valorisez vos comp\u00E9tences +gamification.overview.firstActionsToDoTitle=Actions \u00E0 faire en premier +gamification.overview.endingActionsTitle=Bient\u00F4t termin\u00E9 gamification.overview.availableActionsTitle=Actions disponibles gamification.overview.upcomingActionsTitle=Actions à venir gamification.hiddenProgram=Programme caché diff --git a/portlets/src/main/webapp/vue-app/create-program-button/main.js b/portlets/src/main/webapp/vue-app/create-program-button/main.js index 2c2faf8f34..b7437f38c4 100644 --- a/portlets/src/main/webapp/vue-app/create-program-button/main.js +++ b/portlets/src/main/webapp/vue-app/create-program-button/main.js @@ -19,7 +19,7 @@ */ import './initComponents.js'; -const lang = eXo?.env?.portal?.language || 'en'; +const lang = eXo && eXo.env && eXo.env.portal && eXo.env.portal.language || 'en'; const urls = [ `${eXo.env.portal.context}/${eXo.env.portal.rest}/i18n/bundle/locale.portlet.Challenges-${lang}.json` ]; diff --git a/portlets/src/main/webapp/vue-app/engagement-center-programs/components/form/ProgramDrawer.vue b/portlets/src/main/webapp/vue-app/engagement-center-programs/components/form/ProgramDrawer.vue index 580730f32c..e09258a545 100644 --- a/portlets/src/main/webapp/vue-app/engagement-center-programs/components/form/ProgramDrawer.vue +++ b/portlets/src/main/webapp/vue-app/engagement-center-programs/components/form/ProgramDrawer.vue @@ -475,13 +475,6 @@ export default { window.location.hash = ''; } }, - spaceId() { - this.openSpace = null; - if (this.spaceId) { - this.$spaceService.getSpaceById(this.spaceId) - .then(space => this.openSpace = (space?.subscription === 'open')); - } - }, }, created() { this.$root.$on('program-form-open', this.open); diff --git a/portlets/src/main/webapp/vue-app/programsOverview/components/ProgramsOverview.vue b/portlets/src/main/webapp/vue-app/programsOverview/components/ProgramsOverview.vue index 8adc043baa..7d231ac8ce 100644 --- a/portlets/src/main/webapp/vue-app/programsOverview/components/ProgramsOverview.vue +++ b/portlets/src/main/webapp/vue-app/programsOverview/components/ProgramsOverview.vue @@ -44,20 +44,20 @@ :key="index" class="flex-grow-1" /> - - - - - + + - +