Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
FERIT
WEB
AWP_Project
Commits
2406cf3a
Commit
2406cf3a
authored
11 months ago
by
PierRapt
Browse files
Options
Download
Email Patches
Plain Diff
Multi language (en ,fr and hr)
parent
e1c5bb8b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
52 additions
and
21 deletions
+52
-21
TODO.md
TODO.md
+7
-14
youfiles/lang/fr.json
youfiles/lang/fr.json
+20
-1
youfiles/lang/hr.json
youfiles/lang/hr.json
+20
-1
youfiles/resources/views/files/create.blade.php
youfiles/resources/views/files/create.blade.php
+2
-2
youfiles/resources/views/files/download.blade.php
youfiles/resources/views/files/download.blade.php
+1
-1
youfiles/resources/views/files/edit.blade.php
youfiles/resources/views/files/edit.blade.php
+2
-2
No files found.
TODO.md
View file @
2406cf3a
...
...
@@ -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
This diff is collapsed.
Click to expand it.
youfiles/lang/fr.json
View file @
2406cf3a
...
...
@@ -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
This diff is collapsed.
Click to expand it.
youfiles/lang/hr.json
View file @
2406cf3a
...
...
@@ -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
This diff is collapsed.
Click to expand it.
youfiles/resources/views/files/create.blade.php
View file @
2406cf3a
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
youfiles/resources/views/files/download.blade.php
View file @
2406cf3a
...
...
@@ -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"
>
...
...
This diff is collapsed.
Click to expand it.
youfiles/resources/views/files/edit.blade.php
View file @
2406cf3a
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment