Expand frontend, first attempt at sorting.

This commit is contained in:
James Cole
2024-02-25 18:09:52 +01:00
parent 243f283bfd
commit 9222c82af0
66 changed files with 1989 additions and 554 deletions

View File

@@ -24,7 +24,7 @@ declare(strict_types=1);
namespace FireflyIII\Api\V2\Controllers\Transaction\List; namespace FireflyIII\Api\V2\Controllers\Transaction\List;
use FireflyIII\Api\V2\Controllers\Controller; use FireflyIII\Api\V2\Controllers\Controller;
use FireflyIII\Api\V2\Request\Model\Transaction\ListByCountRequest; use FireflyIII\Api\V2\Request\Model\Transaction\InfiniteListRequest;
use FireflyIII\Api\V2\Request\Model\Transaction\ListRequest; use FireflyIII\Api\V2\Request\Model\Transaction\ListRequest;
use FireflyIII\Helpers\Collector\GroupCollectorInterface; use FireflyIII\Helpers\Collector\GroupCollectorInterface;
use FireflyIII\Transformers\V2\TransactionGroupTransformer; use FireflyIII\Transformers\V2\TransactionGroupTransformer;
@@ -60,9 +60,6 @@ class TransactionController extends Controller
$collector->setEnd($end); $collector->setEnd($end);
} }
// $collector->dumpQuery();
// exit;
$paginator = $collector->getPaginatedGroups(); $paginator = $collector->getPaginatedGroups();
$params = $request->buildParams($pageSize); $params = $request->buildParams($pageSize);
$paginator->setPath( $paginator->setPath(
@@ -79,8 +76,11 @@ class TransactionController extends Controller
; ;
} }
public function listByCount(ListByCountRequest $request): JsonResponse public function infiniteList(InfiniteListRequest $request): JsonResponse
{ {
// get sort instructions
$instructions = $request->getSortInstructions();
// collect transactions: // collect transactions:
/** @var GroupCollectorInterface $collector */ /** @var GroupCollectorInterface $collector */
$collector = app(GroupCollectorInterface::class); $collector = app(GroupCollectorInterface::class);
@@ -89,6 +89,7 @@ class TransactionController extends Controller
->setStartRow($request->getStartRow()) ->setStartRow($request->getStartRow())
->setEndRow($request->getEndRow()) ->setEndRow($request->getEndRow())
->setTypes($request->getTransactionTypes()) ->setTypes($request->getTransactionTypes())
->setSorting($instructions)
; ;
$start = $this->parameters->get('start'); $start = $this->parameters->get('start');
@@ -105,7 +106,7 @@ class TransactionController extends Controller
$paginator->setPath( $paginator->setPath(
sprintf( sprintf(
'%s?%s', '%s?%s',
route('api.v2.transactions.list'), route('api.v2.infinite.transactions.list'),
$params $params
) )
); );

View File

@@ -31,10 +31,10 @@ use FireflyIII\Support\Request\ConvertsDataTypes;
use Illuminate\Foundation\Http\FormRequest; use Illuminate\Foundation\Http\FormRequest;
/** /**
* Class ListRequest * Class InfiniteListRequest
* Used specifically to list transactions. * Used specifically to list transactions.
*/ */
class ListByCountRequest extends FormRequest class InfiniteListRequest extends FormRequest
{ {
use ChecksLogin; use ChecksLogin;
use ConvertsDataTypes; use ConvertsDataTypes;
@@ -88,6 +88,29 @@ class ListByCountRequest extends FormRequest
return 0 === $page || $page > 65536 ? 1 : $page; return 0 === $page || $page > 65536 ? 1 : $page;
} }
public function getSortInstructions(): array {
$allowed = config('firefly.sorting.allowed.transactions');
$set = $this->get('sorting', []);
$result= [];
if(0 === count($set)) {
return [];
}
foreach($set as $info) {
$column = $info['column'] ?? 'NOPE';
$direction = $info['direction'] ?? 'NOPE';
if('asc' !== $direction && 'desc' !== $direction) {
// skip invalid direction
continue;
}
if(in_array($column, $allowed, true) === false) {
// skip invalid column
continue;
}
$result[$column] = $direction;
}
return $result;
}
public function getTransactionTypes(): array public function getTransactionTypes(): array
{ {
$type = (string)$this->get('type', 'default'); $type = (string)$this->get('type', 'default');

View File

@@ -33,6 +33,8 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
*/ */
trait CollectorProperties trait CollectorProperties
{ {
public array $sorting;
public const string TEST = 'Test'; public const string TEST = 'Test';
private ?int $endRow; private ?int $endRow;
private bool $expandGroupSearch; private bool $expandGroupSearch;

View File

@@ -25,7 +25,6 @@ namespace FireflyIII\Helpers\Collector;
use Carbon\Carbon; use Carbon\Carbon;
use Carbon\Exceptions\InvalidFormatException; use Carbon\Exceptions\InvalidFormatException;
use Exception;
use FireflyIII\Exceptions\FireflyException; use FireflyIII\Exceptions\FireflyException;
use FireflyIII\Helpers\Collector\Extensions\AccountCollection; use FireflyIII\Helpers\Collector\Extensions\AccountCollection;
use FireflyIII\Helpers\Collector\Extensions\AmountCollection; use FireflyIII\Helpers\Collector\Extensions\AmountCollection;
@@ -62,6 +61,7 @@ class GroupCollector implements GroupCollectorInterface
*/ */
public function __construct() public function __construct()
{ {
$this->sorting = [];
$this->postFilters = []; $this->postFilters = [];
$this->tags = []; $this->tags = [];
$this->user = null; $this->user = null;
@@ -467,6 +467,9 @@ class GroupCollector implements GroupCollectorInterface
// filter the array using all available post filters: // filter the array using all available post filters:
$collection = $this->postFilterCollection($collection); $collection = $this->postFilterCollection($collection);
// sort the collection, if sort instructions are present.
$collection = $this->sortCollection($collection);
// count it and continue: // count it and continue:
$this->total = $collection->count(); $this->total = $collection->count();
@@ -985,8 +988,7 @@ class GroupCollector implements GroupCollectorInterface
'transactions as source', 'transactions as source',
static function (JoinClause $join): void { static function (JoinClause $join): void {
$join->on('source.transaction_journal_id', '=', 'transaction_journals.id') $join->on('source.transaction_journal_id', '=', 'transaction_journals.id')
->where('source.amount', '<', 0) ->where('source.amount', '<', 0);
;
} }
) )
// join destination transaction // join destination transaction
@@ -994,8 +996,7 @@ class GroupCollector implements GroupCollectorInterface
'transactions as destination', 'transactions as destination',
static function (JoinClause $join): void { static function (JoinClause $join): void {
$join->on('destination.transaction_journal_id', '=', 'transaction_journals.id') $join->on('destination.transaction_journal_id', '=', 'transaction_journals.id')
->where('destination.amount', '>', 0) ->where('destination.amount', '>', 0);
;
} }
) )
// left join transaction type. // left join transaction type.
@@ -1010,8 +1011,7 @@ class GroupCollector implements GroupCollectorInterface
->orderBy('transaction_journals.order', 'ASC') ->orderBy('transaction_journals.order', 'ASC')
->orderBy('transaction_journals.id', 'DESC') ->orderBy('transaction_journals.id', 'DESC')
->orderBy('transaction_journals.description', 'DESC') ->orderBy('transaction_journals.description', 'DESC')
->orderBy('source.amount', 'DESC') ->orderBy('source.amount', 'DESC');
;
} }
/** /**
@@ -1042,8 +1042,7 @@ class GroupCollector implements GroupCollectorInterface
'transactions as source', 'transactions as source',
static function (JoinClause $join): void { static function (JoinClause $join): void {
$join->on('source.transaction_journal_id', '=', 'transaction_journals.id') $join->on('source.transaction_journal_id', '=', 'transaction_journals.id')
->where('source.amount', '<', 0) ->where('source.amount', '<', 0);
;
} }
) )
// join destination transaction // join destination transaction
@@ -1051,8 +1050,7 @@ class GroupCollector implements GroupCollectorInterface
'transactions as destination', 'transactions as destination',
static function (JoinClause $join): void { static function (JoinClause $join): void {
$join->on('destination.transaction_journal_id', '=', 'transaction_journals.id') $join->on('destination.transaction_journal_id', '=', 'transaction_journals.id')
->where('destination.amount', '>', 0) ->where('destination.amount', '>', 0);
;
} }
) )
// left join transaction type. // left join transaction type.
@@ -1067,8 +1065,7 @@ class GroupCollector implements GroupCollectorInterface
->orderBy('transaction_journals.order', 'ASC') ->orderBy('transaction_journals.order', 'ASC')
->orderBy('transaction_journals.id', 'DESC') ->orderBy('transaction_journals.id', 'DESC')
->orderBy('transaction_journals.description', 'DESC') ->orderBy('transaction_journals.description', 'DESC')
->orderBy('source.amount', 'DESC') ->orderBy('source.amount', 'DESC');
;
} }
/** /**
@@ -1083,9 +1080,43 @@ class GroupCollector implements GroupCollectorInterface
// include budget ID + name (if any) // include budget ID + name (if any)
->withBudgetInformation() ->withBudgetInformation()
// include bill ID + name (if any) // include bill ID + name (if any)
->withBillInformation() ->withBillInformation();
;
return $this; return $this;
} }
/**
* @inheritDoc
*/
#[\Override] public function sortCollection(Collection $collection): Collection
{
foreach ($this->sorting as $field => $direction) {
$func = $direction === 'ASC' ? 'sortBy' : 'sortByDesc';
$collection = $collection->$func(function (array $product, int $key) use ($field, $direction) {
// depends on $field:
if ('description' === $field) {
if (1 === count($product['transactions'])) {
return array_values($product['transactions'])[0][$field];
}
if (count($product['transactions']) > 1) {
return $product['title'];
}
return 'zzz';
}
die('here we are');
});
}
return $collection;
}
/**
* @inheritDoc
*/
#[\Override] public function setSorting(array $instructions): GroupCollectorInterface
{
$this->sorting = $instructions;
return $this;
}
} }

View File

@@ -285,6 +285,25 @@ interface GroupCollectorInterface
*/ */
public function getPaginatedGroups(): LengthAwarePaginator; public function getPaginatedGroups(): LengthAwarePaginator;
/**
*
*
* @param array $instructions
*
* @return self
*/
public function setSorting(array $instructions): self;
/**
* Sort the collection on a column.
*
* @param Collection $collection
*
* @return Collection
*/
public function sortCollection(Collection $collection): Collection;
public function hasAnyTag(): self; public function hasAnyTag(): self;
/** /**

View File

@@ -24,7 +24,6 @@ declare(strict_types=1);
namespace FireflyIII\Http\Controllers; namespace FireflyIII\Http\Controllers;
use Carbon\Carbon; use Carbon\Carbon;
use Exception;
use FireflyIII\Exceptions\FireflyException; use FireflyIII\Exceptions\FireflyException;
use FireflyIII\Http\Middleware\IsDemoUser; use FireflyIII\Http\Middleware\IsDemoUser;
use FireflyIII\Models\AccountType; use FireflyIII\Models\AccountType;
@@ -135,7 +134,7 @@ class DebugController extends Controller
} }
if ('' !== $logContent) { if ('' !== $logContent) {
// last few lines // last few lines
$logContent = 'Truncated from this point <----|'.substr((string)$logContent, -16384); $logContent = 'Truncated from this point <----|' . substr((string)$logContent, -16384);
} }
return view('debug', compact('table', 'now', 'logContent')); return view('debug', compact('table', 'now', 'logContent'));
@@ -188,6 +187,7 @@ class DebugController extends Controller
try { try {
if (file_exists('/var/www/counter-main.txt')) { if (file_exists('/var/www/counter-main.txt')) {
$return['build'] = trim((string)file_get_contents('/var/www/counter-main.txt')); $return['build'] = trim((string)file_get_contents('/var/www/counter-main.txt'));
app('log')->debug(sprintf('build is now "%s"', $return['build']));
} }
} catch (\Exception $e) { // @phpstan-ignore-line } catch (\Exception $e) { // @phpstan-ignore-line
app('log')->debug('Could not check build counter, but thats ok.'); app('log')->debug('Could not check build counter, but thats ok.');

View File

@@ -912,4 +912,11 @@ return [
// preselected account lists possibilities: // preselected account lists possibilities:
'preselected_accounts' => ['all', 'assets', 'liabilities'], 'preselected_accounts' => ['all', 'assets', 'liabilities'],
// allowed sort columns for API's
'sorting' => [
'allowed' => [
'transactions' => ['description','amount'],
],
],
]; ];

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{f as n}from"./vendor-7d6e65fe.js";function e(){return{id:"",name:"",alpine_name:""}}function o(){return{description:[],amount:[],currency_code:[],foreign_amount:[],foreign_currency_code:[],source_account:[],destination_account:[],budget_id:[],category_name:[],piggy_bank_id:[],bill_id:[],tags:[],notes:[],internal_reference:[],external_url:[],latitude:[],longitude:[],zoom_level:[],date:[],interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[]}}function d(){let t=n(new Date,"yyyy-MM-dd HH:mm");return{description:"",amount:"",currency_code:"EUR",foreign_amount:"",foreign_currency_code:"",source_account:e(),destination_account:e(),budget_id:null,category_name:"",piggy_bank_id:null,bill_id:null,tags:[],notes:"",internal_reference:"",external_url:"",hasLocation:!1,latitude:null,longitude:null,zoomLevel:null,date:t,interest_date:"",book_date:"",process_date:"",due_date:"",payment_date:"",invoice_date:"",errors:o()}}export{d as c,o as d}; import{f as n}from"./vendor-47e474ee.js";function e(){return{id:"",name:"",alpine_name:""}}function o(){return{description:[],amount:[],currency_code:[],foreign_amount:[],foreign_currency_code:[],source_account:[],destination_account:[],budget_id:[],category_name:[],piggy_bank_id:[],bill_id:[],tags:[],notes:[],internal_reference:[],external_url:[],latitude:[],longitude:[],zoom_level:[],date:[],interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[]}}function d(){let t=n(new Date,"yyyy-MM-dd HH:mm");return{description:"",amount:"",currency_code:"EUR",foreign_amount:"",foreign_currency_code:"",source_account:e(),destination_account:e(),budget_id:null,category_name:"",piggy_bank_id:null,bill_id:null,tags:[],notes:"",internal_reference:"",external_url:"",hasLocation:!1,latitude:null,longitude:null,zoomLevel:null,date:t,interest_date:"",book_date:"",process_date:"",due_date:"",payment_date:"",invoice_date:"",errors:o()}}export{d as c,o as d};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{a as s}from"./format-money-276370ed.js";let t=class{list(a){return s.get("/api/v2/subscriptions",{params:a})}paid(a){return s.get("/api/v2/subscriptions/sum/paid",{params:a})}unpaid(a){return s.get("/api/v2/subscriptions/sum/unpaid",{params:a})}};class e{list(a){return s.get("/api/v2/piggy-banks",{params:a})}}export{t as G,e as a}; import{a as s}from"./format-money-2cbd3c32.js";let t=class{list(a){return s.get("/api/v2/subscriptions",{params:a})}paid(a){return s.get("/api/v2/subscriptions/sum/paid",{params:a})}unpaid(a){return s.get("/api/v2/subscriptions/sum/unpaid",{params:a})}};class e{list(a){return s.get("/api/v2/piggy-banks",{params:a})}}export{t as G,e as a};

View File

@@ -1 +0,0 @@
import{a as t}from"./format-money-276370ed.js";class n{list(a){return t.get("/api/v2/transactions",{params:a})}listByCount(a){return t.get("/api/v2/transactions-inf",{params:a})}show(a,s){return t.get("/api/v2/transactions/"+a,{params:s})}}export{n as G};

View File

@@ -0,0 +1 @@
import{a as t}from"./format-money-2cbd3c32.js";class n{list(a){return t.get("/api/v2/transactions",{params:a})}infiniteList(a){return t.get("/api/v2/infinite/transactions",{params:a})}show(a,i){return t.get("/api/v2/transactions/"+a,{params:i})}}export{n as G};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{c as o}from"./create-empty-split-d23e6a0d.js";import{f as _}from"./vendor-7d6e65fe.js";function l(a,r){let n=[];for(let i in a)if(a.hasOwnProperty(i)){let e=a[i],t=o();t.transaction_journal_id=e.transaction_journal_id,t.transaction_group_id=r,t.bill_id=e.bill_id,t.bill_name=e.bill_name,t.budget_id=e.budget_id,t.budget_name=e.budget_name,t.category_name=e.category_name,t.category_id=e.category_id,t.piggy_bank_id=e.piggy_bank_id,t.piggy_bank_name=e.piggy_bank_name,t.book_date=e.book_date,t.due_date=e.due_date,t.interest_date=e.interest_date,t.invoice_date=e.invoice_date,t.payment_date=e.payment_date,t.process_date=e.process_date,t.external_url=e.external_url,t.internal_reference=e.internal_reference,t.notes=e.notes,t.tags=e.tags,t.amount=parseFloat(e.amount).toFixed(e.currency_decimal_places),t.currency_code=e.currency_code,e.foreign_amount!==null&&(t.forein_currency_code=e.foreign_currency_code,t.foreign_amount=parseFloat(e.foreign_amount).toFixed(e.foreign_currency_decimal_places)),t.date=_(new Date(e.date),"yyyy-MM-dd HH:mm"),t.description=e.description,t.destination_account={id:e.destination_id,name:e.destination_name,type:e.destination_type,alpine_name:e.destination_name},t.source_account={id:e.source_id,name:e.source_name,type:e.source_type,alpine_name:e.source_name},e.latitude!==null&&(t.hasLocation=!0,t.latitude=e.latitude,t.longitude=e.longitude,t.zoomLevel=e.zoom_level),n.push(t)}return n}export{l as p}; import{c as o}from"./create-empty-split-c1e678fd.js";import{f as _}from"./vendor-47e474ee.js";function l(a,r){let n=[];for(let i in a)if(a.hasOwnProperty(i)){let e=a[i],t=o();t.transaction_journal_id=e.transaction_journal_id,t.transaction_group_id=r,t.bill_id=e.bill_id,t.bill_name=e.bill_name,t.budget_id=e.budget_id,t.budget_name=e.budget_name,t.category_name=e.category_name,t.category_id=e.category_id,t.piggy_bank_id=e.piggy_bank_id,t.piggy_bank_name=e.piggy_bank_name,t.book_date=e.book_date,t.due_date=e.due_date,t.interest_date=e.interest_date,t.invoice_date=e.invoice_date,t.payment_date=e.payment_date,t.process_date=e.process_date,t.external_url=e.external_url,t.internal_reference=e.internal_reference,t.notes=e.notes,t.tags=e.tags,t.amount=parseFloat(e.amount).toFixed(e.currency_decimal_places),t.currency_code=e.currency_code,e.foreign_amount!==null&&(t.forein_currency_code=e.foreign_currency_code,t.foreign_amount=parseFloat(e.foreign_amount).toFixed(e.foreign_currency_decimal_places)),t.date=_(new Date(e.date),"yyyy-MM-dd HH:mm"),t.description=e.description,t.destination_account={id:e.destination_id,name:e.destination_name,type:e.destination_type,alpine_name:e.destination_name},t.source_account={id:e.source_id,name:e.source_name,type:e.source_type,alpine_name:e.source_name},e.latitude!==null&&(t.hasLocation=!0,t.latitude=e.latitude,t.longitude=e.longitude,t.zoomLevel=e.zoom_level),n.push(t)}return n}export{l as p};

View File

@@ -1 +1 @@
import{a as p}from"./format-money-276370ed.js";class u{put(t,a){let r="/api/v2/transactions/"+parseInt(a.id);return p.put(r,t)}}export{u as P}; import{a as p}from"./format-money-2cbd3c32.js";class u{put(t,a){let r="/api/v2/transactions/"+parseInt(a.id);return p.put(r,t)}}export{u as P};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,67 +1,67 @@
{ {
"_create-empty-split-d23e6a0d.js": { "_create-empty-split-c1e678fd.js": {
"file": "assets/create-empty-split-d23e6a0d.js", "file": "assets/create-empty-split-c1e678fd.js",
"imports": [ "imports": [
"_vendor-7d6e65fe.js" "_vendor-47e474ee.js"
], ],
"integrity": "sha384-G+5G6Xm7728NMnk0oWJS9kxM5Km9psKBVZ08qIfoGFWPjESZGeg1h/+98At4E/WN" "integrity": "sha384-awdlECTPTzFBi+ZAQ60m+Cmmj17qMARX4xtLnsqtOdsKtG7uIvF1X0TfarYwlLgu"
}, },
"_format-money-276370ed.js": { "_format-money-2cbd3c32.js": {
"file": "assets/format-money-276370ed.js", "file": "assets/format-money-2cbd3c32.js",
"imports": [ "imports": [
"_vendor-7d6e65fe.js" "_vendor-47e474ee.js"
], ],
"integrity": "sha384-vhYVNjV1L3mz/3BBACNO8VpNLCfpkLSofstl09s58ftTvV9v7R3Pf29odDFqBnwT" "integrity": "sha384-kUnpyNEiPM3XPVtLKGsI9E4m6E0SMsWwPPUX8eVUCTXvjdK3paDf2CsKageQsOXi"
}, },
"_get-5385bfb8.js": { "_get-4f3e9dd6.js": {
"file": "assets/get-5385bfb8.js", "file": "assets/get-4f3e9dd6.js",
"imports": [ "imports": [
"_format-money-276370ed.js" "_format-money-2cbd3c32.js"
], ],
"integrity": "sha384-u+flHXw41EyY3WMLglsu0iKG/8pJv+oIB5j35TKZ07tgPY1ZR0JFrt712Sho2H6U" "integrity": "sha384-u6Nv4ChDb9JuRSjKiNReNk6J+kv4UA3EyzwAzGt3vRtNbx6w1+K5sjL/bBMeTaa/"
}, },
"_get-9c5eaf42.js": { "_get-f02d6b9c.js": {
"file": "assets/get-9c5eaf42.js", "file": "assets/get-f02d6b9c.js",
"imports": [ "imports": [
"_format-money-276370ed.js" "_format-money-2cbd3c32.js"
], ],
"integrity": "sha384-f/WEwIkcWy7+Fp3n9EIi3ye/f1Gc7DhsBj3GlCtaziFDIhR3k0st+UOYPXJiiUDA" "integrity": "sha384-gHhM0aQGro5LTiV0W51KjLbyL8XxlFPUJEg9GPbbYGDIVU3P3YRSd6K+gVNFzLZW"
}, },
"_parse-downloaded-splits-7301d402.js": { "_parse-downloaded-splits-a5d66b5f.js": {
"file": "assets/parse-downloaded-splits-7301d402.js", "file": "assets/parse-downloaded-splits-a5d66b5f.js",
"imports": [ "imports": [
"_create-empty-split-d23e6a0d.js", "_create-empty-split-c1e678fd.js",
"_vendor-7d6e65fe.js" "_vendor-47e474ee.js"
], ],
"integrity": "sha384-324q/7kpTy+l3jW4P6UmvOgRC5S87QHeEOPwYOuqA9L3wjxtK/93oEKGrJUNENXJ" "integrity": "sha384-N72VeLz5t7BVlDdZYeb/mhn2MBFJ40DcB6EPeiPUIYHYf2axOb6UDlVJ/6RFkbW4"
}, },
"_put-016ad2aa.js": { "_put-375c2f08.js": {
"file": "assets/put-016ad2aa.js", "file": "assets/put-375c2f08.js",
"imports": [ "imports": [
"_format-money-276370ed.js" "_format-money-2cbd3c32.js"
], ],
"integrity": "sha384-DKKUTBz9EWX2vzOQ2A4Vn5e1ON2nXUNOLDlJwiiPt+2iGT+k65mLq81eS/s6EEuE" "integrity": "sha384-3rM8b6WdTZH9DgPum1l/grHzsVDMHaKviqDy1kfCAPr4ggScf90rOJittYpkzacT"
}, },
"_splice-errors-into-transactions-5f35da56.js": { "_splice-errors-into-transactions-8731db70.js": {
"file": "assets/splice-errors-into-transactions-5f35da56.js", "file": "assets/splice-errors-into-transactions-8731db70.js",
"imports": [ "imports": [
"_format-money-276370ed.js", "_format-money-2cbd3c32.js",
"_get-5385bfb8.js", "_get-4f3e9dd6.js",
"_vendor-7d6e65fe.js" "_vendor-47e474ee.js"
], ],
"integrity": "sha384-3EIWNPOd+ladRMvAr6BSp6x8v3YMRk2+T7yNS1ndtSecalzMmNcs2vGqvH3PtQ5d" "integrity": "sha384-hAbV6DNkFCK/dE5/bmoccrJAFz+/LUYnDwcjD0xD3hSonUhv36uASdA3G/1YC7mW"
}, },
"_vendor-7d6e65fe.js": { "_vendor-47e474ee.js": {
"assets": [ "assets": [
"assets/layers-1dbbe9d0.png", "assets/layers-1dbbe9d0.png",
"assets/layers-2x-066daca8.png", "assets/layers-2x-066daca8.png",
"assets/marker-icon-574c3a5c.png" "assets/marker-icon-574c3a5c.png"
], ],
"css": [ "css": [
"assets/vendor-6fbf50c2.css" "assets/vendor-5c5099b4.css"
], ],
"file": "assets/vendor-7d6e65fe.js", "file": "assets/vendor-47e474ee.js",
"integrity": "sha384-jfp1Arqk8dWt9tANXFuzc1/4hTRQHnStQ3utSI7PRJIIGOPkuSbtXvWwoS01/rU0" "integrity": "sha384-iPGOtcjJtQb3YU+RLNE34lsXfFLqMoqCQO6telvpyWCnoBbUnrFCPCTyyqbqjVrZ"
}, },
"node_modules/@fortawesome/fontawesome-free/webfonts/fa-brands-400.ttf": { "node_modules/@fortawesome/fontawesome-free/webfonts/fa-brands-400.ttf": {
"file": "assets/fa-brands-400-5656d596.ttf", "file": "assets/fa-brands-400-5656d596.ttf",
@@ -109,45 +109,45 @@
"integrity": "sha384-wg83fCOXjBtqzFAWhTL9Sd9vmLUNhfEEzfmNUX9zwv2igKlz/YQbdapF4ObdxF+R" "integrity": "sha384-wg83fCOXjBtqzFAWhTL9Sd9vmLUNhfEEzfmNUX9zwv2igKlz/YQbdapF4ObdxF+R"
}, },
"resources/assets/v2/pages/dashboard/dashboard.js": { "resources/assets/v2/pages/dashboard/dashboard.js": {
"file": "assets/dashboard-52719b55.js", "file": "assets/dashboard-ff9938f0.js",
"imports": [ "imports": [
"_format-money-276370ed.js", "_format-money-2cbd3c32.js",
"_vendor-7d6e65fe.js", "_vendor-47e474ee.js",
"_get-9c5eaf42.js", "_get-f02d6b9c.js",
"_get-5385bfb8.js" "_get-4f3e9dd6.js"
], ],
"isEntry": true, "isEntry": true,
"src": "resources/assets/v2/pages/dashboard/dashboard.js", "src": "resources/assets/v2/pages/dashboard/dashboard.js",
"integrity": "sha384-/ZicfekJs+eY9d8hudM1sp75G02pwy3qvJVVZQnPyOsAnnZr00zTnw2aNO2VP6RV" "integrity": "sha384-ptHLIPXakGRWe8dWim7Qxgub4wolfi5rktBj2EjNw5tyt8hLq+8p+lTsBKZe5Vay"
}, },
"resources/assets/v2/pages/transactions/create.js": { "resources/assets/v2/pages/transactions/create.js": {
"file": "assets/create-f971d025.js", "file": "assets/create-6dc4ec8c.js",
"imports": [ "imports": [
"_format-money-276370ed.js", "_format-money-2cbd3c32.js",
"_create-empty-split-d23e6a0d.js", "_create-empty-split-c1e678fd.js",
"_splice-errors-into-transactions-5f35da56.js", "_splice-errors-into-transactions-8731db70.js",
"_vendor-7d6e65fe.js", "_vendor-47e474ee.js",
"_get-5385bfb8.js" "_get-4f3e9dd6.js"
], ],
"isEntry": true, "isEntry": true,
"src": "resources/assets/v2/pages/transactions/create.js", "src": "resources/assets/v2/pages/transactions/create.js",
"integrity": "sha384-VXHLxSPAeGFUirI2Fi87QWBdqrfUwVsk/SounkRkg4V+pwd43tYpWH82ilhPomvu" "integrity": "sha384-OUiIH870uiZ8Y+/Gl2WLNSLwS8bi6mFgbixL18oCvpeSSN3pLbbmO9M+kzLlXNc9"
}, },
"resources/assets/v2/pages/transactions/edit.js": { "resources/assets/v2/pages/transactions/edit.js": {
"file": "assets/edit-203e67aa.js", "file": "assets/edit-0910e359.js",
"imports": [ "imports": [
"_format-money-276370ed.js", "_format-money-2cbd3c32.js",
"_get-9c5eaf42.js", "_get-f02d6b9c.js",
"_parse-downloaded-splits-7301d402.js", "_parse-downloaded-splits-a5d66b5f.js",
"_splice-errors-into-transactions-5f35da56.js", "_splice-errors-into-transactions-8731db70.js",
"_vendor-7d6e65fe.js", "_vendor-47e474ee.js",
"_create-empty-split-d23e6a0d.js", "_create-empty-split-c1e678fd.js",
"_put-016ad2aa.js", "_put-375c2f08.js",
"_get-5385bfb8.js" "_get-4f3e9dd6.js"
], ],
"isEntry": true, "isEntry": true,
"src": "resources/assets/v2/pages/transactions/edit.js", "src": "resources/assets/v2/pages/transactions/edit.js",
"integrity": "sha384-gYKrdZOLPJkdTeMLoHIW+FMebvFMfUNPCn4Q71HDmxAtsiW17h0LRac0sFtyZHey" "integrity": "sha384-Smw6gaEtHn2l/l5nhp9uJECUCllEW15POxog/VrDYewPxLT6CI8UGwb4HheiB/WR"
}, },
"resources/assets/v2/pages/transactions/index.css": { "resources/assets/v2/pages/transactions/index.css": {
"file": "assets/index-badb0a41.css", "file": "assets/index-badb0a41.css",
@@ -158,16 +158,16 @@
"css": [ "css": [
"assets/index-badb0a41.css" "assets/index-badb0a41.css"
], ],
"file": "assets/index-5175d98b.js", "file": "assets/index-b671e1f6.js",
"imports": [ "imports": [
"_format-money-276370ed.js", "_format-money-2cbd3c32.js",
"_vendor-7d6e65fe.js", "_vendor-47e474ee.js",
"_get-9c5eaf42.js", "_put-375c2f08.js",
"_put-016ad2aa.js" "_get-f02d6b9c.js"
], ],
"isEntry": true, "isEntry": true,
"src": "resources/assets/v2/pages/transactions/index.js", "src": "resources/assets/v2/pages/transactions/index.js",
"integrity": "sha384-cmVKGOocXWnEA5n1iaINtHa1tdBFNCMR4ZZfz2Jc3HUIeeYzIgwsvor3bhYBUa7y" "integrity": "sha384-a8oV6QHeLzx4nrH94wGnskMTNRBtqe4czFukp4Oe2TQQNZuTfrjVggAjz73/bLRo"
}, },
"resources/assets/v2/pages/transactions/show.css": { "resources/assets/v2/pages/transactions/show.css": {
"file": "assets/show-8b1429e5.css", "file": "assets/show-8b1429e5.css",
@@ -178,17 +178,17 @@
"css": [ "css": [
"assets/show-8b1429e5.css" "assets/show-8b1429e5.css"
], ],
"file": "assets/show-02715d84.js", "file": "assets/show-56332d03.js",
"imports": [ "imports": [
"_format-money-276370ed.js", "_format-money-2cbd3c32.js",
"_vendor-7d6e65fe.js", "_vendor-47e474ee.js",
"_get-9c5eaf42.js", "_get-f02d6b9c.js",
"_parse-downloaded-splits-7301d402.js", "_parse-downloaded-splits-a5d66b5f.js",
"_create-empty-split-d23e6a0d.js" "_create-empty-split-c1e678fd.js"
], ],
"isEntry": true, "isEntry": true,
"src": "resources/assets/v2/pages/transactions/show.js", "src": "resources/assets/v2/pages/transactions/show.js",
"integrity": "sha384-inJIAdNVPOYF/O3nt1dpCNRVgDf4JXCcWERHJB9JoWlOhaP/j6WnfBKGJVwNwZxX" "integrity": "sha384-XW7YpsZ3chBtH2rwEihpodG3MbkOMLsnHUJXdnMDsd2KNXA+r8TBJ/tr7zrMKPyV"
}, },
"resources/assets/v2/sass/app.scss": { "resources/assets/v2/sass/app.scss": {
"file": "assets/app-fb7b26ec.css", "file": "assets/app-fb7b26ec.css",
@@ -197,8 +197,8 @@
"integrity": "sha384-asG3EmbviAZntc1AzgJpoF+jBChn+oq/7eQfYWrCdJ1Ku/c7rJ82sstr6Eptxqgd" "integrity": "sha384-asG3EmbviAZntc1AzgJpoF+jBChn+oq/7eQfYWrCdJ1Ku/c7rJ82sstr6Eptxqgd"
}, },
"vendor.css": { "vendor.css": {
"file": "assets/vendor-6fbf50c2.css", "file": "assets/vendor-5c5099b4.css",
"src": "vendor.css", "src": "vendor.css",
"integrity": "sha384-0YVccvAWchjHnv20Seb0KZBtTsv9I25fn2FuQ23kgKg6ST+hYNb95i7F6T/1sC58" "integrity": "sha384-fuxDSSJzQG1poc2mzRLFPq/IyFj4PVqkzpKGfyITI6LS28dMB6kUQJOFX7cUIFiI"
} }
} }

43
public/v2/i18n/bg.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "bg",
"date_time_fns": "MMMM do, yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "\u041f\u043e\u0445\u0430\u0440\u0447\u0435\u043d\u0438",
"left": "\u041e\u0441\u0442\u0430\u043d\u0430\u043b\u0438",
"paid": "\u041f\u043b\u0430\u0442\u0435\u043d\u0438",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "\u041d\u0435\u043f\u043b\u0430\u0442\u0435\u043d\u0438",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Suscripciones en el grupo \"%{title}\"",
"subscr_expected_x_times": "Se debe pagar %{amount} %{times} veces este periodo",
"overspent": "\u041f\u0440\u0435\u0440\u0430\u0437\u0445\u043e\u0434",
"money_flowing_in": "\u0412\u0445\u043e\u0434\u044f\u0449\u0438",
"money_flowing_out": "\u0418\u0437\u0445\u043e\u0434\u044f\u0449\u0438",
"category": "\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f",
"unknown_category_plain": "No category",
"all_money": "All your money",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "\u041f\u0440\u0435\u0445\u0432\u044a\u0440\u043b\u044f\u043d\u0435",
"Withdrawal": "\u0422\u0435\u0433\u043b\u0435\u043d\u0435",
"Deposit": "\u0414\u0435\u043f\u043e\u0437\u0438\u0442",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "\u0411\u044e\u0434\u0436\u0435\u0442",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "\u0414\u044a\u043b\u0433",
"account_type_Loan": "\u0417\u0430\u0435\u043c",
"account_type_Mortgage": "\u0418\u043f\u043e\u0442\u0435\u043a\u0430"
}
}

43
public/v2/i18n/ca.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "ca",
"date_time_fns": "D [de\/d'] MMMM yyyy [a les] HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Gastat",
"left": "Queda",
"paid": "Pagat",
"errors_submission_v2": "Hi ha hagut un error amb el teu enviament. Per favor, comprova els seg\u00fcents errors: %{errorMessage}",
"unpaid": "Pendent de pagament",
"default_group_title_name_plain": "no agrupades",
"subscriptions_in_group": "Subscripcions al grup \"%{title}\"",
"subscr_expected_x_times": "S'espera que pagues %{amount} %{times} vegades aquest per\u00edode",
"overspent": "Gastat de m\u00e9s",
"money_flowing_in": "Entrant",
"money_flowing_out": "Eixint",
"category": "Categoria",
"unknown_category_plain": "Sense categoria",
"all_money": "Tots els teus diners",
"unknown_source_plain": "Compte font desconegut",
"unknown_dest_plain": "Compte de dest\u00ed desconegut",
"unknown_any_plain": "Compte desconegut",
"unknown_budget_plain": "Cap pressupost",
"stored_journal_js": "S'ha creat la transacci\u00f3 \"%{description}\" correctament",
"wait_loading_transaction": "Per favor, espera que carregui el formulari",
"nothing_found": "(no s'ha trobat res)",
"wait_loading_data": "Per favor, espera que carregui la teva informaci\u00f3...",
"Transfer": "Transfer\u00e8ncia",
"Withdrawal": "Retirada",
"Deposit": "Ingr\u00e9s",
"expense_account": "Compte de despeses",
"revenue_account": "Compte d'ingressos",
"budget": "Pressupost",
"account_type_Asset account": "Compte d'actius",
"account_type_Expense account": "Compte de despeses",
"account_type_Revenue account": "Compte d'ingressos",
"account_type_Debt": "Deute",
"account_type_Loan": "Cr\u00e8dit",
"account_type_Mortgage": "Hipoteca"
}
}

43
public/v2/i18n/cs.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "cs",
"date_time_fns": "MMMM do, yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Utraceno",
"left": "Zb\u00fdv\u00e1",
"paid": "Zaplaceno",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "Nezaplaceno",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period",
"overspent": "P\u0159ekro\u010deny v\u00fddaje",
"money_flowing_in": "Vstup",
"money_flowing_out": "V\u00fdstup",
"category": "Kategorie",
"unknown_category_plain": "No category",
"all_money": "All your money",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "P\u0159evod",
"Withdrawal": "V\u00fdb\u011br",
"Deposit": "Vklad",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "Rozpo\u010det",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "Dluh",
"account_type_Loan": "P\u016fj\u010dka",
"account_type_Mortgage": "Hypot\u00e9ka"
}
}

43
public/v2/i18n/da.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "da",
"date_time_fns": "MMMM g\u00f8r, yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Spent",
"left": "Left",
"paid": "Paid",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "Ubetalt",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period",
"overspent": "Overspent",
"money_flowing_in": "In",
"money_flowing_out": "Ud",
"category": "Kategori",
"unknown_category_plain": "No category",
"all_money": "All your money",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "Overf\u00f8rsel",
"Withdrawal": "H\u00e6vet",
"Deposit": "Indbetaling",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "Budget",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "G\u00e6ld",
"account_type_Loan": "L\u00e5n",
"account_type_Mortgage": "Pant"
}
}

43
public/v2/i18n/de.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "de",
"date_time_fns": "dd. MMM. yyyy um HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Ausgegeben",
"left": "\u00dcbrig",
"paid": "Bezahlt",
"errors_submission_v2": "Bei Ihren Eingaben stimmt etwas nicht. Bitte \u00fcberpr\u00fcfen Sie die nachfolgenden Fehler: %{errorMessage}",
"unpaid": "Unbezahlt",
"default_group_title_name_plain": "ungruppiert",
"subscriptions_in_group": "Abonnements in Gruppe \"%{title}\"",
"subscr_expected_x_times": "Die Zahlung von %{amount} wird in diesem Zeitraum %{times}-mal erwartet",
"overspent": "Zuviel ausgegeben",
"money_flowing_in": "Eingehend",
"money_flowing_out": "Ausgehend",
"category": "Kategorie",
"unknown_category_plain": "Keine Kategorie",
"all_money": "All Ihr Geld",
"unknown_source_plain": "Unbekanntes Quellkonto",
"unknown_dest_plain": "Unbekanntes Zielkonto",
"unknown_any_plain": "Unbekanntes Konto",
"unknown_budget_plain": "Kein Budget",
"stored_journal_js": "Neue Buchung \u201e%{description}\u201d erfolgreich erstellt",
"wait_loading_transaction": "Bitte warten Sie, bis das Formular geladen wurde",
"nothing_found": "(nichts gefunden)",
"wait_loading_data": "Bitte warten Sie, bis Ihre Informationen geladen wurden \u2026",
"Transfer": "Umbuchung",
"Withdrawal": "Ausgabe",
"Deposit": "Einnahme",
"expense_account": "Ausgabenkonto",
"revenue_account": "Einnahmekonto",
"budget": "Budget",
"account_type_Asset account": "Bestandskonto",
"account_type_Expense account": "Ausgabenkonto",
"account_type_Revenue account": "Einnahmenkonto",
"account_type_Debt": "Schuld",
"account_type_Loan": "Darlehen",
"account_type_Mortgage": "Hypothek"
}
}

43
public/v2/i18n/el.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "el",
"date_time_fns": "do MMMM yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "\u0394\u03b1\u03c0\u03b1\u03bd\u03ae\u03b8\u03b7\u03ba\u03b1\u03bd",
"left": "\u0391\u03c0\u03bf\u03bc\u03ad\u03bd\u03bf\u03c5\u03bd",
"paid": "\u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ad\u03bd\u03bf",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "\u0391\u03c0\u03bb\u03ae\u03c1\u03c9\u03c4\u03bf",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period",
"overspent": "\u03a5\u03c0\u03ad\u03c1\u03b2\u03b1\u03c3\u03b7 \u03c0\u03c1\u03bf\u03cb\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03ce\u03bd",
"money_flowing_in": "\u0395\u03b9\u03c3\u03c1\u03bf\u03ad\u03c2",
"money_flowing_out": "\u0395\u03ba\u03c1\u03bf\u03ad\u03c2",
"category": "\u039a\u03b1\u03c4\u03b7\u03b3\u03bf\u03c1\u03af\u03b1",
"unknown_category_plain": "No category",
"all_money": "All your money",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "\u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03b8\u03b7\u03ba\u03b5 \u03b5\u03c0\u03b9\u03c4\u03c5\u03c7\u03ce\u03c2 \u03b7 \u03bd\u03ad\u03b1 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "\u039c\u03b5\u03c4\u03b1\u03c6\u03bf\u03c1\u03ac",
"Withdrawal": "\u0391\u03bd\u03ac\u03bb\u03b7\u03c8\u03b7",
"Deposit": "\u039a\u03b1\u03c4\u03ac\u03b8\u03b5\u03c3\u03b7",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "\u03a0\u03c1\u03bf\u03cb\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03cc\u03c2",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "\u03a7\u03c1\u03ad\u03bf\u03c2",
"account_type_Loan": "\u0394\u03ac\u03bd\u03b5\u03b9\u03bf",
"account_type_Mortgage": "\u03a5\u03c0\u03bf\u03b8\u03ae\u03ba\u03b7"
}
}

43
public/v2/i18n/en-gb.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "en-gb",
"date_time_fns": "MMMM do, yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Spent",
"left": "Left",
"paid": "Paid",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "Unpaid",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period",
"overspent": "Overspent",
"money_flowing_in": "In",
"money_flowing_out": "Out",
"category": "Category",
"unknown_category_plain": "No category",
"all_money": "All your money",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "Transfer",
"Withdrawal": "Withdrawal",
"Deposit": "Deposit",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "Budget",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "Debt",
"account_type_Loan": "Loan",
"account_type_Mortgage": "Mortgage"
}
}

43
public/v2/i18n/es.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "es",
"date_time_fns": "El MMMM hacer, yyyy a las HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Gastado",
"left": "Disponible",
"paid": "Pagado",
"errors_submission_v2": "Hubo un problema con su env\u00edo. Por favor, compruebe los siguientes errores: %{errorMessage}",
"unpaid": "No pagado",
"default_group_title_name_plain": "sin agrupar",
"subscriptions_in_group": "Suscripciones en el grupo \"%{title}\"",
"subscr_expected_x_times": "Se espera pagar %{amount} %{times} veces este periodo",
"overspent": "Sobrepasadas",
"money_flowing_in": "Entrada",
"money_flowing_out": "Salida",
"category": "Categoria",
"unknown_category_plain": "Sin categor\u00eda",
"all_money": "Todo tu dinero",
"unknown_source_plain": "Cuenta origen desconocida",
"unknown_dest_plain": "Direcci\u00f3n de destino desconocida",
"unknown_any_plain": "Cuenta desconocida",
"unknown_budget_plain": "Sin presupuesto",
"stored_journal_js": "Nueva transacci\u00f3n creada con \u00e9xito \"%{description}\"",
"wait_loading_transaction": "Por favor, espere a que se cargue el formulario",
"nothing_found": "(no se encontr\u00f3 nada)",
"wait_loading_data": "Por favor, espere a que su informaci\u00f3n se cargue...",
"Transfer": "Transferencia",
"Withdrawal": "Gasto",
"Deposit": "Ingreso",
"expense_account": "Cuenta de gastos",
"revenue_account": "Cuenta de ingresos",
"budget": "Presupuesto",
"account_type_Asset account": "Cuenta de activos",
"account_type_Expense account": "Cuenta de gastos",
"account_type_Revenue account": "Cuenta de ingresos",
"account_type_Debt": "Deuda",
"account_type_Loan": "Pr\u00e9stamo",
"account_type_Mortgage": "Hipoteca"
}
}

43
public/v2/i18n/fi.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "fi",
"date_time_fns": "MMMM do, yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "K\u00e4ytetty",
"left": "J\u00e4ljell\u00e4",
"paid": "Maksettu",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "Maksamatta",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period",
"overspent": "Varojen ylitys",
"money_flowing_in": "Sis\u00e4\u00e4n",
"money_flowing_out": "Ulos",
"category": "Kategoria",
"unknown_category_plain": "No category",
"all_money": "All your money",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "Siirto",
"Withdrawal": "Nosto",
"Deposit": "Talletus",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "Budjetti",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "Velka",
"account_type_Loan": "Laina",
"account_type_Mortgage": "Kiinnelaina"
}
}

43
public/v2/i18n/fr.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "fr",
"date_time_fns": "do MMMM, yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "D\u00e9pens\u00e9",
"left": "Reste",
"paid": "Pay\u00e9",
"errors_submission_v2": "Certaines informations ne sont pas correctes dans votre formulaire. Veuillez v\u00e9rifier les erreurs ci-dessous : %{errorMessage}",
"unpaid": "Impay\u00e9",
"default_group_title_name_plain": "non group\u00e9",
"subscriptions_in_group": "Abonnements dans le groupe \"%{title}\"",
"subscr_expected_x_times": "%{amount} \u00e0 payer %{times} fois cette p\u00e9riode",
"overspent": "Trop d\u00e9pens\u00e9",
"money_flowing_in": "Entr\u00e9e",
"money_flowing_out": "Sortie",
"category": "Cat\u00e9gorie",
"unknown_category_plain": "Sans cat\u00e9gorie",
"all_money": "Tout votre argent",
"unknown_source_plain": "Compte source inconnu",
"unknown_dest_plain": "Compte de destination inconnu",
"unknown_any_plain": "Compte inconnu",
"unknown_budget_plain": "Pas de budget",
"stored_journal_js": "Op\u00e9ration \"%{description}\" cr\u00e9\u00e9e avec succ\u00e8s",
"wait_loading_transaction": "Veuillez patienter pendant le chargement du formulaire",
"nothing_found": "(aucun r\u00e9sultat)",
"wait_loading_data": "Veuillez attendre que vos informations soient charg\u00e9es...",
"Transfer": "Transfert",
"Withdrawal": "D\u00e9pense",
"Deposit": "D\u00e9p\u00f4t",
"expense_account": "Compte de d\u00e9penses",
"revenue_account": "Compte de recettes",
"budget": "Budget",
"account_type_Asset account": "Compte d\u2019actif",
"account_type_Expense account": "Compte de d\u00e9penses",
"account_type_Revenue account": "Compte de recettes",
"account_type_Debt": "Dette",
"account_type_Loan": "Pr\u00eat",
"account_type_Mortgage": "Pr\u00eat hypoth\u00e9caire"
}
}

43
public/v2/i18n/hu.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "hu",
"date_time_fns": "MMMM do, yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Elk\u00f6lt\u00f6tt",
"left": "Maradv\u00e1ny",
"paid": "Kifizetve",
"errors_submission_v2": "Hiba t\u00f6rt\u00e9nt a bek\u00fcld\u00e9s sor\u00e1n. K\u00e9rlek jav\u00edtsd az al\u00e1bbi hib\u00e1kat: %{errorMessage}",
"unpaid": "Nincs fizetve",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period",
"overspent": "T\u00falk\u00f6lt\u00f6tt",
"money_flowing_in": "Be",
"money_flowing_out": "Ki",
"category": "Kateg\u00f3ria",
"unknown_category_plain": "No category",
"all_money": "All your money",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "K\u00e9rlek v\u00e1rj az \u0171rlap bet\u00f6lt\u00e9s\u00e9ig",
"nothing_found": "(nincs tal\u00e1lat)",
"wait_loading_data": "K\u00e9rlek v\u00e1rj am\u00edg bet\u00f6ltj\u00fck az adatokat...",
"Transfer": "\u00c1tvezet\u00e9s",
"Withdrawal": "K\u00f6lts\u00e9g",
"Deposit": "Bev\u00e9tel",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "K\u00f6lts\u00e9gkeret",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "Ad\u00f3ss\u00e1g",
"account_type_Loan": "Hitel",
"account_type_Mortgage": "Jelz\u00e1log"
}
}

43
public/v2/i18n/id.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "id",
"date_time_fns": "do MMMM yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Menghabiskan",
"left": "Kiri",
"paid": "Dibayar",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "Tidak dibayar",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period",
"overspent": "Overspent",
"money_flowing_in": "Dalam",
"money_flowing_out": "Keluar",
"category": "Kategori",
"unknown_category_plain": "No category",
"all_money": "All your money",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "Transfer",
"Withdrawal": "Penarikan",
"Deposit": "Deposit",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "Anggaran",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "Debt",
"account_type_Loan": "Loan",
"account_type_Mortgage": "Mortgage"
}
}

43
public/v2/i18n/it.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "it",
"date_time_fns": "do MMMM yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Speso",
"left": "Resto",
"paid": "Pagati",
"errors_submission_v2": "Errore durante l'invio. Controlla gli errori segnalati qui sotto: %{errorMessage}",
"unpaid": "Da pagare",
"default_group_title_name_plain": "non raggruppato",
"subscriptions_in_group": "Abbonamenti nel gruppo \"%{title}\"",
"subscr_expected_x_times": "Prevedi di pagare %{amount} %{times} volte in questo periodo",
"overspent": "Speso troppo",
"money_flowing_in": "Entrate",
"money_flowing_out": "Uscite",
"category": "Categoria",
"unknown_category_plain": "Nessuna categoria",
"all_money": "Tutto il tuo denaro",
"unknown_source_plain": "Conto d'origine sconosciuto",
"unknown_dest_plain": "Conto di destinazione sconosciuto",
"unknown_any_plain": "Conto sconosciuto",
"unknown_budget_plain": "Nessun budget",
"stored_journal_js": "Nuova transazione \"%{description}\" creata correttamente",
"wait_loading_transaction": "Attendi il caricamento del modello",
"nothing_found": "(nessun risultato)",
"wait_loading_data": "Ti preghiamo di attendere il caricamento delle tue informazioni...",
"Transfer": "Trasferimento",
"Withdrawal": "Prelievo",
"Deposit": "Entrata",
"expense_account": "Conto di spese",
"revenue_account": "Conto di entrate",
"budget": "Budget",
"account_type_Asset account": "Conto di risorse",
"account_type_Expense account": "Conto di spesa",
"account_type_Revenue account": "Conto di entrate",
"account_type_Debt": "Debito",
"account_type_Loan": "Prestito",
"account_type_Mortgage": "Mutuo"
}
}

43
public/v2/i18n/ja.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "ja",
"date_time_fns": "yyyy\u5e74MMMM\u6708do\u65e5 HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "\u652f\u51fa",
"left": "\u6b8b\u308a",
"paid": "\u652f\u6255\u3044\u6e08\u307f",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "\u672a\u6255\u3044",
"default_group_title_name_plain": "\u30b0\u30eb\u30fc\u30d7\u89e3\u9664",
"subscriptions_in_group": "\u30b0\u30eb\u30fc\u30d7\u300c%{title}\u300d\u306e\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3",
"subscr_expected_x_times": "\u3053\u306e\u671f\u9593\u306b %{amount} %{times} \u56de\u306e\u652f\u6255\u3044\u3092\u4e88\u5b9a",
"overspent": "\u4f7f\u3044\u3059\u304e",
"money_flowing_in": "\u5165",
"money_flowing_out": "\u51fa",
"category": "\u30ab\u30c6\u30b4\u30ea",
"unknown_category_plain": "\u30ab\u30c6\u30b4\u30ea\u306a\u3057",
"all_money": "\u3059\u3079\u3066\u306e\u304a\u91d1",
"unknown_source_plain": "\u4e0d\u660e\u306a\u5f15\u304d\u51fa\u3057\u53e3\u5ea7",
"unknown_dest_plain": "\u4e0d\u660e\u306a\u9810\u3051\u5165\u308c\u53e3\u5ea7",
"unknown_any_plain": "\u4e0d\u660e\u306a\u53e3\u5ea7",
"unknown_budget_plain": "\u4e88\u7b97\u306a\u3057",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "\u9001\u91d1",
"Withdrawal": "\u51fa\u91d1",
"Deposit": "\u9810\u91d1",
"expense_account": "\u652f\u51fa\u53e3\u5ea7",
"revenue_account": "\u53ce\u5165\u53e3\u5ea7",
"budget": "\u4e88\u7b97",
"account_type_Asset account": "\u8cc7\u7523\u53e3\u5ea7",
"account_type_Expense account": "\u652f\u51fa\u53e3\u5ea7",
"account_type_Revenue account": "\u53ce\u5165\u53e3\u5ea7",
"account_type_Debt": "\u501f\u91d1",
"account_type_Loan": "\u30ed\u30fc\u30f3",
"account_type_Mortgage": "\u4f4f\u5b85\u30ed\u30fc\u30f3"
}
}

43
public/v2/i18n/ko.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "ko",
"date_time_fns": "YYYY\ub144 M\uc6d4 D\uc77c HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "\uc9c0\ucd9c",
"left": "\ub0a8\uc74c",
"paid": "\uc9c0\ubd88\ub428",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "\ubbf8\uc9c0\ubd88",
"default_group_title_name_plain": "\uadf8\ub8f9 \ud574\uc81c\ub428",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period",
"overspent": "\ucd08\uacfc \uc9c0\ucd9c",
"money_flowing_in": "\ub4e4\uc5b4\uc634",
"money_flowing_out": "\ub098\uac10",
"category": "\uce74\ud14c\uace0\ub9ac",
"unknown_category_plain": "\uce74\ud14c\uace0\ub9ac \uc5c6\uc74c",
"all_money": "\ubaa8\ub4e0 \ub3c8",
"unknown_source_plain": "\uc54c \uc218 \uc5c6\ub294 \uc18c\uc2a4 \uacc4\uc815",
"unknown_dest_plain": "\uc54c \uc218 \uc5c6\ub294 \ub300\uc0c1 \uacc4\uc815",
"unknown_any_plain": "\uc54c \uc218 \uc5c6\ub294 \uacc4\uc815",
"unknown_budget_plain": "\uc608\uc0b0 \uc5c6\uc74c",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "\uc774\uccb4",
"Withdrawal": "\ucd9c\uae08",
"Deposit": "\uc785\uae08",
"expense_account": "\uc9c0\ucd9c \uacc4\uc815",
"revenue_account": "\uc218\uc775 \uacc4\uc815",
"budget": "\uc608\uc0b0",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "\ub300\ucd9c",
"account_type_Loan": "\ube5a",
"account_type_Mortgage": "\ubaa8\uae30\uc9c0"
}
}

43
public/v2/i18n/nb.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "nb",
"date_time_fns": "do MMMM, yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Brukt",
"left": "Gjenv\u00e6rende",
"paid": "Betalt",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "Ikke betalt",
"default_group_title_name_plain": "ikke gruppert",
"subscriptions_in_group": "Abonnementer i gruppe \"%{title}\"",
"subscr_expected_x_times": "Forvent \u00e5 betale %{amount}, %{times} ganger denne perioden",
"overspent": "Overforbruk",
"money_flowing_in": "Inn",
"money_flowing_out": "Ut",
"category": "Kategori",
"unknown_category_plain": "Ingen kategori",
"all_money": "Alle pengene dine",
"unknown_source_plain": "Ukjent kilde-konto",
"unknown_dest_plain": "Ukjent destinasjonskonto",
"unknown_any_plain": "Ukjent konto",
"unknown_budget_plain": "Mangler budsjett",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "Overf\u00f8ring",
"Withdrawal": "Uttak",
"Deposit": "Innskudd",
"expense_account": "Utgiftskonto",
"revenue_account": "Inntektskonto",
"budget": "Budsjett",
"account_type_Asset account": "Aktivakonto",
"account_type_Expense account": "Utgiftskonto",
"account_type_Revenue account": "Inntektskonto",
"account_type_Debt": "Gjeld",
"account_type_Loan": "L\u00e5n",
"account_type_Mortgage": "Boligl\u00e5n"
}
}

43
public/v2/i18n/nl.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "nl",
"date_time_fns": "d MMMM yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Uitgegeven",
"left": "Over",
"paid": "Betaald",
"errors_submission_v2": "Er ging iets mis. Check de errors: %{errorMessage}",
"unpaid": "Niet betaald",
"default_group_title_name_plain": "ongegroepeerd",
"subscriptions_in_group": "Abonnementen in groep \"%{title}\"",
"subscr_expected_x_times": "Verwacht %{amount} %{times} keer te betalen in deze periode",
"overspent": "Teveel uitgegeven",
"money_flowing_in": "In",
"money_flowing_out": "Uit",
"category": "Categorie",
"unknown_category_plain": "Geen categorie",
"all_money": "Al je geld",
"unknown_source_plain": "Onbekend bronrekening",
"unknown_dest_plain": "Onbekende doelrekening",
"unknown_any_plain": "Onbekende rekening",
"unknown_budget_plain": "Geen budget",
"stored_journal_js": "Nieuw transactie \"%{description}\" opgeslagen",
"wait_loading_transaction": "Wacht even tot het formulier geladen is",
"nothing_found": "(niets gevonden)",
"wait_loading_data": "Wacht even tot de gegevens er zijn...",
"Transfer": "Overschrijving",
"Withdrawal": "Uitgave",
"Deposit": "Inkomsten",
"expense_account": "Crediteur",
"revenue_account": "Debiteur",
"budget": "Budget",
"account_type_Asset account": "Betaalrekening",
"account_type_Expense account": "Crediteur",
"account_type_Revenue account": "Debiteur",
"account_type_Debt": "Schuld",
"account_type_Loan": "Lening",
"account_type_Mortgage": "Hypotheek"
}
}

43
public/v2/i18n/nn.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "nn",
"date_time_fns": "do MMMM, yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Brukt",
"left": "Att",
"paid": "Betalt",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "Ikke betalt",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Abonnement i gruppa \u00ab%{title}\u00bb",
"subscr_expected_x_times": "Forvent \u00e5 betal %{amount} %{times} gonger denne perioden",
"overspent": "Overforbruk",
"money_flowing_in": "Inn",
"money_flowing_out": "Ut",
"category": "Kategori",
"unknown_category_plain": "No category",
"all_money": "All your money",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "Transaksjonen \u00ab%{description}\u00bb vart oppretta",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "Overf\u00f8ring",
"Withdrawal": "Uttak",
"Deposit": "Innskudd",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "Budsjett",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "Gjeld",
"account_type_Loan": "L\u00e5n",
"account_type_Mortgage": "Boligl\u00e5n"
}
}

43
public/v2/i18n/pl.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "pl",
"date_time_fns": "do MMMM yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Wydano",
"left": "Pozosta\u0142o",
"paid": "Zap\u0142acone",
"errors_submission_v2": "Co\u015b posz\u0142o nie tak w czasie zapisu. Prosz\u0119, sprawd\u017a b\u0142\u0119dy poni\u017cej: %{errorMessage}",
"unpaid": "Niezap\u0142acone",
"default_group_title_name_plain": "bez grupy",
"subscriptions_in_group": "Subskrypcje w grupie \"%{title}\"",
"subscr_expected_x_times": "Oczekuje zap\u0142aty %{amount} %{times} razy w tym okresie",
"overspent": "Przep\u0142acono",
"money_flowing_in": "Przychodz\u0105ce",
"money_flowing_out": "Wychodz\u0105ce",
"category": "Kategoria",
"unknown_category_plain": "Brak kategorii",
"all_money": "Wszystkie Twoje pieni\u0105dze",
"unknown_source_plain": "Nieznane konto \u017ar\u00f3d\u0142owe",
"unknown_dest_plain": "Nieznane konto docelowe",
"unknown_any_plain": "Nieznane konto",
"unknown_budget_plain": "Brak bud\u017cetu",
"stored_journal_js": "Pomy\u015blnie utworzono now\u0105 transakcj\u0119 \"%{description}\"",
"wait_loading_transaction": "Poczekaj na za\u0142adowanie formularza",
"nothing_found": "(nic nie znaleziono)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "Transfer",
"Withdrawal": "Wyp\u0142ata",
"Deposit": "Wp\u0142ata",
"expense_account": "Konto wydatk\u00f3w",
"revenue_account": "Konto przychod\u00f3w",
"budget": "Bud\u017cet",
"account_type_Asset account": "Konto aktyw\u00f3w",
"account_type_Expense account": "Konto wydatk\u00f3w",
"account_type_Revenue account": "Konto przychod\u00f3w",
"account_type_Debt": "D\u0142ug",
"account_type_Loan": "Po\u017cyczka",
"account_type_Mortgage": "Hipoteka"
}
}

43
public/v2/i18n/pt-br.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "pt-br",
"date_time_fns": "dd 'de' MMMM 'de' yyyy, '\u00e0s' HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Gasto",
"left": "Restante",
"paid": "Pago",
"errors_submission_v2": "Algo deu errado com seu envio. Por favor, verifique os erros abaixo: %{errorMessage}",
"unpaid": "N\u00e3o pago",
"default_group_title_name_plain": "sem grupo",
"subscriptions_in_group": "Assinaturas no grupo \"%{title}\"",
"subscr_expected_x_times": "Espera-se pagar %{amount} %{times} vezes neste per\u00edodo",
"overspent": "Gasto excedido",
"money_flowing_in": "Entrada",
"money_flowing_out": "Sa\u00edda",
"category": "Categoria",
"unknown_category_plain": "Sem categoria",
"all_money": "Todo o seu dinheiro",
"unknown_source_plain": "Conta de origem desconhecida",
"unknown_dest_plain": "Conta de destino desconhecida",
"unknown_any_plain": "Conta desconhecida",
"unknown_budget_plain": "Nenhum or\u00e7amento",
"stored_journal_js": "Transa\u00e7\u00e3o \"%{description}\" criada com sucesso",
"wait_loading_transaction": "Por favor, aguarde o formul\u00e1rio carregar",
"nothing_found": "(nada encontrado)",
"wait_loading_data": "Por favor, aguarde suas informa\u00e7\u00f5es serem carregadas...",
"Transfer": "Transfer\u00eancia",
"Withdrawal": "Retirada",
"Deposit": "Dep\u00f3sito",
"expense_account": "Conta de despesas",
"revenue_account": "Conta de Receitas",
"budget": "Or\u00e7amento",
"account_type_Asset account": "Conta de ativos",
"account_type_Expense account": "Conta de despesas",
"account_type_Revenue account": "Conta de receitas",
"account_type_Debt": "D\u00edvida",
"account_type_Loan": "Empr\u00e9stimo",
"account_type_Mortgage": "Hipoteca"
}
}

43
public/v2/i18n/pt.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "pt",
"date_time_fns": "DO [de] MMMM YYYY, @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Gasto",
"left": "Em falta",
"paid": "Pago",
"errors_submission_v2": "Algo correu mal com o envio dos dados. Por favor verifique e corrija os erros abaixo: %{errorMessage}",
"unpaid": "Por pagar",
"default_group_title_name_plain": "sem grupo",
"subscriptions_in_group": "Subscri\u00e7\u00e3o no grupo \"%{title}\"",
"subscr_expected_x_times": "Espere pagar %{amount} %{times} neste per\u00edodo",
"overspent": "Gasto excedido",
"money_flowing_in": "Dentro",
"money_flowing_out": "Fora",
"category": "Categoria",
"unknown_category_plain": "Sem categoria",
"all_money": "Todo o seu dinheiro",
"unknown_source_plain": "Conta de origem desconhecida",
"unknown_dest_plain": "Conta de destino desconhecida",
"unknown_any_plain": "Conta desconhecida",
"unknown_budget_plain": "Sem or\u00e7amento",
"stored_journal_js": "A transa\u00e7\u00e3o \"%{description}\" foi criada com sucesso",
"wait_loading_transaction": "Por favor, aguarde o formul\u00e1rio carregar",
"nothing_found": "(sem resultados)",
"wait_loading_data": "Por favor, aguarde enquanto carregamos a sua informa\u00e7\u00e3o...",
"Transfer": "Transfer\u00eancia",
"Withdrawal": "Levantamento",
"Deposit": "Dep\u00f3sito",
"expense_account": "Conta de despesas",
"revenue_account": "Conta de receitas",
"budget": "Or\u00e7amento",
"account_type_Asset account": "Conta de ativos",
"account_type_Expense account": "Conta de gastos \/ passivos",
"account_type_Revenue account": "Conta de receitas",
"account_type_Debt": "D\u00edvida",
"account_type_Loan": "Empr\u00e9stimo",
"account_type_Mortgage": "Hipoteca"
}
}

View File

@@ -8,34 +8,34 @@
"spent": "Gasto", "spent": "Gasto",
"left": "Em falta", "left": "Em falta",
"paid": "Pago", "paid": "Pago",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}", "errors_submission_v2": "Algo correu mal com o envio dos dados. Por favor verifique e corrija os erros abaixo: %{errorMessage}",
"unpaid": "Por pagar", "unpaid": "Por pagar",
"default_group_title_name_plain": "ungrouped", "default_group_title_name_plain": "sem grupo",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"", "subscriptions_in_group": "Subscri\u00e7\u00e3o no grupo \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period", "subscr_expected_x_times": "Espere pagar %{amount} %{times} neste per\u00edodo",
"overspent": "Gasto excedido", "overspent": "Gasto excedido",
"money_flowing_in": "Dentro", "money_flowing_in": "Dentro",
"money_flowing_out": "Fora", "money_flowing_out": "Fora",
"category": "Categoria", "category": "Categoria",
"unknown_category_plain": "No category", "unknown_category_plain": "Sem categoria",
"all_money": "All your money", "all_money": "Todo o seu dinheiro",
"unknown_source_plain": "Unknown source account", "unknown_source_plain": "Conta de origem desconhecida",
"unknown_dest_plain": "Unknown destination account", "unknown_dest_plain": "Conta de destino desconhecida",
"unknown_any_plain": "Unknown account", "unknown_any_plain": "Conta desconhecida",
"unknown_budget_plain": "No budget", "unknown_budget_plain": "Sem or\u00e7amento",
"stored_journal_js": "Successfully created new transaction \"%{description}\"", "stored_journal_js": "A transa\u00e7\u00e3o \"%{description}\" foi criada com sucesso",
"wait_loading_transaction": "Please wait for the form to load", "wait_loading_transaction": "Por favor, aguarde o formul\u00e1rio carregar",
"nothing_found": "(nothing found)", "nothing_found": "(sem resultados)",
"wait_loading_data": "Please wait for your information to load...", "wait_loading_data": "Por favor, aguarde enquanto carregamos a sua informa\u00e7\u00e3o...",
"Transfer": "Transfer\u00eancia", "Transfer": "Transfer\u00eancia",
"Withdrawal": "Levantamento", "Withdrawal": "Levantamento",
"Deposit": "Dep\u00f3sito", "Deposit": "Dep\u00f3sito",
"expense_account": "Expense account", "expense_account": "Conta de despesas",
"revenue_account": "Revenue account", "revenue_account": "Conta de receitas",
"budget": "Or\u00e7amento", "budget": "Or\u00e7amento",
"account_type_Asset account": "Asset account", "account_type_Asset account": "Conta de ativos",
"account_type_Expense account": "Expense account", "account_type_Expense account": "Conta de gastos \/ passivos",
"account_type_Revenue account": "Revenue account", "account_type_Revenue account": "Conta de receitas",
"account_type_Debt": "D\u00edvida", "account_type_Debt": "D\u00edvida",
"account_type_Loan": "Empr\u00e9stimo", "account_type_Loan": "Empr\u00e9stimo",
"account_type_Mortgage": "Hipoteca" "account_type_Mortgage": "Hipoteca"

43
public/v2/i18n/ro.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "ro",
"date_time_fns": "MMMM do, yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Cheltuit",
"left": "R\u0103mas",
"paid": "Pl\u0103tit",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "Nepl\u0103tit",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period",
"overspent": "Dep\u0103\u0219ire de buget",
"money_flowing_in": "\u00cen",
"money_flowing_out": "Afar\u0103",
"category": "Categorie",
"unknown_category_plain": "No category",
"all_money": "All your money",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "Transfer",
"Withdrawal": "Retragere",
"Deposit": "Depozit",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "Buget",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "Datorie",
"account_type_Loan": "\u00cemprumut",
"account_type_Mortgage": "Credit ipotecar"
}
}

43
public/v2/i18n/ru.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "ru",
"date_time_fns": "Do MMMM yyyy, @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "\u0420\u0430\u0441\u0445\u043e\u0434",
"left": "\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c",
"paid": "\u041e\u043f\u043b\u0430\u0447\u0435\u043d\u043e",
"errors_submission_v2": "\u0421 \u0432\u0430\u0448\u0435\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0435\u0439 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043e\u0448\u0438\u0431\u043a\u0438: %{errorMessage}",
"unpaid": "\u041d\u0435 \u043e\u043f\u043b\u0430\u0447\u0435\u043d\u043e",
"default_group_title_name_plain": "\u0431\u0435\u0437 \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u043a\u0438",
"subscriptions_in_group": "\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0438 \u0432 \u0433\u0440\u0443\u043f\u043f\u0435 \"%{title}\"",
"subscr_expected_x_times": "\u041e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f \u043e\u043f\u043b\u0430\u0442\u0430 %{amount} %{times} \u0440\u0430\u0437 \u0437\u0430 \u044d\u0442\u043e\u0442 \u043f\u0435\u0440\u0438\u043e\u0434",
"overspent": "\u041f\u0435\u0440\u0435\u0440\u0430\u0441\u0445\u043e\u0434",
"money_flowing_in": "\u0412",
"money_flowing_out": "\u0418\u0437",
"category": "\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f",
"unknown_category_plain": "\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438",
"all_money": "\u0412\u0441\u0435 \u0432\u0430\u0448\u0438 \u0434\u0435\u043d\u044c\u0433\u0438",
"unknown_source_plain": "\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u0441\u0447\u0435\u0442 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a",
"unknown_dest_plain": "\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u0441\u0447\u0435\u0442 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f",
"unknown_any_plain": "\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u0441\u0447\u0435\u0442",
"unknown_budget_plain": "\u0411\u0435\u0437 \u0431\u044e\u0434\u0436\u0435\u0442\u0430",
"stored_journal_js": "\u041d\u043e\u0432\u0430\u044f \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f \"%{description}\" \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0430",
"wait_loading_transaction": "\u0414\u043e\u0436\u0434\u0438\u0442\u0435\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u043e\u0440\u043c\u044b",
"nothing_found": "(\u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e)",
"wait_loading_data": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0434\u043e\u0436\u0434\u0438\u0442\u0435\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432\u0430\u0448\u0435\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438...",
"Transfer": "\u041f\u0435\u0440\u0435\u0432\u043e\u0434",
"Withdrawal": "\u0420\u0430\u0441\u0445\u043e\u0434",
"Deposit": "\u0414\u043e\u0445\u043e\u0434",
"expense_account": "\u0421\u0447\u0435\u0442 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432",
"revenue_account": "\u0421\u0447\u0435\u0442 \u0434\u043e\u0445\u043e\u0434\u043e\u0432",
"budget": "\u0411\u044e\u0434\u0436\u0435\u0442",
"account_type_Asset account": "\u0421\u0447\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u043e\u0432",
"account_type_Expense account": "\u0421\u0447\u0435\u0442\u0430 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432",
"account_type_Revenue account": "\u0421\u0447\u0435\u0442 \u0434\u043e\u0445\u043e\u0434\u043e\u0432",
"account_type_Debt": "\u0414\u0435\u0431\u0438\u0442",
"account_type_Loan": "\u0417\u0430\u0451\u043c",
"account_type_Mortgage": "\u0418\u043f\u043e\u0442\u0435\u043a\u0430"
}
}

43
public/v2/i18n/sk.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "sk",
"date_time_fns": "MMMM do, yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Utraten\u00e9",
"left": "Zost\u00e1va",
"paid": "Uhraden\u00e9",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "Neuhraden\u00e9",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period",
"overspent": "Prekro\u010den\u00e9 v\u00fddaje",
"money_flowing_in": "Prich\u00e1dzaj\u00face",
"money_flowing_out": "Odch\u00e1dzaj\u00face",
"category": "Kateg\u00f3ria",
"unknown_category_plain": "No category",
"all_money": "All your money",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "Prevod",
"Withdrawal": "V\u00fdber",
"Deposit": "Vklad",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "Rozpo\u010det",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "Dlh",
"account_type_Loan": "P\u00f4\u017ei\u010dka",
"account_type_Mortgage": "Hypot\u00e9ka"
}
}

43
public/v2/i18n/sl.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "sl",
"date_time_fns": "MMMM do, yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Porabljeno",
"left": "Preostalo",
"paid": "Pla\u010dano",
"errors_submission_v2": "Nekaj je bilo narobe z va\u0161o oddajo. Preverite spodnje napake: %{errorMessage}",
"unpaid": "Nepla\u010dano",
"default_group_title_name_plain": "nezdru\u017eeno",
"subscriptions_in_group": "Naro\u010dnine v skupini \"%{title}\"",
"subscr_expected_x_times": "Pri\u010dakujte, da boste v tem obdobju pla\u010dali %{amount} %{times}-krat",
"overspent": "Preve\u010d porabljeno",
"money_flowing_in": "Na",
"money_flowing_out": "Iz",
"category": "Kategorija",
"unknown_category_plain": "Brez kategorije",
"all_money": "Ves va\u0161 denar",
"unknown_source_plain": "Neznan izvorni ra\u010dun",
"unknown_dest_plain": "Neznan ciljni ra\u010dun",
"unknown_any_plain": "Neznan ra\u010dun",
"unknown_budget_plain": "Ni prora\u010duna",
"stored_journal_js": "Nova transakcija \"%{description}\" je uspe\u0161no ustvarjena",
"wait_loading_transaction": "Po\u010dakajte, da se obrazec nalo\u017ei",
"nothing_found": "(ni\u010d najdenega)",
"wait_loading_data": "Po\u010dakajte, da se va\u0161i podatki nalo\u017eijo...",
"Transfer": "Prenos",
"Withdrawal": "Odliv",
"Deposit": "Priliv",
"expense_account": "Ra\u010dun stro\u0161kov",
"revenue_account": "Ra\u010dun prihodkov",
"budget": "Prora\u010dun",
"account_type_Asset account": "Ra\u010dun sredstev",
"account_type_Expense account": "Ra\u010dun stro\u0161kov",
"account_type_Revenue account": "Ra\u010dun prihodkov",
"account_type_Debt": "Dolg",
"account_type_Loan": "Posojilo",
"account_type_Mortgage": "Hipoteka"
}
}

43
public/v2/i18n/sv.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "sv",
"date_time_fns": "MMMM do, yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Spenderat",
"left": "\u00c5terst\u00e5r",
"paid": "Betald",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "Obetald",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period",
"overspent": "\u00d6veranstr\u00e4ngd",
"money_flowing_in": "In",
"money_flowing_out": "Ut",
"category": "Kategori",
"unknown_category_plain": "No category",
"all_money": "All your money",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "\u00d6verf\u00f6ring",
"Withdrawal": "Uttag",
"Deposit": "Ins\u00e4ttning",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "Budget",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "Skuld",
"account_type_Loan": "L\u00e5n",
"account_type_Mortgage": "Bol\u00e5n"
}
}

43
public/v2/i18n/tr.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "tr",
"date_time_fns": "MMMM do, yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Harcanan",
"left": "Ayr\u0131ld\u0131",
"paid": "\u00d6dendi",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "\u00d6denmedi",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period",
"overspent": "Fazladan",
"money_flowing_in": "\u0130\u00e7eri",
"money_flowing_out": "D\u0131\u015far\u0131",
"category": "Kategori",
"unknown_category_plain": "No category",
"all_money": "All your money",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "Havale",
"Withdrawal": "Para \u00c7ekme",
"Deposit": "Mevduat",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "B\u00fct\u00e7e",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "Debt",
"account_type_Loan": "Loan",
"account_type_Mortgage": "Mortgage"
}
}

43
public/v2/i18n/uk.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "uk",
"date_time_fns": "MMMM do, yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "Spent",
"left": "Left",
"paid": "Paid",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "Unpaid",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period",
"overspent": "Overspent",
"money_flowing_in": "In",
"money_flowing_out": "Out",
"category": "Category",
"unknown_category_plain": "No category",
"all_money": "\u0423\u0441\u0456 \u0432\u0430\u0448\u0456 \u0433\u0440\u043e\u0448\u0456",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "\u041f\u0435\u0440\u0435\u043a\u0430\u0437",
"Withdrawal": "\u0412\u0438\u0442\u0440\u0430\u0442\u0430",
"Deposit": "Deposit",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "Budget",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "\u0414\u0435\u0431\u0456\u0442",
"account_type_Loan": "\u041f\u043e\u0437\u0438\u043a\u0430",
"account_type_Mortgage": "\u0406\u043f\u043e\u0442\u0435\u043a\u0430"
}
}

43
public/v2/i18n/vi.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "vi",
"date_time_fns": "d MMMM yyyy @ HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "\u0110\u00e3 chi",
"left": "C\u00f2n l\u1ea1i",
"paid": "\u0110\u00e3 thanh to\u00e1n",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "Ch\u01b0a thanh to\u00e1n",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period",
"overspent": "Qu\u00e1 h\u1ea1n",
"money_flowing_in": "V\u00e0o",
"money_flowing_out": "Ra",
"category": "Danh m\u1ee5c",
"unknown_category_plain": "No category",
"all_money": "All your money",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "Chuy\u1ec3n kho\u1ea3n",
"Withdrawal": "R\u00fat ti\u1ec1n",
"Deposit": "Ti\u1ec1n g\u1eedi",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "Ng\u00e2n s\u00e1ch",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "M\u00f3n n\u1ee3",
"account_type_Loan": "Ti\u1ec1n vay",
"account_type_Mortgage": "Th\u1ebf ch\u1ea5p"
}
}

43
public/v2/i18n/zh-cn.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "zh-cn",
"date_time_fns": "YYYY\u5e74M\u6708D\u65e5 HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "\u652f\u51fa",
"left": "\u5269\u4f59",
"paid": "\u5df2\u4ed8\u6b3e",
"errors_submission_v2": "\u60a8\u7684\u63d0\u4ea4\u6709\u8bef\uff0c\u8bf7\u67e5\u770b\u4e0b\u9762\u8f93\u51fa\u7684\u9519\u8bef\u4fe1\u606f: %{errorMessage}",
"unpaid": "\u672a\u4ed8\u6b3e",
"default_group_title_name_plain": "\u672a\u5206\u7ec4",
"subscriptions_in_group": "\u5206\u7ec4\u201c%{title}\u201d\u8ba2\u9605",
"subscr_expected_x_times": "\u6b64\u5468\u671f\u9884\u8ba1\u652f\u4ed8%{amount}%{times}\u6b21",
"overspent": "\u8d85\u652f",
"money_flowing_in": "\u6d41\u5165",
"money_flowing_out": "\u6d41\u51fa",
"category": "\u5206\u7c7b",
"unknown_category_plain": "\u6ca1\u6709\u5206\u7c7b",
"all_money": "\u5168\u90e8\u8d44\u91d1",
"unknown_source_plain": "\u672a\u77e5\u6765\u6e90\u8d26\u6237",
"unknown_dest_plain": "\u672a\u77e5\u76ee\u6807\u8d26\u6237",
"unknown_any_plain": "\u672a\u77e5\u8d26\u6237",
"unknown_budget_plain": "\u65e0\u9884\u7b97",
"stored_journal_js": "\u6210\u529f\u521b\u5efa\u65b0\u4ea4\u6613 \"%{description}\"",
"wait_loading_transaction": "\u8bf7\u7b49\u5f85\u8868\u5355\u52a0\u8f7d",
"nothing_found": "(\u6ca1\u6709\u627e\u5230)",
"wait_loading_data": "\u8bf7\u7b49\u5f85\u60a8\u7684\u4fe1\u606f\u52a0\u8f7d...",
"Transfer": "\u8f6c\u8d26",
"Withdrawal": "\u652f\u51fa",
"Deposit": "\u6536\u5165",
"expense_account": "\u652f\u51fa\u8d26\u6237",
"revenue_account": "\u6536\u5165\u8d26\u6237",
"budget": "\u9884\u7b97",
"account_type_Asset account": "\u8d44\u4ea7\u8d26\u6237",
"account_type_Expense account": "\u652f\u51fa\u8d26\u6237",
"account_type_Revenue account": "\u6536\u5165\u8d26\u6237",
"account_type_Debt": "\u6b20\u6b3e",
"account_type_Loan": "\u8d37\u6b3e",
"account_type_Mortgage": "\u62b5\u62bc"
}
}

43
public/v2/i18n/zh-tw.json Normal file
View File

@@ -0,0 +1,43 @@
{
"config": {
"html_language": "zh-tw",
"date_time_fns": "YYYY\u5e74 M\u6708 D\u65e5 dddd \u65bc HH:mm:ss",
"date_time_fns_short": "MMMM do, yyyy @ HH:mm"
},
"firefly": {
"spent": "\u652f\u51fa",
"left": "\u5269\u9918",
"paid": "\u5df2\u4ed8\u6b3e",
"errors_submission_v2": "There was something wrong with your submission. Please check out the errors below: %{errorMessage}",
"unpaid": "\u672a\u4ed8\u6b3e",
"default_group_title_name_plain": "ungrouped",
"subscriptions_in_group": "Subscriptions in group \"%{title}\"",
"subscr_expected_x_times": "Expect to pay %{amount} %{times} times this period",
"overspent": "\u8d85\u652f",
"money_flowing_in": "\u6d41\u5165",
"money_flowing_out": "\u6d41\u51fa",
"category": "\u5206\u985e",
"unknown_category_plain": "No category",
"all_money": "All your money",
"unknown_source_plain": "Unknown source account",
"unknown_dest_plain": "Unknown destination account",
"unknown_any_plain": "Unknown account",
"unknown_budget_plain": "No budget",
"stored_journal_js": "Successfully created new transaction \"%{description}\"",
"wait_loading_transaction": "Please wait for the form to load",
"nothing_found": "(nothing found)",
"wait_loading_data": "Please wait for your information to load...",
"Transfer": "\u8f49\u5e33",
"Withdrawal": "\u63d0\u6b3e",
"Deposit": "\u5b58\u6b3e",
"expense_account": "Expense account",
"revenue_account": "Revenue account",
"budget": "\u9810\u7b97",
"account_type_Asset account": "Asset account",
"account_type_Expense account": "Expense account",
"account_type_Revenue account": "Revenue account",
"account_type_Debt": "\u8ca0\u50b5",
"account_type_Loan": "\u8cb8\u6b3e",
"account_type_Mortgage": "\u62b5\u62bc"
}
}

View File

@@ -10,8 +10,8 @@
"split": "Rozd\u011blit", "split": "Rozd\u011blit",
"single_split": "Rozd\u011blit", "single_split": "Rozd\u011blit",
"transaction_stored_link": "<a href=\"transactions\/show\/{ID}\">Transaction #{ID} (\"{title}\")<\/a> has been stored.", "transaction_stored_link": "<a href=\"transactions\/show\/{ID}\">Transaction #{ID} (\"{title}\")<\/a> has been stored.",
"webhook_stored_link": "<a href=\"webhooks\/show\/{ID}\">Webhook #{ID} (\"{title}\")<\/a> has been stored.", "webhook_stored_link": "<a href=\"webhooks\/show\/{ID}\">Webhook #{ID} (\"{title}\")<\/a> byl ulo\u017een.",
"webhook_updated_link": "<a href=\"webhooks\/show\/{ID}\">Webhook #{ID}<\/a> (\"{title}\") has been updated.", "webhook_updated_link": "<a href=\"webhooks\/show\/{ID}\">Webhook #{ID}<\/a> (\"{title}\") byl aktualizov\u00e1n.",
"transaction_updated_link": "<a href=\"transactions\/show\/{ID}\">Transaction #{ID}<\/a> (\"{title}\") has been updated.", "transaction_updated_link": "<a href=\"transactions\/show\/{ID}\">Transaction #{ID}<\/a> (\"{title}\") has been updated.",
"transaction_new_stored_link": "<a href=\"transactions\/show\/{ID}\">Transaction #{ID}<\/a> has been stored.", "transaction_new_stored_link": "<a href=\"transactions\/show\/{ID}\">Transaction #{ID}<\/a> has been stored.",
"transaction_journal_information": "Informace o transakci", "transaction_journal_information": "Informace o transakci",
@@ -95,39 +95,39 @@
"multi_account_warning_withdrawal": "Keep in mind that the source account of subsequent splits will be overruled by whatever is defined in the first split of the withdrawal.", "multi_account_warning_withdrawal": "Keep in mind that the source account of subsequent splits will be overruled by whatever is defined in the first split of the withdrawal.",
"multi_account_warning_deposit": "Keep in mind that the destination account of subsequent splits will be overruled by whatever is defined in the first split of the deposit.", "multi_account_warning_deposit": "Keep in mind that the destination account of subsequent splits will be overruled by whatever is defined in the first split of the deposit.",
"multi_account_warning_transfer": "Keep in mind that the source + destination account of subsequent splits will be overruled by whatever is defined in the first split of the transfer.", "multi_account_warning_transfer": "Keep in mind that the source + destination account of subsequent splits will be overruled by whatever is defined in the first split of the transfer.",
"webhook_trigger_STORE_TRANSACTION": "After transaction creation", "webhook_trigger_STORE_TRANSACTION": "Po vytvo\u0159en\u00ed transakce",
"webhook_trigger_UPDATE_TRANSACTION": "After transaction update", "webhook_trigger_UPDATE_TRANSACTION": "Po aktualizaci transakce",
"webhook_trigger_DESTROY_TRANSACTION": "After transaction delete", "webhook_trigger_DESTROY_TRANSACTION": "Po odstran\u011bn\u00ed transakce",
"webhook_response_TRANSACTIONS": "Transaction details", "webhook_response_TRANSACTIONS": "Podrobnosti transakce",
"webhook_response_ACCOUNTS": "Account details", "webhook_response_ACCOUNTS": "Podrobnosti \u00fa\u010dtu",
"webhook_response_none_NONE": "No details", "webhook_response_none_NONE": "\u017d\u00e1dn\u00e9 detaily",
"webhook_delivery_JSON": "JSON", "webhook_delivery_JSON": "JSON",
"actions": "Akce", "actions": "Akce",
"meta_data": "Metadata", "meta_data": "Metadata",
"webhook_messages": "Webhook message", "webhook_messages": "Zpr\u00e1va webhooku",
"inactive": "Neaktivn\u00ed", "inactive": "Neaktivn\u00ed",
"no_webhook_messages": "There are no webhook messages", "no_webhook_messages": "Neexistuj\u00ed \u017e\u00e1dn\u00e9 zpr\u00e1vy webhooku",
"inspect": "Inspect", "inspect": "Prozkoumat",
"create_new_webhook": "Create new webhook", "create_new_webhook": "Vytvo\u0159it nov\u00fd webhook",
"webhooks": "Webhooky", "webhooks": "Webhooky",
"webhook_trigger_form_help": "Indicate on what event the webhook will trigger", "webhook_trigger_form_help": "Ur\u010dit, na kterou ud\u00e1lost se spust\u00ed webhook",
"webhook_response_form_help": "Indicate what the webhook must submit to the URL.", "webhook_response_form_help": "Ur\u010dit, co mus\u00ed webhook odeslat do URL.",
"webhook_delivery_form_help": "Which format the webhook must deliver data in.", "webhook_delivery_form_help": "V jak\u00e9m form\u00e1tu mus\u00ed webhook pos\u00edlat data.",
"webhook_active_form_help": "The webhook must be active or it won't be called.", "webhook_active_form_help": "Webhook mus\u00ed b\u00fdt aktivn\u00ed, nebo nebude zavol\u00e1n.",
"edit_webhook_js": "Edit webhook \"{title}\"", "edit_webhook_js": "Upravit webhook \"{title}\"",
"webhook_was_triggered": "The webhook was triggered on the indicated transaction. Please wait for results to appear.", "webhook_was_triggered": "Webhook byl spu\u0161t\u011bn na ur\u010den\u00e9 transakci. Pros\u00edm po\u010dkejte, ne\u017e se objev\u00ed v\u00fdsledky.",
"view_message": "View message", "view_message": "Zobrazit zpr\u00e1vu",
"view_attempts": "View failed attempts", "view_attempts": "Zobrazit ne\u00fasp\u011b\u0161n\u00e9 pokusy",
"message_content_title": "Webhook message content", "message_content_title": "Obsah zpr\u00e1vy webhooku",
"message_content_help": "This is the content of the message that was sent (or tried) using this webhook.", "message_content_help": "Toto je obsah zpr\u00e1vy, kter\u00e1 byla odesl\u00e1na (nebo vyzkou\u0161ena) pomoc\u00ed tohoto webhooku.",
"attempt_content_title": "Webhook attempts", "attempt_content_title": "Pokusy webhooku",
"attempt_content_help": "These are all the unsuccessful attempts of this webhook message to submit to the configured URL. After some time, Firefly III will stop trying.", "attempt_content_help": "To v\u0161e jsou ne\u00fasp\u011b\u0161n\u00e9 pokusy t\u00e9to zpravy webhooku o odesl\u00e1n\u00ed na nakonfigurovanou URL. Po n\u011bjak\u00e9 dob\u011b, Firefly III p\u0159estane zkou\u0161et odes\u00edlat zpr\u00e1vu.",
"no_attempts": "There are no unsuccessful attempts. That's a good thing!", "no_attempts": "Nebyly nalezeny \u017e\u00e1dn\u00e9 ne\u00fasp\u011b\u0161n\u00e9 pokusy. To je dobr\u00e1 v\u011bc!",
"webhook_attempt_at": "Attempt at {moment}", "webhook_attempt_at": "Attempt at {moment}",
"logs": "Logs", "logs": "Logy",
"response": "Response", "response": "Odpov\u011b\u010f",
"visit_webhook_url": "Visit webhook URL", "visit_webhook_url": "Nav\u0161t\u00edvit URL webhooku",
"reset_webhook_secret": "Reset webhook secret" "reset_webhook_secret": "Restartovat tajn\u00fd kl\u00ed\u010d webhooku"
}, },
"form": { "form": {
"url": "URL", "url": "URL",
@@ -142,7 +142,7 @@
"invoice_date": "Datum vystaven\u00ed", "invoice_date": "Datum vystaven\u00ed",
"internal_reference": "Intern\u00ed reference", "internal_reference": "Intern\u00ed reference",
"webhook_response": "Response", "webhook_response": "Response",
"webhook_trigger": "Trigger", "webhook_trigger": "Spou\u0161t\u011b\u010d",
"webhook_delivery": "Delivery" "webhook_delivery": "Delivery"
}, },
"list": { "list": {

View File

@@ -6,7 +6,7 @@
"flash_success": "Sucesso!", "flash_success": "Sucesso!",
"close": "Fechar", "close": "Fechar",
"split_transaction_title": "Descri\u00e7\u00e3o da transa\u00e7\u00e3o dividida", "split_transaction_title": "Descri\u00e7\u00e3o da transa\u00e7\u00e3o dividida",
"errors_submission": "There was something wrong with your submission. Please check out the errors below.", "errors_submission": "Algo correu mal com o envio dos dados. Por favor verifique e corrija os erros abaixo.",
"split": "Dividir", "split": "Dividir",
"single_split": "Divis\u00e3o", "single_split": "Divis\u00e3o",
"transaction_stored_link": "<a href=\"transactions\/show\/{ID}\">A transa\u00e7\u00e3o #{ID} (\"{title}\")<\/a> foi guardada.", "transaction_stored_link": "<a href=\"transactions\/show\/{ID}\">A transa\u00e7\u00e3o #{ID} (\"{title}\")<\/a> foi guardada.",
@@ -31,7 +31,7 @@
"submit": "Guardar", "submit": "Guardar",
"amount": "Montante", "amount": "Montante",
"date": "Data", "date": "Data",
"is_reconciled_fields_dropped": "Because this transaction is reconciled, you will not be able to update the accounts, nor the amount(s).", "is_reconciled_fields_dropped": "Como esta transa\u00e7\u00e3o est\u00e1 reconciliada, n\u00e3o pode atualizar as contas, nem os montantes.",
"tags": "Etiquetas", "tags": "Etiquetas",
"no_budget": "(sem or\u00e7amento)", "no_budget": "(sem or\u00e7amento)",
"no_bill": "(sem encargo)", "no_bill": "(sem encargo)",

View File

@@ -31,8 +31,8 @@ export default class Get {
list(params) { list(params) {
return api.get('/api/v2/transactions', {params: params}); return api.get('/api/v2/transactions', {params: params});
} }
listByCount(params) { infiniteList(params) {
return api.get('/api/v2/transactions-inf', {params: params}); return api.get('/api/v2/infinite/transactions', {params: params});
} }
show(id, params){ show(id, params){
return api.get('/api/v2/transactions/' + id, {params: params}); return api.get('/api/v2/transactions/' + id, {params: params});

View File

@@ -175,6 +175,11 @@ let transactions = function () {
console.log('Transaction type is detected to be "' + this.groupProperties.transactionType + '".'); console.log('Transaction type is detected to be "' + this.groupProperties.transactionType + '".');
return; return;
} }
if ('unknown' === sourceType && ['Asset account', 'Debt', 'Loan', 'Mortgage'].includes(destType)) {
this.groupProperties.transactionType = 'deposit';
console.log('Transaction type is detected to be "' + this.groupProperties.transactionType + '".');
return;
}
if (['Debt', 'Loan', 'Mortgage'].includes(sourceType) && 'Asset account' === destType) { if (['Debt', 'Loan', 'Mortgage'].includes(sourceType) && 'Asset account' === destType) {
this.groupProperties.transactionType = 'deposit'; this.groupProperties.transactionType = 'deposit';
console.log('Transaction type is detected to be "' + this.groupProperties.transactionType + '".'); console.log('Transaction type is detected to be "' + this.groupProperties.transactionType + '".');

View File

@@ -23,7 +23,6 @@ import dates from "../shared/dates.js";
import i18next from "i18next"; import i18next from "i18next";
import {format} from "date-fns"; import {format} from "date-fns";
import formatMoney from "../../util/format-money.js"; import formatMoney from "../../util/format-money.js";
import Get from "../../api/v2/model/transaction/get.js";
import Put from "../../api/v2/model/transaction/put.js"; import Put from "../../api/v2/model/transaction/put.js";
import {createGrid, ModuleRegistry} from "@ag-grid-community/core"; import {createGrid, ModuleRegistry} from "@ag-grid-community/core";
@@ -39,7 +38,11 @@ import {InfiniteRowModelModule} from '@ag-grid-community/infinite-row-model';
import DateTimeEditor from "../../support/ag-grid/DateTimeEditor.js"; import DateTimeEditor from "../../support/ag-grid/DateTimeEditor.js";
const ds = new TransactionDataSource(); const ds = new TransactionDataSource();
ds.setType('withdrawal');
// set type from URL
const urlParts = window.location.href.split('/');
const type = urlParts[urlParts.length - 1];
ds.setType(type);
document.addEventListener('cellEditRequest', () => { document.addEventListener('cellEditRequest', () => {
console.log('Loaded through event listener.'); console.log('Loaded through event listener.');
@@ -61,7 +64,7 @@ const onCellEditRequestMethod = (event) => {
} }
// this needs to be better // this needs to be better
if('amount' === field) { if ('amount' === field) {
newValue = event.newValue.amount; newValue = event.newValue.amount;
console.log('New value is now' + newValue); console.log('New value is now' + newValue);
} }
@@ -94,7 +97,7 @@ document.addEventListener('onCellValueChanged', () => {
console.log('I just realized a cell value has changed.'); console.log('I just realized a cell value has changed.');
}); });
let doOnCellValueChanged = function(e) { let doOnCellValueChanged = function (e) {
console.log('I just realized a cell value has changed.'); console.log('I just realized a cell value has changed.');
}; };
@@ -138,7 +141,7 @@ const gridOptions = {
}, },
{ {
field: "amount", field: "amount",
editable: function(params) { editable: function (params) {
// only when NO foreign amount. // only when NO foreign amount.
return null === params.data.amount.foreign_amount && null === params.data.amount.foreign_currency_code; return null === params.data.amount.foreign_amount && null === params.data.amount.foreign_currency_code;
}, },
@@ -146,7 +149,7 @@ const gridOptions = {
cellRenderer(params) { cellRenderer(params) {
if (params.getValue()) { if (params.getValue()) {
let returnString = ''; let returnString = '';
let amount= parseFloat(params.getValue().amount); let amount = parseFloat(params.getValue().amount);
let obj = params.getValue(); let obj = params.getValue();
let stringClass = 'text-danger'; let stringClass = 'text-danger';
if (obj.type === 'withdrawal') { if (obj.type === 'withdrawal') {
@@ -162,7 +165,7 @@ const gridOptions = {
// foreign amount: // foreign amount:
if (obj.foreign_amount) { if (obj.foreign_amount) {
let foreignAmount= parseFloat(params.getValue().foreign_amount); let foreignAmount = parseFloat(params.getValue().foreign_amount);
if (obj.type === 'withdrawal') { if (obj.type === 'withdrawal') {
foreignAmount = foreignAmount * -1; foreignAmount = foreignAmount * -1;
} }
@@ -194,7 +197,7 @@ const gridOptions = {
cellRenderer: function (params) { cellRenderer: function (params) {
if (params.getValue()) { if (params.getValue()) {
let obj = params.getValue(); let obj = params.getValue();
return '<a href="./accounts/show/'+obj.id+'">' + obj.name + '</a>'; return '<a href="./accounts/show/' + obj.id + '">' + obj.name + '</a>';
} }
return ''; return '';
} }
@@ -205,7 +208,7 @@ const gridOptions = {
cellRenderer: function (params) { cellRenderer: function (params) {
if (params.getValue()) { if (params.getValue()) {
let obj = params.getValue(); let obj = params.getValue();
return '<a href="./accounts/show/'+obj.id+'">' + obj.name + '</a>'; return '<a href="./accounts/show/' + obj.id + '">' + obj.name + '</a>';
} }
return ''; return '';
} }
@@ -216,7 +219,7 @@ const gridOptions = {
cellRenderer: function (params) { cellRenderer: function (params) {
if (params.getValue()) { if (params.getValue()) {
let obj = params.getValue(); let obj = params.getValue();
if(null !== obj.id) { if (null !== obj.id) {
return '<a href="./categories/show/' + obj.id + '">' + obj.name + '</a>'; return '<a href="./categories/show/' + obj.id + '">' + obj.name + '</a>';
} }
} }
@@ -229,7 +232,7 @@ const gridOptions = {
cellRenderer: function (params) { cellRenderer: function (params) {
if (params.getValue()) { if (params.getValue()) {
let obj = params.getValue(); let obj = params.getValue();
if(null !== obj.id) { if (null !== obj.id) {
return '<a href="./budgets/show/' + obj.id + '">' + obj.name + '</a>'; return '<a href="./budgets/show/' + obj.id + '">' + obj.name + '</a>';
} }
} }
@@ -294,25 +297,25 @@ let index = function () {
}, },
getTransactions(page) { // getTransactions(page) {
const urlParts = window.location.href.split('/'); // const urlParts = window.location.href.split('/');
const type = urlParts[urlParts.length - 1]; // const type = urlParts[urlParts.length - 1];
let getter = new Get(); // let getter = new Get();
//
getter.list({page: page, type: type}).then(response => { // getter.list({page: page, type: type}).then(response => {
this.parseTransactions(response.data.data) // this.parseTransactions(response.data.data)
//
// set meta data // // set meta data
this.totalPages = response.data.meta.pagination.total_pages; // this.totalPages = response.data.meta.pagination.total_pages;
this.perPage = response.data.meta.pagination.per_page; // this.perPage = response.data.meta.pagination.per_page;
this.page = response.data.meta.pagination.current_page; // this.page = response.data.meta.pagination.current_page;
}).catch(error => { // }).catch(error => {
// todo this is auto generated // // to do this is auto generated
this.notifications.wait.show = false; // this.notifications.wait.show = false;
this.notifications.error.show = true; // this.notifications.error.show = true;
this.notifications.error.text = error.response.data.message; // this.notifications.error.text = error.response.data.message;
}); // });
}, // },
parseTransactions(data) { parseTransactions(data) {
// no parse, just save // no parse, just save
for (let i in data) { for (let i in data) {

View File

@@ -24,6 +24,7 @@ export default class TransactionDataSource {
constructor() { constructor() {
this.type = 'all'; this.type = 'all';
this.rowCount = null; this.rowCount = null;
this.sortModel = null;
} }
@@ -32,9 +33,19 @@ export default class TransactionDataSource {
} }
getRows(params) { getRows(params) {
console.log('The sort model used is: ', params.sortModel);
let sorting = [];
for(let i in params.sortModel) {
if(params.sortModel.hasOwnProperty(i)) {
let sort = params.sortModel[i];
sorting.push({column: sort.colId, direction: sort.sort});
}
}
let getter = new Get(); let getter = new Get();
getter.listByCount({start_row: params.startRow, end_row: params.endRow, type: this.type}).then(response => { getter.infiniteList({start_row: params.startRow, end_row: params.endRow, type: this.type, sorting: sorting}).then(response => {
this.parseTransactions(response.data.data, params.successCallback); this.parseTransactions(response.data.data, params.successCallback);
// set meta data // set meta data

View File

@@ -160,14 +160,15 @@ Route::group(
Route::put('{userGroupTransaction}', ['uses' => 'UpdateController@update', 'as' => 'update']); Route::put('{userGroupTransaction}', ['uses' => 'UpdateController@update', 'as' => 'update']);
} }
); );
// infinite (transactions) list:
Route::group( Route::group(
[ [
'namespace' => 'FireflyIII\Api\V2\Controllers\Transaction\List', 'namespace' => 'FireflyIII\Api\V2\Controllers\Transaction\List',
'prefix' => 'v2/transactions-inf', 'prefix' => 'v2/infinite/transactions',
'as' => 'api.v2.transactions-inf.', 'as' => 'api.v2.infinite.transactions.',
], ],
static function (): void { static function (): void {
Route::get('', ['uses' => 'TransactionController@listByCount', 'as' => 'list-by-count']); Route::get('', ['uses' => 'TransactionController@infiniteList', 'as' => 'list']);
} }
); );