views: add translations to some strings.
This commit is contained in:
parent
f5252052ff
commit
531da903ae
6 changed files with 16 additions and 13 deletions
|
|
@ -32,7 +32,7 @@
|
|||
</div>
|
||||
|
||||
<div class="mt-2">
|
||||
<x-button element="input" type="submit" value="{{$this->character->exists ? 'Save' : 'Create' }}" />
|
||||
<x-button element="input" type="submit" value="{{ __($this->character->exists ? 'Save' : 'Create') }}" />
|
||||
</div>
|
||||
|
||||
</x-form>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<div>
|
||||
|
||||
<div class="grid grid-cols-3 gap-4 mb-2">
|
||||
<x-input wire:model="name" name="name" placeholder="Recipe" />
|
||||
<x-input wire:model="crafter" name="crafter" placeholder="Crafter" />
|
||||
<x-input wire:model="name" name="name" placeholder="{{ __('Recipe') }}" />
|
||||
<x-input wire:model="crafter" name="crafter" placeholder="{{ __('Crafter') }}" />
|
||||
<x-select wire:model="profession" name="profession" :options="$profession_options" />
|
||||
</div>
|
||||
|
||||
|
|
@ -10,9 +10,9 @@
|
|||
<table class="w-full whitespace-nowrap">
|
||||
<thead>
|
||||
<tr tabindex="0" class="focus:outline-none w-full text-sm leading-none text-gray-800">
|
||||
<th class="text-left px-3 py-4">Recipe</th>
|
||||
<th class="text-left px-3 py-4">Profession</th>
|
||||
<th class="text-left px-3 py-4">Crafters</th>
|
||||
<th class="text-left px-3 py-4">{{ __('Recipe') }}</th>
|
||||
<th class="text-left px-3 py-4">{{ __('Profession') }}</th>
|
||||
<th class="text-left px-3 py-4">{{ __('Crafters') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="w-full">
|
||||
|
|
|
|||
Reference in a new issue