Skip to content

Commit

Permalink
fix: fix minor thing
Browse files Browse the repository at this point in the history
Signed-off-by: sulmo <[email protected]>
  • Loading branch information
sulmoJ committed Nov 14, 2024
1 parent c11c86c commit e8942f8
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const handleSaveChanges = async () => {
},
});
await initDomain(config);
showSuccessMessage(i18n.t('COMMON.SUCCESS'), '');
showSuccessMessage(i18n.t('COST_EXPLORER.CURRENCY_CONVERTER_PAGE.UPDATE_SUCCESS_ALT'), '');
} catch (e) {
ErrorHandler.handleRequestError(e, e.message);
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const fillMissingMonths = (dataList: CostXYChartData[]): CostXYChartData[] => {
const startDate = dayjs(dataList[0]?.date).utc();
let currentDate = startDate;
while (!currentDate.isAfter(today, 'month')) {
while (currentDate.isBefore(today, 'month')) {
const dateToCheck = currentDate.clone();
const data = dataList.find((item) => dayjs(item.date).utc().isSame(dateToCheck, 'month'));
result.push(
Expand Down
21 changes: 21 additions & 0 deletions packages/language-pack/console-translation-2.8.babel
Original file line number Diff line number Diff line change
Expand Up @@ -32337,6 +32337,27 @@
</translation>
</translations>
</concept_node>
<concept_node>
<name>UPDATE_SUCCESS_ALT</name>
<definition_loaded>false</definition_loaded>
<description/>
<comment/>
<default_text/>
<translations>
<translation>
<language>en-US</language>
<approved>true</approved>
</translation>
<translation>
<language>ja-JP</language>
<approved>true</approved>
</translation>
<translation>
<language>ko-KR</language>
<approved>true</approved>
</translation>
</translations>
</concept_node>
</children>
</folder_node>
</children>
Expand Down
3 changes: 2 additions & 1 deletion packages/language-pack/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1826,7 +1826,8 @@
"AGGREGATION_DATE": "Aggregation Date",
"EXCHANGE_RATE_SOURCE": "Exchange Rate Source",
"LAST_DAY_OF_THE_MONTH": "Last day of the month",
"NOTIFICATION": "Once aggregated, date changes will take effect starting next month."
"NOTIFICATION": "Once aggregated, date changes will take effect starting next month.",
"UPDATE_SUCCESS_ALT": "Currency Settings successfully updated"
}
},
"DASHBOARDS": {
Expand Down
3 changes: 2 additions & 1 deletion packages/language-pack/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -1826,7 +1826,8 @@
"AGGREGATION_DATE": "集計日",
"EXCHANGE_RATE_SOURCE": "為替基準",
"LAST_DAY_OF_THE_MONTH": "月末",
"NOTIFICATION": "集計が完了すると、日付の変更は翌月から適用されます。"
"NOTIFICATION": "集計が完了すると、日付の変更は翌月から適用されます。",
"UPDATE_SUCCESS_ALT": "通貨設定が正常に更新されました"
}
},
"DASHBOARDS": {
Expand Down
3 changes: 2 additions & 1 deletion packages/language-pack/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -1826,7 +1826,8 @@
"AGGREGATION_DATE": "집계 날짜",
"EXCHANGE_RATE_SOURCE": "환율 기준",
"LAST_DAY_OF_THE_MONTH": "매월 마지막일 ",
"NOTIFICATION": "집계가 완료되면, 날짜 변경은 다음 달부터 적용됩니다."
"NOTIFICATION": "집계가 완료되면, 날짜 변경은 다음 달부터 적용됩니다.",
"UPDATE_SUCCESS_ALT": "환율 설정 업데이트 완료"
}
},
"DASHBOARDS": {
Expand Down

0 comments on commit e8942f8

Please sign in to comment.