Commit 2406cf3a authored by PierRapt's avatar PierRapt
Browse files

Multi language (en ,fr and hr)

parent e1c5bb8b
......@@ -9,22 +9,10 @@
- [ ] Retrive comments from xml file
- [ ] Can comment in a xml file
- [ ] User can edit/delete their own comments
- [ ] Multi language
- [ ] English
- [ ] French
- [ ] Croatian
- [ ] Select Language on root page
- [ ] Select Language on navbar
### In progress
- [ ] Multi language
- [x] English
- [ ] French
- [ ] Croatian
- [x] Select Language on root page
- [x] Select Language on navbar
### Done
......@@ -75,4 +63,9 @@
- [x] Buttons Login and Register
- [x] Navbar
- [x] Logo
\ No newline at end of file
- [x] Multi language
- [x] English
- [x] French
- [x] Croatian
- [x] Select Language on root page
- [x] Select Language on navbar
\ No newline at end of file
......@@ -29,5 +29,24 @@
"Update your account's profile information and email address.": "Mettez à jour les informations de profil et l'adresse e-mail de votre compte.",
"Your email address is unverified.": "Votre adresse e-mail n'est pas vérifiée.",
"Click here to re-send the verification email.": "Cliquez ici pour renvoyer l'e-mail de vérification.",
"A new verification link has been sent to your email address.": "Un nouveau lien de vérification a été envoyé à votre adresse e-mail."
"A new verification link has been sent to your email address.": "Un nouveau lien de vérification a été envoyé à votre adresse e-mail.",
"Description": "Description",
"Edit the profile": "Modifier le profil",
"Home": "Maison",
"Import File": "Importer le fichier",
"File name:": "Nom du fichier:",
"Select a file:": "Sélectionner un fichier:",
"File description:": "Description du fichier :",
"Create": "Créer",
"Select a folder where you want to download the file:": "Sélectionnez un dossier dans lequel vous souhaitez télécharger le fichier :",
"Download": "Télécharger",
"Select a file if you want to change it:": "Sélectionnez un fichier si vous souhaitez le modifier :",
"Name of the file": "Nom du fichier",
"Description of the file": "Description du fichier",
" download": " téléchargement",
" downloads": " téléchargements",
"Welcome, ": "Bienvenu,",
"Download the file": "Télécharger le fichier",
"Modifier le fichier": "",
"Delete the file": "Supprimer le fichier"
}
\ No newline at end of file
......@@ -29,5 +29,24 @@
"Update your account's profile information and email address.": "Ažuriraj podatke o profilu i adresu e-pošte svog računa.",
"Your email address is unverified.": "Vaša adresa e-pošte nije potvrđena.",
"Click here to re-send the verification email.": "",
"A new verification link has been sent to your email address.": "Nova poveznica za potvrdu poslana je na vašu adresu e-pošte."
"A new verification link has been sent to your email address.": "Nova poveznica za potvrdu poslana je na vašu adresu e-pošte.",
"Description": "Opis",
"Edit the profile": "Uredite profil",
"Home": "Dom",
"Import File": "Uvezi datoteku",
"File name:": "Naziv datoteke:",
"Select a file:": "Odaberite datoteku:",
"File description:": "Opis datoteke:",
"Create": "Stvoriti",
"Select a folder where you want to download the file:": "Odaberite mapu u koju želite preuzeti datoteku:",
"Download": "preuzimanje datoteka",
"Select a file if you want to change it:": "Odaberite datoteku ako je želite promijeniti:",
"Name of the file": "Naziv datoteke",
"Description of the file": "Opis datoteke",
" download": " preuzimanje",
" downloads": " preuzimanja",
"Welcome, ": "Dobrodošli,",
"Download the file": "Preuzmite datoteku",
"Edit the file": "Uredite datoteku",
"Delete the file": "Izbrišite datoteku"
}
\ No newline at end of file
......@@ -5,7 +5,7 @@
@csrf
<div class="p-6 space-x-2 mt-6 bg-white shadow-sm rounded-lg divide-y">
<!-- Name -->
<label for="myfile" class="text-gray-800 font-semibold">{{ __('File\'s name:') }}</label><br>
<label for="myfile" class="text-gray-800 font-semibold">{{ __('File name:') }}</label><br>
<input type="text" name="name" placeholder="{{ __('Name of the file') }}" class="block w-full border-gray-500 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-md shadow-sm mt-2 bg-gray-300" value="{{ old('name') }}" />
<x-input-error :messages="$errors->get('name')" class="mt-2" />
</div>
......@@ -17,7 +17,7 @@
</div>
<div class="mt-8 p-6 space-x-2 mt-6 bg-white shadow-sm rounded-lg divide-y">
<!-- Description -->
<label for="myfile" class="text-gray-800 font-semibold">{{ __('File\'s description:') }}</label><br>
<label for="myfile" class="text-gray-800 font-semibold">{{ __('File description:') }}</label><br>
<textarea name="description" placeholder="{{ __('Description of the file') }}" class="block w-full border-gray-500 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-md shadow-sm mt-2 bg-gray-300">{{ old('description') }}</textarea>
<x-input-error :messages="$errors->get('description')" class="mt-2" />
</div>
......
......@@ -4,7 +4,7 @@
<form method="GET" action="{{ route('files.download', $file->id) }}" enctype="multipart/form-data">
@csrf
<p class="text-gray-800 font-semibold">{{ $file->name }}</p>
<label for="myfile">Select a folder where you want to download the file:</label><br>
<label for="myfile"> {{ __('Select a folder where you want to download the file:') }}</label><br>
<input type="text" name="myfolder" /><br>
<x-input-error :messages="$errors->get('myfolder')" class="mt-2" />
<div class="mt-8">
......
......@@ -6,7 +6,7 @@
@method('patch')
<div class="p-6 space-x-2 mt-6 bg-white shadow-sm rounded-lg divide-y">
<!-- Name -->
<label for="myfile" class="text-gray-800 font-semibold">{{ __('File\'s name:') }}</label><br>
<label for="myfile" class="text-gray-800 font-semibold">{{ __('File name:') }}</label><br>
<input type="text" name="name" placeholder="{{ __('Name of the file') }}" class="block w-full border-gray-500 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-md shadow-sm mt-2 bg-gray-300" value="{{ old('name', $file->name) }}" />
<x-input-error :messages="$errors->get('name')" class="mt-2" />
</div>
......@@ -18,7 +18,7 @@
</div>
<div class="mt-8 p-6 space-x-2 mt-6 bg-white shadow-sm rounded-lg divide-y">
<!-- Description -->
<label for="myfile" class="text-gray-800 font-semibold">{{ __('File\'s description:') }}</label><br>
<label for="myfile" class="text-gray-800 font-semibold">{{ __('File description:') }}</label><br>
<textarea name="description" placeholder="{{ __('Description of the file') }}" class="block w-full border-gray-500 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-md shadow-sm mt-2 bg-gray-300">{{ old('description', $file->description) }}</textarea>
<x-input-error :messages="$errors->get('description')" class="mt-2" />
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment