-
{{ __('Schema Information') }}
+@lang('Schema Information')
diff --git a/resources/views/frames/schema/attributetypes.blade.php b/resources/views/frames/schema/attributetypes.blade.php
index f55c156..dfcfc12 100644
--- a/resources/views/frames/schema/attributetypes.blade.php
+++ b/resources/views/frames/schema/attributetypes.blade.php
@@ -21,24 +21,24 @@
- {{ __('Description') }} {{ __($o->description ?: '(no description)') }}
+ @lang('Description') {{ $o->description ?: __('(no description)')}}
- OID {{ $o->oid }}
+ OID {{ $o->oid }}
- {{ __('Obsolete') }} {{ $o->is_obsolete ? __('Yes') : __('No') }}
+ @lang('Obsolete') @lang($o->is_obsolete ? 'Yes' : 'No')
- {{ __('Inherits from') }}
- @if ($o->sup_attribute){{ $o->sup_attribute }}@else {{ __('(none)') }}@endif
+ @lang('Inherits from')
+ @if ($o->sup_attribute){{ $o->sup_attribute }}@else @lang('(none)')@endif
- {{ __('Parent to') }}
+ @lang('Parent to')
@if (! $o->children->count())
- {{ __('(none)') }}
+ @lang('(none)')
@else
@foreach ($o->children->sort() as $child)
@if($loop->index) @endif
@@ -49,34 +49,34 @@
- {{ __('Equality') }} {{ $o->equality ?: __('(not specified)') }}
+ @lang('Equality') {{ $o->equality ?: __('(not specified)') }}
- {{ __('Ordering') }} {{ $o->ordering ?: __('(not specified)') }}
+ @lang('Ordering') {{ $o->ordering ?: __('(not specified)') }}
- {{ __('Substring Rule') }} {{ $o->sub_str_rule ?: __('(not specified)') }}
+ @lang('Substring Rule') {{ $o->sub_str_rule ?: __('(not specified)') }}
- {{ __('Syntax') }} {{ ($o->syntax_oid && $x=$server->schemaSyntaxName($o->syntax_oid)) ? $x->description : __('(unknown syntax)') }} @if($o->syntax_oid)({{ $o->syntax_oid }})@endif
+ @lang('Syntax') {{ ($o->syntax_oid && $x=$server->schemaSyntaxName($o->syntax_oid)) ? $x->description : __('(unknown syntax)') }} @if($o->syntax_oid)({{ $o->syntax_oid }})@endif
- {{ __('Single Valued') }} {{ $o->is_single_value ? __('Yes') : __('No') }}
+ @lang('Single Valued') @lang($o->is_single_value ? 'Yes' : 'No')
- {{ __('Collective') }} {{ $o->is_collective ? __('Yes') : __('No') }}
+ @lang('Collective') @lang($o->is_collective ? 'Yes' : 'No')
- {{ __('User Modification') }} {{ $o->is_no_user_modification ? __('Yes') : __('No') }}
+ @lang('User Modification') @lang($o->is_no_user_modification ? 'Yes' : 'No')
- {{ __('Usage') }} {{ $o->usage ?: __('(not specified)') }}
+ @lang('Usage') {{ $o->usage ?: __('(not specified)') }}
- {{ __('Maximum Length') }} {{ is_null($o->max_length) ? __('(not applicable)') : sprintf('%s %s',number_format($o->max_length),Str::plural('character',$o->max_length)) }}
+ @lang('Maximum Length') {{ is_null($o->max_length) ? __('(not applicable)') : sprintf('%s %s',number_format($o->max_length),Str::plural('character',$o->max_length)) }}
- {{ __('Aliases') }}
+ @lang('Aliases')
@if ($o->aliases->count())
@foreach ($o->aliases as $alias)
@@ -84,12 +84,12 @@
{{ $alias }}
@endforeach
@else
- {{ __('(none)') }}
+ @lang('(none)')
@endif
- {{ __('Used by ObjectClasses') }}
+ @lang('Used by ObjectClasses')
@if ($o->used_in_object_classes->count())
@foreach ($o->used_in_object_classes as $class)
@@ -97,12 +97,12 @@
{{ $class }}
@endforeach
@else
- {{ __('(none)') }}
+ @lang('(none)')
@endif
- {{ __('Force as MAY by config') }} {{ $o->forced_as_may ? __('Yes') : __('No') }}
+ @lang('Force as MAY by config') @lang($o->forced_as_may ? 'Yes' : 'No')
diff --git a/resources/views/frames/schema/ldapsyntaxes.blade.php b/resources/views/frames/schema/ldapsyntaxes.blade.php
index c96e223..42183c5 100644
--- a/resources/views/frames/schema/ldapsyntaxes.blade.php
+++ b/resources/views/frames/schema/ldapsyntaxes.blade.php
@@ -3,7 +3,7 @@
{{ __('Description') }} | +@lang('Description') | OID | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ __('Description') }} | {{ __($o->description ?: '(no description)') }} | +@lang('Description') | {{ $o->description ?: __('(no description)') }} | |||||||||||||||||||||||||||||||||||||
OID | {{ $o->oid }} | +OID | {{ $o->oid }} | |||||||||||||||||||||||||||||||||||||
{{ __('Syntax') }} | {{ $o->syntax }} | +@lang('Syntax') | {{ $o->syntax }} | |||||||||||||||||||||||||||||||||||||
{{ __('Used by Attributes') }} | +@lang('Used by Attributes') |
@if ($o->used_by_attrs->count() === 0)
- {{ __('(none)') }}
+ @lang('(none)')
@else
@foreach ($o->used_by_attrs as $attr)
@if($loop->index) @endif
diff --git a/resources/views/frames/schema/objectclasses.blade.php b/resources/views/frames/schema/objectclasses.blade.php
index fe3d2e0..18d338a 100644
--- a/resources/views/frames/schema/objectclasses.blade.php
+++ b/resources/views/frames/schema/objectclasses.blade.php
@@ -20,20 +20,20 @@
{{ __('Description') }} | {{ __($o->description ?: '(no description)') }} |
+ @lang('Description') | {{ $o->description ?: __('(no description)') }} |
OID | {{ $o->oid }} |
+ OID | {{ $o->oid }} |
{{ __('Type') }} | {{ __($o->type_name) }} |
+ @lang('Type') | {{ $o->type_name }} |
{{ __('Inherits from') }} |
+ @lang('Inherits from') |
@if ($o->sup->count() === 0)
- {{ __('(none)') }}
+ @lang('(none)')
@else
@foreach ($o->sup as $sup)
@if($loop->index) @endif
@@ -45,13 +45,13 @@
| {{ __('Parent to') }} |
+ @lang('Parent to') |
@if (strtolower($o->name) === 'top')
(all)
@elseif (! $o->getChildObjectClasses()->count())
- {{ __('(none)') }}
+ @lang('(none)')
@else
@foreach ($o->getChildObjectClasses() as $childoc)
@if($loop->index) @endif
@@ -67,7 +67,7 @@
|
|