mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 18:54:58 +00:00 
			
		
		
		
	APIs and views for exchange rates.
This commit is contained in:
		| @@ -0,0 +1,73 @@ | |||||||
|  | <?php | ||||||
|  | 
 | ||||||
|  | /* | ||||||
|  |  * ShowController.php | ||||||
|  |  * Copyright (c) 2023 james@firefly-iii.org | ||||||
|  |  * | ||||||
|  |  * This file is part of Firefly III (https://github.com/firefly-iii). | ||||||
|  |  * | ||||||
|  |  * This program is free software: you can redistribute it and/or modify | ||||||
|  |  * it under the terms of the GNU Affero General Public License as | ||||||
|  |  * published by the Free Software Foundation, either version 3 of the | ||||||
|  |  * License, or (at your option) any later version. | ||||||
|  |  * | ||||||
|  |  * This program is distributed in the hope that it will be useful, | ||||||
|  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||||
|  |  * GNU Affero General Public License for more details. | ||||||
|  |  * | ||||||
|  |  * You should have received a copy of the GNU Affero General Public License | ||||||
|  |  * along with this program.  If not, see <https://www.gnu.org/licenses/>. | ||||||
|  |  */ | ||||||
|  | 
 | ||||||
|  | declare(strict_types=1); | ||||||
|  | 
 | ||||||
|  | namespace FireflyIII\Api\V2\Controllers\Model\ExchangeRate; | ||||||
|  | 
 | ||||||
|  | use FireflyIII\Api\V2\Controllers\Controller; | ||||||
|  | use FireflyIII\Repositories\UserGroups\ExchangeRate\ExchangeRateRepositoryInterface; | ||||||
|  | use FireflyIII\Support\Http\Api\ValidatesUserGroupTrait; | ||||||
|  | use Illuminate\Http\JsonResponse; | ||||||
|  | use Illuminate\Pagination\LengthAwarePaginator; | ||||||
|  | 
 | ||||||
|  | /** | ||||||
|  |  * Class ShowController | ||||||
|  |  */ | ||||||
|  | class IndexController extends Controller | ||||||
|  | { | ||||||
|  |     public const string RESOURCE_KEY = 'exchange-rates'; | ||||||
|  |     use ValidatesUserGroupTrait; | ||||||
|  | 
 | ||||||
|  |     private ExchangeRateRepositoryInterface $repository; | ||||||
|  | 
 | ||||||
|  |     public function __construct() | ||||||
|  |     { | ||||||
|  |         parent::__construct(); | ||||||
|  |         $this->middleware( | ||||||
|  |             function ($request, $next) { | ||||||
|  |                 $this->repository = app(ExchangeRateRepositoryInterface::class); | ||||||
|  |                 $this->repository->setUserGroup($this->validateUserGroup($request)); | ||||||
|  | 
 | ||||||
|  |                 return $next($request); | ||||||
|  |             } | ||||||
|  |         ); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     public function index(): JsonResponse | ||||||
|  |     { | ||||||
|  |         $piggies   = $this->repository->getAll(); | ||||||
|  |         $pageSize  = $this->parameters->get('limit'); | ||||||
|  |         $count     = $piggies->count(); | ||||||
|  |         $piggies   = $piggies->slice(($this->parameters->get('page') - 1) * $pageSize, $pageSize); | ||||||
|  |         $paginator = new LengthAwarePaginator($piggies, $count, $pageSize, $this->parameters->get('page')); | ||||||
|  | 
 | ||||||
|  |         var_dump('here we are'); | ||||||
|  | 
 | ||||||
|  |         $transformer = new ExchangeRateTransformer(); | ||||||
|  |         $transformer->setParameters($this->parameters); // give params to transformer
 | ||||||
|  | 
 | ||||||
|  |         return response() | ||||||
|  |             ->json($this->jsonApiList(self::RESOURCE_KEY, $paginator, $transformer)) | ||||||
|  |             ->header('Content-Type', self::CONTENT_TYPE); | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										75
									
								
								app/Api/V2/Controllers/Model/ExchangeRate/ShowController.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										75
									
								
								app/Api/V2/Controllers/Model/ExchangeRate/ShowController.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,75 @@ | |||||||
|  | <?php | ||||||
|  | 
 | ||||||
|  | /* | ||||||
|  |  * ShowController.php | ||||||
|  |  * Copyright (c) 2023 james@firefly-iii.org | ||||||
|  |  * | ||||||
|  |  * This file is part of Firefly III (https://github.com/firefly-iii). | ||||||
|  |  * | ||||||
|  |  * This program is free software: you can redistribute it and/or modify | ||||||
|  |  * it under the terms of the GNU Affero General Public License as | ||||||
|  |  * published by the Free Software Foundation, either version 3 of the | ||||||
|  |  * License, or (at your option) any later version. | ||||||
|  |  * | ||||||
|  |  * This program is distributed in the hope that it will be useful, | ||||||
|  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||||
|  |  * GNU Affero General Public License for more details. | ||||||
|  |  * | ||||||
|  |  * You should have received a copy of the GNU Affero General Public License | ||||||
|  |  * along with this program.  If not, see <https://www.gnu.org/licenses/>. | ||||||
|  |  */ | ||||||
|  | 
 | ||||||
|  | declare(strict_types=1); | ||||||
|  | 
 | ||||||
|  | namespace FireflyIII\Api\V2\Controllers\Model\ExchangeRate; | ||||||
|  | 
 | ||||||
|  | use FireflyIII\Api\V2\Controllers\Controller; | ||||||
|  | use FireflyIII\Models\TransactionCurrency; | ||||||
|  | use FireflyIII\Repositories\UserGroups\ExchangeRate\ExchangeRateRepositoryInterface; | ||||||
|  | use FireflyIII\Support\Http\Api\ValidatesUserGroupTrait; | ||||||
|  | use FireflyIII\Transformers\V2\ExchangeRateTransformer; | ||||||
|  | use Illuminate\Http\JsonResponse; | ||||||
|  | use Illuminate\Pagination\LengthAwarePaginator; | ||||||
|  | 
 | ||||||
|  | /** | ||||||
|  |  * Class ShowController | ||||||
|  |  */ | ||||||
|  | class ShowController extends Controller | ||||||
|  | { | ||||||
|  |     public const string RESOURCE_KEY = 'exchange-rates'; | ||||||
|  |     use ValidatesUserGroupTrait; | ||||||
|  | 
 | ||||||
|  |     private ExchangeRateRepositoryInterface $repository; | ||||||
|  | 
 | ||||||
|  |     public function __construct() | ||||||
|  |     { | ||||||
|  |         parent::__construct(); | ||||||
|  |         $this->middleware( | ||||||
|  |             function ($request, $next) { | ||||||
|  |                 $this->repository = app(ExchangeRateRepositoryInterface::class); | ||||||
|  |                 $this->repository->setUserGroup($this->validateUserGroup($request)); | ||||||
|  | 
 | ||||||
|  |                 return $next($request); | ||||||
|  |             } | ||||||
|  |         ); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     public function show(TransactionCurrency $from, TransactionCurrency $to): JsonResponse | ||||||
|  |     { | ||||||
|  | //        $piggies   = $this->repository->getAll();
 | ||||||
|  | //
 | ||||||
|  |         $pageSize = $this->parameters->get('limit'); | ||||||
|  |         $rates    = $this->repository->getRates($from, $to); | ||||||
|  |         $count     = $rates->count(); | ||||||
|  |         $rates    = $rates->slice(($this->parameters->get('page') - 1) * $pageSize, $pageSize); | ||||||
|  |         $paginator = new LengthAwarePaginator($rates, $count, $pageSize, $this->parameters->get('page')); | ||||||
|  | 
 | ||||||
|  |         $transformer = new ExchangeRateTransformer(); | ||||||
|  |         $transformer->setParameters($this->parameters); // give params to transformer
 | ||||||
|  | 
 | ||||||
|  |         return response() | ||||||
|  |             ->json($this->jsonApiList(self::RESOURCE_KEY, $paginator, $transformer)) | ||||||
|  |             ->header('Content-Type', self::CONTENT_TYPE); | ||||||
|  |     } | ||||||
|  | } | ||||||
| @@ -39,9 +39,6 @@ class IndexController extends Controller | |||||||
|     private CurrencyRepositoryInterface $repository; |     private CurrencyRepositoryInterface $repository; | ||||||
|     protected array                     $acceptedRoles = [UserRoleEnum::READ_ONLY]; |     protected array                     $acceptedRoles = [UserRoleEnum::READ_ONLY]; | ||||||
| 
 | 
 | ||||||
|     /** |  | ||||||
|      * AccountController constructor. |  | ||||||
|      */ |  | ||||||
|     public function __construct() |     public function __construct() | ||||||
|     { |     { | ||||||
|         parent::__construct(); |         parent::__construct(); | ||||||
|   | |||||||
| @@ -0,0 +1,78 @@ | |||||||
|  | <?php | ||||||
|  | 
 | ||||||
|  | /* | ||||||
|  |  * ShowController.php | ||||||
|  |  * Copyright (c) 2021 james@firefly-iii.org | ||||||
|  |  * | ||||||
|  |  * This file is part of Firefly III (https://github.com/firefly-iii). | ||||||
|  |  * | ||||||
|  |  * This program is free software: you can redistribute it and/or modify | ||||||
|  |  * it under the terms of the GNU Affero General Public License as | ||||||
|  |  * published by the Free Software Foundation, either version 3 of the | ||||||
|  |  * License, or (at your option) any later version. | ||||||
|  |  * | ||||||
|  |  * This program is distributed in the hope that it will be useful, | ||||||
|  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||||
|  |  * GNU Affero General Public License for more details. | ||||||
|  |  * | ||||||
|  |  * You should have received a copy of the GNU Affero General Public License | ||||||
|  |  * along with this program.  If not, see <https://www.gnu.org/licenses/>. | ||||||
|  |  */ | ||||||
|  | 
 | ||||||
|  | declare(strict_types=1); | ||||||
|  | 
 | ||||||
|  | namespace FireflyIII\Api\V2\Controllers\Model\TransactionCurrency; | ||||||
|  | 
 | ||||||
|  | use FireflyIII\Api\V2\Controllers\Controller; | ||||||
|  | use FireflyIII\Models\TransactionCurrency; | ||||||
|  | use FireflyIII\Models\UserGroup; | ||||||
|  | use FireflyIII\Repositories\UserGroups\Currency\CurrencyRepositoryInterface; | ||||||
|  | use FireflyIII\Transformers\V2\CurrencyTransformer; | ||||||
|  | use Illuminate\Http\JsonResponse; | ||||||
|  | 
 | ||||||
|  | /** | ||||||
|  |  * Class ShowController | ||||||
|  |  */ | ||||||
|  | class ShowController extends Controller | ||||||
|  | { | ||||||
|  |     public const string RESOURCE_KEY = 'transaction-currencies'; | ||||||
|  | 
 | ||||||
|  |     private CurrencyRepositoryInterface $repository; | ||||||
|  | 
 | ||||||
|  |     public function __construct() | ||||||
|  |     { | ||||||
|  |         parent::__construct(); | ||||||
|  |         $this->middleware( | ||||||
|  |             function ($request, $next) { | ||||||
|  |                 $this->repository = app(CurrencyRepositoryInterface::class); | ||||||
|  |                 // new way of user group validation
 | ||||||
|  |                 $userGroup = $this->validateUserGroup($request); | ||||||
|  |                 $this->repository->setUserGroup($userGroup); | ||||||
|  | 
 | ||||||
|  |                 return $next($request); | ||||||
|  |             } | ||||||
|  |         ); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     public function show(TransactionCurrency $currency): JsonResponse | ||||||
|  |     { | ||||||
|  |         $groups  = $currency->userGroups()->where('user_groups.id', $this->repository->getUserGroup()->id)->get(); | ||||||
|  |         $enabled = $groups->count() > 0; | ||||||
|  |         $default = false; | ||||||
|  |         /** @var UserGroup $group */ | ||||||
|  |         foreach ($groups as $group) { | ||||||
|  |             $default = 1 === $group->pivot->group_default; | ||||||
|  |         } | ||||||
|  |         $currency->userGroupEnabled = $enabled; | ||||||
|  |         $currency->userGroupDefault = $default; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |         $transformer = new CurrencyTransformer(); | ||||||
|  |         $transformer->setParameters($this->parameters); | ||||||
|  | 
 | ||||||
|  |         return response() | ||||||
|  |             ->api($this->jsonApiObject(self::RESOURCE_KEY, $currency, $transformer)) | ||||||
|  |             ->header('Content-Type', self::CONTENT_TYPE); | ||||||
|  |     } | ||||||
|  | } | ||||||
| @@ -40,8 +40,8 @@ class TransactionCurrency extends Model | |||||||
|     use ReturnsIntegerIdTrait; |     use ReturnsIntegerIdTrait; | ||||||
|     use SoftDeletes; |     use SoftDeletes; | ||||||
| 
 | 
 | ||||||
|     public ?bool $userGroupDefault; |     public ?bool $userGroupDefault = null; | ||||||
|     public ?bool $userGroupEnabled; |     public ?bool $userGroupEnabled = null; | ||||||
|     protected $casts |     protected $casts | ||||||
|                         = [ |                         = [ | ||||||
|             'created_at'     => 'datetime', |             'created_at'     => 'datetime', | ||||||
|   | |||||||
| @@ -27,6 +27,8 @@ use FireflyIII\Repositories\Currency\CurrencyRepository; | |||||||
| use FireflyIII\Repositories\Currency\CurrencyRepositoryInterface; | use FireflyIII\Repositories\Currency\CurrencyRepositoryInterface; | ||||||
| use FireflyIII\Repositories\UserGroups\Currency\CurrencyRepository as GroupCurrencyRepository; | use FireflyIII\Repositories\UserGroups\Currency\CurrencyRepository as GroupCurrencyRepository; | ||||||
| use FireflyIII\Repositories\UserGroups\Currency\CurrencyRepositoryInterface as GroupCurrencyRepositoryInterface; | use FireflyIII\Repositories\UserGroups\Currency\CurrencyRepositoryInterface as GroupCurrencyRepositoryInterface; | ||||||
|  | use FireflyIII\Repositories\UserGroups\ExchangeRate\ExchangeRateRepository; | ||||||
|  | use FireflyIII\Repositories\UserGroups\ExchangeRate\ExchangeRateRepositoryInterface; | ||||||
| use Illuminate\Foundation\Application; | use Illuminate\Foundation\Application; | ||||||
| use Illuminate\Support\ServiceProvider; | use Illuminate\Support\ServiceProvider; | ||||||
| 
 | 
 | ||||||
| @@ -71,5 +73,13 @@ class CurrencyServiceProvider extends ServiceProvider | |||||||
|                 return $repository; |                 return $repository; | ||||||
|             } |             } | ||||||
|         ); |         ); | ||||||
|  | 
 | ||||||
|  |         $this->app->bind( | ||||||
|  |             ExchangeRateRepositoryInterface::class, | ||||||
|  |             static function (Application $app) { | ||||||
|  |                 /** @var ExchangeRateRepository $repository */ | ||||||
|  |                 return app(ExchangeRateRepository::class); | ||||||
|  |             } | ||||||
|  |         ); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -0,0 +1,51 @@ | |||||||
|  | <?php | ||||||
|  | /* | ||||||
|  |  * ExchangeRateRepository.php | ||||||
|  |  * Copyright (c) 2024 james@firefly-iii.org. | ||||||
|  |  * | ||||||
|  |  * This file is part of Firefly III (https://github.com/firefly-iii). | ||||||
|  |  * | ||||||
|  |  * This program is free software: you can redistribute it and/or modify | ||||||
|  |  * it under the terms of the GNU Affero General Public License as | ||||||
|  |  * published by the Free Software Foundation, either version 3 of the | ||||||
|  |  * License, or (at your option) any later version. | ||||||
|  |  * | ||||||
|  |  * This program is distributed in the hope that it will be useful, | ||||||
|  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||||
|  |  * GNU Affero General Public License for more details. | ||||||
|  |  * | ||||||
|  |  * You should have received a copy of the GNU Affero General Public License | ||||||
|  |  * along with this program.  If not, see https://www.gnu.org/licenses/. | ||||||
|  |  */ | ||||||
|  | 
 | ||||||
|  | declare(strict_types=1); | ||||||
|  | 
 | ||||||
|  | namespace FireflyIII\Repositories\UserGroups\ExchangeRate; | ||||||
|  | 
 | ||||||
|  | use FireflyIII\Models\TransactionCurrency; | ||||||
|  | use FireflyIII\Support\Repositories\UserGroup\UserGroupTrait; | ||||||
|  | use Illuminate\Database\Eloquent\Builder; | ||||||
|  | use Illuminate\Support\Collection; | ||||||
|  | 
 | ||||||
|  | class ExchangeRateRepository implements ExchangeRateRepositoryInterface | ||||||
|  | { | ||||||
|  |     use UserGroupTrait; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |     #[\Override] public function getRates(TransactionCurrency $from, TransactionCurrency $to): Collection
 | ||||||
|  |     { | ||||||
|  |         return | ||||||
|  |             $this->userGroup->currencyExchangeRates() | ||||||
|  |                             ->where(function (Builder $q) use ($from, $to) { | ||||||
|  |                                 $q->where('from_currency_id', $from->id) | ||||||
|  |                                   ->orWhere('to_currency_id', $to->id); | ||||||
|  |                             }) | ||||||
|  |                             ->orWhere(function (Builder $q) use ($from, $to) { | ||||||
|  |                                 $q->where('from_currency_id', $to->id) | ||||||
|  |                                   ->orWhere('to_currency_id', $from->id); | ||||||
|  |                             }) | ||||||
|  |                             ->orderBy('date', 'DESC')->get(); | ||||||
|  | 
 | ||||||
|  |     } | ||||||
|  | } | ||||||
| @@ -0,0 +1,34 @@ | |||||||
|  | <?php | ||||||
|  | /* | ||||||
|  |  * ExchangeRateRepositoryInterface.php | ||||||
|  |  * Copyright (c) 2024 james@firefly-iii.org. | ||||||
|  |  * | ||||||
|  |  * This file is part of Firefly III (https://github.com/firefly-iii). | ||||||
|  |  * | ||||||
|  |  * This program is free software: you can redistribute it and/or modify | ||||||
|  |  * it under the terms of the GNU Affero General Public License as | ||||||
|  |  * published by the Free Software Foundation, either version 3 of the | ||||||
|  |  * License, or (at your option) any later version. | ||||||
|  |  * | ||||||
|  |  * This program is distributed in the hope that it will be useful, | ||||||
|  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||||
|  |  * GNU Affero General Public License for more details. | ||||||
|  |  * | ||||||
|  |  * You should have received a copy of the GNU Affero General Public License | ||||||
|  |  * along with this program.  If not, see https://www.gnu.org/licenses/. | ||||||
|  |  */ | ||||||
|  | 
 | ||||||
|  | declare(strict_types=1); | ||||||
|  | 
 | ||||||
|  | namespace FireflyIII\Repositories\UserGroups\ExchangeRate; | ||||||
|  | 
 | ||||||
|  | use FireflyIII\Models\TransactionCurrency; | ||||||
|  | use Illuminate\Support\Collection; | ||||||
|  | 
 | ||||||
|  | interface ExchangeRateRepositoryInterface | ||||||
|  | { | ||||||
|  | 
 | ||||||
|  |     public function getRates(TransactionCurrency $from, TransactionCurrency $to): Collection; | ||||||
|  | 
 | ||||||
|  | } | ||||||
							
								
								
									
										75
									
								
								app/Transformers/V2/ExchangeRateTransformer.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										75
									
								
								app/Transformers/V2/ExchangeRateTransformer.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,75 @@ | |||||||
|  | <?php | ||||||
|  | 
 | ||||||
|  | /* | ||||||
|  |  * AccountTransformer.php | ||||||
|  |  * Copyright (c) 2022 james@firefly-iii.org | ||||||
|  |  * | ||||||
|  |  * This file is part of Firefly III (https://github.com/firefly-iii). | ||||||
|  |  * | ||||||
|  |  * This program is free software: you can redistribute it and/or modify | ||||||
|  |  * it under the terms of the GNU Affero General Public License as | ||||||
|  |  * published by the Free Software Foundation, either version 3 of the | ||||||
|  |  * License, or (at your option) any later version. | ||||||
|  |  * | ||||||
|  |  * This program is distributed in the hope that it will be useful, | ||||||
|  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||||
|  |  * GNU Affero General Public License for more details. | ||||||
|  |  * | ||||||
|  |  * You should have received a copy of the GNU Affero General Public License | ||||||
|  |  * along with this program.  If not, see <https://www.gnu.org/licenses/>. | ||||||
|  |  */ | ||||||
|  | 
 | ||||||
|  | declare(strict_types=1); | ||||||
|  | 
 | ||||||
|  | namespace FireflyIII\Transformers\V2; | ||||||
|  | 
 | ||||||
|  | use FireflyIII\Models\CurrencyExchangeRate; | ||||||
|  | use Illuminate\Support\Collection; | ||||||
|  | 
 | ||||||
|  | /** | ||||||
|  |  * Class AccountTransformer | ||||||
|  |  */ | ||||||
|  | class ExchangeRateTransformer extends AbstractTransformer | ||||||
|  | { | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * This method collects meta-data for one or all accounts in the transformer's collection. | ||||||
|  |      */ | ||||||
|  |     public function collectMetaData(Collection $objects): Collection | ||||||
|  |     { | ||||||
|  |         return $objects; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * Transform the account. | ||||||
|  |      */ | ||||||
|  |     public function transform(CurrencyExchangeRate $rate): array | ||||||
|  |     { | ||||||
|  |         return [ | ||||||
|  |             'id'         => (string) $rate->id, | ||||||
|  |             'created_at' => $rate->created_at->toAtomString(), | ||||||
|  |             'updated_at' => $rate->updated_at->toAtomString(), | ||||||
|  | 
 | ||||||
|  |             'from_currency_id'             => (string) $rate->fromCurrency->id, | ||||||
|  |             'from_currency_code'           => $rate->fromCurrency->code, | ||||||
|  |             'from_currency_symbol'         => $rate->fromCurrency->symbol, | ||||||
|  |             'from_currency_decimal_places' => $rate->fromCurrency->decimal_places, | ||||||
|  | 
 | ||||||
|  |             'to_currency_id'             => (string) $rate->toCurrency->id, | ||||||
|  |             'to_currency_code'           => $rate->toCurrency->code, | ||||||
|  |             'to_currency_symbol'         => $rate->toCurrency->symbol, | ||||||
|  |             'to_currency_decimal_places' => $rate->toCurrency->decimal_places, | ||||||
|  | 
 | ||||||
|  |             'rate'  => $rate->rate, | ||||||
|  |             'date'  => $rate->date->toAtomString(), | ||||||
|  |             'links' => [ | ||||||
|  |                 [ | ||||||
|  |                     'rel' => 'self', | ||||||
|  |                     'uri' => sprintf('/exchange-rates/%s', $rate->id), | ||||||
|  |                 ], | ||||||
|  |             ], | ||||||
|  |         ]; | ||||||
|  |     } | ||||||
|  | } | ||||||
| @@ -272,7 +272,8 @@ return [ | |||||||
|                 'reset_webhook_secret', |                 'reset_webhook_secret', | ||||||
|                 'header_exchange_rates', |                 'header_exchange_rates', | ||||||
|                 'exchange_rates_intro', |                 'exchange_rates_intro', | ||||||
|                 'exchange_rates_from_to' |                 'exchange_rates_from_to', | ||||||
|  |                 'exchange_rates_intro_rates' | ||||||
|             ], |             ], | ||||||
|             'form'    => [ |             'form'    => [ | ||||||
|                 'url', |                 'url', | ||||||
| @@ -289,6 +290,8 @@ return [ | |||||||
|                 'webhook_response', |                 'webhook_response', | ||||||
|                 'webhook_trigger', |                 'webhook_trigger', | ||||||
|                 'webhook_delivery', |                 'webhook_delivery', | ||||||
|  |                 'from_currency_to_currency', | ||||||
|  |                 'to_currency_from_currency' | ||||||
|             ], |             ], | ||||||
|             'list'    => [ |             'list'    => [ | ||||||
|                 'active', |                 'active', | ||||||
|   | |||||||
| @@ -18,16 +18,92 @@ | |||||||
|   - along with this program.  If not, see https://www.gnu.org/licenses/. |   - along with this program.  If not, see https://www.gnu.org/licenses/. | ||||||
|   --> |   --> | ||||||
|  |  | ||||||
| <script setup> |  | ||||||
|  |  | ||||||
| </script> |  | ||||||
|  |  | ||||||
| <template> | <template> | ||||||
| <div> |     <div> | ||||||
|  |         <div class="row"> | ||||||
| </div> |             <div class="col-lg-8 col-lg-offset-2 col-md-12 col-sm-12 col-xs-12"> | ||||||
|  |                 <div class="box box-primary"> | ||||||
|  |                     <div class="box-header with-border"> | ||||||
|  |                         <h3 class="box-title">{{ $t('firefly.header_exchange_rates_rates') }}</h3> | ||||||
|  |                     </div> | ||||||
|  |                     <div class="box-body"> | ||||||
|  |                         <p> | ||||||
|  |                             {{ $t('firefly.exchange_rates_intro_rates') }} | ||||||
|  |                         </p> | ||||||
|  |                     </div> | ||||||
|  |                 </div> | ||||||
|  |             </div> | ||||||
|  |         </div> | ||||||
|  |         <div class="row"> | ||||||
|  |             <div class="col-lg-8 col-lg-offset-2 col-md-12 col-sm-12 col-xs-12"> | ||||||
|  |                 <div class="box box-primary"> | ||||||
|  |                     <div class="box-header with-border"> | ||||||
|  |                         <h3 class="box-title">{{ $t('firefly.header_exchange_rates_table') }}</h3> | ||||||
|  |                     </div> | ||||||
|  |                     <div class="box-body no-padding"> | ||||||
|  |                         <table class="table table-responsive table-hover"> | ||||||
|  |                             <thead> | ||||||
|  |                             <tr> | ||||||
|  |                                 <th>{{ $t('form.date') }}</th> | ||||||
|  |                                 <th v-html="$t('form.from_currency_to_currency', {from: from.code, to: to.code})"></th> | ||||||
|  |                                 <th v-html="$t('form.to_currency_from_currency', {from: from.code, to: to.code})"></th> | ||||||
|  |                                 <th> </th> | ||||||
|  |                             </tr> | ||||||
|  |                             </thead> | ||||||
|  |                             <tbody> | ||||||
|  |                             </tbody> | ||||||
|  |                         </table> | ||||||
|  |                     </div> | ||||||
|  |                 </div> | ||||||
|  |             </div> | ||||||
|  |         </div> | ||||||
|  |     </div> | ||||||
| </template> | </template> | ||||||
|  | <script> | ||||||
|  | export default { | ||||||
|  |     name: "Rates", | ||||||
|  |     data() { | ||||||
|  |         return { | ||||||
|  |             rates: [], | ||||||
|  |             from_code: '', | ||||||
|  |             to_code: '', | ||||||
|  |             from: { | ||||||
|  |                 name: '' | ||||||
|  |             }, | ||||||
|  |             to: { | ||||||
|  |                 name: '' | ||||||
|  |             }, | ||||||
|  |         }; | ||||||
|  |     }, | ||||||
|  |     mounted() { | ||||||
|  |         // get from and to code from URL | ||||||
|  |         let parts = window.location.href.split('/'); | ||||||
|  |         this.from_code = parts[parts.length - 2].substring(0, 3); | ||||||
|  |         this.to_code = parts[parts.length - 1].substring(0, 3); | ||||||
|  |         console.log('From: ' + this.from_code + ' To: ' + this.to_code); | ||||||
|  |         this.downloadCurrencies(); | ||||||
|  |     }, | ||||||
|  |     methods: { | ||||||
|  |         downloadCurrencies: function() { | ||||||
|  |             axios.get("./api/v2/currencies/" + this.from_code).then((response) => { | ||||||
|  |                 this.from = { | ||||||
|  |                     id: response.data.data.id, | ||||||
|  |                     code: response.data.data.attributes.code, | ||||||
|  |                     name: response.data.data.attributes.name, | ||||||
|  |                 } | ||||||
|  |             }); | ||||||
|  |             axios.get("./api/v2/currencies/" + this.to_code).then((response) => { | ||||||
|  |                 console.log(response.data.data); | ||||||
|  |                 this.to = { | ||||||
|  |                     id: response.data.data.id, | ||||||
|  |                     code: response.data.data.attributes.code, | ||||||
|  |                     name: response.data.data.attributes.name, | ||||||
|  |                 } | ||||||
|  |             }); | ||||||
|  |         }, | ||||||
|  |     } | ||||||
|  | } | ||||||
|  |  | ||||||
| <style scoped> | </script> | ||||||
|  |  | ||||||
| </style> |  | ||||||
|   | |||||||
| @@ -18,7 +18,7 @@ | |||||||
|  * along with this program.  If not, see <https://www.gnu.org/licenses/>. |  * along with this program.  If not, see <https://www.gnu.org/licenses/>. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| import Index from "../components/exchange-rates/Index"; | import Rates from "../components/exchange-rates/Rates"; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * First we will load Axios via bootstrap.js |  * First we will load Axios via bootstrap.js | ||||||
| @@ -34,6 +34,6 @@ const app = new Vue({ | |||||||
|     i18n, |     i18n, | ||||||
|     el: "#exchange_rates_rates", |     el: "#exchange_rates_rates", | ||||||
|     render: (createElement) => { |     render: (createElement) => { | ||||||
|         return createElement(Index, {props: props}) |         return createElement(Rates, {props: props}) | ||||||
|     }, |     }, | ||||||
| }); | }); | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Logs", |         "logs": "Logs", | ||||||
|         "response": "Response", |         "response": "Response", | ||||||
|         "visit_webhook_url": "Visit webhook URL", |         "visit_webhook_url": "Visit webhook URL", | ||||||
|         "reset_webhook_secret": "Reset webhook secret" |         "reset_webhook_secret": "Reset webhook secret", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "\u0412\u044a\u0442\u0440\u0435\u0448\u043d\u0430 \u0440\u0435\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f", |         "internal_reference": "\u0412\u044a\u0442\u0440\u0435\u0448\u043d\u0430 \u0440\u0435\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f", | ||||||
|         "webhook_response": "Response", |         "webhook_response": "Response", | ||||||
|         "webhook_trigger": "Trigger", |         "webhook_trigger": "Trigger", | ||||||
|         "webhook_delivery": "Delivery" |         "webhook_delivery": "Delivery", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "\u0410\u043a\u0442\u0438\u0432\u0435\u043d \u043b\u0438 \u0435?", |         "active": "\u0410\u043a\u0442\u0438\u0432\u0435\u043d \u043b\u0438 \u0435?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Registres", |         "logs": "Registres", | ||||||
|         "response": "Resposta", |         "response": "Resposta", | ||||||
|         "visit_webhook_url": "Visitar l'URL del webhook", |         "visit_webhook_url": "Visitar l'URL del webhook", | ||||||
|         "reset_webhook_secret": "Reiniciar el secret del webhook" |         "reset_webhook_secret": "Reiniciar el secret del webhook", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Refer\u00e8ncia interna", |         "internal_reference": "Refer\u00e8ncia interna", | ||||||
|         "webhook_response": "Resposta", |         "webhook_response": "Resposta", | ||||||
|         "webhook_trigger": "Activador", |         "webhook_trigger": "Activador", | ||||||
|         "webhook_delivery": "Lliurament" |         "webhook_delivery": "Lliurament", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Est\u00e0 actiu?", |         "active": "Est\u00e0 actiu?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Logy", |         "logs": "Logy", | ||||||
|         "response": "Odpov\u011b\u010f", |         "response": "Odpov\u011b\u010f", | ||||||
|         "visit_webhook_url": "Nav\u0161t\u00edvit URL webhooku", |         "visit_webhook_url": "Nav\u0161t\u00edvit URL webhooku", | ||||||
|         "reset_webhook_secret": "Restartovat tajn\u00fd kl\u00ed\u010d webhooku" |         "reset_webhook_secret": "Restartovat tajn\u00fd kl\u00ed\u010d webhooku", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Intern\u00ed reference", |         "internal_reference": "Intern\u00ed reference", | ||||||
|         "webhook_response": "Response", |         "webhook_response": "Response", | ||||||
|         "webhook_trigger": "Spou\u0161t\u011b\u010d", |         "webhook_trigger": "Spou\u0161t\u011b\u010d", | ||||||
|         "webhook_delivery": "Delivery" |         "webhook_delivery": "Delivery", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Aktivn\u00ed?", |         "active": "Aktivn\u00ed?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Logs", |         "logs": "Logs", | ||||||
|         "response": "Svar", |         "response": "Svar", | ||||||
|         "visit_webhook_url": "Bes\u00f8g webhook-URL", |         "visit_webhook_url": "Bes\u00f8g webhook-URL", | ||||||
|         "reset_webhook_secret": "Nulstil webhook-hemmelighed" |         "reset_webhook_secret": "Nulstil webhook-hemmelighed", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Intern reference", |         "internal_reference": "Intern reference", | ||||||
|         "webhook_response": "Svar", |         "webhook_response": "Svar", | ||||||
|         "webhook_trigger": "Udl\u00f8ser", |         "webhook_trigger": "Udl\u00f8ser", | ||||||
|         "webhook_delivery": "Levering" |         "webhook_delivery": "Levering", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Aktiv?", |         "active": "Aktiv?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Protokolle", |         "logs": "Protokolle", | ||||||
|         "response": "Antwort", |         "response": "Antwort", | ||||||
|         "visit_webhook_url": "Webhook-URL besuchen", |         "visit_webhook_url": "Webhook-URL besuchen", | ||||||
|         "reset_webhook_secret": "Webhook Secret zur\u00fccksetzen" |         "reset_webhook_secret": "Webhook Secret zur\u00fccksetzen", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Interne Referenz", |         "internal_reference": "Interne Referenz", | ||||||
|         "webhook_response": "Antwort", |         "webhook_response": "Antwort", | ||||||
|         "webhook_trigger": "Ausl\u00f6ser", |         "webhook_trigger": "Ausl\u00f6ser", | ||||||
|         "webhook_delivery": "Zustellung" |         "webhook_delivery": "Zustellung", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Aktiv?", |         "active": "Aktiv?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "\u0391\u03c1\u03c7\u03b5\u03af\u03b1 \u03ba\u03b1\u03c4\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae\u03c2 (Logs)", |         "logs": "\u0391\u03c1\u03c7\u03b5\u03af\u03b1 \u03ba\u03b1\u03c4\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae\u03c2 (Logs)", | ||||||
|         "response": "\u0391\u03c0\u03cc\u03ba\u03c1\u03b9\u03c3\u03b7", |         "response": "\u0391\u03c0\u03cc\u03ba\u03c1\u03b9\u03c3\u03b7", | ||||||
|         "visit_webhook_url": "\u0395\u03c0\u03b9\u03c3\u03ba\u03b5\u03c6\u03b8\u03b5\u03af\u03c4\u03b5 \u03c4\u03bf URL \u03c4\u03bf\u03c5 webhook", |         "visit_webhook_url": "\u0395\u03c0\u03b9\u03c3\u03ba\u03b5\u03c6\u03b8\u03b5\u03af\u03c4\u03b5 \u03c4\u03bf URL \u03c4\u03bf\u03c5 webhook", | ||||||
|         "reset_webhook_secret": "\u0395\u03c0\u03b1\u03bd\u03b1\u03c6\u03bf\u03c1\u03ac \u03bc\u03c5\u03c3\u03c4\u03b9\u03ba\u03bf\u03cd webhook" |         "reset_webhook_secret": "\u0395\u03c0\u03b1\u03bd\u03b1\u03c6\u03bf\u03c1\u03ac \u03bc\u03c5\u03c3\u03c4\u03b9\u03ba\u03bf\u03cd webhook", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "\u0394\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7 URL", |         "url": "\u0394\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7 URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "\u0395\u03c3\u03c9\u03c4\u03b5\u03c1\u03b9\u03ba\u03ae \u03b1\u03bd\u03b1\u03c6\u03bf\u03c1\u03ac", |         "internal_reference": "\u0395\u03c3\u03c9\u03c4\u03b5\u03c1\u03b9\u03ba\u03ae \u03b1\u03bd\u03b1\u03c6\u03bf\u03c1\u03ac", | ||||||
|         "webhook_response": "\u0391\u03c0\u03cc\u03ba\u03c1\u03b9\u03c3\u03b7", |         "webhook_response": "\u0391\u03c0\u03cc\u03ba\u03c1\u03b9\u03c3\u03b7", | ||||||
|         "webhook_trigger": "\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7", |         "webhook_trigger": "\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7", | ||||||
|         "webhook_delivery": "\u03a0\u03b1\u03c1\u03ac\u03b4\u03bf\u03c3\u03b7" |         "webhook_delivery": "\u03a0\u03b1\u03c1\u03ac\u03b4\u03bf\u03c3\u03b7", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "\u0395\u03af\u03bd\u03b1\u03b9 \u03b5\u03bd\u03b5\u03c1\u03b3\u03cc;", |         "active": "\u0395\u03af\u03bd\u03b1\u03b9 \u03b5\u03bd\u03b5\u03c1\u03b3\u03cc;", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Logs", |         "logs": "Logs", | ||||||
|         "response": "Response", |         "response": "Response", | ||||||
|         "visit_webhook_url": "Visit webhook URL", |         "visit_webhook_url": "Visit webhook URL", | ||||||
|         "reset_webhook_secret": "Reset webhook secret" |         "reset_webhook_secret": "Reset webhook secret", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Internal reference", |         "internal_reference": "Internal reference", | ||||||
|         "webhook_response": "Response", |         "webhook_response": "Response", | ||||||
|         "webhook_trigger": "Trigger", |         "webhook_trigger": "Trigger", | ||||||
|         "webhook_delivery": "Delivery" |         "webhook_delivery": "Delivery", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Is active?", |         "active": "Is active?", | ||||||
|   | |||||||
| @@ -132,7 +132,7 @@ | |||||||
|         "reset_webhook_secret": "Reset webhook secret", |         "reset_webhook_secret": "Reset webhook secret", | ||||||
|         "header_exchange_rates": "Exchange rates", |         "header_exchange_rates": "Exchange rates", | ||||||
|         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|         "exchange_rates_from_to": "Between {from} and {to}" |         "exchange_rates_from_to": "Between {from} and {to} (and the other way around)" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -148,7 +148,9 @@ | |||||||
|         "internal_reference": "Internal reference", |         "internal_reference": "Internal reference", | ||||||
|         "webhook_response": "Response", |         "webhook_response": "Response", | ||||||
|         "webhook_trigger": "Trigger", |         "webhook_trigger": "Trigger", | ||||||
|         "webhook_delivery": "Delivery" |         "webhook_delivery": "Delivery", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Is active?", |         "active": "Is active?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Registros", |         "logs": "Registros", | ||||||
|         "response": "Respuesta", |         "response": "Respuesta", | ||||||
|         "visit_webhook_url": "Visita la URL del webhook", |         "visit_webhook_url": "Visita la URL del webhook", | ||||||
|         "reset_webhook_secret": "Restablecer secreto del webhook" |         "reset_webhook_secret": "Restablecer secreto del webhook", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Referencia interna", |         "internal_reference": "Referencia interna", | ||||||
|         "webhook_response": "Respuesta", |         "webhook_response": "Respuesta", | ||||||
|         "webhook_trigger": "Disparador", |         "webhook_trigger": "Disparador", | ||||||
|         "webhook_delivery": "Entrega" |         "webhook_delivery": "Entrega", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "\u00bfEst\u00e1 Activo?", |         "active": "\u00bfEst\u00e1 Activo?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Logs", |         "logs": "Logs", | ||||||
|         "response": "Response", |         "response": "Response", | ||||||
|         "visit_webhook_url": "Visit webhook URL", |         "visit_webhook_url": "Visit webhook URL", | ||||||
|         "reset_webhook_secret": "Reset webhook secret" |         "reset_webhook_secret": "Reset webhook secret", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL-osoite", |         "url": "URL-osoite", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Sis\u00e4inen viite", |         "internal_reference": "Sis\u00e4inen viite", | ||||||
|         "webhook_response": "Response", |         "webhook_response": "Response", | ||||||
|         "webhook_trigger": "Trigger", |         "webhook_trigger": "Trigger", | ||||||
|         "webhook_delivery": "Delivery" |         "webhook_delivery": "Delivery", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Aktiivinen?", |         "active": "Aktiivinen?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Journaux", |         "logs": "Journaux", | ||||||
|         "response": "R\u00e9ponse", |         "response": "R\u00e9ponse", | ||||||
|         "visit_webhook_url": "Visiter l'URL du webhook", |         "visit_webhook_url": "Visiter l'URL du webhook", | ||||||
|         "reset_webhook_secret": "R\u00e9initialiser le secret du webhook" |         "reset_webhook_secret": "R\u00e9initialiser le secret du webhook", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "Liens", |         "url": "Liens", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "R\u00e9f\u00e9rence interne", |         "internal_reference": "R\u00e9f\u00e9rence interne", | ||||||
|         "webhook_response": "R\u00e9ponse", |         "webhook_response": "R\u00e9ponse", | ||||||
|         "webhook_trigger": "D\u00e9clencheur", |         "webhook_trigger": "D\u00e9clencheur", | ||||||
|         "webhook_delivery": "Distribution" |         "webhook_delivery": "Distribution", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Actif ?", |         "active": "Actif ?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Napl\u00f3k", |         "logs": "Napl\u00f3k", | ||||||
|         "response": "V\u00e1lasz", |         "response": "V\u00e1lasz", | ||||||
|         "visit_webhook_url": "Webhook URL megl\u00e1togat\u00e1sa", |         "visit_webhook_url": "Webhook URL megl\u00e1togat\u00e1sa", | ||||||
|         "reset_webhook_secret": "Webhook titok vissza\u00e1ll\u00edt\u00e1sa" |         "reset_webhook_secret": "Webhook titok vissza\u00e1ll\u00edt\u00e1sa", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Bels\u0151 hivatkoz\u00e1s", |         "internal_reference": "Bels\u0151 hivatkoz\u00e1s", | ||||||
|         "webhook_response": "Response", |         "webhook_response": "Response", | ||||||
|         "webhook_trigger": "Trigger", |         "webhook_trigger": "Trigger", | ||||||
|         "webhook_delivery": "Delivery" |         "webhook_delivery": "Delivery", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Akt\u00edv?", |         "active": "Akt\u00edv?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Logs", |         "logs": "Logs", | ||||||
|         "response": "Response", |         "response": "Response", | ||||||
|         "visit_webhook_url": "Visit webhook URL", |         "visit_webhook_url": "Visit webhook URL", | ||||||
|         "reset_webhook_secret": "Reset webhook secret" |         "reset_webhook_secret": "Reset webhook secret", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Referensi internal", |         "internal_reference": "Referensi internal", | ||||||
|         "webhook_response": "Response", |         "webhook_response": "Response", | ||||||
|         "webhook_trigger": "Trigger", |         "webhook_trigger": "Trigger", | ||||||
|         "webhook_delivery": "Delivery" |         "webhook_delivery": "Delivery", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Aktif?", |         "active": "Aktif?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Log", |         "logs": "Log", | ||||||
|         "response": "Risposta", |         "response": "Risposta", | ||||||
|         "visit_webhook_url": "Visita URL webhook", |         "visit_webhook_url": "Visita URL webhook", | ||||||
|         "reset_webhook_secret": "Reimposta il segreto del webhook" |         "reset_webhook_secret": "Reimposta il segreto del webhook", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Riferimento interno", |         "internal_reference": "Riferimento interno", | ||||||
|         "webhook_response": "Risposta", |         "webhook_response": "Risposta", | ||||||
|         "webhook_trigger": "Trigger", |         "webhook_trigger": "Trigger", | ||||||
|         "webhook_delivery": "Consegna" |         "webhook_delivery": "Consegna", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Attivo", |         "active": "Attivo", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "\u30ed\u30b0", |         "logs": "\u30ed\u30b0", | ||||||
|         "response": "\u30ec\u30b9\u30dd\u30f3\u30b9", |         "response": "\u30ec\u30b9\u30dd\u30f3\u30b9", | ||||||
|         "visit_webhook_url": "Webhook\u306eURL\u3092\u958b\u304f", |         "visit_webhook_url": "Webhook\u306eURL\u3092\u958b\u304f", | ||||||
|         "reset_webhook_secret": "Webhook\u306e\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u30ea\u30bb\u30c3\u30c8" |         "reset_webhook_secret": "Webhook\u306e\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u30ea\u30bb\u30c3\u30c8", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "\u5185\u90e8\u53c2\u7167", |         "internal_reference": "\u5185\u90e8\u53c2\u7167", | ||||||
|         "webhook_response": "\u30ec\u30b9\u30dd\u30f3\u30b9", |         "webhook_response": "\u30ec\u30b9\u30dd\u30f3\u30b9", | ||||||
|         "webhook_trigger": "\u30c8\u30ea\u30ac\u30fc", |         "webhook_trigger": "\u30c8\u30ea\u30ac\u30fc", | ||||||
|         "webhook_delivery": "\u914d\u4fe1" |         "webhook_delivery": "\u914d\u4fe1", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "\u6709\u52b9", |         "active": "\u6709\u52b9", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "\ub85c\uadf8", |         "logs": "\ub85c\uadf8", | ||||||
|         "response": "\uc751\ub2f5", |         "response": "\uc751\ub2f5", | ||||||
|         "visit_webhook_url": "\uc6f9\ud6c5 URL \ubc29\ubb38", |         "visit_webhook_url": "\uc6f9\ud6c5 URL \ubc29\ubb38", | ||||||
|         "reset_webhook_secret": "\uc6f9\ud6c5 \uc2dc\ud06c\ub9bf \uc7ac\uc124\uc815" |         "reset_webhook_secret": "\uc6f9\ud6c5 \uc2dc\ud06c\ub9bf \uc7ac\uc124\uc815", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "\ub0b4\ubd80 \ucc38\uc870", |         "internal_reference": "\ub0b4\ubd80 \ucc38\uc870", | ||||||
|         "webhook_response": "\uc751\ub2f5", |         "webhook_response": "\uc751\ub2f5", | ||||||
|         "webhook_trigger": "\ud2b8\ub9ac\uac70", |         "webhook_trigger": "\ud2b8\ub9ac\uac70", | ||||||
|         "webhook_delivery": "\uc804\ub2ec" |         "webhook_delivery": "\uc804\ub2ec", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "\ud65c\uc131 \uc0c1\ud0dc\uc785\ub2c8\uae4c?", |         "active": "\ud65c\uc131 \uc0c1\ud0dc\uc785\ub2c8\uae4c?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Logger", |         "logs": "Logger", | ||||||
|         "response": "Respons", |         "response": "Respons", | ||||||
|         "visit_webhook_url": "Bes\u00f8k URL til webhook", |         "visit_webhook_url": "Bes\u00f8k URL til webhook", | ||||||
|         "reset_webhook_secret": "Tilbakestill Webhook n\u00f8kkel" |         "reset_webhook_secret": "Tilbakestill Webhook n\u00f8kkel", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "Nettadresse", |         "url": "Nettadresse", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Intern referanse", |         "internal_reference": "Intern referanse", | ||||||
|         "webhook_response": "Respons", |         "webhook_response": "Respons", | ||||||
|         "webhook_trigger": "Utl\u00f8ser", |         "webhook_trigger": "Utl\u00f8ser", | ||||||
|         "webhook_delivery": "Levering" |         "webhook_delivery": "Levering", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Er aktiv?", |         "active": "Er aktiv?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Logboeken", |         "logs": "Logboeken", | ||||||
|         "response": "Reactie", |         "response": "Reactie", | ||||||
|         "visit_webhook_url": "Bezoek URL van webhook", |         "visit_webhook_url": "Bezoek URL van webhook", | ||||||
|         "reset_webhook_secret": "Reset webhook-geheim" |         "reset_webhook_secret": "Reset webhook-geheim", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Interne verwijzing", |         "internal_reference": "Interne verwijzing", | ||||||
|         "webhook_response": "Reactie", |         "webhook_response": "Reactie", | ||||||
|         "webhook_trigger": "Trigger", |         "webhook_trigger": "Trigger", | ||||||
|         "webhook_delivery": "Bericht" |         "webhook_delivery": "Bericht", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Actief?", |         "active": "Actief?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Logger", |         "logs": "Logger", | ||||||
|         "response": "Respons", |         "response": "Respons", | ||||||
|         "visit_webhook_url": "Bes\u00f8k URL til webhook", |         "visit_webhook_url": "Bes\u00f8k URL til webhook", | ||||||
|         "reset_webhook_secret": "Tilbakestill Webhook hemmelegheit" |         "reset_webhook_secret": "Tilbakestill Webhook hemmelegheit", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "Nettadresse", |         "url": "Nettadresse", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Intern referanse", |         "internal_reference": "Intern referanse", | ||||||
|         "webhook_response": "Respons", |         "webhook_response": "Respons", | ||||||
|         "webhook_trigger": "Utl\u00f8ser", |         "webhook_trigger": "Utl\u00f8ser", | ||||||
|         "webhook_delivery": "Levering" |         "webhook_delivery": "Levering", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Er aktiv?", |         "active": "Er aktiv?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Logi", |         "logs": "Logi", | ||||||
|         "response": "Odpowied\u017a", |         "response": "Odpowied\u017a", | ||||||
|         "visit_webhook_url": "Odwied\u017a adres URL webhooka", |         "visit_webhook_url": "Odwied\u017a adres URL webhooka", | ||||||
|         "reset_webhook_secret": "Resetuj sekret webhooka" |         "reset_webhook_secret": "Resetuj sekret webhooka", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Wewn\u0119trzny numer", |         "internal_reference": "Wewn\u0119trzny numer", | ||||||
|         "webhook_response": "Odpowied\u017a", |         "webhook_response": "Odpowied\u017a", | ||||||
|         "webhook_trigger": "Wyzwalacz", |         "webhook_trigger": "Wyzwalacz", | ||||||
|         "webhook_delivery": "Dor\u0119czenie" |         "webhook_delivery": "Dor\u0119czenie", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Jest aktywny?", |         "active": "Jest aktywny?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Registros", |         "logs": "Registros", | ||||||
|         "response": "Resposta", |         "response": "Resposta", | ||||||
|         "visit_webhook_url": "Acesse a URL do webhook", |         "visit_webhook_url": "Acesse a URL do webhook", | ||||||
|         "reset_webhook_secret": "Redefinir chave do webhook" |         "reset_webhook_secret": "Redefinir chave do webhook", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Refer\u00eancia interna", |         "internal_reference": "Refer\u00eancia interna", | ||||||
|         "webhook_response": "Resposta", |         "webhook_response": "Resposta", | ||||||
|         "webhook_trigger": "Gatilho", |         "webhook_trigger": "Gatilho", | ||||||
|         "webhook_delivery": "Entrega" |         "webhook_delivery": "Entrega", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Est\u00e1 ativo?", |         "active": "Est\u00e1 ativo?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Logs", |         "logs": "Logs", | ||||||
|         "response": "Respostas", |         "response": "Respostas", | ||||||
|         "visit_webhook_url": "Ir para URL do webhook", |         "visit_webhook_url": "Ir para URL do webhook", | ||||||
|         "reset_webhook_secret": "Redefinir segredo webhook" |         "reset_webhook_secret": "Redefinir segredo webhook", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Refer\u00eancia interna", |         "internal_reference": "Refer\u00eancia interna", | ||||||
|         "webhook_response": "Resposta", |         "webhook_response": "Resposta", | ||||||
|         "webhook_trigger": "Gatilho", |         "webhook_trigger": "Gatilho", | ||||||
|         "webhook_delivery": "Entrega" |         "webhook_delivery": "Entrega", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Esta ativo?", |         "active": "Esta ativo?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Jurnale", |         "logs": "Jurnale", | ||||||
|         "response": "R\u0103spuns", |         "response": "R\u0103spuns", | ||||||
|         "visit_webhook_url": "Vizita\u0163i URL-ul webhook", |         "visit_webhook_url": "Vizita\u0163i URL-ul webhook", | ||||||
|         "reset_webhook_secret": "Resetare secret webhook" |         "reset_webhook_secret": "Resetare secret webhook", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Referin\u021b\u0103 intern\u0103", |         "internal_reference": "Referin\u021b\u0103 intern\u0103", | ||||||
|         "webhook_response": "R\u0103spuns", |         "webhook_response": "R\u0103spuns", | ||||||
|         "webhook_trigger": "Declan\u0219ator", |         "webhook_trigger": "Declan\u0219ator", | ||||||
|         "webhook_delivery": "Livrare" |         "webhook_delivery": "Livrare", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Este activ?", |         "active": "Este activ?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "\u041b\u043e\u0433\u0438", |         "logs": "\u041b\u043e\u0433\u0438", | ||||||
|         "response": "\u041e\u0442\u0432\u0435\u0442", |         "response": "\u041e\u0442\u0432\u0435\u0442", | ||||||
|         "visit_webhook_url": "\u041f\u043e\u0441\u0435\u0442\u0438\u0442\u044c URL \u0432\u0435\u0431\u0445\u0443\u043a\u0430", |         "visit_webhook_url": "\u041f\u043e\u0441\u0435\u0442\u0438\u0442\u044c URL \u0432\u0435\u0431\u0445\u0443\u043a\u0430", | ||||||
|         "reset_webhook_secret": "" |         "reset_webhook_secret": "", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "\u0421\u0441\u044b\u043b\u043a\u0430", |         "url": "\u0421\u0441\u044b\u043b\u043a\u0430", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u0441\u0441\u044b\u043b\u043a\u0430", |         "internal_reference": "\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u0441\u0441\u044b\u043b\u043a\u0430", | ||||||
|         "webhook_response": "\u041e\u0442\u0432\u0435\u0442", |         "webhook_response": "\u041e\u0442\u0432\u0435\u0442", | ||||||
|         "webhook_trigger": "\u0421\u043e\u0431\u044b\u0442\u0438\u044f", |         "webhook_trigger": "\u0421\u043e\u0431\u044b\u0442\u0438\u044f", | ||||||
|         "webhook_delivery": "\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430" |         "webhook_delivery": "\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "\u0410\u043a\u0442\u0438\u0432\u0435\u043d?", |         "active": "\u0410\u043a\u0442\u0438\u0432\u0435\u043d?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Logs", |         "logs": "Logs", | ||||||
|         "response": "Response", |         "response": "Response", | ||||||
|         "visit_webhook_url": "Visit webhook URL", |         "visit_webhook_url": "Visit webhook URL", | ||||||
|         "reset_webhook_secret": "Reset webhook secret" |         "reset_webhook_secret": "Reset webhook secret", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Intern\u00e1 referencia", |         "internal_reference": "Intern\u00e1 referencia", | ||||||
|         "webhook_response": "Response", |         "webhook_response": "Response", | ||||||
|         "webhook_trigger": "Trigger", |         "webhook_trigger": "Trigger", | ||||||
|         "webhook_delivery": "Delivery" |         "webhook_delivery": "Delivery", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Akt\u00edvne?", |         "active": "Akt\u00edvne?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Dnevniki", |         "logs": "Dnevniki", | ||||||
|         "response": "Odziv", |         "response": "Odziv", | ||||||
|         "visit_webhook_url": "Obi\u0161\u010dite URL webhooka", |         "visit_webhook_url": "Obi\u0161\u010dite URL webhooka", | ||||||
|         "reset_webhook_secret": "Ponastavi skrivno kodo webhooka" |         "reset_webhook_secret": "Ponastavi skrivno kodo webhooka", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Notranji sklic", |         "internal_reference": "Notranji sklic", | ||||||
|         "webhook_response": "Odziv", |         "webhook_response": "Odziv", | ||||||
|         "webhook_trigger": "Spro\u017eilec", |         "webhook_trigger": "Spro\u017eilec", | ||||||
|         "webhook_delivery": "Dostava" |         "webhook_delivery": "Dostava", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Aktiviran?", |         "active": "Aktiviran?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Loggar", |         "logs": "Loggar", | ||||||
|         "response": "Svar", |         "response": "Svar", | ||||||
|         "visit_webhook_url": "Visit webhook URL", |         "visit_webhook_url": "Visit webhook URL", | ||||||
|         "reset_webhook_secret": "Reset webhook secret" |         "reset_webhook_secret": "Reset webhook secret", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "L\u00e4nk", |         "url": "L\u00e4nk", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Intern referens", |         "internal_reference": "Intern referens", | ||||||
|         "webhook_response": "Response", |         "webhook_response": "Response", | ||||||
|         "webhook_trigger": "Utl\u00f6sare", |         "webhook_trigger": "Utl\u00f6sare", | ||||||
|         "webhook_delivery": "Delivery" |         "webhook_delivery": "Delivery", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "\u00c4r aktiv?", |         "active": "\u00c4r aktiv?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Logs", |         "logs": "Logs", | ||||||
|         "response": "Response", |         "response": "Response", | ||||||
|         "visit_webhook_url": "Visit webhook URL", |         "visit_webhook_url": "Visit webhook URL", | ||||||
|         "reset_webhook_secret": "Reset webhook secret" |         "reset_webhook_secret": "Reset webhook secret", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "Dahili referans", |         "internal_reference": "Dahili referans", | ||||||
|         "webhook_response": "Response", |         "webhook_response": "Response", | ||||||
|         "webhook_trigger": "Trigger", |         "webhook_trigger": "Trigger", | ||||||
|         "webhook_delivery": "Delivery" |         "webhook_delivery": "Delivery", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "Aktif mi?", |         "active": "Aktif mi?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "\u0416\u0443\u0440\u043d\u0430\u043b\u0438", |         "logs": "\u0416\u0443\u0440\u043d\u0430\u043b\u0438", | ||||||
|         "response": "\u0412\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u044c", |         "response": "\u0412\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u044c", | ||||||
|         "visit_webhook_url": "\u0412\u0456\u0434\u0432\u0456\u0434\u0430\u0439\u0442\u0435 URL-\u0430\u0434\u0440\u0435\u0441\u0443 \u0432\u0435\u0431-\u0445\u0443\u043a\u0443", |         "visit_webhook_url": "\u0412\u0456\u0434\u0432\u0456\u0434\u0430\u0439\u0442\u0435 URL-\u0430\u0434\u0440\u0435\u0441\u0443 \u0432\u0435\u0431-\u0445\u0443\u043a\u0443", | ||||||
|         "reset_webhook_secret": "\u0412\u0456\u0434\u043d\u043e\u0432\u0438\u0442\u0438 \u0441\u0456\u043a\u0440\u0435\u0442 \u0432\u0435\u0431-\u0445\u0443\u043a\u0430" |         "reset_webhook_secret": "\u0412\u0456\u0434\u043d\u043e\u0432\u0438\u0442\u0438 \u0441\u0456\u043a\u0440\u0435\u0442 \u0432\u0435\u0431-\u0445\u0443\u043a\u0430", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL-\u0430\u0434\u0440\u0435\u0441\u0430", |         "url": "URL-\u0430\u0434\u0440\u0435\u0441\u0430", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "\u0412\u043d\u0443\u0442\u0440\u0456\u0448\u043d\u0454 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f", |         "internal_reference": "\u0412\u043d\u0443\u0442\u0440\u0456\u0448\u043d\u0454 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f", | ||||||
|         "webhook_response": "\u0412\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u044c", |         "webhook_response": "\u0412\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u044c", | ||||||
|         "webhook_trigger": "\u0422\u0440\u0438\u0433\u0435\u0440", |         "webhook_trigger": "\u0422\u0440\u0438\u0433\u0435\u0440", | ||||||
|         "webhook_delivery": "\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430" |         "webhook_delivery": "\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "\u0427\u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439?", |         "active": "\u0427\u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "Nh\u1eadt k\u00fd", |         "logs": "Nh\u1eadt k\u00fd", | ||||||
|         "response": "\u0110\u00e1p l\u1ea1i", |         "response": "\u0110\u00e1p l\u1ea1i", | ||||||
|         "visit_webhook_url": "\u0110i \u0111\u1ebfn webhook URL", |         "visit_webhook_url": "\u0110i \u0111\u1ebfn webhook URL", | ||||||
|         "reset_webhook_secret": "C\u00e0i l\u1ea1i kh\u00f3a webhook" |         "reset_webhook_secret": "C\u00e0i l\u1ea1i kh\u00f3a webhook", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "T\u00e0i li\u1ec7u tham kh\u1ea3o n\u1ed9i b\u1ed9", |         "internal_reference": "T\u00e0i li\u1ec7u tham kh\u1ea3o n\u1ed9i b\u1ed9", | ||||||
|         "webhook_response": "\u0110\u00e1p l\u1ea1i", |         "webhook_response": "\u0110\u00e1p l\u1ea1i", | ||||||
|         "webhook_trigger": "K\u00edch ho\u1ea1t", |         "webhook_trigger": "K\u00edch ho\u1ea1t", | ||||||
|         "webhook_delivery": "Ph\u00e2n ph\u1ed1i" |         "webhook_delivery": "Ph\u00e2n ph\u1ed1i", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "\u0110ang ho\u1ea1t \u0111\u1ed9ng?", |         "active": "\u0110ang ho\u1ea1t \u0111\u1ed9ng?", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "\u65e5\u5fd7", |         "logs": "\u65e5\u5fd7", | ||||||
|         "response": "\u54cd\u5e94", |         "response": "\u54cd\u5e94", | ||||||
|         "visit_webhook_url": "\u8bbf\u95ee webhook URL", |         "visit_webhook_url": "\u8bbf\u95ee webhook URL", | ||||||
|         "reset_webhook_secret": "\u91cd\u7f6e webhook \u5bc6\u94a5" |         "reset_webhook_secret": "\u91cd\u7f6e webhook \u5bc6\u94a5", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "\u7f51\u5740", |         "url": "\u7f51\u5740", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "\u5185\u90e8\u5f15\u7528", |         "internal_reference": "\u5185\u90e8\u5f15\u7528", | ||||||
|         "webhook_response": "\u54cd\u5e94\u5185\u5bb9", |         "webhook_response": "\u54cd\u5e94\u5185\u5bb9", | ||||||
|         "webhook_trigger": "\u89e6\u53d1\u6761\u4ef6", |         "webhook_trigger": "\u89e6\u53d1\u6761\u4ef6", | ||||||
|         "webhook_delivery": "\u53d1\u9001\u683c\u5f0f" |         "webhook_delivery": "\u53d1\u9001\u683c\u5f0f", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "\u662f\u5426\u542f\u7528\uff1f", |         "active": "\u662f\u5426\u542f\u7528\uff1f", | ||||||
|   | |||||||
| @@ -129,7 +129,10 @@ | |||||||
|         "logs": "\u7d00\u9304\u65e5\u8a8c", |         "logs": "\u7d00\u9304\u65e5\u8a8c", | ||||||
|         "response": "\u56de\u8986", |         "response": "\u56de\u8986", | ||||||
|         "visit_webhook_url": "Visit webhook URL", |         "visit_webhook_url": "Visit webhook URL", | ||||||
|         "reset_webhook_secret": "Reset webhook secret" |         "reset_webhook_secret": "Reset webhook secret", | ||||||
|  |         "header_exchange_rates": "Exchange rates", | ||||||
|  |         "exchange_rates_intro": "Firefly III supports downloading and using exchange rates. Read more about this in <a href=\"https:\/\/docs.firefly-iii.org\/LOL_NOT_FINISHED_YET_TODO\">the documentation<\/a>.", | ||||||
|  |         "exchange_rates_from_to": "Between :from and :to" | ||||||
|     }, |     }, | ||||||
|     "form": { |     "form": { | ||||||
|         "url": "URL", |         "url": "URL", | ||||||
| @@ -145,7 +148,9 @@ | |||||||
|         "internal_reference": "\u5167\u90e8\u53c3\u8003", |         "internal_reference": "\u5167\u90e8\u53c3\u8003", | ||||||
|         "webhook_response": "Response", |         "webhook_response": "Response", | ||||||
|         "webhook_trigger": "Trigger", |         "webhook_trigger": "Trigger", | ||||||
|         "webhook_delivery": "Delivery" |         "webhook_delivery": "Delivery", | ||||||
|  |         "from_currency_to_currency": "{from} → {to}", | ||||||
|  |         "to_currency_from_currency": "{to} → {from}" | ||||||
|     }, |     }, | ||||||
|     "list": { |     "list": { | ||||||
|         "active": "\u662f\u5426\u555f\u7528\uff1f", |         "active": "\u662f\u5426\u555f\u7528\uff1f", | ||||||
|   | |||||||
| @@ -1399,6 +1399,9 @@ return [ | |||||||
|     'header_exchange_rates' => 'Exchange rates', |     'header_exchange_rates' => 'Exchange rates', | ||||||
|     'exchange_rates_intro' =>'Firefly III supports downloading and using exchange rates. Read more about this in <a href="https://docs.firefly-iii.org/LOL_NOT_FINISHED_YET_TODO">the documentation</a>.', |     'exchange_rates_intro' =>'Firefly III supports downloading and using exchange rates. Read more about this in <a href="https://docs.firefly-iii.org/LOL_NOT_FINISHED_YET_TODO">the documentation</a>.', | ||||||
|     'exchange_rates_from_to' => 'Between {from} and {to} (and the other way around)', |     'exchange_rates_from_to' => 'Between {from} and {to} (and the other way around)', | ||||||
|  |     'header_exchange_rates_rates' => 'Exchange rates', | ||||||
|  |     'exchange_rates_intro_rates' => 'Firefly III bla bla bla exchange rates.', | ||||||
|  |     'header_exchange_rates_table' => 'Table with exchange rates', | ||||||
| 
 | 
 | ||||||
|     // Financial administrations
 |     // Financial administrations
 | ||||||
|     'administration_index'                                => 'Financial administration', |     'administration_index'                                => 'Financial administration', | ||||||
|   | |||||||
| @@ -111,6 +111,11 @@ return [ | |||||||
|     'startdate'                    => 'Start date', |     'startdate'                    => 'Start date', | ||||||
|     'start_date'                   => 'Start date', |     'start_date'                   => 'Start date', | ||||||
|     'tag'                          => 'Tag', |     'tag'                          => 'Tag', | ||||||
|  | 
 | ||||||
|  |     // exchange rates
 | ||||||
|  |     'from_currency_to_currency' => '{from} → {to}', | ||||||
|  |     'to_currency_from_currency' => '{to} → {from}', | ||||||
|  | 
 | ||||||
|     'under'                        => 'Under', |     'under'                        => 'Under', | ||||||
|     'symbol'                       => 'Symbol', |     'symbol'                       => 'Symbol', | ||||||
|     'code'                         => 'Code', |     'code'                         => 'Code', | ||||||
|   | |||||||
| @@ -5,7 +5,8 @@ | |||||||
| {% endblock %} | {% endblock %} | ||||||
|  |  | ||||||
| {% block content %} | {% block content %} | ||||||
|     <div id="exchange_rates_rate"></div> |     <div id="exchange_rates_rates"></div> | ||||||
|  |  | ||||||
| {% endblock %} | {% endblock %} | ||||||
| {% block scripts %} | {% block scripts %} | ||||||
|  |  | ||||||
|   | |||||||
| @@ -95,8 +95,9 @@ Route::group( | |||||||
|     ], |     ], | ||||||
|     static function (): void { |     static function (): void { | ||||||
|         Route::get('', ['uses' => 'IndexController@index', 'as' => 'index']); |         Route::get('', ['uses' => 'IndexController@index', 'as' => 'index']); | ||||||
|  |         Route::get('{currency_code}', ['uses' => 'ShowController@show', 'as' => 'show']); | ||||||
| //        Route::post('', ['uses' => 'StoreController@store', 'as' => 'store']);
 | //        Route::post('', ['uses' => 'StoreController@store', 'as' => 'store']);
 | ||||||
| //        Route::get('{userGroup}', ['uses' => 'ShowController@show', 'as' => 'show']);
 | //
 | ||||||
|         //        Route::put('{userGroup}', ['uses' => 'UpdateController@update', 'as' => 'update']);
 |         //        Route::put('{userGroup}', ['uses' => 'UpdateController@update', 'as' => 'update']);
 | ||||||
|         //        Route::post('{userGroup}/use', ['uses' => 'UpdateController@useUserGroup', 'as' => 'use']);
 |         //        Route::post('{userGroup}/use', ['uses' => 'UpdateController@useUserGroup', 'as' => 'use']);
 | ||||||
|         //        Route::put('{userGroup}/update-membership', ['uses' => 'UpdateController@updateMembership', 'as' => 'updateMembership']);
 |         //        Route::put('{userGroup}/update-membership', ['uses' => 'UpdateController@updateMembership', 'as' => 'updateMembership']);
 | ||||||
| @@ -104,6 +105,26 @@ Route::group( | |||||||
|     } |     } | ||||||
| ); | ); | ||||||
| 
 | 
 | ||||||
|  | // exchange rates
 | ||||||
|  | Route::group( | ||||||
|  |     [ | ||||||
|  |         'namespace' => 'FireflyIII\Api\V2\Controllers\Model\ExchangeRate', | ||||||
|  |         'prefix'    => 'v2/exchange-rates', | ||||||
|  |         'as'        => 'api.v2.exchange-rates.', | ||||||
|  |     ], | ||||||
|  |     static function (): void { | ||||||
|  |         Route::get('', ['uses' => 'IndexController@index', 'as' => 'index']); | ||||||
|  |         Route::get('{fromCurrencyCode}/{toCurrencyCode}', ['uses' => 'ShowController@show', 'as' => 'show']); | ||||||
|  | //        Route::post('', ['uses' => 'StoreController@store', 'as' => 'store']);
 | ||||||
|  | //
 | ||||||
|  |         //        Route::put('{userGroup}', ['uses' => 'UpdateController@update', 'as' => 'update']);
 | ||||||
|  |         //        Route::post('{userGroup}/use', ['uses' => 'UpdateController@useUserGroup', 'as' => 'use']);
 | ||||||
|  |         //        Route::put('{userGroup}/update-membership', ['uses' => 'UpdateController@updateMembership', 'as' => 'updateMembership']);
 | ||||||
|  |         //        Route::delete('{userGroup}', ['uses' => 'DestroyController@destroy', 'as' => 'destroy']);
 | ||||||
|  |     } | ||||||
|  | ); | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| // V2 API route for Summary boxes
 | // V2 API route for Summary boxes
 | ||||||
| // BASIC
 | // BASIC
 | ||||||
| //Route::group(
 | //Route::group(
 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user