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
@@ -25,11 +25,14 @@
class="btn-sm flex-1 justify-start md:flex-none"
>
<x-slot:label>
<span class="flex">
<span class="flex items-center text-gray-400">
<x-icon name="o-magnifying-glass" class="mr-2" />
<span class="hidden md:block">
<span class=" truncate hidden sm:block">
@lang('Click or press :key to search', ['key' => '<kbd class="kbd kbd-sm">/</kbd>'])
</span>
<span class=" truncate block sm:hidden">
@lang('Click to search')
</span>
</span>
</x-slot:label>
</x-button>
+2 -2
View File
@@ -3,7 +3,7 @@
<x-ib-modal
key="create-transaction"
title="{{ __('Create Transaction') }}"
title="{{ __('Create transaction') }}"
>
@livewire('manage-transaction-form', [
'portfolio' => $portfolio,
@@ -43,7 +43,7 @@
@can('fullAccess', $portfolio)
<x-button
label="{{ __('Create Transaction') }}"
label="{{ __('Create transaction') }}"
class="btn-sm btn-primary whitespace-nowrap"
@click="$dispatch('toggle-create-transaction')"
/>
@@ -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,
+4 -4
View File
@@ -3,7 +3,7 @@
<x-ib-modal
key="create-transaction"
title="{{ __('Create Transaction') }}"
title="{{ __('Create transaction') }}"
>
@livewire('manage-transaction-form', [
'portfolio' => $portfolio,
@@ -13,7 +13,7 @@
<x-ib-drawer
key="manage-portfolio"
title="{{ __('Manage Portfolio') }}"
title="{{ __('Manage portfolio') }}"
>
@livewire('manage-portfolio-form', [
'portfolio' => $portfolio,
@@ -30,7 +30,7 @@
@can('fullAccess', $portfolio)
<x-button
title="{{ __('Manage Portfolio') }}"
title="{{ __('Manage portfolio') }}"
icon="o-pencil"
class="btn-circle btn-ghost btn-sm text-secondary"
@click="$dispatch('toggle-manage-portfolio')"
@@ -42,7 +42,7 @@
@can('fullAccess', $portfolio)
<div>
<x-button
label="{{ __('Create Transaction') }}"
label="{{ __('Create transaction') }}"
class="btn-sm btn-primary whitespace-nowrap"
@click="$dispatch('toggle-create-transaction')"
/>
+2 -2
View File
@@ -3,7 +3,7 @@
<x-ib-modal
key="create-transaction"
title="{{ __('Create Transaction') }}"
title="{{ __('Create transaction') }}"
>
@livewire('manage-transaction-form')
@@ -15,7 +15,7 @@
<div>
<x-button
label="{{ __('Create Transaction') }}"
label="{{ __('Create transaction') }}"
class="btn-sm btn-primary whitespace-nowrap "
@click="$dispatch('toggle-create-transaction')"
/>