Skip to content

Commit dae8a48

Browse files
committed
Lang update
1 parent 062177d commit dae8a48

File tree

5 files changed

+39
-11
lines changed

5 files changed

+39
-11
lines changed

resources/lang/en/lang.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
'you_can_update_from_laravel_crm' => 'You can update from Laravel CRM',
187187
'upgrade_guide' => 'upgrade guide',
188188
'settings_updated' => 'settings updated',
189-
'organisation_name' => 'organisation name',
189+
'organisation_name' => 'organization name',
190190
'language' => 'language',
191191
'product_category_stored' => 'product category stored',
192192
'product_category_updated' => 'product category updated',
@@ -220,9 +220,9 @@
220220
'filters' => 'filters',
221221
'type' => 'type',
222222
'add_note' => 'add note',
223-
'related_organisations' => 'related organizations',
224-
'link_an_organisation' => 'link an organization',
225-
'link_organisation' => 'link organization',
223+
'related_organizations' => 'related organizations',
224+
'link_an_organization' => 'link an organization',
225+
'link_organization' => 'link organization',
226226
'related_people' => 'related people',
227227
'link_a_person' => 'link a person',
228228
'link_person' => 'link person',

resources/lang/en_au/lang.php

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
<?php
22

33
return [
4-
4+
'organization' => 'organisation',
5+
'organizations' => 'organisations',
6+
'create_organization' => 'create organisation',
7+
'edit_organization' => 'edit organisation',
8+
'add_organization' => 'add organisation',
9+
'organization_stored' => 'organisation stored',
10+
'organization_updated' => 'organisation updated',
11+
'organization_deleted' => 'organisation deleted',
12+
'back_to_organizations' => 'back to organisations',
13+
'total_organizations' => 'total organisations',
14+
'organization_name' => 'organisation name',
15+
'related_organizations' => 'related organisations',
16+
'link_an_organization' => 'link an organisation',
17+
'link_organization' => 'link organisation',
18+
'postcode' => 'postcode',
519
];

resources/lang/en_gb/lang.php

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
<?php
22

33
return [
4-
4+
'organization' => 'organisation',
5+
'organizations' => 'organisations',
6+
'create_organization' => 'create organisation',
7+
'edit_organization' => 'edit organisation',
8+
'add_organization' => 'add organisation',
9+
'organization_stored' => 'organisation stored',
10+
'organization_updated' => 'organisation updated',
11+
'organization_deleted' => 'organisation deleted',
12+
'back_to_organizations' => 'back to organisations',
13+
'total_organizations' => 'total organisations',
14+
'organization_name' => 'organisation name',
15+
'related_organizations' => 'related organisations',
16+
'link_an_organization' => 'link an organisation',
17+
'link_organization' => 'link organisation',
18+
'postcode' => 'postcode',
519
];

resources/views/livewire/related-contact-organisations.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div>
22
@can('view crm contacts')
3-
<h6 class="text-uppercase mt-4 section-h6-title"><span>{{ ucfirst(__('laravel-crm::lang.related_organisations')) }} ({{ $contacts->count() }})</span>@can('create crm contacts')<span class="float-right"><a href="#" data-toggle="modal" data-target="#linkOrganisationModal" class="btn btn-outline-secondary btn-sm"><span class="fa fa-plus" aria-hidden="true"></span></a></span>@endcan</h6>
3+
<h6 class="text-uppercase mt-4 section-h6-title"><span>{{ ucfirst(__('laravel-crm::lang.related_organizations')) }} ({{ $contacts->count() }})</span>@can('create crm contacts')<span class="float-right"><a href="#" data-toggle="modal" data-target="#linkOrganisationModal" class="btn btn-outline-secondary btn-sm"><span class="fa fa-plus" aria-hidden="true"></span></a></span>@endcan</h6>
44
<hr />
55
@foreach($contacts as $contact)
66
<p><span class="fa fa-building" aria-hidden="true"></span> {{ $contact->entityable->name }}</p>
@@ -11,7 +11,7 @@
1111
<div class="modal-dialog">
1212
<div class="modal-content">
1313
<div class="modal-header">
14-
<h5 class="modal-title" id="linkOrganisationModalLabel">{{ ucfirst(__('laravel-crm::lang.link_an_organisation')) }} </h5>
14+
<h5 class="modal-title" id="linkOrganisationModalLabel">{{ ucfirst(__('laravel-crm::lang.link_an_organization')) }} </h5>
1515
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
1616
<span aria-hidden="true">&times;</span>
1717
</button>
@@ -26,14 +26,14 @@
2626
let organisations = {!! \VentureDrake\LaravelCrm\Http\Helpers\AutoComplete\organisations() !!}
2727
</script>
2828
<div class="form-group @error('organisation_name') text-danger @enderror">
29-
<label>{{ ucfirst(__('laravel-crm::lang.organisation_name')) }}</label>
29+
<label>{{ ucfirst(__('laravel-crm::lang.organization_name')) }}</label>
3030
<input wire:model.debounce.10000ms="organisation_name" type="text" class="form-control" name="organisation_name" autocomplete="{{ \Illuminate\Support\Str::random() }}">
3131
@error('organisation_name') <span class="text-danger invalid-feedback-custom">{{ $message }}</span>@enderror
3232
</div>
3333
</div>
3434
<div class="modal-footer">
3535
<button type="button" class="btn btn-outline-secondary" data-dismiss="modal">{{ ucfirst(__('laravel-crm::lang.cancel')) }}</button>
36-
<button wire:click.prevent="link()" type="button" class="btn btn-primary">{{ ucwords(__('laravel-crm::lang.link_organisation')) }}</button>
36+
<button wire:click.prevent="link()" type="button" class="btn btn-primary">{{ ucwords(__('laravel-crm::lang.link_organization')) }}</button>
3737
</div>
3838
</form>
3939
</div>

resources/views/settings/partials/fields.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="col-sm-6 border-right">
33
@include('laravel-crm::partials.form.text',[
44
'name' => 'organisation_name',
5-
'label' => ucfirst(trans('laravel-crm::lang.organisation_name')),
5+
'label' => ucfirst(trans('laravel-crm::lang.organization_name')),
66
'value' => old('organisation_name', $organisationName->value ?? null)
77
])
88
@include('laravel-crm::partials.form.select',[

0 commit comments

Comments
 (0)