1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 14:12:44 +01:00

add translations for currencies

This commit is contained in:
David Bomba 2023-08-10 09:39:59 +10:00
parent e5140e28dc
commit 79c4d49896
3 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,7 @@
namespace App\Utils;
use App\Models\PaymentTerm;
use Cache;
use \Illuminate\Support\Facades\Cache;
use Illuminate\Support\Str;
class TranslationHelper

View File

@ -140,6 +140,7 @@ class CurrenciesSeeder extends Seeder
['id' => 115, 'name' => 'Libyan Dinar', 'code' => 'LYD', 'symbol' => 'LD', 'precision' => '3', 'thousand_separator' => ',', 'decimal_separator' => '.'],
['id' => 116, 'name' => 'Silver Troy Ounce', 'code' => 'XAG', 'symbol' => 'XAG', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'],
['id' => 117, 'name' => 'Gold Troy Ounce', 'code' => 'XAU', 'symbol' => 'XAU', 'precision' => '3', 'thousand_separator' => ',', 'decimal_separator' => '.'],
['id' => 118, 'name' => 'Nicaraguan Córdoba', 'code' => 'NIO', 'symbol' => 'C$', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'],
];
foreach ($currencies as $currency) {

View File

@ -5146,6 +5146,7 @@ $LANG = array(
'triangular_tax_info' => 'Intra-community triangular transaction',
'intracommunity_tax_info' => 'Tax-free intra-community delivery',
'reverse_tax_info' => 'Please note that this supply is subject to reverse charge',
'currency_nicaraguan_cordoba' => 'Nicaraguan Córdoba',
);
return $LANG;