Archived
1
0
Fork 0

views: add translations to some strings.

This commit is contained in:
Henrik Hautakoski 2021-07-31 14:00:06 +02:00
parent f5252052ff
commit 531da903ae
6 changed files with 16 additions and 13 deletions

View file

@ -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>

View file

@ -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">