Skip to content

Commit

Permalink
Update for Azuriom v1.1.0 and add more translations
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMicky-FR committed Aug 15, 2023
1 parent bb41007 commit edd5df0
Show file tree
Hide file tree
Showing 31 changed files with 1,050 additions and 3,653 deletions.
9 changes: 5 additions & 4 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,
'extends': [
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript',
'@vue/eslint-config-prettier'
'@vue/eslint-config-prettier',
],
ignorePatterns: ['build/**'],
parserOptions: {
ecmaVersion: 'latest'
}
ecmaVersion: 'latest',
},
}
4 changes: 2 additions & 2 deletions backend/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
*
* @author Azuriom
*/
$installerVersion = '1.0.0';
$installerVersion = '1.1.1';

$minPhpVersion = '8.0';
$minPhpVersion = '8.1';

$requiredExtensions = [
'bcmath', 'ctype', 'json', 'mbstring', 'openssl', 'PDO', 'tokenizer', 'xml', 'xmlwriter', 'curl', 'fileinfo', 'zip',
Expand Down
File renamed without changes
5 changes: 5 additions & 0 deletions build/assets/index-18017d70.css

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions build/assets/index-ee6087d9.js

Large diffs are not rendered by default.

24 changes: 0 additions & 24 deletions build/assets/index.1adc9a4a.js

This file was deleted.

6 changes: 0 additions & 6 deletions build/assets/index.3019197c.css

This file was deleted.

File renamed without changes
4 changes: 2 additions & 2 deletions build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="icon" href="https://azuriom.com/assets/img/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Installation - Azuriom</title>
<script type="module" crossorigin src="https://cdn.jsdelivr.net/gh/Azuriom/[email protected].0/build/assets/index.1adc9a4a.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Azuriom/[email protected].0/build/assets/index.3019197c.css">
<script type="module" crossorigin src="https://cdn.jsdelivr.net/gh/Azuriom/[email protected].1/build/assets/index-ee6087d9.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Azuriom/[email protected].1/build/assets/index-18017d70.css">
</head>
<body>
<div id="app"></div>
Expand Down
4,323 changes: 733 additions & 3,590 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "azuriom-installer",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",
"scripts": {
"dev": "vite",
Expand All @@ -13,7 +13,7 @@
"dependencies": {
"@popperjs/core": "^2.11.6",
"axios": "^1.1.0",
"bootstrap": "^5.3.0-alpha1",
"bootstrap": "^5.3.0",
"bootstrap-icons-vue": "^1.8.1",
"vue": "^3.2.13",
"vue-i18n": "^9.1.9"
Expand Down
27 changes: 27 additions & 0 deletions src/components/FlagBrazil.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<template>
<button class="btn btn-link p-0 mb-1 mx-1">
<svg
class="locale-flag"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 36 36"
>
<path
fill="#009B3A"
d="M36 27c0 2.209-1.791 4-4 4H4c-2.209 0-4-1.791-4-4V9c0-2.209 1.791-4 4-4h28c2.209 0 4 1.791 4 4v18z"
/>
<path fill="#FEDF01" d="M32.728 18L18 29.124 3.272 18 18 6.875z" />
<circle fill="#002776" cx="17.976" cy="17.924" r="6.458" />
<path
fill="#CBE9D4"
d="M12.277 14.887c-.332.621-.558 1.303-.672 2.023 3.995-.29 9.417 1.891 11.744 4.595.402-.604.7-1.28.883-2.004-2.872-2.808-7.917-4.63-11.955-4.614z"
/>
<path fill="#88C9F9" d="M12 18.233h1v1h-1zm1 2h1v1h-1z" />
<path
fill="#55ACEE"
d="M15 18.233h1v1h-1zm2 1h1v1h-1zm4 2h1v1h-1zm-3 1h1v1h-1zm3-6h1v1h-1z"
/>
<path fill="#3B88C3" d="M19 20.233h1v1h-1z" />
</svg>
</button>
</template>
<script setup lang="ts"></script>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<button class="btn btn-link p-0 mb-1 mx-1" title="简体中文">
<button class="btn btn-link p-0 mb-1 mx-1">
<svg
class="locale-flag"
xmlns="http://www.w3.org/2000/svg"
Expand Down
23 changes: 23 additions & 0 deletions src/components/FlagCzechia.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<template>
<button class="btn btn-link p-0 mb-1 mx-1">
<svg
class="locale-flag"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 36 36"
>
<path
fill="#D7141A"
d="M1.383 29.973C2.084 30.628 2.998 31 4 31h28c2.209 0 4-1.791 4-4.5V18H17.5L1.383 29.973z"
/>
<path
fill="#EEE"
d="M32 5H4c-1.016 0-1.94.382-2.646 1.006L17.5 18H36V9c0-2.209-1.791-4-4-4z"
/>
<path
fill="#11457E"
d="M1.383 29.973L17.5 18 1.354 6.006C.525 6.739 0 7.807 0 9v17.5c0 1.48.537 2.683 1.383 3.473z"
/>
</svg>
</button>
</template>
<script setup lang="ts"></script>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<button class="btn btn-link p-0 mb-1 mx-1" title="Français">
<button class="btn btn-link p-0 mb-1 mx-1">
<svg
class="locale-flag"
xmlns="http://www.w3.org/2000/svg"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<button class="btn btn-link p-0 mb-1 mx-1" title="Deutsch">
<button class="btn btn-link p-0 mb-1 mx-1">
<svg
class="locale-flag"
xmlns="http://www.w3.org/2000/svg"
Expand Down
20 changes: 20 additions & 0 deletions src/components/FlagRussia.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<template>
<button class="btn btn-link p-0 mb-1 mx-1">
<svg
class="locale-flag"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 36 36"
>
<path
fill="#CE2028"
d="M36 27c0 2.209-1.791 4-4 4H4c-2.209 0-4-1.791-4-4v-4h36v4z"
/>
<path fill="#22408C" d="M0 13h36v10H0z" />
<path
fill="#EEE"
d="M32 5H4C1.791 5 0 6.791 0 9v4h36V9c0-2.209-1.791-4-4-4z"
/>
</svg>
</button>
</template>
<script setup lang="ts"></script>
15 changes: 15 additions & 0 deletions src/components/FlagSweden.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<template>
<button class="btn btn-link p-0 mb-1 mx-1">
<svg
class="locale-flag"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 36 36"
>
<path
fill="#006AA7"
d="M15.5 31H32c2.209 0 4-1.791 4-4.5v-6H15.5V31zM32 5H15.5v10.5H36V9c0-2.209-1.791-4-4-4zM10.5 5H4C1.792 5 .002 6.789 0 8.997V15.5h10.5V5zM0 20.5v6.004C.002 29.211 1.792 31 4 31h6.5V20.5H0z"
/>
<path fill="#FECC00" d="M15.5 5h-5v10.5H0v5h10.5V31h5V20.5H36v-5H15.5z" />
</svg>
</button>
</template>
18 changes: 18 additions & 0 deletions src/components/FlagUkraine.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<template>
<button class="btn btn-link p-0 mb-1 mx-1">
<svg
class="locale-flag"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 36 36"
>
<path
fill="#005BBB"
d="M32 5H4C1.791 5 0 6.791 0 9v9h36V9c0-2.209-1.791-4-4-4z"
/>
<path
fill="#FFD500"
d="M36 27c0 2.209-1.791 4-4 4H4c-2.209 0-4-1.791-4-4v-9h36v9z"
/>
</svg>
</button>
</template>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<button class="btn btn-link p-0 mb-1 mx-1" title="English">
<button class="btn btn-link p-0 mb-1 mx-1">
<svg
class="locale-flag"
xmlns="http://www.w3.org/2000/svg"
Expand Down
28 changes: 28 additions & 0 deletions src/locales/cs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
title: 'Instalace'
loading: 'Načítání...'
continue: 'Pokračovat'
error: 'Došlo k chybě: {error}'
welcome: "Azuriom je herní CMS <strong>nové generace</strong>, je <strong>bezplatné</strong> a <strong>open-source</strong> a je <strong>moderní, spolehlivou, rychlou a bezpečnou</strong> alternativou k již existujícím CMS, takže můžete mít <strong>nejlepší možný zážitek z webu</strong>."
copyright: 'Copyright &copy; 2019-{year} <a href="https://azuriom.com" target="_blank" rel="noopener noreferrer">Azuriom</a> - Všechna práva vyhrazena.'
unknown: 'Neznámé'
help:
curl60: 'Pro vyřešení tohoto problému následujte kroky v <a href="https://azuriom.com/docs/faq" target="_blank" rel="noopener noreferrer">dokumentaci</a>. Cesta souboru php.ini: <code>{path}</code>'
requirements:
php: 'PHP verze {version} nebo vyšší'
writable: 'Oprávnění k zápisu'
rewrite: 'Přepis URL povolen'
extension: 'Rozšíření {extension}'
function: 'Funkce {function} povolena'
help:
writable: 'K udělení oprávnění k zápisu můžete vyzkoušet tento příkaz: <code>{command}</code>.'
rewrite: 'Pro povolení přepisu URL se řiďte pokyny v <a href="https://azuriom.com/docs/installation" target="_blank" rel="noopener noreferrer">naší dokumentaci</a>.'
htaccess: 'Soubor <code>.htaccess</code> nebo <code>public/.htaccess</code> chybí. Ujistěte se, že jste povolili zobrazení skrytých souborů a že soubor existuje.'
extension: 'Pro instalaci chybějících rozšíření PHP můžete vyzkoušet tento příkaz: <code>{command}</code>.<br>Jakmile budete mít hotovo, restartujte Apache nebo Nginx.'
function: 'Tuto funkci je třeba povolit v PHP souboru php.ini úpravou hodnoty <code>disable_functions</code>.'
missing: "Váš server nemá potřebné požadavky na instalaci Azuriomu."
recheck: 'Znovu zkontrolovat'
success: 'Váš server je připraven k instalaci Azuriomu, můžete pokračovat v instalaci!'
download:
title: 'Stáhnout'
info: 'Azuriom může být nyní stažen, tato akce může trvat několik minut...'
go: 'Stáhnout'
2 changes: 1 addition & 1 deletion src/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ requirements:
rewrite: 'Du kannst den Anweisungen in <a href="https://azuriom.com/docs/installation" target="_blank" rel="noopener noreferrer">unserer Dokumentation</a> folgen, um das URL-Rewriting zu aktivieren.'
htaccess: 'Die Datei <code>.htaccess</code> oder <code>public/.htaccess</code> fehlt. Vergewissere dich, dass du versteckte Dateien aktiviert hast und dass die Datei vorhanden ist.'
extension: 'Du kannst diesen Befehl ausprobieren, um die fehlenden PHP-Erweiterungen zu installieren: <code>{command}</code>.<br>Nachdem du das getan hast, starte Apache oder Nginx neu.'
function: 'Du musst diese Funktion in der php.ini-Datei von PHP aktivieren, indem du den Wert von <code>disable_functions</code> änderst.'
function: 'Du musst diese Funktion in der php.ini-Datei (<code>{path}</code>) aktivieren, indem du den Wert von <code>disable_functions</code> änderst.'

missing: 'Dein Server hat nicht die nötigen Voraussetzungen, um Azuriom zu installieren.'
recheck: 'Neu prüfen'
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ requirements:
rewrite: 'You can follow the instructions in <a href="https://azuriom.com/docs/installation" target="_blank" rel="noopener noreferrer">our documentation</a> to enable URL rewriting.'
htaccess: 'The file <code>.htaccess</code> or <code>public/.htaccess</code> is missing. Make sure you have enabled hidden files and that the file is present.'
extension: 'You can try this command to install the missing PHP extensions: <code>{command}</code>.<br>Once done, restart Apache or Nginx.'
function: 'You need to enable this function in the php.ini file of PHP by editing the value of <code>disable_functions</code>.'
function: 'This function can be enabled in the php.ini file (<code>{path}</code>), by editing the value of <code>disable_functions</code>. On a shared web hosting, you may have to ask their support.'

missing: "Your server doesn't have the necessary requirements to install Azuriom."
recheck: 'Recheck'
Expand Down
2 changes: 1 addition & 1 deletion src/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ requirements:
rewrite: "Vous pouvez suivre les instructions dans <a href=\"https://azuriom.com/docs/installation\" target=\"_blank\" rel=\"noopener noreferrer\">notre documentation</a> pour activer la réécriture d'URL."
htaccess: "Le fichier <code>.htaccess</code> or <code>public/.htaccess</code> est manquant. Assurez-vous d'avoir activé les fichiers cachés et que le fichier est bien présent."
extension: 'Vous pouvez essayer de faire cette commande pour installer les extensions PHP manquantes : <code>{command}</code><br>Une fois fait, redémarrez Apache ou Nginx.'
function: 'Vous devez activer cette fonction dans le fichier php.ini de PHP en modifiant la valeur de <code>disable_functions</code>.'
function: 'Cette fonction peut être activée dans le fichier php.ini (<code>{path}</code>), en modifiant la valeur de <code>disable_functions</code>. Sur un hébergement web mutualisé, vous devrez peut être contacter leur support.'

missing: "Votre serveur n'a pas les pré-requis nécessaires pour installer Azuriom."
recheck: 'Revérifier'
Expand Down
28 changes: 28 additions & 0 deletions src/locales/pt-BR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
title: 'Instalação'
loading: 'Carregando...'
continue: 'Continuar'
error: 'Ocorreu um erro: {error}'
welcome: "Azuriom é o <strong>da próxima geração</strong> jogo CMS, é <strong>gratuito</strong> e <strong>de código aberto</strong>, e é um <strong>moderno, alternativa confiável, rápida e segura</strong> ao CMS existente para que você tenha a melhor <strong>experiência web possível</strong>."
copyright: 'Copyright &copy; 2019-{year} <a href="https://azuriom.com" target="_blank" rel="noopener noreferrer">Azuriom</a> - Todos os direitos reservados.'
unknown: 'Desconhecido'
help:
curl60: 'Você pode seguir as etapas na <a href="https://azuriom.com/docs/faq" target="_blank" rel="noopener noreferrer">documentação</a> para resolver este problema. Caminho do php.ini: <code>{path}</code>'
requirements:
php: 'PHP {version} ou superior'
writable: 'Permissão de escrita'
rewrite: 'Reescrita de URL ativada'
extension: 'Extensão {extension}'
function: 'Função {function} habilitada'
help:
writable: 'Você pode tentar este comando para conceder permissão de escrita: <code>{command}</code>.'
rewrite: 'Você pode seguir as instruções na <a href="https://azuriom.com/docs/installation" target="_blank" rel="noopener noreferrer">nossa documentação</a> para habilitar a reescrita de URL.'
htaccess: 'O arquivo <code>.htaccess</code> ou <code>public/.htaccess</code> está faltando. Certifique-se de que você ativou arquivos ocultos e que o arquivo está presente.'
extension: 'Você pode tentar este comando para instalar as extensões PHP que faltam: <code>{command}</code>.<br>Uma vez feito, reinicie o Apache ou Nginx.'
function: 'Você precisa ativar esta função no arquivo php.ini do PHP, editando o valor de <code>disable_functions</code>.'
missing: "Seu servidor não tem os requisitos necessários para instalar o Azuriom."
recheck: 'Verificar novamente'
success: 'Seu servidor tem os pré-requisitos para instalar o Azuriom, você pode continuar a instalação!'
download:
title: 'Download'
info: 'Azuriom agora pode ser baixado, esta operação pode demorar alguns minutos...'
go: 'Download'
28 changes: 28 additions & 0 deletions src/locales/ru.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
title: 'Установка'
loading: 'Загрузка...'
continue: 'Продолжить'
error: 'Произошла ошибка: {error}'
welcome: "Azuriom — это <strong>следующее поколение CMS для игр,</strong> это <strong>бесплатные</strong> и <strong>открытые исходные тексты</strong>, и это <strong>современный, надёжная, быстрая и безопасная</strong> альтернатива существующей CMS, чтобы вы могли иметь наилучшее представление о <strong>в Интернете</strong>."
copyright: 'Copyright &copy; 2019-{year} <a href="https://azuriom.com" target="_blank" rel="noopener noreferrer">Azuriom</a> - Все права защищены.'
unknown: 'Неизвестен'
help:
curl60: 'Вы можете выполнить шаги в <a href="https://azuriom.com/docs/faq" target="_blank" rel="noopener noreferrer">документации</a>, чтобы решить эту проблему. Путь к php.ini: <code>{path}</code>'
requirements:
php: 'PHP {version} или выше'
writable: 'Разрешение на запись'
rewrite: 'URL rewrite включен'
extension: 'Расширение {extension}'
function: 'Функция {function} включена'
help:
writable: 'Вы можете попробовать эту команду, чтобы предоставить разрешение на запись: <code>{command}</code>.'
rewrite: 'Вы можете следовать инструкциям в <a href="https://azuriom.com/docs/installation" target="_blank" rel="noopener noreferrer">нашей документации</a>, чтобы включить перезапись ссылок.'
htaccess: 'Файл <code>.htaccess</code> или <code>public/.htaccess</code> отсутствует. Убедитесь, что вы включили скрытые файлы и файл присутствует.'
extension: 'Вы можете попробовать эту команду установить отсутствующие расширения PHP: <code>{command}</code>.<br>После завершения перезапустите Apache или Nginx.'
function: 'Вам нужно включить эту функцию в файле php.ini PHP, изменив значение <code>disable_functions</code>.'
missing: "Ваш сервер не имеет необходимых требований для установки Azuriom."
recheck: 'Перепроверить'
success: 'У вашего сервера есть необходимые условия для установки Azuriom, вы можете продолжить установку!'
download:
title: 'Скачать'
info: 'Azuriom теперь можно загрузить, эта операция может занять несколько минут...'
go: 'Скачать'
28 changes: 28 additions & 0 deletions src/locales/sv-SE.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
title: 'Installera'
loading: 'Laddar...'
continue: 'Fortsätt'
error: 'Ett fel har uppstått: {error}'
welcome: "Azuriom är <strong>nästa generations</strong> spel CMS, det är <strong>gratis</strong> och <strong>öppen källkod</strong>, och är en <strong>modern, tillförlitliga, snabba och säkra</strong> alternativ till befintliga CMS så att du kan ha <strong>bästa webbupplevelse möjligt</strong>."
copyright: 'Copyright &copy; 2019-{year} <a href="https://azuriom.com" target="_blank" rel="noopener noreferrer">Azuriom</a> - Alla rättigheter förbehållna.'
unknown: 'Unknown'
help:
curl60: 'Du kan följa stegen i <a href="https://azuriom.com/docs/faq" target="_blank" rel="noopener noreferrer">dokumentationen</a> för att lösa problemet. Path of the php.ini: <code>{path}</code>'
requirements:
php: 'PHP {version} eller högre'
writable: 'Skriva behörighet'
rewrite: 'URL omskrivning aktiverad'
extension: 'Förlängning {extension}'
function: 'Funktion {function} aktiverad'
help:
writable: 'Du kan prova detta kommando för att bevilja skrivbehörighet: <code>{command}</code>.'
rewrite: 'Du kan följa instruktionerna i <a href="https://azuriom.com/docs/installation" target="_blank" rel="noopener noreferrer">vår dokumentation</a> för att aktivera URL-omskrivning.'
htaccess: 'Filen <code>.htaccess</code> eller <code>public/.htaccess</code> saknas. Kontrollera att du har aktiverat dolda filer och att filen är närvarande.'
extension: 'Du kan prova detta kommando för att installera de saknade PHP-tilläggen: <code>{command}</code>.<br>När detta är gjort, starta om Apache eller Nginx.'
function: 'Du måste aktivera denna funktion i php.ini (<code>{path}</code>) filen PHP genom att redigera värdet <code>disable_functions</code>.'
missing: "Din server har inte de nödvändiga kraven för att installera Azuriom."
recheck: 'Kontrollera igen'
success: 'Din server har förutsättningar att installera Azuriom, du kan fortsätta installationen !'
download:
title: 'Hämta'
info: 'Azurien kan nu laddas ner, denna operation kan ta några minuter...'
go: 'Hämta'
Loading

0 comments on commit edd5df0

Please sign in to comment.