Make title translatable

This commit is contained in:
loicbersier 2020-01-24 22:03:13 +01:00
parent d920a6ef00
commit 6d5e28a963
6 changed files with 8 additions and 3 deletions

View file

@ -1,4 +1,5 @@
{ {
"title": "Le epic downloader",
"announcement": "إعلان", "announcement": "إعلان",
"LQ": "جودة رديئة", "LQ": "جودة رديئة",
"HQ": "جودة عالية", "HQ": "جودة عالية",

View file

@ -1,4 +1,5 @@
{ {
"title": "Le epic downloader",
"announcement": "Ansage", "announcement": "Ansage",
"LQ": "Niedrige Qualität", "LQ": "Niedrige Qualität",
"HQ": "Hohe Qualität", "HQ": "Hohe Qualität",

View file

@ -1,4 +1,5 @@
{ {
"title": "Le epic downloader",
"announcement": "Announcement", "announcement": "Announcement",
"LQ": "Low quality", "LQ": "Low quality",
"HQ": "High quality", "HQ": "High quality",

View file

@ -1,4 +1,5 @@
{ {
"title": "Le epic downloader",
"announcement": "Annonces", "announcement": "Annonces",
"LQ": "Basse qualité", "LQ": "Basse qualité",
"HQ": "Haute qualité", "HQ": "Haute qualité",

View file

@ -1,4 +1,5 @@
{ {
"title": "Le epic downloader",
"announcement": "Paziņojums", "announcement": "Paziņojums",
"LQ": "Zema kvalitāte", "LQ": "Zema kvalitāte",
"HQ": "Augsta kvalitāte", "HQ": "Augsta kvalitāte",

View file

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta property="og:type" content="website"> <meta property="og:type" content="website">
<meta property="og:title" content="{{ title }}" /> <meta property="og:title" content="{{ antl.formatMessage('messages.title') }} v{{ version }}" />
<meta property="og:description" content="A simple video downloader without any ad or tracking." /> <meta property="og:description" content="A simple video downloader without any ad or tracking." />
<meta property="og:url" content="https://namejeff.xyz/" /> <meta property="og:url" content="https://namejeff.xyz/" />
<meta property="og:image" content="https://namejeff.xyz/asset/jeff.png" /> <meta property="og:image" content="https://namejeff.xyz/asset/jeff.png" />
@ -15,7 +15,7 @@
<link rel="stylesheet" type="text/css" href="css/index.css"> <link rel="stylesheet" type="text/css" href="css/index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.8.0/css/bulma.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.8.0/css/bulma.min.css">
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script> <script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
<title>{{ title }}</title> <title>{{ antl.formatMessage('messages.title') }} v{{ version }}</title>
</head> </head>
<body class="gradientBG has-text-light"> <body class="gradientBG has-text-light">
<header> <header>
@ -42,7 +42,7 @@
<section class="section has-text-centered"> <section class="section has-text-centered">
<div class="container "> <div class="container ">
<div class="downloader form"> <div class="downloader form">
<h1 class="title has-text-light">{{ title }}</h1> <h1 class="title has-text-light">{{ antl.formatMessage('messages.title') }} v{{ version }}</h1>
<form name="download-form" method="POST" action="/"> <form name="download-form" method="POST" action="/">
{{ csrfField() }} {{ csrfField() }}