Translations. Fixing the language bar.
This commit is contained in:
parent
27373f0c61
commit
28fc75dd25
dj.phpfooter.phpgenre.phpgenres.phpheader.phpmix.phprobots.txt
includes
index.phplocale
af_ZA
ar_SA
ca_ES
cs_CZ
da_DK
el_GR
fi_FI
fil_PH
fr_FR
he_IL
hu_HU
ja_JP
ko_KR
nl_NL
no_NO
pl_PL
pt_BR
pt_PT
ro_RO
sr_SP
sv_SE
tr_TR
vi_VN
zh_CN
zh_TW
19
dj.php
19
dj.php
@ -1,15 +1,16 @@
|
||||
<?php
|
||||
|
||||
// read toml config file
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
require_once 'classes/Database.php';
|
||||
require_once 'classes/DJ.php';
|
||||
|
||||
use Yosymfony\Toml\Toml;
|
||||
|
||||
$config = Toml::ParseFile('includes/config.toml');
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
require_once 'includes/sessions.php';
|
||||
require_once 'includes/lang_loader.php';
|
||||
require_once 'classes/Database.php';
|
||||
require_once 'classes/DJ.php';
|
||||
|
||||
// if there's a query parameter named 'dj', load the DJ class
|
||||
$db = new Database($config);
|
||||
$djFound = false;
|
||||
@ -23,13 +24,13 @@ if (isset($_GET['dj']) && $_GET['dj'] != "") {
|
||||
|
||||
?>
|
||||
<!doctype html >
|
||||
<html lang="<?php echo $lang?>">
|
||||
<html lang="<?php echo $lang ?>">
|
||||
<head>
|
||||
<?php require_once 'header.php';
|
||||
<?php require_once 'includes/header.php';
|
||||
?>
|
||||
</head>
|
||||
<body style="background-color: #eee;">
|
||||
<?php require 'navbar.php'; ?>
|
||||
<?php require 'includes/navbar.php'; ?>
|
||||
<section style="background-color: #eee;">
|
||||
<div class="container py-5">
|
||||
<div class="row">
|
||||
@ -303,6 +304,6 @@ if (isset($_GET['dj']) && $_GET['dj'] != "") {
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<?php require 'footer.php'; ?>
|
||||
<?php require 'includes/footer.php'; ?>
|
||||
</body>
|
||||
</html>
|
@ -1 +0,0 @@
|
||||
<script src="js/bootstrap.bundle.min.js"></script>
|
26
genre.php
26
genre.php
@ -1,16 +1,17 @@
|
||||
<?php
|
||||
|
||||
// read toml config file
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
require_once 'classes/Database.php';
|
||||
require_once 'classes/Genre.php';
|
||||
ob_start();
|
||||
|
||||
use Yosymfony\Toml\Toml;
|
||||
|
||||
$config = Toml::ParseFile('includes/config.toml');
|
||||
require_once 'includes/lang_loader.php';$genre= null;
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
require_once 'includes/sessions.php';
|
||||
require_once 'includes/lang_loader.php';
|
||||
require_once 'classes/Database.php';
|
||||
require_once 'classes/Genre.php';
|
||||
|
||||
$genre = null;
|
||||
$genreFound = false;
|
||||
// if there's a query parameter named 'dj', load the DJ class
|
||||
$db = new Database($config);
|
||||
@ -26,13 +27,12 @@ if (isset($_GET['genre']) && $_GET['genre'] != "") {
|
||||
|
||||
?>
|
||||
<!doctype html >
|
||||
<html lang="<?php echo $lang?>">
|
||||
<html lang="<?php echo $lang ?>">
|
||||
<head>
|
||||
<?php require_once 'header.php';
|
||||
?>
|
||||
<?php require 'includes/header.php'; ?>
|
||||
</head>
|
||||
<body style="background-color: #eee;">
|
||||
<?php require 'navbar.php'; ?>
|
||||
<?php require 'includes/navbar.php'; ?>
|
||||
<section style="background-color: #eee;">
|
||||
<div class="container py-5">
|
||||
<div class="row">
|
||||
@ -82,7 +82,7 @@ if (isset($_GET['genre']) && $_GET['genre'] != "") {
|
||||
</div>
|
||||
<div class="col-sm-9">
|
||||
<p class="text-muted mb-0"><?php echo $genre->get_count(); ?>
|
||||
</p>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -192,6 +192,6 @@ if (isset($_GET['genre']) && $_GET['genre'] != "") {
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<?php require 'footer.php'; ?>
|
||||
<?php require 'includes/footer.php'; ?>
|
||||
</body>
|
||||
</html>
|
77
genres.php
77
genres.php
@ -1,16 +1,16 @@
|
||||
<?php
|
||||
|
||||
// read toml config file
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
require_once 'classes/Database.php';
|
||||
require_once 'classes/Genres.php';
|
||||
|
||||
use Yosymfony\Toml\Toml;
|
||||
|
||||
$config = Toml::ParseFile('includes/config.toml');
|
||||
$lang = $_SESSION['lang'] ?? $config['app']['locale'];
|
||||
$locale = loadLocale($lang);
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
require_once 'includes/sessions.php';
|
||||
require_once 'includes/lang_loader.php';
|
||||
require_once 'classes/Database.php';
|
||||
require_once 'classes/Genres.php';
|
||||
|
||||
$genresFound = false;
|
||||
// if there's a query parameter named 'dj', load the DJ class
|
||||
$db = new Database($config);
|
||||
@ -19,44 +19,39 @@ $genres = new Genres($db);
|
||||
<!doctype html >
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title><?php echo $config['app']['name']; ?></title>
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="fontawesome/css/all.css" rel="stylesheet"/>
|
||||
<?php require 'includes/header.php'; ?>
|
||||
<style>
|
||||
.card {
|
||||
height: 160px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
<style>
|
||||
.card {
|
||||
height: 160px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.card-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.card-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.card-title {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.card-title {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.card-text {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.card-text {
|
||||
flex-grow: 1;
|
||||
}
|
||||
.btn {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.btn {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body style="background-color: #eee;">
|
||||
<?php require 'navbar.php'; ?>
|
||||
<?php require 'includes/navbar.php'; ?>
|
||||
<section style="background-color: #eee;">
|
||||
<div class="container py-5">
|
||||
<div class="row">
|
||||
@ -74,7 +69,7 @@ $genres = new Genres($db);
|
||||
<?php
|
||||
// we have a list of genres; we need to create them as cards
|
||||
// loop through $genres->get_all_genres
|
||||
// create a card for each genre, 4 max per row
|
||||
// create a card for each genre, 4 max per row
|
||||
|
||||
$genres = $genres->get_nonzero_genres();
|
||||
$count = 0;
|
||||
@ -85,8 +80,8 @@ $genres = new Genres($db);
|
||||
echo '<div class="col-md-3">';
|
||||
echo '<div class="card mb-4">';
|
||||
echo '<div class="card-body">';
|
||||
echo '<h5 class="card-title" title="'.$genre['name'].'">' . $genre['name'] . '</h5>';
|
||||
echo '<p class="card-text">' . $genre['count'] . ' ' ;
|
||||
echo '<h5 class="card-title" title="' . $genre['name'] . '">' . $genre['name'] . '</h5>';
|
||||
echo '<p class="card-text">' . $genre['count'] . ' ';
|
||||
if ($genre['count'] == 1) {
|
||||
echo $locale['mix'];
|
||||
} else {
|
||||
@ -106,6 +101,6 @@ $genres = new Genres($db);
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php require 'includes/footer.php'; ?>
|
||||
</body>
|
||||
</html>
|
@ -1,5 +0,0 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title><?php echo $config['app']['name']; ?></title>
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="fontawesome/css/all.css" rel="stylesheet"/>
|
10
includes/footer.php
Normal file
10
includes/footer.php
Normal file
@ -0,0 +1,10 @@
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
var dropdownElementList = [].slice.call(document.querySelectorAll('.dropdown-toggle'));
|
||||
var dropdownList = dropdownElementList.map(function (dropdownToggleEl) {
|
||||
return new bootstrap.Dropdown(dropdownToggleEl);
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
7
includes/header.php
Normal file
7
includes/header.php
Normal file
@ -0,0 +1,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title><?php echo $config['app']['name']; ?></title>
|
||||
<link href="../css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="fontawesome/css/all.css" rel="stylesheet"/>
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/css/select2.min.css" rel="stylesheet" />
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/js/select2.min.js"></script>
|
@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
$lang = $_SESSION['lang'] ?? $config['app']['locale'];
|
||||
if (!isset($_SESSION['lang'])){
|
||||
if (!isset($_SESSION['lang'])) {
|
||||
$_SESSION['lang'] = $lang;
|
||||
}
|
||||
|
||||
@ -10,3 +9,4 @@ if (isset($_GET['lang'])) {
|
||||
$_SESSION['lang'] = $lang;
|
||||
}
|
||||
$locale = loadLocale($lang);
|
||||
|
||||
|
@ -1,18 +1,24 @@
|
||||
<?php
|
||||
function current_list(): string
|
||||
{
|
||||
return ' active" aria-current="page';
|
||||
}
|
||||
|
||||
$languages = $config['locales'];
|
||||
|
||||
if (isset($_GET['lang']) && array_key_exists($_GET['lang'], $languages)) {
|
||||
$_SESSION['lang'] = $_GET['lang'];
|
||||
}
|
||||
$current_lang = $_SESSION['lang'] ?? $config['app']['locale'];
|
||||
|
||||
?>
|
||||
<header class="navbar navbar-expand-md navbar-dark bg-dark sticky-top shadow">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand pe-3" href="#"><?php echo htmlspecialchars($config['app']['name']); ?></a>
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarToggle"
|
||||
aria-controls="navbarToggle" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<?php
|
||||
function current_list(): string
|
||||
{
|
||||
return ' active" aria-current="page';
|
||||
}
|
||||
|
||||
?>
|
||||
<div class="collapse navbar-collapse" id="navbarToggle">
|
||||
<ul class="navbar-nav me-auto mb-2 mb-md-0">
|
||||
<li class="nav-item">
|
||||
@ -31,32 +37,22 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<?php
|
||||
|
||||
// add a language switcher
|
||||
// show all languages in a dropdown of flags
|
||||
|
||||
$languages = ["en_US" => "English", "es_ES" => "Spanish", "fr_FR" => "French", "de_DE" => "German", "it_IT" => "Italian", "ru_RU" => "Russian", "uk_UA" => "Ukrainian", "fil_PH" => "Filipino"];
|
||||
|
||||
if (isset($_SESSION['lang'])) {
|
||||
$current_lang = $_SESSION['lang'];
|
||||
} else {
|
||||
$current_lang = $config['app']['locale'];
|
||||
}
|
||||
|
||||
?>
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton1"
|
||||
data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<?php echo $languages[$current_lang]; ?>
|
||||
</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
|
||||
<div class="dropdown">
|
||||
<select class="form-select" id="languageSelect" onchange="location = this.value;">
|
||||
<?php
|
||||
$currentUrl = strtok($_SERVER["REQUEST_URI"], '?');
|
||||
$queryParams = $_GET;
|
||||
foreach ($languages as $key => $value) {
|
||||
echo '<li><a class="dropdown-item" href="?lang=' . $key . '">' . $value . '</a></li>';
|
||||
$queryParams['lang'] = $key;
|
||||
$queryString = http_build_query($queryParams);
|
||||
$langUrl = htmlspecialchars($currentUrl . '?' . $queryString);
|
||||
$selected = ($key == $current_lang) ? ' selected' : '';
|
||||
echo '<option value="' . $langUrl . '"' . $selected . '>' . $value . '</option>';
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php
|
||||
if (isset($_SESSION['user'])) {
|
||||
@ -64,10 +60,7 @@
|
||||
} else {
|
||||
echo '<a class="nav-link" href="/login.php">' . $locale['login'] . '</a>';
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<form class="d-flex" role="search">
|
||||
<input class="form-control me-2" type="search" placeholder="<?php echo $locale['search']; ?>"
|
||||
aria-label="<?php echo $locale['search']; ?>">
|
8
includes/sessions.php
Normal file
8
includes/sessions.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
ob_start();
|
||||
|
||||
if (session_id() == '') {
|
||||
session_set_cookie_params(0, '/', '', true, true);
|
||||
session_start();
|
||||
}
|
16
index.php
16
index.php
@ -1,23 +1,21 @@
|
||||
<?php
|
||||
|
||||
// read toml config file
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
ob_start();
|
||||
|
||||
use Yosymfony\Toml\Toml;
|
||||
|
||||
$config = Toml::ParseFile('includes/config.toml');
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
require_once 'includes/sessions.php';
|
||||
require_once 'includes/lang_loader.php';
|
||||
?>
|
||||
|
||||
<!doctype html >
|
||||
<html lang="<?php echo $lang ?>">
|
||||
<head>
|
||||
<?php require_once 'header.php';
|
||||
?>
|
||||
<?php require 'includes/header.php'; ?>
|
||||
</head>
|
||||
<body style="background-color: #eee;">
|
||||
<?php require 'navbar.php'; ?>
|
||||
<?php require 'includes/navbar.php'; ?>
|
||||
<section style="background-color: #eee;">
|
||||
<div class="container py-5">
|
||||
<div class="row">
|
||||
@ -31,6 +29,6 @@ require_once 'includes/lang_loader.php';
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php require 'footer.php'; ?>
|
||||
<?php require 'includes/footer.php'; ?>
|
||||
</body>
|
||||
</html>
|
37
locale/af_ZA/messages.php
Normal file
37
locale/af_ZA/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Welcome to our Website!',
|
||||
'description' => 'This is a description in English.',
|
||||
'userProfile' => "User Profile",
|
||||
'user' => 'User',
|
||||
'home' => 'Home',
|
||||
'djName' => 'DJ Name',
|
||||
'email' => 'Email',
|
||||
'location' => 'Location',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Submit',
|
||||
'login' => 'Login',
|
||||
'message' => 'Message',
|
||||
'follow' => 'Follow',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "Could not load DJ; either the DJ wasn't found or this DJ is private.",
|
||||
"notfound" => "Page not found",
|
||||
"genre" => "Genre",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Could not load genre; either the genre wasn't found, was empty, or this genre is private.",
|
||||
"mix-count" => "Mix Count",
|
||||
"mixes" => "Mixes",
|
||||
"mix" => "Mix",
|
||||
"mixNotFound" => "Could not load mix; either the mix wasn't found, was empty, or this mix is private.",
|
||||
"mixName" => "Mix Name",
|
||||
"mixDescription" => "Mix Description",
|
||||
"mixLength" => "Mix Length",
|
||||
"mixGenre" => "Mix Genre",
|
||||
"view" => "View",
|
||||
"mixname" => "Mix Name",
|
||||
"search" => "Search",
|
||||
"searchResults" => "Search Results",
|
||||
"searchResultsFor" => "Search Results for",
|
||||
"searchResultsFound" => "Search Results Found",
|
||||
|
||||
];
|
37
locale/ar_SA/messages.php
Normal file
37
locale/ar_SA/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'مرحبا بكم في موقعنا على الإنترنت!',
|
||||
'description' => 'هذا وصف بالإنكليزية.',
|
||||
'userProfile' => "الملف الشخصي للمستخدم",
|
||||
'user' => 'المستخدم',
|
||||
'home' => 'المنزل',
|
||||
'djName' => 'اسم DJ',
|
||||
'email' => 'البريد الإلكتروني',
|
||||
'location' => 'الموقع',
|
||||
'bio' => 'بيو',
|
||||
'submit' => 'إرسال',
|
||||
'login' => 'تسجيل الدخول',
|
||||
'message' => 'رسالة',
|
||||
'follow' => 'اتبع',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "تعذر تحميل DJ; إما لم يتم العثور على DJ أو هذا DJ خاص.",
|
||||
"notfound" => "لم يتم العثور على الصفحة",
|
||||
"genre" => "النوع",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "لا يمكن تحميل النوع الجيد؛ إما لم يتم العثور على هذا النوع، أو كان فارغا، أو هذا النوع خاص.",
|
||||
"mix-count" => "عدد المزيج",
|
||||
"mixes" => "خلط",
|
||||
"mix" => "خليط",
|
||||
"mixNotFound" => "تعذر تحميل المزيج ؛ إما لم يتم العثور على المزيج ، أو كان فارغا، أو هذا المزيج خاص.",
|
||||
"mixName" => "اسم المزيج",
|
||||
"mixDescription" => "وصف المزيج",
|
||||
"mixLength" => "مزيج الطول",
|
||||
"mixGenre" => "خلط النوع",
|
||||
"view" => "عرض",
|
||||
"mixname" => "اسم المزيج",
|
||||
"search" => "البحث",
|
||||
"searchResults" => "نتائج البحث",
|
||||
"searchResultsFor" => "نتائج البحث عن",
|
||||
"searchResultsFound" => "تم العثور على نتائج البحث",
|
||||
|
||||
];
|
37
locale/ca_ES/messages.php
Normal file
37
locale/ca_ES/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Welcome to our Website!',
|
||||
'description' => 'This is a description in English.',
|
||||
'userProfile' => "User Profile",
|
||||
'user' => 'User',
|
||||
'home' => 'Home',
|
||||
'djName' => 'DJ Name',
|
||||
'email' => 'Email',
|
||||
'location' => 'Location',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Submit',
|
||||
'login' => 'Login',
|
||||
'message' => 'Message',
|
||||
'follow' => 'Follow',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "Could not load DJ; either the DJ wasn't found or this DJ is private.",
|
||||
"notfound" => "Page not found",
|
||||
"genre" => "Genre",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Could not load genre; either the genre wasn't found, was empty, or this genre is private.",
|
||||
"mix-count" => "Mix Count",
|
||||
"mixes" => "Mixes",
|
||||
"mix" => "Mix",
|
||||
"mixNotFound" => "Could not load mix; either the mix wasn't found, was empty, or this mix is private.",
|
||||
"mixName" => "Mix Name",
|
||||
"mixDescription" => "Mix Description",
|
||||
"mixLength" => "Mix Length",
|
||||
"mixGenre" => "Mix Genre",
|
||||
"view" => "View",
|
||||
"mixname" => "Mix Name",
|
||||
"search" => "Search",
|
||||
"searchResults" => "Search Results",
|
||||
"searchResultsFor" => "Search Results for",
|
||||
"searchResultsFound" => "Search Results Found",
|
||||
|
||||
];
|
37
locale/cs_CZ/messages.php
Normal file
37
locale/cs_CZ/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Vítejte na našich webových stránkách!',
|
||||
'description' => 'To je popis v angličtině.',
|
||||
'userProfile' => "Profil uživatele",
|
||||
'user' => 'Uživatel',
|
||||
'home' => 'Domů',
|
||||
'djName' => 'Název DJ',
|
||||
'email' => 'E-mailová adresa',
|
||||
'location' => 'Poloha',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Odeslat',
|
||||
'login' => 'Přihlásit se',
|
||||
'message' => 'Zpráva',
|
||||
'follow' => 'Sledovat',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "Nelze načíst DJ; buď nebyl nalezen DJ nebo je tento DJ soukromý.",
|
||||
"notfound" => "Stránka nenalezena",
|
||||
"genre" => "Žánr",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Nelze načíst genre; buď nebyl žánr nalezen, byl prázdný, nebo tento žánr je soukromý.",
|
||||
"mix-count" => "Počet smíšených",
|
||||
"mixes" => "Směsi",
|
||||
"mix" => "Míchat",
|
||||
"mixNotFound" => "Nelze načíst mix; buď směs nebyla nalezena, byla prázdná, nebo je tato směs soukromá.",
|
||||
"mixName" => "Směsný název",
|
||||
"mixDescription" => "Smíchat popis",
|
||||
"mixLength" => "Míchat délku",
|
||||
"mixGenre" => "Míchat žánr",
|
||||
"view" => "Zobrazit",
|
||||
"mixname" => "Směsný název",
|
||||
"search" => "Hledat",
|
||||
"searchResults" => "Výsledky hledání",
|
||||
"searchResultsFor" => "Výsledky hledání pro",
|
||||
"searchResultsFound" => "Nalezeny výsledky hledání",
|
||||
|
||||
];
|
37
locale/da_DK/messages.php
Normal file
37
locale/da_DK/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Velkommen til vores hjemmeside!',
|
||||
'description' => 'Dette er en beskrivelse på engelsk.',
|
||||
'userProfile' => "Bruger Profil",
|
||||
'user' => 'Bruger',
|
||||
'home' => 'Hjem',
|
||||
'djName' => 'DJ Navn',
|
||||
'email' => 'E-mail',
|
||||
'location' => 'Placering',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Indsend',
|
||||
'login' => 'Login',
|
||||
'message' => 'Besked',
|
||||
'follow' => 'Følg',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "Kunne ikke indlæse DJ; enten blev DJ ikke fundet eller denne DJ er privat.",
|
||||
"notfound" => "Siden blev ikke fundet",
|
||||
"genre" => "Genre",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Kunne ikke indlæse genre; enten blev genren ikke fundet, var tom, eller denne genre er privat.",
|
||||
"mix-count" => "Bland Antal",
|
||||
"mixes" => "Blandinger",
|
||||
"mix" => "Bland",
|
||||
"mixNotFound" => "Kunne ikke indlæse mix. Enten blev blandingen ikke fundet, var tom, eller også er dette miks privat.",
|
||||
"mixName" => "Mix Navn",
|
||||
"mixDescription" => "Bland Beskrivelse",
|
||||
"mixLength" => "Bland Længde",
|
||||
"mixGenre" => "Mix Genre",
|
||||
"view" => "Vis",
|
||||
"mixname" => "Mix Navn",
|
||||
"search" => "Søg",
|
||||
"searchResults" => "Søge Resultater",
|
||||
"searchResultsFor" => "Søgeresultater for",
|
||||
"searchResultsFound" => "Søgeresultater Fundet",
|
||||
|
||||
];
|
37
locale/el_GR/messages.php
Normal file
37
locale/el_GR/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Καλώς ήλθατε στην ιστοσελίδα μας!',
|
||||
'description' => 'Αυτή είναι μια περιγραφή στα αγγλικά.',
|
||||
'userProfile' => "Προφίλ Χρήστη",
|
||||
'user' => 'Χρήστης',
|
||||
'home' => 'Αρχική',
|
||||
'djName' => 'Όνομα DJ',
|
||||
'email' => 'E-mail',
|
||||
'location' => 'Τοποθεσία',
|
||||
'bio' => 'Βιογραφικό',
|
||||
'submit' => 'Υποβολή',
|
||||
'login' => 'Είσοδος',
|
||||
'message' => 'Μήνυμα',
|
||||
'follow' => 'Ακολουθήστε',
|
||||
'djs' => 'DJ',
|
||||
"djNotFound" => "Δεν ήταν δυνατή η φόρτωση του DJ, ούτε ο DJ βρέθηκε ούτε αυτός ο DJ είναι ιδιωτικός.",
|
||||
"notfound" => "Η σελίδα δεν βρέθηκε",
|
||||
"genre" => "Είδος",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Δεν ήταν δυνατή η φόρτωση είδους. Είτε το είδος δεν βρέθηκε, ήταν άδειο, είτε αυτό το είδος είναι ιδιωτικό.",
|
||||
"mix-count" => "Αριθμός Μεικτών",
|
||||
"mixes" => "Μείγματα",
|
||||
"mix" => "Μείγμα",
|
||||
"mixNotFound" => "Δεν ήταν δυνατή η φόρτωση του μείγματος. Είτε το μείγμα δεν βρέθηκε, ήταν άδειο, είτε αυτό το μίγμα είναι ιδιωτικό.",
|
||||
"mixName" => "Όνομα Μεικτού",
|
||||
"mixDescription" => "Περιγραφή Μεικτού",
|
||||
"mixLength" => "Μήκος Μείγματος",
|
||||
"mixGenre" => "Είδος Μείγματος",
|
||||
"view" => "Προβολή",
|
||||
"mixname" => "Όνομα Μεικτού",
|
||||
"search" => "Αναζήτηση",
|
||||
"searchResults" => "Αποτελέσματα Αναζήτησης",
|
||||
"searchResultsFor" => "Αποτελέσματα αναζήτησης για",
|
||||
"searchResultsFound" => "Βρέθηκαν Αποτελέσματα Αναζήτησης",
|
||||
|
||||
];
|
37
locale/fi_FI/messages.php
Normal file
37
locale/fi_FI/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Tervetuloa sivustollemme!',
|
||||
'description' => 'Tämä on englanninkielinen kuvaus.',
|
||||
'userProfile' => "Käyttäjän Profiili",
|
||||
'user' => 'Käyttäjä',
|
||||
'home' => 'Koti',
|
||||
'djName' => 'DJ Nimi',
|
||||
'email' => 'Sähköposti',
|
||||
'location' => 'Sijainti',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Lähetä',
|
||||
'login' => 'Kirjaudu',
|
||||
'message' => 'Viesti',
|
||||
'follow' => 'Seuraa',
|
||||
'djs' => 'DJ',
|
||||
"djNotFound" => "DJ ei voitu ladata. DJ ei löytynyt tai tämä DJ on yksityinen.",
|
||||
"notfound" => "Sivua ei löydy",
|
||||
"genre" => "Lajityyppi",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Lajityyppiä ei voitu ladata. Lajityyppiä ei löydetty, se oli tyhjä, tai tämä lajityyppi on yksityinen.",
|
||||
"mix-count" => "Sekoita Lukumäärä",
|
||||
"mixes" => "Sekoitukset",
|
||||
"mix" => "Sekoita",
|
||||
"mixNotFound" => "Sekoitusta ei voitu ladata. Sekoitus ei löytynyt, se oli tyhjä, tai tämä sekoitus on yksityinen.",
|
||||
"mixName" => "Sekoita Nimi",
|
||||
"mixDescription" => "Sekoita Kuvaus",
|
||||
"mixLength" => "Sekoita Pituus",
|
||||
"mixGenre" => "Sekoita Lajityyppi",
|
||||
"view" => "Näytä",
|
||||
"mixname" => "Sekoita Nimi",
|
||||
"search" => "Etsi",
|
||||
"searchResults" => "Hakutulokset",
|
||||
"searchResultsFor" => "Hae tuloksia",
|
||||
"searchResultsFound" => "Hakutulokset Löydetty",
|
||||
|
||||
];
|
@ -2,36 +2,36 @@
|
||||
return [
|
||||
'welcome' => 'Maligayang pagdating sa aming website!',
|
||||
'description' => 'Ito ay isang paglalarawan sa Tagalog.',
|
||||
'userProfile' => "User Profile",
|
||||
'userProfile' => "Profile ng User",
|
||||
'user' => 'User',
|
||||
'home' => 'Home',
|
||||
'djName' => 'DJ Name',
|
||||
'djName' => 'Pangalan ng DJ',
|
||||
'email' => 'Email',
|
||||
'location' => 'Location',
|
||||
'location' => 'Lokasyon',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Submit',
|
||||
'submit' => 'Isumite',
|
||||
'login' => 'Login',
|
||||
'message' => 'Message',
|
||||
'follow' => 'Follow',
|
||||
'message' => 'Mensahe',
|
||||
'follow' => 'Sundan',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "Could not load DJ; either the DJ wasn't found or this DJ is private.",
|
||||
"notfound" => "Page not found",
|
||||
"genre" => "Genre",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Could not load genre; either the genre wasn't found, was empty, or this genre is private.",
|
||||
"mix-count" => "Mix Count",
|
||||
"mixes" => "Mixes",
|
||||
"djNotFound" => "Hindi ma-load si DJ; maaaring hindi nahanap ang DJ o pribado ang DJ na ito.",
|
||||
"notfound" => "Hindi nahanap ang pahina",
|
||||
"genre" => "Dyanra",
|
||||
"genres" => "Mga Dyanra",
|
||||
"genreNotFound" => "Hindi ma-load ang dyanra; maaaring hindi nakita ang dyanra, walang laman, o pribado ang dyanra na ito.",
|
||||
"mix-count" => "Bilang ng Mix",
|
||||
"mixes" => "Mga Mix",
|
||||
"mix" => "Mix",
|
||||
"mixNotFound" => "Could not load mix; either the mix wasn't found, was empty, or this mix is private.",
|
||||
"mixName" => "Mix Name",
|
||||
"mixDescription" => "Mix Description",
|
||||
"mixLength" => "Mix Length",
|
||||
"mixGenre" => "Mix Genre",
|
||||
"view" => "View",
|
||||
"mixname" => "Mix Name",
|
||||
"search" => "Search",
|
||||
"searchResults" => "Search Results",
|
||||
"searchResultsFor" => "Search Results for",
|
||||
"searchResultsFound" => "Search Results Found",
|
||||
"mixNotFound" => "Hindi ma-load ang mix; maaaring hindi nakita ang mix, walang laman, o pribado ang mix na ito.",
|
||||
"mixName" => "Pangalan ng Mix",
|
||||
"mixDescription" => "Mix Paglalarawan",
|
||||
"mixLength" => "Haba ng Mix",
|
||||
"mixGenre" => "Dyanra ng Mix",
|
||||
"view" => "Tingnan",
|
||||
"mixname" => "Pangalan ng Mix",
|
||||
"search" => "Maghanap",
|
||||
"searchResults" => "Mga Resulta ng Paghahanap",
|
||||
"searchResultsFor" => "Mga resulta ng paghahanap para sa",
|
||||
"searchResultsFound" => "Natagpuan ang mga Resulta ng Paghahanap",
|
||||
|
||||
];
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Bienvenue sur notre site Web!',
|
||||
'description' => 'This is a description in English.',
|
||||
'description' => 'Ceci est une description en français.',
|
||||
'userProfile' => "Profil de l'utilisateur",
|
||||
'user' => 'Utilisateur',
|
||||
'home' => 'Domicile',
|
||||
|
37
locale/he_IL/messages.php
Normal file
37
locale/he_IL/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Welcome to our Website!',
|
||||
'description' => 'This is a description in English.',
|
||||
'userProfile' => "User Profile",
|
||||
'user' => 'User',
|
||||
'home' => 'Home',
|
||||
'djName' => 'DJ Name',
|
||||
'email' => 'Email',
|
||||
'location' => 'Location',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Submit',
|
||||
'login' => 'Login',
|
||||
'message' => 'Message',
|
||||
'follow' => 'Follow',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "Could not load DJ; either the DJ wasn't found or this DJ is private.",
|
||||
"notfound" => "Page not found",
|
||||
"genre" => "Genre",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Could not load genre; either the genre wasn't found, was empty, or this genre is private.",
|
||||
"mix-count" => "Mix Count",
|
||||
"mixes" => "Mixes",
|
||||
"mix" => "Mix",
|
||||
"mixNotFound" => "Could not load mix; either the mix wasn't found, was empty, or this mix is private.",
|
||||
"mixName" => "Mix Name",
|
||||
"mixDescription" => "Mix Description",
|
||||
"mixLength" => "Mix Length",
|
||||
"mixGenre" => "Mix Genre",
|
||||
"view" => "View",
|
||||
"mixname" => "Mix Name",
|
||||
"search" => "Search",
|
||||
"searchResults" => "Search Results",
|
||||
"searchResultsFor" => "Search Results for",
|
||||
"searchResultsFound" => "Search Results Found",
|
||||
|
||||
];
|
37
locale/hu_HU/messages.php
Normal file
37
locale/hu_HU/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Welcome to our Website!',
|
||||
'description' => 'This is a description in English.',
|
||||
'userProfile' => "User Profile",
|
||||
'user' => 'User',
|
||||
'home' => 'Home',
|
||||
'djName' => 'DJ Name',
|
||||
'email' => 'Email',
|
||||
'location' => 'Location',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Submit',
|
||||
'login' => 'Login',
|
||||
'message' => 'Message',
|
||||
'follow' => 'Follow',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "Could not load DJ; either the DJ wasn't found or this DJ is private.",
|
||||
"notfound" => "Page not found",
|
||||
"genre" => "Genre",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Could not load genre; either the genre wasn't found, was empty, or this genre is private.",
|
||||
"mix-count" => "Mix Count",
|
||||
"mixes" => "Mixes",
|
||||
"mix" => "Mix",
|
||||
"mixNotFound" => "Could not load mix; either the mix wasn't found, was empty, or this mix is private.",
|
||||
"mixName" => "Mix Name",
|
||||
"mixDescription" => "Mix Description",
|
||||
"mixLength" => "Mix Length",
|
||||
"mixGenre" => "Mix Genre",
|
||||
"view" => "View",
|
||||
"mixname" => "Mix Name",
|
||||
"search" => "Search",
|
||||
"searchResults" => "Search Results",
|
||||
"searchResultsFor" => "Search Results for",
|
||||
"searchResultsFound" => "Search Results Found",
|
||||
|
||||
];
|
37
locale/ja_JP/messages.php
Normal file
37
locale/ja_JP/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => '私たちのウェブサイトへようこそ!',
|
||||
'description' => 'これは英語の説明です。',
|
||||
'userProfile' => "ユーザープロフィール",
|
||||
'user' => 'ユーザー',
|
||||
'home' => 'ホーム',
|
||||
'djName' => 'DJ 名',
|
||||
'email' => 'Eメールアドレス',
|
||||
'location' => '場所',
|
||||
'bio' => '略歴',
|
||||
'submit' => '送信',
|
||||
'login' => 'ログイン',
|
||||
'message' => 'メッセージ',
|
||||
'follow' => 'フォロー',
|
||||
'djs' => 'DJ',
|
||||
"djNotFound" => "DJをロードできませんでした。DJが見つからないか、DJがプライベートです。",
|
||||
"notfound" => "ページが見つかりません",
|
||||
"genre" => "ジャンル",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "ジャンルをロードできませんでした。ジャンルが見つかりませんでした。空でしたか、このジャンルはプライベートです。",
|
||||
"mix-count" => "ミックス数",
|
||||
"mixes" => "ミックス",
|
||||
"mix" => "ミックス",
|
||||
"mixNotFound" => "ミックスをロードできませんでした。ミックスが見つかりませんでした。空であるか、このミックスがプライベートです。",
|
||||
"mixName" => "ミックス名",
|
||||
"mixDescription" => "ミックスの説明",
|
||||
"mixLength" => "ミックス長さ",
|
||||
"mixGenre" => "ミックスジャンル",
|
||||
"view" => "表示",
|
||||
"mixname" => "ミックス名",
|
||||
"search" => "検索",
|
||||
"searchResults" => "検索結果",
|
||||
"searchResultsFor" => "検索結果",
|
||||
"searchResultsFound" => "検索結果が見つかりました",
|
||||
|
||||
];
|
37
locale/ko_KR/messages.php
Normal file
37
locale/ko_KR/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Welcome to our Website!',
|
||||
'description' => 'This is a description in English.',
|
||||
'userProfile' => "User Profile",
|
||||
'user' => 'User',
|
||||
'home' => 'Home',
|
||||
'djName' => 'DJ Name',
|
||||
'email' => 'Email',
|
||||
'location' => 'Location',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Submit',
|
||||
'login' => 'Login',
|
||||
'message' => 'Message',
|
||||
'follow' => 'Follow',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "Could not load DJ; either the DJ wasn't found or this DJ is private.",
|
||||
"notfound" => "Page not found",
|
||||
"genre" => "Genre",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Could not load genre; either the genre wasn't found, was empty, or this genre is private.",
|
||||
"mix-count" => "Mix Count",
|
||||
"mixes" => "Mixes",
|
||||
"mix" => "Mix",
|
||||
"mixNotFound" => "Could not load mix; either the mix wasn't found, was empty, or this mix is private.",
|
||||
"mixName" => "Mix Name",
|
||||
"mixDescription" => "Mix Description",
|
||||
"mixLength" => "Mix Length",
|
||||
"mixGenre" => "Mix Genre",
|
||||
"view" => "View",
|
||||
"mixname" => "Mix Name",
|
||||
"search" => "Search",
|
||||
"searchResults" => "Search Results",
|
||||
"searchResultsFor" => "Search Results for",
|
||||
"searchResultsFound" => "Search Results Found",
|
||||
|
||||
];
|
37
locale/nl_NL/messages.php
Normal file
37
locale/nl_NL/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Welkom op onze Website!',
|
||||
'description' => 'Dit is een beschrijving in het Engels.',
|
||||
'userProfile' => "Gebruikers Profiel",
|
||||
'user' => 'Gebruiker',
|
||||
'home' => 'Startpagina',
|
||||
'djName' => 'DJ Naam',
|
||||
'email' => 'E-mailadres',
|
||||
'location' => 'Locatie',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Bevestigen',
|
||||
'login' => 'Aanmelden',
|
||||
'message' => 'bericht',
|
||||
'follow' => 'Volgen',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "Kan de DJ niet laden; ofwel de DJ is niet gevonden of deze DJ is privé.",
|
||||
"notfound" => "Pagina niet gevonden",
|
||||
"genre" => "genre",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Kon geen genre laden; of het genre is niet gevonden, was leeg, of dit genre is privé.",
|
||||
"mix-count" => "Aantal Mix",
|
||||
"mixes" => "Mixen",
|
||||
"mix" => "Mengen",
|
||||
"mixNotFound" => "Kon mixen niet laden; of de mix is niet gevonden, was leeg, of deze mix is privé.",
|
||||
"mixName" => "Mix Naam",
|
||||
"mixDescription" => "Beschrijving mixen",
|
||||
"mixLength" => "Mix Lengte",
|
||||
"mixGenre" => "Mix genre",
|
||||
"view" => "Bekijken",
|
||||
"mixname" => "Mix Naam",
|
||||
"search" => "Zoeken",
|
||||
"searchResults" => "Zoek resultaten",
|
||||
"searchResultsFor" => "Zoekresultaten voor",
|
||||
"searchResultsFound" => "Zoekresultaten gevonden",
|
||||
|
||||
];
|
37
locale/no_NO/messages.php
Normal file
37
locale/no_NO/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Velkommen til vår hjemmeside!',
|
||||
'description' => 'Dette er en beskrivelse på engelsk.',
|
||||
'userProfile' => "Bruker profil",
|
||||
'user' => 'Bruker',
|
||||
'home' => 'Hjem',
|
||||
'djName' => 'DJ Navn',
|
||||
'email' => 'E-post',
|
||||
'location' => 'Sted',
|
||||
'bio' => 'Biografi',
|
||||
'submit' => 'Send',
|
||||
'login' => 'Innlogging',
|
||||
'message' => 'Melding',
|
||||
'follow' => 'Følg',
|
||||
'djs' => 'DJ\'er',
|
||||
"djNotFound" => "Kan ikke laste DJ; enten DJ var ikke funnet, eller denne DJ er privat.",
|
||||
"notfound" => "Siden ble ikke funnet",
|
||||
"genre" => "Sjanger",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Kan ikke laste sjanger; sjangeren ble ikke funnet, var tom, eller sjangeren er privat.",
|
||||
"mix-count" => "Antall blandinger",
|
||||
"mixes" => "Mixes",
|
||||
"mix" => "Bland",
|
||||
"mixNotFound" => "Kunne ikke laste blanding, verken var blandingen tom, eller så var denne blandingen privat.",
|
||||
"mixName" => "Blandet navn",
|
||||
"mixDescription" => "Bland beskrivelse",
|
||||
"mixLength" => "Blandet lengde",
|
||||
"mixGenre" => "Bland sjanger",
|
||||
"view" => "Vis",
|
||||
"mixname" => "Blandet navn",
|
||||
"search" => "Søk",
|
||||
"searchResults" => "Resultat av søket",
|
||||
"searchResultsFor" => "Søkeresultater for",
|
||||
"searchResultsFound" => "Søkeresultater funnet",
|
||||
|
||||
];
|
37
locale/pl_PL/messages.php
Normal file
37
locale/pl_PL/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Witamy na naszej stronie internetowej!',
|
||||
'description' => 'To jest opis w języku angielskim.',
|
||||
'userProfile' => "Profil użytkownika",
|
||||
'user' => 'Użytkownik',
|
||||
'home' => 'Strona główna',
|
||||
'djName' => 'Nazwa DJ',
|
||||
'email' => 'E-mail',
|
||||
'location' => 'Lokalizacja',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Prześlij',
|
||||
'login' => 'Logowanie',
|
||||
'message' => 'Wiadomość',
|
||||
'follow' => 'Śledź',
|
||||
'djs' => 'DJ-y',
|
||||
"djNotFound" => "Nie można załadować DJ; DJ nie został znaleziony lub ten DJ jest prywatny.",
|
||||
"notfound" => "Strona nie znaleziona",
|
||||
"genre" => "Rodzaj",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Nie można załadować gatunku; albo gatunek nie został znaleziony, był pusty lub ten gatunek jest prywatny.",
|
||||
"mix-count" => "Liczba mieszanek",
|
||||
"mixes" => "Mieszanki",
|
||||
"mix" => "Mieszanina",
|
||||
"mixNotFound" => "Nie można załadować mieszanki; albo mieszanina nie została znaleziona, była pusta lub ta mieszanka jest prywatna.",
|
||||
"mixName" => "Nazwa mieszaniny",
|
||||
"mixDescription" => "Opis mieszaniny",
|
||||
"mixLength" => "Długość mieszania",
|
||||
"mixGenre" => "Mieszać gatunek",
|
||||
"view" => "Widok",
|
||||
"mixname" => "Nazwa mieszaniny",
|
||||
"search" => "Szukaj",
|
||||
"searchResults" => "Wyniki wyszukiwania",
|
||||
"searchResultsFor" => "Wyniki wyszukiwania dla",
|
||||
"searchResultsFound" => "Znaleziono wyniki wyszukiwania",
|
||||
|
||||
];
|
37
locale/pt_BR/messages.php
Normal file
37
locale/pt_BR/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Bem-vindo ao nosso site!',
|
||||
'description' => 'Esta é uma descrição em inglês.',
|
||||
'userProfile' => "Informações do Perfil",
|
||||
'user' => 'Usuário',
|
||||
'home' => 'Residencial',
|
||||
'djName' => 'Nome do DJ',
|
||||
'email' => 'e-mail',
|
||||
'location' => 'Local:',
|
||||
'bio' => 'Biografia',
|
||||
'submit' => 'submeter',
|
||||
'login' => 'Conectar-se',
|
||||
'message' => 'mensagem',
|
||||
'follow' => 'Seguir',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "Não foi possível carregar DJ; ou o DJ não foi encontrado ou este DJ é privado.",
|
||||
"notfound" => "Página não encontrada",
|
||||
"genre" => "gênero",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Não foi possível carregar o gênero; ou o gênero não foi encontrado, estava vazio ou este gênero é privado.",
|
||||
"mix-count" => "Contador de misturas",
|
||||
"mixes" => "Misturar",
|
||||
"mix" => "Mistura",
|
||||
"mixNotFound" => "Não foi possível carregar o mix; ou a mistura não foi encontrada, estava vazia, ou esta mistura é privada.",
|
||||
"mixName" => "Nome do mix",
|
||||
"mixDescription" => "Descrição Misto",
|
||||
"mixLength" => "Comprimento Misturado",
|
||||
"mixGenre" => "Gênero misto",
|
||||
"view" => "Visualizar",
|
||||
"mixname" => "Nome do mix",
|
||||
"search" => "Pesquisa",
|
||||
"searchResults" => "Resultados da Pesquisa",
|
||||
"searchResultsFor" => "Resultados da Pesquisa para",
|
||||
"searchResultsFound" => "Resultados da Pesquisa Encontrados",
|
||||
|
||||
];
|
37
locale/pt_PT/messages.php
Normal file
37
locale/pt_PT/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Bem-vindo ao nosso site!',
|
||||
'description' => 'Esta é uma descrição em inglês.',
|
||||
'userProfile' => "Informações do Perfil",
|
||||
'user' => 'Usuário',
|
||||
'home' => 'Residencial',
|
||||
'djName' => 'Nome do DJ',
|
||||
'email' => 'e-mail',
|
||||
'location' => 'Local:',
|
||||
'bio' => 'Biografia',
|
||||
'submit' => 'submeter',
|
||||
'login' => 'Conectar-se',
|
||||
'message' => 'mensagem',
|
||||
'follow' => 'Seguir',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "Não foi possível carregar DJ; ou o DJ não foi encontrado ou este DJ é privado.",
|
||||
"notfound" => "Página não encontrada",
|
||||
"genre" => "gênero",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Não foi possível carregar o gênero; ou o gênero não foi encontrado, estava vazio ou este gênero é privado.",
|
||||
"mix-count" => "Contador de misturas",
|
||||
"mixes" => "Misturar",
|
||||
"mix" => "Mistura",
|
||||
"mixNotFound" => "Não foi possível carregar o mix; ou a mistura não foi encontrada, estava vazia, ou esta mistura é privada.",
|
||||
"mixName" => "Nome do mix",
|
||||
"mixDescription" => "Descrição Misto",
|
||||
"mixLength" => "Comprimento Misturado",
|
||||
"mixGenre" => "Gênero misto",
|
||||
"view" => "Visualizar",
|
||||
"mixname" => "Nome do mix",
|
||||
"search" => "Pesquisa",
|
||||
"searchResults" => "Resultados da Pesquisa",
|
||||
"searchResultsFor" => "Resultados da Pesquisa para",
|
||||
"searchResultsFound" => "Resultados da Pesquisa Encontrados",
|
||||
|
||||
];
|
37
locale/ro_RO/messages.php
Normal file
37
locale/ro_RO/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Bun venit pe site-ul nostru!',
|
||||
'description' => 'Aceasta este o descriere în engleză.',
|
||||
'userProfile' => "Profil utilizator",
|
||||
'user' => 'Utilizator',
|
||||
'home' => 'Acasă',
|
||||
'djName' => 'Nume DJ',
|
||||
'email' => 'E-mail',
|
||||
'location' => 'Locaţie',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Trimiteți',
|
||||
'login' => 'Autentificare',
|
||||
'message' => 'Mesaj',
|
||||
'follow' => 'Urmărește',
|
||||
'djs' => 'DJ',
|
||||
"djNotFound" => "Nu s-a putut încărca DJ; fie DJ nu a fost găsit, fie acest DJ este privat.",
|
||||
"notfound" => "Pagina nu a fost găsită",
|
||||
"genre" => "Gen",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Nu s-a putut încărca genul; fie genul nu a fost găsit, fie era gol, fie acest gen este privat.",
|
||||
"mix-count" => "Numărul amestecurilor",
|
||||
"mixes" => "Mixuri",
|
||||
"mix" => "Amestecă",
|
||||
"mixNotFound" => "Nu s-a putut încărca mixul; fie mixul nu a fost găsit, a fost gol, fie acest mix este privat.",
|
||||
"mixName" => "Nume mix",
|
||||
"mixDescription" => "Descriere mixtă",
|
||||
"mixLength" => "Amestecă lungimea",
|
||||
"mixGenre" => "Amestecă genul",
|
||||
"view" => "Vizualizare",
|
||||
"mixname" => "Nume mix",
|
||||
"search" => "Caută",
|
||||
"searchResults" => "Rezultatele căutării",
|
||||
"searchResultsFor" => "Rezultate căutare pentru",
|
||||
"searchResultsFound" => "Rezultate Căutare găsite",
|
||||
|
||||
];
|
37
locale/sr_SP/messages.php
Normal file
37
locale/sr_SP/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Welcome to our Website!',
|
||||
'description' => 'This is a description in English.',
|
||||
'userProfile' => "User Profile",
|
||||
'user' => 'User',
|
||||
'home' => 'Home',
|
||||
'djName' => 'DJ Name',
|
||||
'email' => 'Email',
|
||||
'location' => 'Location',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Submit',
|
||||
'login' => 'Login',
|
||||
'message' => 'Message',
|
||||
'follow' => 'Follow',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "Could not load DJ; either the DJ wasn't found or this DJ is private.",
|
||||
"notfound" => "Page not found",
|
||||
"genre" => "Genre",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Could not load genre; either the genre wasn't found, was empty, or this genre is private.",
|
||||
"mix-count" => "Mix Count",
|
||||
"mixes" => "Mixes",
|
||||
"mix" => "Mix",
|
||||
"mixNotFound" => "Could not load mix; either the mix wasn't found, was empty, or this mix is private.",
|
||||
"mixName" => "Mix Name",
|
||||
"mixDescription" => "Mix Description",
|
||||
"mixLength" => "Mix Length",
|
||||
"mixGenre" => "Mix Genre",
|
||||
"view" => "View",
|
||||
"mixname" => "Mix Name",
|
||||
"search" => "Search",
|
||||
"searchResults" => "Search Results",
|
||||
"searchResultsFor" => "Search Results for",
|
||||
"searchResultsFound" => "Search Results Found",
|
||||
|
||||
];
|
37
locale/sv_SE/messages.php
Normal file
37
locale/sv_SE/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Välkommen till vår webbplats!',
|
||||
'description' => 'Detta är en beskrivning på engelska.',
|
||||
'userProfile' => "Användarprofil",
|
||||
'user' => 'Användare',
|
||||
'home' => 'Hem',
|
||||
'djName' => 'DJ namn',
|
||||
'email' => 'E-post',
|
||||
'location' => 'Plats',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Skicka',
|
||||
'login' => 'Inloggning',
|
||||
'message' => 'Meddelande',
|
||||
'follow' => 'Följ',
|
||||
'djs' => 'DJ',
|
||||
"djNotFound" => "Kunde inte ladda DJ; antingen hittades DJ:n eller så är DJ:n privat.",
|
||||
"notfound" => "Sidan hittades inte",
|
||||
"genre" => "Genre",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Kunde inte ladda genr; antingen hittades genren, var tom, eller så är denna genre privat.",
|
||||
"mix-count" => "Antal blandningar",
|
||||
"mixes" => "Blandningar",
|
||||
"mix" => "Blanda",
|
||||
"mixNotFound" => "Kunde inte ladda mix; antingen hittades blandningen inte, var tom, eller denna blandning är privat.",
|
||||
"mixName" => "Blanda namn",
|
||||
"mixDescription" => "Blanda beskrivning",
|
||||
"mixLength" => "Blanda längd",
|
||||
"mixGenre" => "Blanda genre",
|
||||
"view" => "Visa",
|
||||
"mixname" => "Blanda namn",
|
||||
"search" => "Sök",
|
||||
"searchResults" => "Sök resultat",
|
||||
"searchResultsFor" => "Sökresultat för",
|
||||
"searchResultsFound" => "Sökresultat hittades",
|
||||
|
||||
];
|
37
locale/tr_TR/messages.php
Normal file
37
locale/tr_TR/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Welcome to our Website!',
|
||||
'description' => 'This is a description in English.',
|
||||
'userProfile' => "User Profile",
|
||||
'user' => 'User',
|
||||
'home' => 'Home',
|
||||
'djName' => 'DJ Name',
|
||||
'email' => 'Email',
|
||||
'location' => 'Location',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Submit',
|
||||
'login' => 'Login',
|
||||
'message' => 'Message',
|
||||
'follow' => 'Follow',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "Could not load DJ; either the DJ wasn't found or this DJ is private.",
|
||||
"notfound" => "Page not found",
|
||||
"genre" => "Genre",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Could not load genre; either the genre wasn't found, was empty, or this genre is private.",
|
||||
"mix-count" => "Mix Count",
|
||||
"mixes" => "Mixes",
|
||||
"mix" => "Mix",
|
||||
"mixNotFound" => "Could not load mix; either the mix wasn't found, was empty, or this mix is private.",
|
||||
"mixName" => "Mix Name",
|
||||
"mixDescription" => "Mix Description",
|
||||
"mixLength" => "Mix Length",
|
||||
"mixGenre" => "Mix Genre",
|
||||
"view" => "View",
|
||||
"mixname" => "Mix Name",
|
||||
"search" => "Search",
|
||||
"searchResults" => "Search Results",
|
||||
"searchResultsFor" => "Search Results for",
|
||||
"searchResultsFound" => "Search Results Found",
|
||||
|
||||
];
|
37
locale/vi_VN/messages.php
Normal file
37
locale/vi_VN/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Welcome to our Website!',
|
||||
'description' => 'This is a description in English.',
|
||||
'userProfile' => "User Profile",
|
||||
'user' => 'User',
|
||||
'home' => 'Home',
|
||||
'djName' => 'DJ Name',
|
||||
'email' => 'Email',
|
||||
'location' => 'Location',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Submit',
|
||||
'login' => 'Login',
|
||||
'message' => 'Message',
|
||||
'follow' => 'Follow',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "Could not load DJ; either the DJ wasn't found or this DJ is private.",
|
||||
"notfound" => "Page not found",
|
||||
"genre" => "Genre",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Could not load genre; either the genre wasn't found, was empty, or this genre is private.",
|
||||
"mix-count" => "Mix Count",
|
||||
"mixes" => "Mixes",
|
||||
"mix" => "Mix",
|
||||
"mixNotFound" => "Could not load mix; either the mix wasn't found, was empty, or this mix is private.",
|
||||
"mixName" => "Mix Name",
|
||||
"mixDescription" => "Mix Description",
|
||||
"mixLength" => "Mix Length",
|
||||
"mixGenre" => "Mix Genre",
|
||||
"view" => "View",
|
||||
"mixname" => "Mix Name",
|
||||
"search" => "Search",
|
||||
"searchResults" => "Search Results",
|
||||
"searchResultsFor" => "Search Results for",
|
||||
"searchResultsFound" => "Search Results Found",
|
||||
|
||||
];
|
37
locale/zh_CN/messages.php
Normal file
37
locale/zh_CN/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => '欢迎来到我们的网站!',
|
||||
'description' => '这是英文描述。',
|
||||
'userProfile' => "用户资料",
|
||||
'user' => '用户',
|
||||
'home' => '首页',
|
||||
'djName' => 'DJ 名称',
|
||||
'email' => '电子邮件地址',
|
||||
'location' => '地点',
|
||||
'bio' => '个人信息',
|
||||
'submit' => '提交',
|
||||
'login' => '登录',
|
||||
'message' => '留言',
|
||||
'follow' => '关注',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "无法加载 DJ;要么找不到 DJ ,要么此 DJ 是私有的。",
|
||||
"notfound" => "找不到页面",
|
||||
"genre" => "流派数",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "无法加载基因;要么找不到基因,要么是空的,要么这种基因是私人的。",
|
||||
"mix-count" => "混合计数",
|
||||
"mixes" => "混音器",
|
||||
"mix" => "混音器",
|
||||
"mixNotFound" => "无法加载混合物;混合物未找到, 为空, 或者这种混合是私有的。",
|
||||
"mixName" => "混合名称",
|
||||
"mixDescription" => "混合描述",
|
||||
"mixLength" => "混合长度",
|
||||
"mixGenre" => "混合流体",
|
||||
"view" => "查看",
|
||||
"mixname" => "混合名称",
|
||||
"search" => "搜索",
|
||||
"searchResults" => "搜索结果",
|
||||
"searchResultsFor" => "搜索结果",
|
||||
"searchResultsFound" => "找到搜索结果",
|
||||
|
||||
];
|
37
locale/zh_TW/messages.php
Normal file
37
locale/zh_TW/messages.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
return [
|
||||
'welcome' => 'Welcome to our Website!',
|
||||
'description' => 'This is a description in English.',
|
||||
'userProfile' => "User Profile",
|
||||
'user' => 'User',
|
||||
'home' => 'Home',
|
||||
'djName' => 'DJ Name',
|
||||
'email' => 'Email',
|
||||
'location' => 'Location',
|
||||
'bio' => 'Bio',
|
||||
'submit' => 'Submit',
|
||||
'login' => 'Login',
|
||||
'message' => 'Message',
|
||||
'follow' => 'Follow',
|
||||
'djs' => 'DJs',
|
||||
"djNotFound" => "Could not load DJ; either the DJ wasn't found or this DJ is private.",
|
||||
"notfound" => "Page not found",
|
||||
"genre" => "Genre",
|
||||
"genres" => "Genres",
|
||||
"genreNotFound" => "Could not load genre; either the genre wasn't found, was empty, or this genre is private.",
|
||||
"mix-count" => "Mix Count",
|
||||
"mixes" => "Mixes",
|
||||
"mix" => "Mix",
|
||||
"mixNotFound" => "Could not load mix; either the mix wasn't found, was empty, or this mix is private.",
|
||||
"mixName" => "Mix Name",
|
||||
"mixDescription" => "Mix Description",
|
||||
"mixLength" => "Mix Length",
|
||||
"mixGenre" => "Mix Genre",
|
||||
"view" => "View",
|
||||
"mixname" => "Mix Name",
|
||||
"search" => "Search",
|
||||
"searchResults" => "Search Results",
|
||||
"searchResultsFor" => "Search Results for",
|
||||
"searchResultsFound" => "Search Results Found",
|
||||
|
||||
];
|
22
mix.php
22
mix.php
@ -1,15 +1,16 @@
|
||||
<?php
|
||||
|
||||
// read toml config file
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
require_once 'classes/Database.php';
|
||||
require_once 'classes/Mix.php';
|
||||
|
||||
use Yosymfony\Toml\Toml;
|
||||
|
||||
$config = Toml::ParseFile('includes/config.toml');
|
||||
require_once 'includes/lang_loader.php';// if there's a query parameter named 'dj', load the Mix class
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
require_once 'includes/sessions.php';
|
||||
require_once 'includes/lang_loader.php';
|
||||
require_once 'classes/Database.php';
|
||||
require_once 'classes/Mix.php';
|
||||
|
||||
$db = new Database($config);
|
||||
$mixFound = false;
|
||||
if (isset($_GET['mix']) && $_GET['mix'] != "") {
|
||||
@ -22,13 +23,12 @@ if (isset($_GET['mix']) && $_GET['mix'] != "") {
|
||||
|
||||
?>
|
||||
<!doctype html >
|
||||
<html lang="<?php echo $lang?>">
|
||||
<html lang="<?php echo $lang ?>">
|
||||
<head>
|
||||
<?php require_once 'header.php';
|
||||
?>
|
||||
<?php require 'includes/header.php'; ?>
|
||||
</head>
|
||||
<body style="background-color: #eee;">
|
||||
<?php require 'navbar.php'; ?>
|
||||
<?php require 'includes/navbar.php'; ?>
|
||||
<section style="background-color: #eee;">
|
||||
<div class="container py-5">
|
||||
<div class="row">
|
||||
@ -230,6 +230,6 @@ if (isset($_GET['mix']) && $_GET['mix'] != "") {
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<?php require 'footer.php'; ?>
|
||||
<?php require 'includes/footer.php'; ?>
|
||||
</body>
|
||||
</html>
|
@ -1,3 +1,2 @@
|
||||
# vestacp autogenerated robots.txt
|
||||
User-agent: *
|
||||
Crawl-delay: 10
|
||||
|
Loading…
x
Reference in New Issue
Block a user