From ba65d0ec4ba61c6ca1fddad57d6d5bc3e30522f9 Mon Sep 17 00:00:00 2001 From: Azmi TOUIL <42934070+AzmiTouil@users.noreply.github.com> Date: Mon, 20 May 2024 12:56:20 +0200 Subject: [PATCH] fix: Add missing translation for crowdin events - MEED-6860 - Meeds-io/MIPs#121 (#15) --- .../src/main/resources/locale/addon/Gamification_en.properties | 1 + .../js/CrowdinConnectorService.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gamification-crowdin-webapp/src/main/resources/locale/addon/Gamification_en.properties b/gamification-crowdin-webapp/src/main/resources/locale/addon/Gamification_en.properties index 5d1b2ed..7ae51b1 100644 --- a/gamification-crowdin-webapp/src/main/resources/locale/addon/Gamification_en.properties +++ b/gamification-crowdin-webapp/src/main/resources/locale/addon/Gamification_en.properties @@ -11,6 +11,7 @@ gamification.event.description.suggestionApproved=User translation is approved gamification.event.title.suggestionDisapproved=Approval is removed gamification.event.title.approveSuggestion=Approve Translation gamification.event.description.approveSuggestion=Approve a translation +gamification.event.title.disapproveSuggestion=Disapprove a translation gamification.event.form.project=Project gamification.event.form.project.placeholder=Select project diff --git a/gamification-crowdin-webapp/src/main/webapp/vue-app/crowdinAdminConnectorExtension/js/CrowdinConnectorService.js b/gamification-crowdin-webapp/src/main/webapp/vue-app/crowdinAdminConnectorExtension/js/CrowdinConnectorService.js index d26a98a..ce53cad 100644 --- a/gamification-crowdin-webapp/src/main/webapp/vue-app/crowdinAdminConnectorExtension/js/CrowdinConnectorService.js +++ b/gamification-crowdin-webapp/src/main/webapp/vue-app/crowdinAdminConnectorExtension/js/CrowdinConnectorService.js @@ -66,7 +66,7 @@ export function getWebHookDirectories(projectId, offset, limit) { if (resp?.ok) { return resp.json(); } else { - throw new Error('Error when getting github webhooks'); + throw new Error('Error when getting crowdin webhook directories'); } }); }