diff --git a/CHANGELOG.md b/CHANGELOG.md index 8755ee2..0bf6baf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Chanelog +## 7.1.6 - 2020-01-12 + +* Translations added, Bulgarian, Serbian, French + ## 7.1.5 - 2020-01-09 * Translations added, Dutch, Chinese diff --git a/dist/index.php b/dist/index.php index 523f466..4027cb9 100644 --- a/dist/index.php +++ b/dist/index.php @@ -35,7 +35,7 @@ if (! defined('APP_PUBLIC_PATH')) { } define('APP_PUBLIC_DIR', __DIR__); -define('APP_VERSION', '7.1.5'); +define('APP_VERSION', '7.1.6'); use Filegator\App; use Filegator\Config\Config; diff --git a/docs/translations/default.md b/docs/translations/default.md index 5670758..1d0d762 100644 --- a/docs/translations/default.md +++ b/docs/translations/default.md @@ -8,15 +8,18 @@ Language is configured by adjusting `language` variable in your `configuration.p Available languages: -- english (default) -- spanish -- german -- indonesian -- turkish -- lithuanian -- portuguese -- dutch -- chinese +- ```english``` (default) +- ```spanish``` +- ```german``` +- ```indonesian``` +- ```turkish``` +- ```lithuanian``` +- ```portuguese``` +- ```dutch``` +- ```chinese``` (simplified) +- ```bulgarian``` +- ```serbian``` +- ```french``` Please help us translating FileGator to your language by submitting a Pull Request on GitHub. diff --git a/frontend/mixins/shared.js b/frontend/mixins/shared.js index 0e53802..c93140f 100644 --- a/frontend/mixins/shared.js +++ b/frontend/mixins/shared.js @@ -11,6 +11,9 @@ import lithuanian from '../translations/lithuanian' import portuguese from '../translations/portuguese' import dutch from '../translations/dutch' import chinese from '../translations/chinese' +import bulgarian from '../translations/bulgarian' +import serbian from '../translations/serbian' +import french from '../translations/french' const funcs = { methods: { @@ -33,6 +36,9 @@ const funcs = { 'portuguese': portuguese, 'dutch': dutch, 'chinese': chinese, + 'bulgarian': bulgarian, + 'serbian': serbian, + 'french': french, } let language = store.state.config.language diff --git a/frontend/translations/bulgarian.js b/frontend/translations/bulgarian.js new file mode 100644 index 0000000..eccf0c4 --- /dev/null +++ b/frontend/translations/bulgarian.js @@ -0,0 +1,76 @@ +const data = { + 'Selected': 'Избрани: {0} от {1}', + 'Uploading files': 'Качване {0}% от {1}', + 'File size error': '{0} е твърде голям, моля, качете файлове по-малко от {1}', + 'Upload failed': '{0} Грещка при качване', + 'Per page': '{0} На страница', + 'Folder': 'Папка', + 'Login failed, please try again': 'Грешка при вписване, опитайте отново', + 'Already logged in': 'Вече сте влезли.', + 'Please enter username and password': 'Моля въведете потребителско име и парола.', + 'Not Found': 'Не е намерено', + 'Not Allowed': 'Не е позволено', + 'Please log in': 'Моля впишете се', + 'Unknown error': 'Неизвестна грешка', + 'Add files': 'Добаве файлове', + 'New': 'Ново', + 'New name': 'Ново име', + 'Username': 'Потребителско име', + 'Password': 'Парола', + 'Login': 'Вписване', + 'Logout': 'Изход', + 'Profile': 'Профил', + 'No pagination': 'Няма пагинация', + 'Time': 'Време', + 'Name': 'Име', + 'Size': 'Размер', + 'Home': 'Начало', + 'Copy': 'Копиране', + 'Move': 'Изрежи', + 'Rename': 'Преименуване', + 'Required': 'Моля, попълнете това поле', + 'Zip': 'Архив', + 'Batch Download': 'Пакетно изтегляне', + 'Unzip': 'Разархивирай', + 'Delete': 'Изтриване', + 'Download': 'Изтегляне', + 'Copy link': 'Копирай линк', + 'Done': 'Завършено', + 'File': 'Файл', + 'Drop files to upload': 'Пускане на файлове за качване', + 'Close': 'Затвори', + 'Select Folder': 'Избери папка', + 'Users': 'Потребител', + 'Files': 'файлове', + 'Role': 'Права', + 'Cancel': 'Отказ', + 'Paused': 'Пауза', + 'Confirm': 'Потвърждение', + 'Create': 'Създай', + 'User': 'Потребител', + 'Admin': 'Администратор', + 'Save': 'Запази', + 'Read': 'Чете', + 'Write': 'Записва', + 'Upload': 'Качи', + 'Permissions': 'Разрешения', + 'Homedir': 'Главна директория', + 'Leave blank for no change': 'Оставете празно, за да няма промяна', + 'Are you sure you want to do this?': 'Сигурни ли сте, че искате да направите това?', + 'Are you sure you want to allow access to everyone?': 'Сигурни ли сте, че искате да разрешите достъп на всички?', + 'Are you sure you want to stop all uploads?': 'Сигурни ли сте, че искате да спрете всички качвания?', + 'Something went wrong': 'Нещо се обърка', + 'Invalid directory': 'Невалидна директория', + 'This field is required': 'Това поле е задължително', + 'Username already taken': 'Потребителско име вече е заето', + 'User not found': 'Потребителя не е намерен', + 'Old password': 'Стара парола', + 'New password': 'Нова парола', + 'Wrong password': 'грешна парола', + 'Updated': 'Обновено', + 'Deleted': 'изтрити', + 'Your file is ready': 'Вашия файл е готов', +} + +export default data + diff --git a/frontend/translations/french.js b/frontend/translations/french.js new file mode 100644 index 0000000..a2ce524 --- /dev/null +++ b/frontend/translations/french.js @@ -0,0 +1,76 @@ +const data = { + 'Selected': 'Selectionné : {0} sur {1}', + 'Uploading files': 'Upload {0}% sur {1}', + 'File size error': '{0} est trop volumineux, merci d\'uploader des fichiers inférieurs à {1}', + 'Upload failed': '{0} échec(s) d\'envoi', + 'Per page': '{0} par page', + 'Folder': 'Dossier', + 'Login failed, please try again': 'Identification échoué, veuillez réessayer...', + 'Already logged in': 'Vous êtes déjà connecté.', + 'Please enter username and password': 'Saisissez votre nom d\'utilisateur et votre mot de passe.', + 'Not Found': 'Introuvable', + 'Not Allowed': 'Non autorisé', + 'Please log in': 'Merci de vous connecter', + 'Unknown error': 'Erreur inconnue', + 'Add files': 'Ajout de fichier', + 'New': 'Nouveau', + 'New name': 'Nouveau nom', + 'Username': 'Nom d\'utilisateur', + 'Password': 'Mot de passe', + 'Login': 'Connexion', + 'Logout': 'Déconnexion', + 'Profile': 'Profil', + 'No pagination': 'Pas de pagination', + 'Time': 'Date', + 'Name': 'Nom', + 'Size': 'Taille', + 'Home': 'Accueil', + 'Copy': 'Copier', + 'Move': 'Déplacer', + 'Rename': 'Renommer', + 'Required': 'Merci de remplir ce champ', + 'Zip': 'Compresser', + 'Batch Download': 'Télécharger par lot', + 'Unzip': 'Décompresser', + 'Delete': 'Supprimer', + 'Download': 'Télécharger', + 'Copy link': 'Copier le lien', + 'Done': 'Fait', + 'File': 'Fichier', + 'Drop files to upload': 'Glisser votre fichier pour l\'uploader', + 'Close': 'Fermer', + 'Select Folder': 'Selectionner le dossier', + 'Users': 'Utilisateur', + 'Files': 'Fichiers', + 'Role': 'Rôle', + 'Cancel': 'Annuler', + 'Paused': 'En pause', + 'Confirm': 'Confirmer', + 'Create': 'Créer', + 'User': 'Utilisateur', + 'Admin': 'Administrateur', + 'Save': 'Enregistrer', + 'Read': 'Lire', + 'Write': 'Écrire', + 'Upload': 'Uploader', + 'Permissions': 'Permissions', + 'Homedir': 'Dossier principal', + 'Leave blank for no change': 'Laisser vide si pas de modification', + 'Are you sure you want to do this?': 'Êtes-vous sûr de vouloir faire ceci ?', + 'Are you sure you want to allow access to everyone?': 'Êtes-vous sûr de vouloir autoriser l\'accès à tout le monde ?', + 'Are you sure you want to stop all uploads?': 'Êtes-vous sûr de vouloir arrêter tous vos envois ?', + 'Something went wrong': 'Quelque chose a mal tourné', + 'Invalid directory': 'Dossier invalide', + 'This field is required': 'Ce champ est obligatoire', + 'Username already taken': 'Nom d\'utilisateur déjà utilisé', + 'User not found': 'Utilisateur introuvable', + 'Old password': 'Ancien mot de passe', + 'New password': 'Nouveau mot de passe', + 'Wrong password': 'Mot de passe incorrect', + 'Updated': 'Mis à jour', + 'Deleted': 'Supprimé', + 'Your file is ready': 'Votre fichier est prêt', +} + +export default data + diff --git a/frontend/translations/serbian.js b/frontend/translations/serbian.js new file mode 100644 index 0000000..5659c0d --- /dev/null +++ b/frontend/translations/serbian.js @@ -0,0 +1,76 @@ +const data = { + 'Selected': 'Izabrano: {0} od {1}', + 'Uploading files': 'Slanje {0}% od {1}', + 'File size error': '{0} fajl je preveliki, molim pošaljite fajl manji od {1}', + 'Upload failed': '{0} greška kod slanja', + 'Per page': '{0} Po strani', + 'Folder': 'Folder', + 'Login failed, please try again': 'Neuspešna prijava, probajte ponovo', + 'Already logged in': 'Već prijavljen.', + 'Please enter username and password': 'Unesite korisničko ime i lozinku.', + 'Not Found': 'Nije pronađen', + 'Not Allowed': 'Nije dozvoljeno', + 'Please log in': 'Molim prijavite se', + 'Unknown error': 'Nepoznata greška', + 'Add files': 'Dodaj fajlove', + 'New': 'Novi', + 'New name': 'Novo ime', + 'Username': 'Korisničko ime', + 'Password': 'Lozinka', + 'Login': 'Prijavi se', + 'Logout': 'Odjavi se', + 'Profile': 'Profil', + 'No pagination': 'Bez listanja po strani', + 'Time': 'Vreme', + 'Name': 'Ime', + 'Size': 'Veličina', + 'Home': 'Početna', + 'Copy': 'Kopiraj', + 'Move': 'Premesti', + 'Rename': 'Promeni ime', + 'Required': 'Ovo polje je obavezno', + 'Zip': 'Zip', + 'Batch Download': 'Grupno preuzimanje', + 'Unzip': 'Unzip', + 'Delete': 'Obriši', + 'Download': 'Preuzmi', + 'Copy link': 'Kopiraj link', + 'Done': 'Gotovo', + 'File': 'Fajl', + 'Drop files to upload': 'Spusti fajlove za slanje', + 'Close': 'Zatvori', + 'Select Folder': 'Izaberi folder', + 'Users': 'Korisnici', + 'Files': 'Fajlovi', + 'Role': 'Prava', + 'Cancel': 'Otkaži', + 'Paused': 'Pauzirano', + 'Confirm': 'Potvrdi', + 'Create': 'Kreiraj', + 'User': 'Korisnik', + 'Admin': 'Administrator', + 'Save': 'Sačuvaj', + 'Read': 'Čitanje', + 'Write': 'Upis', + 'Upload': 'Slanje', + 'Permissions': 'Prava pristupa', + 'Homedir': 'Početni folder', + 'Leave blank for no change': 'Ostavi prazno da ne promeniš', + 'Are you sure you want to do this?': 'Da li ste sigurni?', + 'Are you sure you want to allow access to everyone?': 'Da li ste sigurni da želite da dozvolite pristup svima?', + 'Are you sure you want to stop all uploads?': 'Da li ste sigurni da želite da prekinete sva slanja?', + 'Something went wrong': 'Dogodila se nepoznata greška', + 'Invalid directory': 'Pogrešan folder', + 'This field is required': 'Ovo polje je obavezno', + 'Username already taken': 'Korisničko ime već postoji', + 'User not found': 'Korisnik nije pronađen', + 'Old password': 'Stara lozinka', + 'New password': 'Nova lozinka', + 'Wrong password': 'Pogrešna lozinka', + 'Updated': 'Izmenjeno', + 'Deleted': 'Obrisano', + 'Your file is ready': 'Vaš fajl je spreman', +} + +export default data +