Skip to content

Commit d9c283c

Browse files
committed
missing localization
1 parent 8b4482e commit d9c283c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

api/parts/mgmt/cms.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,15 +163,15 @@ cmsApi.saveEntries = function(params) {
163163
entries = JSON.parse(params.qstring.entries);
164164
}
165165
catch (ex) {
166-
log.e(entries);
166+
log.e(params.qstring.entries);
167167
common.returnMessage(params, 400, 'Invalid entries parameter');
168168
return;
169169
}
170170

171171
transformAndStoreData(
172172
Object.assign({dataTransformed: true}, params),
173173
null,
174-
JSON.parse(params.qstring.entries),
174+
entries,
175175
function(err1) {
176176
if (err1) {
177177
log.e('An error occured while storing entries in DB: ' + err1);

frontend/express/public/localization/dashboard/dashboard.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ common.in-last-weeks-plural = in the last {0} weeks
290290
common.in-last-weeks = in the last week
291291
common.in-last-months-plural = in the last {0} months
292292
common.in-last-months = in the last month
293+
common.in-last-years-plural = in the last {0} years
294+
common.in-last-years = in the last year
293295
common.time-period-select.custom-range = Custom range
294296
common.time-period-select.presets = Presets
295297
common.time-period-select.last-n = In the last

0 commit comments

Comments
 (0)