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
+6 -4
View File
@@ -136,7 +136,8 @@
"Wishlist": "Wishlist", "Wishlist": "Wishlist",
"Top performers": "Top performers", "Top performers": "Top performers",
"Top headlines": "Top headlines", "Top headlines": "Top headlines",
"Press :key to search": "Press :key to search", "Click or press :key to search": "Click or press :key to search",
"Click to search": "Click to search",
"Search holdings, portfolios, or anything else...": "Search holdings, portfolios, or anything else...", "Search holdings, portfolios, or anything else...": "Search holdings, portfolios, or anything else...",
"Darn! Nothing found for that search.": "Darn! Nothing found for that search.", "Darn! Nothing found for that search.": "Darn! Nothing found for that search.",
"Portfolio": "Portfolio", "Portfolio": "Portfolio",
@@ -186,8 +187,9 @@
"Performance": "Performance", "Performance": "Performance",
"Reset chart": "Reset chart", "Reset chart": "Reset chart",
"Choose time period": "Choose time period", "Choose time period": "Choose time period",
"Manage Portfolio": "Manage Portfolio", "Manage portfolio": "Manage portfolio",
"Create Transaction": "Create Transaction", "Create transaction": "Create transaction",
"Manage transaction": "Manage transaction",
"Holding": "Holding", "Holding": "Holding",
"Holdings": "Holdings", "Holdings": "Holdings",
"Recent activity": "Recent activity", "Recent activity": "Recent activity",
@@ -346,7 +348,7 @@
"Updated user's access permission to portfolio": "Updated user's access permission to portfolio", "Updated user's access permission to portfolio": "Updated user's access permission to portfolio",
"Removed user's access to portfolio": "Removed user's access to portfolio", "Removed user's access to portfolio": "Removed user's access to portfolio",
"Shared portfolio with user": "Shared portfolio with user", "Shared portfolio with user": "Shared portfolio with user",
"Share Portfolio": "Share Portfolio", "Share portfolio": "Share portfolio",
"Type an email address to share portfolio": "Type an email address to share portfolio", "Type an email address to share portfolio": "Type an email address to share portfolio",
"Grant full access": "Grant full access", "Grant full access": "Grant full access",
"Allow this user to manage portfolio details and create or update transactions": "Allow this user to manage portfolio details and create or update transactions", "Allow this user to manage portfolio details and create or update transactions": "Allow this user to manage portfolio details and create or update transactions",
+6 -4
View File
@@ -136,7 +136,8 @@
"Wishlist": "Lista de deseos", "Wishlist": "Lista de deseos",
"Top performers": "Mejores rendimientos", "Top performers": "Mejores rendimientos",
"Top headlines": "Principales titulares", "Top headlines": "Principales titulares",
"Press :key to search": "Presiona :key para buscar", "Click or press :key to search": "Haz clic o presiona :key para buscar",
"Click to search": "Haz clic para buscar",
"Search holdings, portfolios, or anything else...": "Busca participaciones, portafolios, o cualquier otra cosa...", "Search holdings, portfolios, or anything else...": "Busca participaciones, portafolios, o cualquier otra cosa...",
"Darn! Nothing found for that search.": "¡Vaya! No se encontró nada para esa búsqueda.", "Darn! Nothing found for that search.": "¡Vaya! No se encontró nada para esa búsqueda.",
"Portfolio": "Portafolio", "Portfolio": "Portafolio",
@@ -186,8 +187,9 @@
"Performance": "Desempeño", "Performance": "Desempeño",
"Reset chart": "Restablecer gráfico", "Reset chart": "Restablecer gráfico",
"Choose time period": "Elegir período de tiempo", "Choose time period": "Elegir período de tiempo",
"Manage Portfolio": "Editar Portafolio", "Manage portfolio": "Editar portafolio",
"Create Transaction": "Crear Transacción", "Create transaction": "Crear transacción",
"Manage transaction": "Editar transacción",
"Holding": "Tenencia", "Holding": "Tenencia",
"Holdings": "Tenencias", "Holdings": "Tenencias",
"Recent activity": "Actividad reciente", "Recent activity": "Actividad reciente",
@@ -346,7 +348,7 @@
"Updated user's access permission to portfolio": "Se actualizó el permiso de acceso del usuario al portafolio", "Updated user's access permission to portfolio": "Se actualizó el permiso de acceso del usuario al portafolio",
"Removed user's access to portfolio": "Se eliminó el acceso del usuario al portafolio", "Removed user's access to portfolio": "Se eliminó el acceso del usuario al portafolio",
"Shared portfolio with user": "Portafolio compartido con usuario", "Shared portfolio with user": "Portafolio compartido con usuario",
"Share Portfolio": "Compartir portafolio", "Share portfolio": "Compartir portafolio",
"Type an email address to share portfolio": "Escribe una dirección de correo electrónico para compartir portafolio", "Type an email address to share portfolio": "Escribe una dirección de correo electrónico para compartir portafolio",
"Grant full access": "Otorgar acceso completo", "Grant full access": "Otorgar acceso completo",
"Allow this user to manage portfolio details and create or update transactions": "Permitir a este usuario administrar detalles de portafolio y crear o actualizar transacciones", "Allow this user to manage portfolio details and create or update transactions": "Permitir a este usuario administrar detalles de portafolio y crear o actualizar transacciones",
@@ -25,11 +25,14 @@
class="btn-sm flex-1 justify-start md:flex-none" class="btn-sm flex-1 justify-start md:flex-none"
> >
<x-slot:label> <x-slot:label>
<span class="flex"> <span class="flex items-center text-gray-400">
<x-icon name="o-magnifying-glass" class="mr-2" /> <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>']) @lang('Click or press :key to search', ['key' => '<kbd class="kbd kbd-sm">/</kbd>'])
</span> </span>
<span class=" truncate block sm:hidden">
@lang('Click to search')
</span>
</span> </span>
</x-slot:label> </x-slot:label>
</x-button> </x-button>
+2 -2
View File
@@ -3,7 +3,7 @@
<x-ib-modal <x-ib-modal
key="create-transaction" key="create-transaction"
title="{{ __('Create Transaction') }}" title="{{ __('Create transaction') }}"
> >
@livewire('manage-transaction-form', [ @livewire('manage-transaction-form', [
'portfolio' => $portfolio, 'portfolio' => $portfolio,
@@ -43,7 +43,7 @@
@can('fullAccess', $portfolio) @can('fullAccess', $portfolio)
<x-button <x-button
label="{{ __('Create Transaction') }}" label="{{ __('Create transaction') }}"
class="btn-sm btn-primary whitespace-nowrap" class="btn-sm btn-primary whitespace-nowrap"
@click="$dispatch('toggle-create-transaction')" @click="$dispatch('toggle-create-transaction')"
/> />
@@ -19,18 +19,18 @@ new class extends Component {
{ {
$this->headers = [ $this->headers = [
['key' => 'symbol', 'label' => __('Symbol')], ['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' => 'quantity', 'label' => __('Quantity')],
['key' => 'average_cost_basis', 'label' => __('Average Cost Basis')], ['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' => '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_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' => 'realized_gain_dollars', 'label' => __('Realized Gain/Loss')],
['key' => 'dividends_earned', 'label' => __('Dividends Earned')], ['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_low', 'label' => __('52 week low'), 'class' => 'hidden md:table-cell'],
['key' => 'market_data_fifty_two_week_high', 'label' => __('52 week high'), 'class' => 'hidden md:block'], ['key' => 'market_data_fifty_two_week_high', 'label' => __('52 week high'), 'class' => 'hidden md:table-cell'],
['key' => 'num_transactions', 'label' => __('Number of Transactions')], ['key' => 'num_transactions', 'label' => __('Number of Transactions')],
['key' => 'market_data_updated_at', 'label' => __('Last Refreshed')], ['key' => 'market_data_updated_at', 'label' => __('Last Refreshed')],
]; ];
@@ -162,7 +162,7 @@ new class extends Component {
<x-ib-modal <x-ib-modal
key="add-user-modal" key="add-user-modal"
title="{{ __('Share Portfolio') }}" title="{{ __('Share portfolio') }}"
> >
<div class="" x-data="{ }"> <div class="" x-data="{ }">
<x-ib-form wire:submit="addUser" class=""> <x-ib-form wire:submit="addUser" class="">
@@ -186,7 +186,7 @@ new class extends Component {
<x-button <x-button
label="{{ __('Share') }}" label="{{ __('Share') }}"
title="{{ __('Share Portfolio') }}" title="{{ __('Share portfolio') }}"
type="submit" type="submit"
icon="o-paper-airplane" icon="o-paper-airplane"
class="btn-primary" class="btn-primary"
@@ -91,7 +91,7 @@ new class extends Component {
<x-ib-modal <x-ib-modal
key="manage-transaction" key="manage-transaction"
title="Manage Transaction" title="{{ __('Manage transaction') }}"
> >
@livewire('manage-transaction-form', [ @livewire('manage-transaction-form', [
'portfolio' => $portfolio, 'portfolio' => $portfolio,
+4 -4
View File
@@ -3,7 +3,7 @@
<x-ib-modal <x-ib-modal
key="create-transaction" key="create-transaction"
title="{{ __('Create Transaction') }}" title="{{ __('Create transaction') }}"
> >
@livewire('manage-transaction-form', [ @livewire('manage-transaction-form', [
'portfolio' => $portfolio, 'portfolio' => $portfolio,
@@ -13,7 +13,7 @@
<x-ib-drawer <x-ib-drawer
key="manage-portfolio" key="manage-portfolio"
title="{{ __('Manage Portfolio') }}" title="{{ __('Manage portfolio') }}"
> >
@livewire('manage-portfolio-form', [ @livewire('manage-portfolio-form', [
'portfolio' => $portfolio, 'portfolio' => $portfolio,
@@ -30,7 +30,7 @@
@can('fullAccess', $portfolio) @can('fullAccess', $portfolio)
<x-button <x-button
title="{{ __('Manage Portfolio') }}" title="{{ __('Manage portfolio') }}"
icon="o-pencil" icon="o-pencil"
class="btn-circle btn-ghost btn-sm text-secondary" class="btn-circle btn-ghost btn-sm text-secondary"
@click="$dispatch('toggle-manage-portfolio')" @click="$dispatch('toggle-manage-portfolio')"
@@ -42,7 +42,7 @@
@can('fullAccess', $portfolio) @can('fullAccess', $portfolio)
<div> <div>
<x-button <x-button
label="{{ __('Create Transaction') }}" label="{{ __('Create transaction') }}"
class="btn-sm btn-primary whitespace-nowrap" class="btn-sm btn-primary whitespace-nowrap"
@click="$dispatch('toggle-create-transaction')" @click="$dispatch('toggle-create-transaction')"
/> />
+2 -2
View File
@@ -3,7 +3,7 @@
<x-ib-modal <x-ib-modal
key="create-transaction" key="create-transaction"
title="{{ __('Create Transaction') }}" title="{{ __('Create transaction') }}"
> >
@livewire('manage-transaction-form') @livewire('manage-transaction-form')
@@ -15,7 +15,7 @@
<div> <div>
<x-button <x-button
label="{{ __('Create Transaction') }}" label="{{ __('Create transaction') }}"
class="btn-sm btn-primary whitespace-nowrap " class="btn-sm btn-primary whitespace-nowrap "
@click="$dispatch('toggle-create-transaction')" @click="$dispatch('toggle-create-transaction')"
/> />