swedish lang added - version bump

This commit is contained in:
Milos Stojanovic
2021-01-13 11:45:16 +01:00
parent 72a3e9028d
commit 28aa39ccdb
6 changed files with 91 additions and 4 deletions

View File

@@ -2,10 +2,13 @@
## Upcoming... ## Upcoming...
## 7.4.7 - 2021-01-13
* New feature - hiding files/folders on front-end, fixes #76 (Thanks @ahaenggli) * New feature - hiding files/folders on front-end, fixes #76 (Thanks @ahaenggli)
* Fixes #135 (Thanks @ahaenggli) * Fixes #135 (Thanks @ahaenggli)
* Fixes #153 (Thanks @Gui13) * Fixes #153 (Thanks @Gui13)
* Fixes #163 * Fixes #163
* Swedish language added #174 (Thanks leifa71)
## 7.4.6 - 2020-11-02 ## 7.4.6 - 2020-11-02

2
dist/index.php vendored
View File

@@ -39,7 +39,7 @@ if (! defined('APP_PUBLIC_PATH')) {
} }
define('APP_PUBLIC_DIR', __DIR__); define('APP_PUBLIC_DIR', __DIR__);
define('APP_VERSION', '7.4.6'); define('APP_VERSION', '7.4.7');
use Filegator\App; use Filegator\App;
use Filegator\Config\Config; use Filegator\Config\Config;

View File

@@ -9,7 +9,7 @@ currentMenu: install
## Download precompiled build ## Download precompiled build
Precompiled build is created for non-developers. In this version, the frontend (html, css and javascript) is compiled for you and the source code is removed so the final archive contains only minimum files. Precompiled build is created for non-developers. In this version, the frontend (html, css and javascript) is compiled for you and the source code is removed so the final archive contains only minimum files.
- Download: [v7.4.6](https://github.com/filegator/static/raw/master/builds/filegator_v7.4.6.zip) - Download: [v7.4.7](https://github.com/filegator/static/raw/master/builds/filegator_v7.4.7.zip)
- Unzip files and upload them to your PHP server - Unzip files and upload them to your PHP server
- Make sure your webserver can read and write to `filegator/repository/` and `filegator/private/` folders - Make sure your webserver can read and write to `filegator/repository/` and `filegator/private/` folders
- Set the website document root to `filegator/dist/` directory. This is also known as 'public' folder - Set the website document root to `filegator/dist/` directory. This is also known as 'public' folder
@@ -26,8 +26,8 @@ apt update
apt install -y wget unzip php apache2 libapache2-mod-php php-zip apt install -y wget unzip php apache2 libapache2-mod-php php-zip
cd /var/www/ cd /var/www/
wget https://github.com/filegator/static/raw/master/builds/filegator_v7.4.6.zip wget https://github.com/filegator/static/raw/master/builds/filegator_v7.4.7.zip
unzip filegator_v7.4.6.zip && rm filegator_v7.4.6.zip unzip filegator_v7.4.7.zip && rm filegator_v7.4.7.zip
chown -R www-data:www-data filegator/ chown -R www-data:www-data filegator/
chmod -R 775 filegator/ chmod -R 775 filegator/

View File

@@ -28,6 +28,7 @@ Available languages:
- ```galician``` - ```galician```
- ```russian``` - ```russian```
- ```hungarian``` - ```hungarian```
- ```swedish```
Please help us translating FileGator to your language by submitting a Pull Request on GitHub. Please help us translating FileGator to your language by submitting a Pull Request on GitHub.

View File

@@ -25,6 +25,7 @@ import czech from '../translations/czech'
import galician from '../translations/galician' import galician from '../translations/galician'
import russian from '../translations/russian' import russian from '../translations/russian'
import hungarian from '../translations/hungarian' import hungarian from '../translations/hungarian'
import swedish from '../translations/swedish'
const funcs = { const funcs = {
methods: { methods: {
@@ -58,6 +59,7 @@ const funcs = {
'galician': galician, 'galician': galician,
'russian': russian, 'russian': russian,
'hungarian': hungarian, 'hungarian': hungarian,
'swedish': swedish,
} }
let language = store.state.config.language let language = store.state.config.language

View File

@@ -0,0 +1,81 @@
const data = {
'Selected': 'Vald: {0} of {1}',
'Uploading files': 'Laddar upp {0}% of {1}',
'File size error': '{0} är för stor, max filstorlek är {1}',
'Upload failed': '{0} uppladdning misslyckades',
'Per page': '{0} Per sida',
'Folder': 'Mapp',
'Login failed, please try again': 'Inloggning misslyckades, försök igen.',
'Already logged in': 'Redan inloggad.',
'Please enter username and password': 'Ange användarnamn och lösenord.',
'Not Found': 'Ej funnen',
'Not Allowed': 'Ej tillåten',
'Please log in': 'Var vanlig logga in.',
'Unknown error': 'Okänt fel',
'Add files': 'Lägg till filer',
'New': 'Ny',
'New name': 'Nytt namn',
'Username': 'Användarnamn',
'Password': 'Lösenord',
'Login': 'Logga in',
'Logout': 'Logga ut',
'Profile': 'Profil',
'No pagination': 'Sidhantering',
'Time': 'Tid',
'Name': 'Namn',
'Size': 'Storlek',
'Home': 'Hem',
'Copy': 'Kopiera',
'Move': 'Flytta',
'Rename': 'Byt namn',
'Required': 'Vänligen fyll i detta fält',
'Zip': 'Zip',
'Batch Download': 'Batch nedladdning',
'Unzip': 'Unzip',
'Delete': 'Borttag',
'Download': 'Ladda ned',
'Copy link': 'Kopiera länk',
'Done': 'Klar',
'File': 'Fil',
'Drop files to upload': 'Släpp filer för uppladdning',
'Close': 'Stäng',
'Select Folder': 'Välj mapp',
'Users': 'Användare',
'Files': 'Filer',
'Role': 'Roll',
'Cancel': 'Avbryt',
'Paused': 'Pausad',
'Confirm': 'Godkänn',
'Create': 'Skapa',
'User': 'Användare',
'Admin': 'Admin',
'Save': 'Spara',
'Read': 'Läs',
'Write': 'Skriv',
'Upload': 'Ladda upp',
'Permissions': 'Behörigheter',
'Homedir': 'Hem mapp',
'Leave blank for no change': 'Lämna blankt för ingen ändring',
'Are you sure you want to do this?': 'Är du säker på att du vill göra detta?',
'Are you sure you want to allow access to everyone?': 'Vill du verkligen ge access till alla?',
'Are you sure you want to stop all uploads?': 'Vill du stoppa alla uppladdningar?',
'Something went wrong': 'Något gick fel',
'Invalid directory': 'Ogiltig mapp',
'This field is required': 'Detta fält krävs',
'Username already taken': 'Användarnamnet finns redan',
'User not found': 'Användaren hittas inte',
'Old password': 'Gammalt lösenord',
'New password': 'Nytt lösenord',
'Wrong password': 'fel lösenord',
'Updated': 'Uppdaterad',
'Deleted': 'Borttagen',
'Your file is ready': 'Din fil är klar',
'View': 'Visa',
'Search': 'Sök',
'Download permission': 'Ladda ned',
'Guest': 'Gäst',
'Show hidden': 'Visa dold',
}
export default data