aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/l10n.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/l10n.ts')
-rw-r--r--server/sonar-web/src/main/js/helpers/l10n.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/helpers/l10n.ts b/server/sonar-web/src/main/js/helpers/l10n.ts
index 149955f2844..bf1a5969784 100644
--- a/server/sonar-web/src/main/js/helpers/l10n.ts
+++ b/server/sonar-web/src/main/js/helpers/l10n.ts
@@ -42,7 +42,7 @@ export function translateWithParameters(
const message = getMessages()[messageKey];
if (message) {
return parameters
- .map(parameter => String(parameter))
+ .map((parameter) => String(parameter))
.reduce((acc, parameter, index) => acc.replace(`{${index}}`, () => parameter), message);
}
if (process.env.NODE_ENV === 'development') {
@@ -88,7 +88,7 @@ export function getShortMonthName(index: number) {
'Sep',
'Oct',
'Nov',
- 'Dec'
+ 'Dec',
];
return translate(months[index]);
}