More translatable strings : landing, privacy policy, terms

pull/6566/head
Arnaud 3 months ago
parent 6f7aff1168
commit f418a45508

@ -32,6 +32,7 @@ return [
'sensitive' => 'Sensitive',
'sensitiveContent' => 'Sensitive Content',
'sensitiveContentWarning' => 'This post may contain sensitive content',
'javascript' => 'Please enable javascript to view this content.',
'loading' => 'Loading...',
'continue' => 'Continue',
],

@ -32,6 +32,7 @@ return [
'sensitive' => 'Sensible',
'sensitiveContent' => 'Contenu sensible',
'sensitiveContentWarning' => 'Le contenu de cette publication peut être sensible',
'javascript' => 'Activez JavaScript SVP pour consulter ce contenu.',
],
'site' => [
@ -249,7 +250,7 @@ return [
'notifications' => 'Notifications',
'shares' => 'Partages',
'share_up_to_n_photos' => 'Vous pouvez partager jusqu\'à <span class="font-weight-bold">{num_photos}</span> photos* à la fois avec des légendes d\'une longueur maximale de <span class="font-weight-bold">{caption_length}</span> caractères.',
'share_up_to_n_photos_videos' => 'Vous pouvez partager jusqu\'à <span class="font-weight-bold">{num_photos}</span> photos* or <span class="font-weight-bold">{num_video}</span> video* à la fois avec des légendes d\'une longueur maximale de <span class="font-weight-bold">{caption_length}</span> caractères.',
'share_up_to_n_photos_videos' => 'Vous pouvez partager jusqu\'à <span class="font-weight-bold">{num_photos}</span> photos* ou <span class="font-weight-bold">{num_video}</span> vidéo* à la fois avec des légendes d\'une longueur maximale de <span class="font-weight-bold">{caption_length}</span> caractères.',
'file_size' => '* la taille maximale des fichiers est {max_size}',
'federation' => 'Fédération',
'mobile_app' => 'Application mobile',

@ -41,7 +41,7 @@
<noscript>
<div class="container">
<h1 class="pt-5 text-center">Pixelfed</h1>
<p class="pt-2 text-center lead">Please enable javascript to view this content.</p>
<p class="pt-2 text-center lead">{{__('web.common.javascript')}}</p>
</div>
</noscript>
<navbar></navbar>

@ -1,9 +1,15 @@
@extends('layouts.app')
@section('content')
<div class="container mt-5">
<div class="container mt-5">
<div class="col-12">
<p class="font-weight-bold text-lighter text-uppercase">Privacy Policy</p>
<p class="font-weight-bold text-lighter text-uppercase">
@if($page && $page->title)
{!! $page->title !!}
@else
Privacy Policy
@endif
</p>
<div class="card border shadow-none">
<div class="card-body p-md-5 text-justify mx-md-3">
@if($page && $page->content)
@ -91,5 +97,5 @@
</div>
@endsection
@push('meta')
<meta property="og:description" content="Privacy Policy">
<meta property="og:description" content="@if($page && $page->title) {!! $page->title !!} @else Privacy Policy @endif">
@endpush

@ -1,9 +1,15 @@
@extends('layouts.app')
@section('content')
<div class="container mt-5">
<div class="container mt-5">
<div class="col-12">
<p class="font-weight-bold text-lighter text-uppercase">Terms of Use</p>
<p class="font-weight-bold text-lighter text-uppercase">
@if($page && $page->title)
{!! $page->title !!}
@else
Terms of Use
@endif
</p>
<div class="card border shadow-none">
<div class="card-body p-md-5 text-justify mx-md-3">
@if($page && $page->content)
@ -51,5 +57,5 @@
@endsection
@push('meta')
<meta property="og:description" content="Terms of Use">
<meta property="og:description" content="@if($page && $page->title) {!! $page->title !!} @else Terms of Use @endif">
@endpush

Loading…
Cancel
Save