mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			73 lines
		
	
	
		
			5.7 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			73 lines
		
	
	
		
			5.7 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| 
 | |
| /*
 | |
|  * rules.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);
 | |
| 
 | |
| return [
 | |
|     'main_message'                                => 'Action ":action", present in rule ":rule", could not be applied to transaction #:group: :error',
 | |
|     'find_or_create_tag_failed'                   => 'Klarte ikkje finna eller oppretta nøkkelordet «:tag»',
 | |
|     'tag_already_added'                           => 'Nøkkelordet «:tag» er allerede knytt til denne transaksjonen',
 | |
|     'inspect_transaction'                         => 'Inspect transaction ":title" @ Firefly III',
 | |
|     'inspect_rule'                                => 'Inspect rule ":title" @ Firefly III',
 | |
|     'journal_other_user'                          => 'This transaction doesn\'t belong to the user',
 | |
|     'no_such_journal'                             => 'This transaction doesn\'t exist',
 | |
|     'journal_already_no_budget'                   => 'This transaction has no budget, so it cannot be removed',
 | |
|     'journal_already_no_category'                 => 'This transaction had no category, so it cannot be removed',
 | |
|     'journal_already_no_notes'                    => 'This transaction had no notes, so they cannot be removed',
 | |
|     'journal_not_found'                           => 'Firefly III kan ikkje finna transaksjonen du spør etter',
 | |
|     'split_group'                                 => 'Firefly III cannot execute this action on a transaction with multiple splits',
 | |
|     'is_already_withdrawal'                       => 'This transaction is already a withdrawal',
 | |
|     'is_already_deposit'                          => 'This transaction is already a deposit',
 | |
|     'is_already_transfer'                         => 'This transaction is already a transfer',
 | |
|     'is_not_transfer'                             => 'This transaction is not a transfer',
 | |
|     'complex_error'                               => 'Something complicated went wrong. Sorry about that. Please inspect the logs of Firefly III',
 | |
|     'no_valid_opposing'                           => 'Conversion failed because there is no valid account named ":account"',
 | |
|     'new_notes_empty'                             => 'The notes to be set are empty',
 | |
|     'unsupported_transaction_type_withdrawal'     => 'Firefly III cannot convert a ":type" to a withdrawal',
 | |
|     'unsupported_transaction_type_deposit'        => 'Firefly III cannot convert a ":type" to a deposit',
 | |
|     'unsupported_transaction_type_transfer'       => 'Firefly III cannot convert a ":type" to a transfer',
 | |
|     'already_has_source_asset'                    => 'This transaction already has ":name" as the source asset account',
 | |
|     'already_has_destination_asset'               => 'This transaction already has ":name" as the destination asset account',
 | |
|     'already_has_destination'                     => 'This transaction already has ":name" as the destination account',
 | |
|     'already_has_source'                          => 'This transaction already has ":name" as the source account',
 | |
|     'already_linked_to_subscription'              => 'Transaksjonen er allereie knytta til abonnementet «:name»',
 | |
|     'already_linked_to_category'                  => 'The transaction is already linked to category ":name"',
 | |
|     'already_linked_to_budget'                    => 'The transaction is already linked to budget ":name"',
 | |
|     'cannot_find_subscription'                    => 'Firefly III finn ikkje abonnementet «:name»',
 | |
|     'no_notes_to_move'                            => 'The transaction has no notes to move to the description field',
 | |
|     'no_tags_to_remove'                           => 'Transaksjonen har ingen nøkkelord å fjerna',
 | |
|     'cannot_find_tag'                             => 'Firefly III finn ikkje nøkkelordet «:tag»',
 | |
|     'cannot_find_asset'                           => 'Firefly III can\'t find asset account ":name"',
 | |
|     'cannot_find_accounts'                        => 'Firefly III can\'t find the source or destination account',
 | |
|     'cannot_find_source_transaction'              => 'Firefly III can\'t find the source transaction',
 | |
|     'cannot_find_destination_transaction'         => 'Firefly III can\'t find the destination transaction',
 | |
|     'cannot_find_source_transaction_account'      => 'Firefly III can\'t find the source transaction account',
 | |
|     'cannot_find_destination_transaction_account' => 'Firefly III can\'t find the destination transaction account',
 | |
|     'cannot_find_piggy'                           => 'Firefly III can\'t find a piggy bank named ":name"',
 | |
|     'no_link_piggy'                               => 'This transaction\'s accounts are not linked to the piggy bank, so no action will be taken',
 | |
|     'cannot_unlink_tag'                           => 'Nøkkelordet «:tag» er ikkje knytt til denne transkasjonen',
 | |
|     'cannot_find_budget'                          => 'Firefly III can\'t find budget ":name"',
 | |
|     'cannot_find_category'                        => 'Firefly III can\'t find category ":name"',
 | |
|     'cannot_set_budget'                           => 'Firefly III can\'t set budget ":name" to a transaction of type ":type"',
 | |
| ];
 |