4
0
Эх сурвалжийг харах

Install : quelques corrections

https://github.com/marienfressinaud/FreshRSS/issues/273
Alexandre Alapetite 12 жил өмнө
parent
commit
f2321eb920

+ 1 - 0
app/i18n/en.php

@@ -273,6 +273,7 @@ return array (
 	'steps'				=> 'Steps',
 	'checks'			=> 'Checks',
 	'bdd_configuration'		=> 'Database configuration',
+	'bdd_type'		=> 'Type of database',
 	'this_is_the_end'		=> 'This is the end',
 
 	'ok'				=> 'Ok!',

+ 1 - 0
app/i18n/fr.php

@@ -273,6 +273,7 @@ return array (
 	'steps'				=> 'Étapes',
 	'checks'			=> 'Vérifications',
 	'bdd_configuration'		=> 'Configuration de la base de données',
+	'bdd_type'		=> 'Type de base de données',
 	'this_is_the_end'		=> 'This is the end',
 
 	'ok'				=> 'Ok !',

+ 4 - 6
public/install.php

@@ -61,7 +61,7 @@ define ('SQL_REQ_ENTRY', 'CREATE TABLE IF NOT EXISTS `%sentry` (
   FOREIGN KEY (`id_feed`) REFERENCES `%sfeed`(`id`) ON DELETE CASCADE ON UPDATE CASCADE,
   UNIQUE KEY (`id_feed`,`guid`),	-- v0.7
   INDEX (`is_favorite`),	-- v0.7
-  INDEX (`is_read`),	-- v0.7
+  INDEX (`is_read`)	-- v0.7
 ) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci
 ENGINE = INNODB;');
 
@@ -558,8 +558,6 @@ function printStep3 () {
 
 	<form action="index.php?step=3" method="post">
 		<legend><?php echo _t ('bdd_configuration'); ?></legend>
-		<!--
-		TODO : l'utilisation de SQLite n'est pas encore possible. Pour tester tout de même, décommentez ce bloc
 		<div class="form-group">
 			<label class="group-name" for="type"><?php echo _t ('bdd_type'); ?></label>
 			<div class="group-controls">
@@ -568,14 +566,14 @@ function printStep3 () {
 					<?php echo (isset($_SESSION['bd_type']) && $_SESSION['bd_type'] === 'mysql') ? 'selected="selected"' : ''; ?>>
 					MySQL
 				</option>
+				<!-- TODO : l'utilisation de SQLite n'est pas encore possible. Pour tester tout de même, décommentez ce bloc
 				<option value="sqlite"
 					<?php echo (isset($_SESSION['bd_type']) && $_SESSION['bd_type'] === 'sqlite') ? 'selected="selected"' : ''; ?>>
 					SQLite
-				</option>
+				</option>-->
 				</select>
 			</div>
 		</div>
-		-->
 
 		<div class="form-group">
 			<label class="group-name" for="host"><?php echo _t ('host'); ?></label>
@@ -601,7 +599,7 @@ function printStep3 () {
 		<div class="form-group">
 			<label class="group-name" for="base"><?php echo _t ('bdd'); ?></label>
 			<div class="group-controls">
-				<input type="text" id="base" name="base" maxlength="64" value="<?php echo isset ($_SESSION['bd_name']) ? $_SESSION['bd_name'] : ''; ?>" />
+				<input type="text" id="base" name="base" maxlength="64" value="<?php echo isset ($_SESSION['bd_name']) ? $_SESSION['bd_name'] : ''; ?>" placeholder="<?php echo _t ('freshrss'); ?>" />
 			</div>
 		</div>