fix:sentence case for translations

This commit is contained in:
hackerESQ
2024-10-22 12:36:43 -05:00
parent 6b424e2dcc
commit 965303b6b0
9 changed files with 34 additions and 27 deletions
@@ -19,18 +19,18 @@ new class extends Component {
{
$this->headers = [
['key' => 'symbol', 'label' => __('Symbol')],
['key' => 'market_data_name', 'label' => __('Name'), 'sortable' => true, 'class' => 'hidden md:block'],
['key' => 'market_data_name', 'label' => __('Name'), 'sortable' => true, 'class' => 'hidden md:table-cell'],
['key' => 'quantity', 'label' => __('Quantity')],
['key' => 'average_cost_basis', 'label' => __('Average Cost Basis')],
['key' => 'total_cost_basis', 'label' => __('Total Cost Basis'), 'class' => 'hidden md:block'],
['key' => 'total_cost_basis', 'label' => __('Total Cost Basis'), 'class' => 'hidden md:table-cell'],
['key' => 'market_data_market_value', 'label' => __('Market Value')],
['key' => 'total_market_value', 'label' => __('Total Market Value'), 'class' => 'hidden md:block'],
['key' => 'total_market_value', 'label' => __('Total Market Value'), 'class' => 'hidden md:table-cell'],
['key' => 'market_gain_dollars', 'label' => __('Market Gain/Loss')],
['key' => 'market_gain_percent', 'label' => __('Market Gain/Loss'), 'class' => 'hidden md:block'],
['key' => 'market_gain_percent', 'label' => __('Market Gain/Loss'), 'class' => 'hidden md:table-cell'],
['key' => 'realized_gain_dollars', 'label' => __('Realized Gain/Loss')],
['key' => 'dividends_earned', 'label' => __('Dividends Earned')],
['key' => 'market_data_fifty_two_week_low', 'label' => __('52 week low'), 'class' => 'hidden md:block'],
['key' => 'market_data_fifty_two_week_high', 'label' => __('52 week high'), 'class' => 'hidden md:block'],
['key' => 'market_data_fifty_two_week_low', 'label' => __('52 week low'), 'class' => 'hidden md:table-cell'],
['key' => 'market_data_fifty_two_week_high', 'label' => __('52 week high'), 'class' => 'hidden md:table-cell'],
['key' => 'num_transactions', 'label' => __('Number of Transactions')],
['key' => 'market_data_updated_at', 'label' => __('Last Refreshed')],
];
@@ -162,7 +162,7 @@ new class extends Component {
<x-ib-modal
key="add-user-modal"
title="{{ __('Share Portfolio') }}"
title="{{ __('Share portfolio') }}"
>
<div class="" x-data="{ }">
<x-ib-form wire:submit="addUser" class="">
@@ -186,7 +186,7 @@ new class extends Component {
<x-button
label="{{ __('Share') }}"
title="{{ __('Share Portfolio') }}"
title="{{ __('Share portfolio') }}"
type="submit"
icon="o-paper-airplane"
class="btn-primary"
@@ -91,7 +91,7 @@ new class extends Component {
<x-ib-modal
key="manage-transaction"
title="Manage Transaction"
title="{{ __('Manage transaction') }}"
>
@livewire('manage-transaction-form', [
'portfolio' => $portfolio,