Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

Commit

Permalink
Fix small translation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Malte311 committed Dec 24, 2020
1 parent 3ad54c5 commit 2d4832c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "FinanceList-Desktop",
"version": "2.0.1",
"version": "2.0.2",
"description": "A cross-platform finance manager",
"main": "./src/app/main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/app/scripts/view/indexView.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class IndexView extends View {
this.storage.readMainStorage('recurring').sort((a, b) => a.name < b.name ? -1 : 1).forEach(t => {
let allocOn = t.allocationOn;
tableRows.push([
t.name, this.printNum(t.amount), t.type, allocOn ? '\u2013' : t.budget,
t.name, this.printNum(t.amount), this.textData[t.type], allocOn ? '\u2013' : t.budget,
t.category, timestampToString(t.nextDate), this.textData['intervalNames'][t.interval],
t.endDate > 0 ? timestampToString(t.endDate) : '\u2013',
this.elt('button', {
Expand Down
2 changes: 1 addition & 1 deletion src/test/updates/recurrTransTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ describe('RecurrTrans', function() {
assert.strictEqual(jsonStorage.readMainStorage('budgets')[0][1], -100);
assert.strictEqual(jsonStorage.readMainStorage('allTimeEarnings')[0][1], 0);
assert.strictEqual(jsonStorage.readMainStorage('allTimeSpendings')[0][1], 100);
assert.strictEqual((new Date(recurring[0].nextDate * 1000)).getMonth(), new Date(startDate * 1000).getMonth() + 1);
assert.strictEqual((new Date(recurring[0].nextDate * 1000)).getMonth(), (new Date(startDate * 1000).getMonth() + 1) % 12);
});
});

Expand Down

0 comments on commit 2d4832c

Please sign in to comment.