mirror of
				https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
				synced 2025-11-03 20:20:20 -05:00 
			
		
		
		
	String changes
Making translations better by fixing typos and stuff
This commit is contained in:
		
							parent
							
								
									d923a9b88c
								
							
						
					
					
						commit
						fccc45d602
					
				@ -41,11 +41,3 @@ if ($mysqli->connect_errno) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$mysqli->set_charset("utf8");
 | 
					$mysqli->set_charset("utf8");
 | 
				
			||||||
 | 
					 | 
				
			||||||
//This should later be translatable, maybe find a better solution?
 | 
					 | 
				
			||||||
$statuses = array(_("Major outage"), _("Minor outage"), _("Planned maintenance"), _("Operational") );
 | 
					 | 
				
			||||||
$classes = array("danger", "warning", "primary", "success" );
 | 
					 | 
				
			||||||
$icons = array("fa fa-times", "fa fa-exclamation", "fa fa-info", "fa fa-check" );
 | 
					 | 
				
			||||||
$some = array(_("Some systems are experiencing major outages"), _("Some systems are experiencing minor outages"), _("Some systems are under maintenance"));
 | 
					 | 
				
			||||||
$all = array(_("Our systems are experiencing major outages."), _("Our systems are experiencing minor outages"), _("Our systems are under maintenance"), _("All systems operational"));
 | 
					 | 
				
			||||||
$permissions = array(_("Super admin"), _("Admin"), _("Editor"));
 | 
					 | 
				
			||||||
@ -184,7 +184,7 @@ if (!empty($message))
 | 
				
			|||||||
	</section>
 | 
						</section>
 | 
				
			||||||
	<section class="install-section clearfix">
 | 
						<section class="install-section clearfix">
 | 
				
			||||||
		<h2><?php echo _("Privacy Policy");?></h2>
 | 
							<h2><?php echo _("Privacy Policy");?></h2>
 | 
				
			||||||
		<summary><?php echo _("Since you are collection personal information, the GDPR forces you to have a privacy policy. Enter the details below.");?></summary>
 | 
							<summary><?php echo _("Since you are collecting personal information, the GDPR needs you to have a privacy policy. Enter the details below.");?></summary>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		<div class="form-group clearfix">
 | 
							<div class="form-group clearfix">
 | 
				
			||||||
			<div class="col-sm-6"><label for="policy_name"><?php echo _("Name");?>: </label><input type="text" name="policy_name" value="<?php echo ((isset($_POST['policy_name']))?htmlspecialchars($_POST['policy_name'], ENT_QUOTES):'');?>" id="policy_name" placeholder="<?php echo _("Company name");?>" class="form-control" required></div>
 | 
								<div class="col-sm-6"><label for="policy_name"><?php echo _("Name");?>: </label><input type="text" name="policy_name" value="<?php echo ((isset($_POST['policy_name']))?htmlspecialchars($_POST['policy_name'], ENT_QUOTES):'');?>" id="policy_name" placeholder="<?php echo _("Company name");?>" class="form-control" required></div>
 | 
				
			||||||
@ -195,7 +195,7 @@ if (!empty($message))
 | 
				
			|||||||
			<div class="col-sm-6"><label for="policy_phone"><?php echo _("Phone");?>: </label><input type="text" name="policy_phone" value="<?php echo ((isset($_POST['policy_phone']))?htmlspecialchars($_POST['policy_phone'], ENT_QUOTES):'');?>" id="policy_phone" placeholder="<?php echo _("Phone number");?>" class="form-control"></div>
 | 
								<div class="col-sm-6"><label for="policy_phone"><?php echo _("Phone");?>: </label><input type="text" name="policy_phone" value="<?php echo ((isset($_POST['policy_phone']))?htmlspecialchars($_POST['policy_phone'], ENT_QUOTES):'');?>" id="policy_phone" placeholder="<?php echo _("Phone number");?>" class="form-control"></div>
 | 
				
			||||||
		</div>
 | 
							</div>
 | 
				
			||||||
		<div class="form-group clearfix">
 | 
							<div class="form-group clearfix">
 | 
				
			||||||
			<div class=""><label for="who_we_are"><?php echo _("Who we are");?>: </label><textarea class="form-control" id="who_we_are" rows="3" name="who_we_are" placeholder="<?php echo _("A small text about yourself");?>" value="<?php echo ((isset($_POST['who_we_are']))?htmlspecialchars($_POST['who_we_are'], ENT_QUOTES):'');?>"></textarea></div>
 | 
								<div class=""><label for="who_we_are"><?php echo _("Who we are");?>: </label><textarea class="form-control" id="who_we_are" rows="3" name="who_we_are" placeholder="<?php echo _("Some info about yourself");?>" value="<?php echo ((isset($_POST['who_we_are']))?htmlspecialchars($_POST['who_we_are'], ENT_QUOTES):'');?>"></textarea></div>
 | 
				
			||||||
		</div>
 | 
							</div>
 | 
				
			||||||
	</section>
 | 
						</section>
 | 
				
			||||||
	<section class="install-section clearfix">
 | 
						<section class="install-section clearfix">
 | 
				
			||||||
 | 
				
			|||||||
@ -3,7 +3,7 @@
 | 
				
			|||||||
	require_once("config.php");
 | 
						require_once("config.php");
 | 
				
			||||||
	Template::render_header("Privacy Policy");
 | 
						Template::render_header("Privacy Policy");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	echo "<h1>" . _("Privcacy Policy") . "</h2>";
 | 
						echo "<h1>" . _("Privacy Policy") . "</h2>";
 | 
				
			||||||
	echo "<h2>" . _("Who we are") . "</h2>";
 | 
						echo "<h2>" . _("Who we are") . "</h2>";
 | 
				
			||||||
	echo WHO_WE_ARE;
 | 
						echo WHO_WE_ARE;
 | 
				
			||||||
	echo "<h2>" . _("Contact") . "</h2>";
 | 
						echo "<h2>" . _("Contact") . "</h2>";
 | 
				
			||||||
@ -15,7 +15,7 @@
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	echo '<h2>' . _("What personal data we collect and why") . '</h2>';
 | 
						echo '<h2>' . _("What personal data we collect and why") . '</h2>';
 | 
				
			||||||
	echo '<h3>' . _("Global") . "</h3>";
 | 
						echo '<h3>' . _("General") . "</h3>";
 | 
				
			||||||
	echo _("If you access our websites, the following information will be saved: IP-address, Date, Time, Browser queries, 
 | 
						echo _("If you access our websites, the following information will be saved: IP-address, Date, Time, Browser queries, 
 | 
				
			||||||
	General information about your browser, operating system and all search queries on the sites. 
 | 
						General information about your browser, operating system and all search queries on the sites. 
 | 
				
			||||||
	This user data will be used for anonym user statistics to recognize trends and improve our content.
 | 
						This user data will be used for anonym user statistics to recognize trends and improve our content.
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,13 @@
 | 
				
			|||||||
<?php 
 | 
					<?php 
 | 
				
			||||||
 | 
					//This should later be translatable, maybe find a better solution?
 | 
				
			||||||
 | 
					//This is here for better generation of POT files :)
 | 
				
			||||||
 | 
					$statuses = array(_("Major outage"), _("Minor outage"), _("Planned maintenance"), _("Operational") );
 | 
				
			||||||
 | 
					$classes = array("danger", "warning", "primary", "success" );
 | 
				
			||||||
 | 
					$icons = array("fa fa-times", "fa fa-exclamation", "fa fa-info", "fa fa-check" );
 | 
				
			||||||
 | 
					$some = array(_("Some systems are experiencing major outages"), _("Some systems are experiencing minor outages"), _("Some systems are under maintenance"));
 | 
				
			||||||
 | 
					$all = array(_("Our systems are experiencing major outages."), _("Our systems are experiencing minor outages"), _("Our systems are under maintenance"), _("All systems operational"));
 | 
				
			||||||
 | 
					$permissions = array(_("Super admin"), _("Admin"), _("Editor"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
* Class that encapsulates methods to render header and footer
 | 
					* Class that encapsulates methods to render header and footer
 | 
				
			||||||
*/
 | 
					*/
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user