diff --git a/resources/views/components/attribute.blade.php b/resources/views/components/attribute.blade.php index c7f57c6..8444f5f 100644 --- a/resources/views/components/attribute.blade.php +++ b/resources/views/components/attribute.blade.php @@ -14,10 +14,10 @@
@if($o->is_rdn) - {{ __('Rename') }} + @lang('Rename') @elseif($edit && $o->can_addvalues)
- {{ __('Add Value') }} + @lang('Add Value')
@endif
diff --git a/resources/views/components/attribute/objectclass.blade.php b/resources/views/components/attribute/objectclass.blade.php index 9ce92e9..7202632 100644 --- a/resources/views/components/attribute/objectclass.blade.php +++ b/resources/views/components/attribute/objectclass.blade.php @@ -14,10 +14,10 @@
@if($o->is_rdn) - {{ __('Rename') }} + @lang('Rename') @elseif($edit && $o->can_addvalues)
- {{ __('Add Value') }} + @lang('Add Value')
@endif
diff --git a/resources/views/frames/dn.blade.php b/resources/views/frames/dn.blade.php index 8788577..5fe6ac7 100644 --- a/resources/views/frames/dn.blade.php +++ b/resources/views/frames/dn.blade.php @@ -65,10 +65,10 @@
@@ -108,8 +108,8 @@
- {{ __('Reset') }} - {{ __('Update') }} + @lang('Reset') + @lang('Update')
diff --git a/resources/views/frames/info.blade.php b/resources/views/frames/info.blade.php index 353601f..f76a544 100644 --- a/resources/views/frames/info.blade.php +++ b/resources/views/frames/info.blade.php @@ -4,7 +4,7 @@ - +
{{ __('Server Info') }}
{{ $s->rootDSE()->entryuuid[0] ?? '' }}
@lang('Server Info')
{{ $s->rootDSE()->entryuuid[0] ?? '' }}
@endsection diff --git a/resources/views/frames/schema.blade.php b/resources/views/frames/schema.blade.php index 9d1dc62..e12ec43 100644 --- a/resources/views/frames/schema.blade.php +++ b/resources/views/frames/schema.blade.php @@ -12,13 +12,13 @@ @section('main-content')
-
{{ __('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 @@ - + diff --git a/resources/views/frames/schema/matchingrules.blade.php b/resources/views/frames/schema/matchingrules.blade.php index b5b3875..62b2f32 100644 --- a/resources/views/frames/schema/matchingrules.blade.php +++ b/resources/views/frames/schema/matchingrules.blade.php @@ -20,20 +20,20 @@ - + - + - + - + - + - + - + - + - +
{{ __('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 @@ - + @@ -89,7 +89,7 @@
{{ __('Required Attributes') }}@lang('Required Attributes')
- +
{{ __('Optional Attributes') }}@lang('Optional Attributes')