mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Merge branch 'i18n' of https://github.com:443/billz/raspap-webgui into i18n
This commit is contained in:
		| @@ -38,32 +38,32 @@ function DisplayAuthConfig($username, $password){ | ||||
|   <div class="row"> | ||||
|     <div class="col-lg-12"> | ||||
|       <div class="panel panel-primary"> | ||||
|         <div class="panel-heading"><i class="fa fa-lock fa-fw"></i>Configure Auth</div> | ||||
|         <div class="panel-heading"><i class="fa fa-lock fa-fw"></i><?php echo _("Configure Auth"); ?></div> | ||||
|         <div class="panel-body"> | ||||
|           <p><?php $status->showMessages(); ?></p> | ||||
|           <form role="form" action="?page=auth_conf" method="POST"> | ||||
|             <?php CSRFToken() ?> | ||||
|             <div class="row"> | ||||
|               <div class="form-group col-md-4"> | ||||
|                 <label for="username">Username</label> | ||||
|                 <label for="username"><?php echo _("Username"); ?></label> | ||||
|                 <input type="text" class="form-control" name="username" value="<?php echo $username; ?>"/> | ||||
|               </div> | ||||
|             </div> | ||||
|             <div class="row"> | ||||
|               <div class="form-group col-md-4"> | ||||
|                 <label for="password">Old password</label> | ||||
|                 <label for="password"><?php echo _("Old password"); ?></label> | ||||
|                 <input type="password" class="form-control" name="oldpass"/> | ||||
|               </div> | ||||
|             </div> | ||||
|             <div class="row"> | ||||
|               <div class="form-group col-md-4"> | ||||
|                 <label for="password">New password</label> | ||||
|                 <label for="password"><?php echo _("New password"); ?></label> | ||||
|                 <input type="password" class="form-control" name="newpass"/> | ||||
|               </div> | ||||
|             </div> | ||||
|             <div class="row"> | ||||
|               <div class="form-group col-md-4"> | ||||
|                 <label for="password">Repeat new password</label> | ||||
|                 <label for="password"><?php echo _("Repeat new password"); ?></label> | ||||
|                 <input type="password" class="form-control" name="newpassagain"/> | ||||
|               </div> | ||||
|             </div> | ||||
|   | ||||
							
								
								
									
										0
									
								
								includes/authenticate.php
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								includes/authenticate.php
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							| @@ -145,7 +145,7 @@ function DisplayWPAConfig(){ | ||||
|   <div class="row"> | ||||
|     <div class="col-lg-12"> | ||||
|       <div class="panel panel-primary">            | ||||
|         <div class="panel-heading"><i class="fa fa-signal fa-fw"></i> Configure client</div> | ||||
|         <div class="panel-heading"><i class="fa fa-signal fa-fw"></i> <?php echo _("Configure client"); ?></div> | ||||
|         <!-- /.panel-heading --> | ||||
|         <div class="panel-body"> | ||||
|           <p><?php $status->showMessages(); ?></p> | ||||
| @@ -159,10 +159,10 @@ function DisplayWPAConfig(){ | ||||
|             <table class="table table-responsive table-striped"> | ||||
|               <tr> | ||||
|                 <th></th> | ||||
|                 <th>SSID</th> | ||||
|                 <th>Channel</th> | ||||
|                 <th>Security</th> | ||||
|                 <th>Passphrase</th> | ||||
|                 <th><?php echo _("SSID"); ?></th> | ||||
|                 <th><?php echo _("Channel"); ?></th> | ||||
|                 <th><?php echo _("Security"); ?></th> | ||||
|                 <th><?php echo _("Passphrase"); ?></th> | ||||
|                 <th></th> | ||||
|               </tr> | ||||
|             <?php $index = 0; ?> | ||||
| @@ -207,7 +207,7 @@ function DisplayWPAConfig(){ | ||||
|             </table> | ||||
|           </form> | ||||
|         </div><!-- ./ Panel body --> | ||||
|         <div class="panel-footer"><strong>Note,</strong> WEP access points appear as 'Open'. RaspAP does not currently support connecting to WEP.</div> | ||||
|         <div class="panel-footer"><?php echo _("<strong>Note:</strong> WEP access points appear as 'Open'. RaspAP does not currently support connecting to WEP"); ?></div> | ||||
|       </div><!-- /.panel-primary --> | ||||
|     </div><!-- /.col-lg-12 --> | ||||
|   </div><!-- /.row --> | ||||
|   | ||||
| @@ -77,24 +77,24 @@ function DisplayDashboard(){ | ||||
|   <div class="row"> | ||||
|       <div class="col-lg-12"> | ||||
|           <div class="panel panel-primary"> | ||||
|             <div class="panel-heading"><i class="fa fa-dashboard fa-fw"></i> Dashboard   </div> | ||||
|             <div class="panel-heading"><i class="fa fa-dashboard fa-fw"></i> <?php echo _("Dashboard"); ?></div> | ||||
|               <div class="panel-body"> | ||||
|                 <p><?php $status->showMessages(); ?></p> | ||||
|                   <div class="row"> | ||||
|                         <div class="col-md-6"> | ||||
|                         <div class="panel panel-default"> | ||||
|                   <div class="panel-body"> | ||||
|                       <h4>Interface Information</h4> | ||||
|           <div class="info-item">Interface Name</div> wlan0</br> | ||||
|           <div class="info-item">IP Address</div>     <?php echo $strIPAddress ?></br> | ||||
|           <div class="info-item">Subnet Mask</div>    <?php echo $strNetMask ?></br> | ||||
|           <div class="info-item">Mac Address</div>    <?php echo $strHWAddress ?></br></br> | ||||
|                       <h4><?php echo _("Interface Information"); ?></h4> | ||||
|           <div class="info-item"><?php echo _("Interface Name"); ?></div> wlan0</br> | ||||
|           <div class="info-item"><?php echo _("IP Address"); ?></div>     <?php echo $strIPAddress ?></br> | ||||
|           <div class="info-item"><?php echo _("Subnet Mask"); ?></div>    <?php echo $strNetMask ?></br> | ||||
|           <div class="info-item"><?php echo _("Mac Address"); ?></div>    <?php echo $strHWAddress ?></br></br> | ||||
|  | ||||
|                       <h4>Interface Statistics</h4> | ||||
|           <div class="info-item">Received Packets</div>    <?php echo $strRxPackets ?></br> | ||||
|           <div class="info-item">Received Bytes</div>      <?php echo $strRxBytes ?></br></br> | ||||
|           <div class="info-item">Transferred Packets</div> <?php echo $strTxPackets ?></br> | ||||
|           <div class="info-item">Transferred Bytes</div>   <?php echo $strTxBytes ?></br> | ||||
|                       <h4><?php echo _("Interface Statistics"); ?></h4> | ||||
|           <div class="info-item"><?php echo _("Received Packets"); ?></div>    <?php echo $strRxPackets ?></br> | ||||
|           <div class="info-item"><?php echo _("Received Bytes"); ?></div>      <?php echo $strRxBytes ?></br></br> | ||||
|           <div class="info-item"><?php echo _("Transferred Packets"); ?></div> <?php echo $strTxPackets ?></br> | ||||
|           <div class="info-item"><?php echo _("Transferred Bytes"); ?></div>   <?php echo $strTxBytes ?></br> | ||||
|         </div><!-- /.panel-body --> | ||||
|         </div><!-- /.panel-default --> | ||||
|                         </div><!-- /.col-md-6 --> | ||||
| @@ -102,14 +102,14 @@ function DisplayDashboard(){ | ||||
|         <div class="col-md-6"> | ||||
|                     <div class="panel panel-default"> | ||||
|               <div class="panel-body wireless"> | ||||
|                             <h4>Wireless Information</h4> | ||||
|           <div class="info-item">Connected To</div>   <?php echo $strSSID ?></br> | ||||
|           <div class="info-item">AP Mac Address</div> <?php echo $strBSSID ?></br> | ||||
|           <div class="info-item">Bitrate</div>        <?php echo $strBitrate ?></br> | ||||
|           <div class="info-item">Signal Level</div>        <?php echo $strSignalLevel ?></br> | ||||
|           <div class="info-item">Transmit Power</div> <?php echo $strTxPower ?></br> | ||||
|           <div class="info-item">Frequency</div>      <?php echo $strFrequency ?></br></br> | ||||
|           <div class="info-item">Link Quality</div> | ||||
|                             <h4><?php echo _("Wireless Information"); ?></h4> | ||||
|           <div class="info-item"><?php echo _("Connected To"); ?></div>   <?php echo $strSSID ?></br> | ||||
|           <div class="info-item"><?php echo _("AP Mac Address"); ?></div> <?php echo $strBSSID ?></br> | ||||
|           <div class="info-item"><?php echo _("Bitrate"); ?></div>        <?php echo $strBitrate ?></br> | ||||
|           <div class="info-item"><?php echo _("Signal Level"); ?></div>	<?php echo $strSignalLevel ?></br> | ||||
|           <div class="info-item"><?php echo _("Transmit Power"); ?></div> <?php echo $strTxPower ?></br> | ||||
|           <div class="info-item"><?php echo _("Frequency"); ?></div>      <?php echo $strFrequency ?></br></br> | ||||
|           <div class="info-item"><?php echo _("Link Quality"); ?></div> | ||||
|             <div class="progress"> | ||||
|             <div class="progress-bar progress-bar-info progress-bar-striped active" | ||||
|               role="progressbar" | ||||
| @@ -119,25 +119,25 @@ function DisplayDashboard(){ | ||||
|           </div> | ||||
|         </div><!-- /.panel-body --> | ||||
|         </div><!-- /.panel-default --> | ||||
|                         </div><!-- /.col-md-6 --> | ||||
|       </div><!-- /.col-md-6 --> | ||||
|       </div><!-- /.row --> | ||||
|  | ||||
|                   <div class="col-lg-12"> | ||||
|                  <div class="row"> | ||||
|                     <form action="?page=wlan0_info" method="POST"> | ||||
|                     <?php if ( !$wlan0up ) { | ||||
|                       echo '<input type="submit" class="btn btn-success" value="Start wlan0" name="ifup_wlan0" />'; | ||||
|                       echo '<input type="submit" class="btn btn-success" value="' . _("Start wlan0") . '" name="ifup_wlan0" />'; | ||||
|                     } else { | ||||
|                 echo '<input type="submit" class="btn btn-warning" value="Stop wlan0" name="ifdown_wlan0" />'; | ||||
|                 echo '<input type="submit" class="btn btn-warning" value="' . _("Stop wlan0") . '"  name="ifdown_wlan0" />'; | ||||
|               } | ||||
|               ?> | ||||
|               <input type="button" class="btn btn-outline btn-primary" value="Refresh" onclick="document.location.reload(true)" /> | ||||
|               <input type="button" class="btn btn-outline btn-primary" value="<?php echo _("Refresh"); ?>" onclick="document.location.reload(true)" /> | ||||
|               </form> | ||||
|             </div> | ||||
|               </div> | ||||
|  | ||||
|                 </div><!-- /.panel-body --> | ||||
|                 <div class="panel-footer">Information provided by ifconfig and iwconfig</div> | ||||
|                 <div class="panel-footer"><?php echo _("Information provided by ifconfig and iwconfig"); ?></div> | ||||
|             </div><!-- /.panel-default --> | ||||
|         </div><!-- /.col-lg-12 --> | ||||
|     </div><!-- /.row --> | ||||
|   | ||||
| @@ -98,16 +98,15 @@ function DisplayDHCPConfig() { | ||||
|   <div class="row"> | ||||
|   <div class="col-lg-12"> | ||||
|       <div class="panel panel-primary"> | ||||
|       <div class="panel-heading"><i class="fa fa-exchange fa-fw"></i> Configure DHCP | ||||
|             </div> | ||||
|       <div class="panel-heading"><i class="fa fa-exchange fa-fw"></i> <?php echo _("Configure DHCP"); ?></div> | ||||
|         <!-- /.panel-heading --> | ||||
|         <div class="panel-body"> | ||||
|         <p><?php $status->showMessages(); ?></p> | ||||
|         <!-- Nav tabs --> | ||||
|             <ul class="nav nav-tabs"> | ||||
|                 <li class="active"><a href="#server-settings" data-toggle="tab">Server settings</a> | ||||
|                 <li class="active"><a href="#server-settings" data-toggle="tab"><?php echo _("Server settings"); ?></a> | ||||
|                 </li> | ||||
|                 <li><a href="#client-list" data-toggle="tab">Client list</a> | ||||
|                 <li><a href="#client-list" data-toggle="tab"><?php echo _("Client list"); ?></a> | ||||
|                 </li> | ||||
|             </ul> | ||||
|         <!-- Tab panes --> | ||||
| @@ -136,36 +135,36 @@ function DisplayDHCPConfig() { | ||||
|     </div> | ||||
|     <div class="row"> | ||||
|       <div class="form-group col-md-4"> | ||||
|         <label for="code">Starting IP Address</label> | ||||
|         <label for="code"><?php echo _("Starting IP Address"); ?></label> | ||||
|         <input type="text" class="form-control"name="RangeStart" value="<?php echo $RangeStart; ?>" /> | ||||
|       </div> | ||||
|     </div> | ||||
|  | ||||
|     <div class="row"> | ||||
|       <div class="form-group col-md-4"> | ||||
|         <label for="code">Ending IP Address</label> | ||||
|         <label for="code"><?php echo _("Ending IP Address"); ?></label> | ||||
|         <input type="text" class="form-control" name="RangeEnd" value="<?php echo $RangeEnd; ?>" /> | ||||
|       </div> | ||||
|     </div> | ||||
|  | ||||
|     <div class="row"> | ||||
|       <div class="form-group col-xs-2 col-sm-2"> | ||||
|         <label for="code">Lease Time</label> | ||||
|         <label for="code"><?php echo _("Lease Time"); ?></label> | ||||
|         <input type="text" class="form-control" name="RangeLeaseTime" value="<?php echo $arrRangeLeaseTime[1]; ?>" /> | ||||
|       </div> | ||||
|       <div class="col-xs-2 col-sm-2"> | ||||
|         <label for="code">Interval</label> | ||||
|         <label for="code"><?php echo _("Interval"); ?></label> | ||||
|         <select name="RangeLeaseTimeUnits" class="form-control" ><option value="m" <?php echo $mselected; ?>>Minute(s)</option><option value="h" <?php echo $hselected; ?>>Hour(s)</option><option value="d" <?php echo $dselected; ?>>Day(s)</option><option value="infinite">Infinite</option></select>  | ||||
|       </div> | ||||
|     </div> | ||||
|  | ||||
|     <input type="submit" class="btn btn-outline btn-primary" value="Save settings" name="savedhcpdsettings" /> | ||||
|     <input type="submit" class="btn btn-outline btn-primary" value="<?php echo _("Save settings"); ?>" name="savedhcpdsettings" /> | ||||
|     <?php | ||||
|  | ||||
|     if ( $dnsmasq_state ) { | ||||
|       echo '<input type="submit" class="btn btn-warning" value="Stop dnsmasq" name="stopdhcpd" />'; | ||||
|       echo '<input type="submit" class="btn btn-warning" value="' . _("Stop dnsmasq") . '" name="stopdhcpd" />'; | ||||
|     } else { | ||||
|       echo'<input type="submit" class="btn btn-success" value="Start dnsmasq" name="startdhcpd" />'; | ||||
|       echo'<input type="submit" class="btn btn-success" value="' .  _("Start dnsmasq") . '" name="startdhcpd" />'; | ||||
|     } | ||||
|     ?> | ||||
|     </form> | ||||
| @@ -175,20 +174,18 @@ function DisplayDHCPConfig() { | ||||
|     <h4>Client list</h4> | ||||
|     <div class="col-lg-12"> | ||||
|       <div class="panel panel-default"> | ||||
|       <div class="panel-heading"> | ||||
|         Active DHCP leases | ||||
|       </div> | ||||
|       <div class="panel-heading"><?php echo _("Active DHCP leases"); ?></div> | ||||
|       <!-- /.panel-heading --> | ||||
|       <div class="panel-body"> | ||||
|         <div class="table-responsive"> | ||||
|           <table class="table table-hover"> | ||||
|             <thead> | ||||
|               <tr> | ||||
|                 <th>Expire time</th> | ||||
|                 <th>MAC Address</th> | ||||
|                 <th>IP Address</th> | ||||
|                 <th>Host name</th> | ||||
|                 <th>Client ID</th> | ||||
|                 <th><?php echo _("Expire time"); ?></th> | ||||
|                 <th><?php echo _("MAC Address"); ?></th> | ||||
|                 <th><?php echo _("IP Address"); ?></th> | ||||
|                 <th><?php echo _("Host name"); ?></th> | ||||
|                 <th><?php echo _("Client ID"); ?></th> | ||||
|               </tr> | ||||
|             </thead> | ||||
|             <tbody> | ||||
| @@ -213,7 +210,7 @@ function DisplayDHCPConfig() { | ||||
|     </div><!-- /.tab-pane --> | ||||
|     </div><!-- /.tab-content --> | ||||
|     </div><!-- ./ Panel body --> | ||||
|     <div class="panel-footer"> Information provided by Dnsmasq</div> | ||||
|     <div class="panel-footer"> <?php echo _("Information provided by Dnsmasq");?></div> | ||||
|         </div><!-- /.panel-primary --> | ||||
|     </div><!-- /.col-lg-12 --> | ||||
|   </div><!-- /.row --> | ||||
|   | ||||
| @@ -64,27 +64,27 @@ function DisplayHostAPDConfig(){ | ||||
|   <div class="row"> | ||||
|     <div class="col-lg-12"> | ||||
|       <div class="panel panel-primary"> | ||||
|         <div class="panel-heading"><i class="fa fa-dot-circle-o fa-fw"></i> Configure hotspot</div> | ||||
|         <div class="panel-heading"><i class="fa fa-dot-circle-o fa-fw"></i> <?php echo _("Configure hotspot"); ?></div> | ||||
|         <!-- /.panel-heading --> | ||||
|         <div class="panel-body"> | ||||
| 	  <p><?php $status->showMessages(); ?></p> | ||||
|           <form role="form" action="?page=hostapd_conf" method="POST"> | ||||
|             <!-- Nav tabs --> | ||||
|             <ul class="nav nav-tabs"> | ||||
|               <li class="active"><a href="#basic" data-toggle="tab">Basic</a></li> | ||||
|               <li><a href="#security" data-toggle="tab">Security</a></li> | ||||
|               <li><a href="#advanced" data-toggle="tab">Advanced</a></li> | ||||
|               <li class="active"><a href="#basic" data-toggle="tab"><?php echo _("Basic"); ?></a></li> | ||||
|               <li><a href="#security" data-toggle="tab"><?php echo _("Security"); ?></a></li> | ||||
|               <li><a href="#advanced" data-toggle="tab"><?php echo _("Advanced"); ?></a></li> | ||||
|             </ul> | ||||
|  | ||||
|             <!-- Tab panes --> | ||||
|             <div class="tab-content"> | ||||
|                 <div class="tab-pane fade in active" id="basic"> | ||||
|  | ||||
|                 <h4>Basic settings</h4> | ||||
|                 <h4><?php echo _("Basic settings") ;?></h4> | ||||
|                 <?php CSRFToken() ?> | ||||
|                 <div class="row"> | ||||
|                   <div class="form-group col-md-4"> | ||||
|                     <label for="code">Interface</label> | ||||
|                     <label for="code"><?php echo _("Interface") ;?></label> | ||||
|                     <?php | ||||
|                       SelectorOptions('interface', $interfaces, $arrConfig['interface']); | ||||
|                     ?> | ||||
| @@ -92,49 +92,49 @@ function DisplayHostAPDConfig(){ | ||||
|                 </div> | ||||
|                 <div class="row"> | ||||
|                   <div class="form-group col-md-4"> | ||||
|                     <label for="code">SSID</label> | ||||
|                     <label for="code"><?php echo _("SSID"); ?></label> | ||||
|                     <input type="text" class="form-control" name="ssid" value="<?php echo $arrConfig['ssid']; ?>" /> | ||||
|                   </div> | ||||
|                 </div> | ||||
|                 <div class="row"> | ||||
|                   <div class="form-group col-md-4"> | ||||
|                     <label for="code">Wireless Mode</label> | ||||
|                     <label for="code"><?php echo _("Wireless Mode") ;?></label> | ||||
|                     <?php SelectorOptions('hw_mode', $arrChannel, $arrConfig['hw_mode']); ?> | ||||
|                   </div> | ||||
|                 </div> | ||||
|                 <div class="row"> | ||||
|                   <div class="form-group col-md-4"> | ||||
|                     <label for="code">Channel</label> | ||||
|                     <label for="code"><?php echo _("Channel"); ?></label> | ||||
|                     <?php SelectorOptions('channel', range(1, 14), intval($arrConfig['channel'])) ?> | ||||
|                   </div> | ||||
|                 </div> | ||||
|               </div> | ||||
|               <div class="tab-pane fade" id="security"> | ||||
|                 <h4>Security settings</h4> | ||||
|                 <h4><?php echo _("Security settings"); ?></h4> | ||||
|                 <div class="row"> | ||||
|                   <div class="form-group col-md-4"> | ||||
|                     <label for="code">Security type</label> | ||||
|                     <label for="code"><?php echo _("Security type"); ?></label> | ||||
|                     <?php SelectorOptions('wpa', $arrSecurity, $arrConfig['wpa']); ?> | ||||
|                   </div> | ||||
|                 </div> | ||||
|                 <div class="row"> | ||||
|                   <div class="form-group col-md-4"> | ||||
|                     <label for="code">Encryption Type</label> | ||||
|                     <label for="code"><?php echo _("Encryption Type"); ?></label> | ||||
|                     <?php SelectorOptions('wpa_pairwise', $arrEncType, $arrConfig['wpa_pairwise']); ?> | ||||
|                   </div> | ||||
|                 </div> | ||||
|                 <div class="row"> | ||||
|                   <div class="form-group col-md-4"> | ||||
|                     <label for="code">PSK</label> | ||||
|                     <label for="code"><?php echo _("PSK"); ?></label> | ||||
|                     <input type="text" class="form-control" name="wpa_passphrase" value="<?php echo $arrConfig['wpa_passphrase'] ?>" /> | ||||
|                   </div> | ||||
|                 </div> | ||||
|               </div> | ||||
|               <div class="tab-pane fade" id="advanced"> | ||||
|                 <h4>Advanced settings</h4> | ||||
|                 <h4><?php echo _("Advanced settings"); ?></h4> | ||||
|                 <div class="row"> | ||||
|                   <div class="form-group col-md-4"> | ||||
|                   <label for="code">Country Code</label> | ||||
|                   <label for="code"><?php echo _("Country Code"); ?></label> | ||||
|                   <input type="hidden" id="selected_country" value="<?php echo $arrConfig['country_code'] ?>"> | ||||
|                   <select  class="form-control"  id="countries" name="country_code"> | ||||
|                     <option value="AF">Afghanistan</option> | ||||
| @@ -411,7 +411,7 @@ function DisplayHostAPDConfig(){ | ||||
|             ?> | ||||
|           </form> | ||||
|         </div></div><!-- /.panel-primary --> | ||||
|       <div class="panel-footer"> Information provided by hostapd</div> | ||||
|       <div class="panel-footer"> <?php echo _("Information provided by hostapd"); ?></div> | ||||
|     </div><!-- /.col-lg-12 --> | ||||
|   </div><!-- /.row --> | ||||
| <?php  | ||||
|   | ||||
							
								
								
									
										37
									
								
								includes/locale.php
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										37
									
								
								includes/locale.php
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,37 @@ | ||||
| <?php | ||||
|  | ||||
| /** | ||||
| * Sets locale information for i18n support | ||||
| * | ||||
| */ | ||||
|  | ||||
| if (!isset($_SESSION["locale"])) { | ||||
|   $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); | ||||
|   switch ($lang){ | ||||
|     case "de": | ||||
|       $locale = "de_DE.UTF-8"; | ||||
|       break; | ||||
|     case "fr": | ||||
|       $locale = "fr_FR.UTF-8"; | ||||
|       break; | ||||
|     case "it": | ||||
|       $locale = "it_IT.UTF-8"; | ||||
|       break;         | ||||
|     default: | ||||
|       $locale = "en_US.UTF-8"; | ||||
|       break; | ||||
|   } | ||||
| } | ||||
|  | ||||
| // debug | ||||
| $locale = "fr_FR.UTF-8"; | ||||
| $_SESSION["locale"] = $locale;                                                                                                                                                                                           | ||||
| // activate the locale setting                                                                                                                                                             | ||||
| putenv("LANG=" . $_SESSION["locale"]);                                                                                                                                                                 | ||||
| setlocale(LC_ALL, $_SESSION["locale"]);                                                                                                                                                                | ||||
|                                                                                                                                                                                            | ||||
| bindtextdomain(LOCALE_DOMAIN, LOCALE_ROOT);                                                                                                                                                     | ||||
| bind_textdomain_codeset(LOCALE_DOMAIN, 'UTF-8');                                                                                                                                                 | ||||
|                                                                                                                                                                                            | ||||
| textdomain(LOCALE_DOMAIN);                                                                                                                                                                       | ||||
| ?> | ||||
							
								
								
									
										0
									
								
								includes/status_messages.php
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								includes/status_messages.php
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							| @@ -74,7 +74,7 @@ function DisplaySystem(){ | ||||
|  | ||||
|   // cpu load | ||||
|   $cores   = exec("grep -c ^processor /proc/cpuinfo"); | ||||
|         $loadavg = exec("awk '{print $1}' /proc/loadavg"); | ||||
|   $loadavg = exec("awk '{print $1}' /proc/loadavg"); | ||||
|   $cpuload = floor(($loadavg * 100) / $cores); | ||||
|   if     ($cpuload > 90) { $cpuload_status = "danger";  } | ||||
|   elseif ($cpuload > 75) { $cpuload_status = "warning"; } | ||||
| @@ -84,7 +84,7 @@ function DisplaySystem(){ | ||||
|   <div class="row"> | ||||
|   <div class="col-lg-12"> | ||||
|   <div class="panel panel-primary"> | ||||
|   <div class="panel-heading"><i class="fa fa-cube fa-fw"></i> System</div> | ||||
|   <div class="panel-heading"><i class="fa fa-cube fa-fw"></i> <?php echo _("System"); ?></div> | ||||
|   <div class="panel-body"> | ||||
|  | ||||
|     <?php | ||||
| @@ -103,19 +103,19 @@ function DisplaySystem(){ | ||||
|     <div class="panel panel-default"> | ||||
|     <div class="panel-body"> | ||||
|     <ul class="nav nav-tabs" role="tablist"> | ||||
|         <li role="presentation" class="active systemtab"><a href="#system" aria-controls="system" role="tab" data-toggle="tab">System</a></li> | ||||
|         <li role="presentation" class="consoletab"><a href="#console" aria-controls="console" role="tab" data-toggle="tab">Console</a></li> | ||||
|         <li role="presentation" class="active systemtab"><a href="#system" aria-controls="system" role="tab" data-toggle="tab"><?php echo _("System"); ?></a></li> | ||||
|         <li role="presentation" class="consoletab"><a href="#console" aria-controls="console" role="tab" data-toggle="tab"><?php echo _("Console"); ?></a></li> | ||||
|     </ul> | ||||
|  | ||||
|     <div class="systemtabcontent tab-content"> | ||||
|         <div role="tabpanel" class="tab-pane active" id="system"> | ||||
|             <div class="row"> | ||||
|                 <div class="col-lg-6"> | ||||
|                         <h4>System Information</h4> | ||||
|                         <div class="info-item">Hostname</div> <?php echo $hostname ?></br> | ||||
|                         <div class="info-item">Pi Revision</div> <?php echo RPiVersion() ?></br> | ||||
|                         <div class="info-item">Uptime</div>   <?php echo $uptime ?></br></br> | ||||
|                         <div class="info-item">Memory Used</div> | ||||
|                         <h4><?php echo _("System Information"); ?></h4> | ||||
|                         <div class="info-item"><?php echo _("Hostname"); ?></div> <?php echo $hostname ?></br> | ||||
|                         <div class="info-item"><?php echo _("Pi Revision"); ?></div> <?php echo RPiVersion() ?></br> | ||||
|                         <div class="info-item"><?php echo _("Uptime"); ?></div>   <?php echo $uptime ?></br></br> | ||||
|                         <div class="info-item"><?php echo _("Memory Used"); ?></div> | ||||
|                         <div class="progress"> | ||||
|                         <div class="progress-bar progress-bar-<?php echo $memused_status ?> progress-bar-striped active" | ||||
|                         role="progressbar" | ||||
| @@ -123,7 +123,7 @@ function DisplaySystem(){ | ||||
|                         style="width: <?php echo $memused ?>%;"><?php echo $memused ?>% | ||||
|                         </div> | ||||
|                         </div> | ||||
|                         <div class="info-item">CPU Load</div> | ||||
|                         <div class="info-item"><?php echo _("CPU Load"); ?></div> | ||||
|                         <div class="progress"> | ||||
|                         <div class="progress-bar progress-bar-<?php echo $cpuload_status ?> progress-bar-striped active" | ||||
|                         role="progressbar" | ||||
| @@ -133,16 +133,20 @@ function DisplaySystem(){ | ||||
|                         </div> | ||||
|  | ||||
|                         <form action="?page=system_info" method="POST"> | ||||
|                         <input type="submit" class="btn btn-warning" name="system_reboot"   value="Reboot" /> | ||||
|                         <input type="submit" class="btn btn-warning" name="system_shutdown" value="Shutdown" /> | ||||
|                         <input type="button" class="btn btn-outline btn-primary" value="Refresh" onclick="document.location.reload(true)" /> | ||||
|                         <input type="submit" class="btn btn-warning" name="system_reboot"   value="<?php echo _("Reboot"); ?>" /> | ||||
|                         <input type="submit" class="btn btn-warning" name="system_shutdown" value="<?php echo _("Shutdown"); ?>" /> | ||||
|                         <input type="button" class="btn btn-outline btn-primary" value="<?php echo _("Refresh"); ?>" onclick="document.location.reload(true)" /> | ||||
|                         </form> | ||||
|                 </div> | ||||
|             </div> | ||||
|         </div> | ||||
|       <div role="tabpanel" class="tab-pane" id="console"> | ||||
|       <iframe src="includes/webconsole.php" class="webconsole"></iframe> | ||||
|       </div> | ||||
|         <div role="tabpanel" class="tab-pane" id="console"> | ||||
|             <div class="row">                                                                                                                                                              | ||||
|                 <div class="col-lg-12">  | ||||
|                     <iframe src="includes/webconsole.php" class="webconsole"></iframe> | ||||
|                 </div> | ||||
|             </div> | ||||
|        </div> | ||||
|  | ||||
|  | ||||
|  | ||||
|   | ||||
							
								
								
									
										10
									
								
								includes/themes.php
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										10
									
								
								includes/themes.php
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							| @@ -25,18 +25,18 @@ function DisplayThemeConfig(){ | ||||
|   <div class="row"> | ||||
|   <div class="col-lg-12"> | ||||
|   <div class="panel panel-primary"> | ||||
|   <div class="panel-heading"><i class="fa fa-wrench fa-fw"></i> Change Theme</div> | ||||
|   <div class="panel-heading"><i class="fa fa-wrench fa-fw"></i> <?php echo _("Change Theme"); ?></div> | ||||
|   <div class="panel-body"> | ||||
|     <div class="row"> | ||||
|     <div class="col-md-6"> | ||||
|     <div class="panel panel-default"> | ||||
|     <div class="panel-body"> | ||||
|       <h4>Theme settings</h4> | ||||
|       <h4><?php echo _("Theme settings"); ?></h4> | ||||
|  | ||||
|   <div class="row"> | ||||
|           <div class="form-group col-md-6"> | ||||
|             <label for="code">Select a theme</label>   | ||||
|               <select class="form-control" id="theme-select">Select a Theme | ||||
|             <label for="code"><?php echo _("Select a theme"); ?></label>   | ||||
|               <select class="form-control" id="theme-select"><?php echo _("Select a Theme"); ?> | ||||
|                 <option value="default" class="theme-link" <?php echo $cselected; ?>>RaspAP (default)</option> | ||||
|                 <option value="hackernews" class="theme-link"<?php echo $hselected; ?>>HackerNews</option> | ||||
|                 <option value="terminal" class="theme-link" <?php echo $tselected; ?>>Terminal</option> | ||||
| @@ -50,7 +50,7 @@ function DisplayThemeConfig(){ | ||||
|     </div><!-- /.row --> | ||||
|  | ||||
|     <form action="?page=system_info" method="POST"> | ||||
|       <input type="button" class="btn btn-outline btn-primary" value="Refresh" onclick="document.location.reload(true)" /> | ||||
|       <input type="button" class="btn btn-outline btn-primary" value="<?php echo _("Refresh"); ?>" onclick="document.location.reload(true)" /> | ||||
|     </form> | ||||
|  | ||||
|   </div><!-- /.panel-body --> | ||||
|   | ||||
							
								
								
									
										27
									
								
								index.php
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								index.php
									
									
									
									
									
								
							| @@ -43,7 +43,12 @@ define('RASPI_TORPROXY_CONFIG', '/etc/tor/torrc'); | ||||
| define('RASPI_OPENVPN_ENABLED', false ); | ||||
| define('RASPI_TORPROXY_ENABLED', false ); | ||||
|  | ||||
| // Locale settings | ||||
| define('LOCALE_ROOT', 'locale'); | ||||
| define('LOCALE_DOMAIN', 'messages');  | ||||
|  | ||||
| include_once( RASPI_CONFIG.'/raspap.php' ); | ||||
| include_once( 'includes/locale.php'); | ||||
| include_once( 'includes/functions.php' ); | ||||
| include_once( 'includes/dashboard.php' ); | ||||
| include_once( 'includes/authenticate.php' ); | ||||
| @@ -84,7 +89,7 @@ $theme_url = 'dist/css/' . $theme; | ||||
|     <meta name="description" content=""> | ||||
|     <meta name="author" content=""> | ||||
|  | ||||
|     <title>Raspbian WiFi Configuration Portal</title> | ||||
|     <title><?php echo _("Raspbian WiFi Configuration Portal"); ?></title> | ||||
|  | ||||
|     <!-- Bootstrap Core CSS --> | ||||
|     <link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"> | ||||
| @@ -127,7 +132,7 @@ $theme_url = 'dist/css/' . $theme; | ||||
|             <span class="icon-bar"></span> | ||||
|             <span class="icon-bar"></span> | ||||
|           </button> | ||||
|           <a class="navbar-brand" href="index.php">RaspAP Wifi Portal v1.2.2</a> | ||||
|           <a class="navbar-brand" href="index.php"><?php echo _("RaspAP Wifi Portal v1.2.2"); ?></a> | ||||
|         </div> | ||||
|         <!-- /.navbar-header --> | ||||
|  | ||||
| @@ -136,35 +141,35 @@ $theme_url = 'dist/css/' . $theme; | ||||
|           <div class="sidebar-nav navbar-collapse"> | ||||
|             <ul class="nav" id="side-menu"> | ||||
|               <li> | ||||
|                 <a href="index.php?page=wlan0_info"><i class="fa fa-dashboard fa-fw"></i> Dashboard</a> | ||||
|                 <a href="index.php?page=wlan0_info"><i class="fa fa-dashboard fa-fw"></i> <?php echo _("Dashboard"); ?></a> | ||||
|               </li> | ||||
|               <li> | ||||
|                 <a href="index.php?page=wpa_conf"><i class="fa fa-signal fa-fw"></i> Configure client</a> | ||||
|                 <a href="index.php?page=wpa_conf"><i class="fa fa-signal fa-fw"></i> <?php echo _("Configure client"); ?></a> | ||||
|               </li> | ||||
|               <li> | ||||
|                 <a href="index.php?page=hostapd_conf"><i class="fa fa-dot-circle-o fa-fw"></i> Configure hotspot</a> | ||||
|                 <a href="index.php?page=hostapd_conf"><i class="fa fa-dot-circle-o fa-fw"></i> <?php echo _("Configure hotspot"); ?></a> | ||||
|               </li> | ||||
|               <li> | ||||
|                 <a href="index.php?page=dhcpd_conf"><i class="fa fa-exchange fa-fw"></i> Configure DHCP Server</a> | ||||
|                 <a href="index.php?page=dhcpd_conf"><i class="fa fa-exchange fa-fw"></i> <?php echo _("Configure DHCP"); ?></a> | ||||
|               </li> | ||||
|               <?php if ( RASPI_OPENVPN_ENABLED ) : ?> | ||||
|               <li> | ||||
|                 <a href="index.php?page=openvpn_conf"><i class="fa fa-lock fa-fw"></i> Configure OpenVPN</a> | ||||
|                 <a href="index.php?page=openvpn_conf"><i class="fa fa-lock fa-fw"></i> <?php echo _("Configure OpenVPN"); ?></a> | ||||
|               </li> | ||||
|               <?php endif; ?> | ||||
|               <?php if ( RASPI_TORPROXY_ENABLED ) : ?> | ||||
|               <li> | ||||
|                  <a href="index.php?page=torproxy_conf"><i class="fa fa-eye-slash fa-fw"></i> Configure TOR proxy</a> | ||||
|                  <a href="index.php?page=torproxy_conf"><i class="fa fa-eye-slash fa-fw"></i> <?php echo _("Configure TOR proxy"); ?></a> | ||||
|               </li> | ||||
|               <?php endif; ?> | ||||
|               <li> | ||||
|                 <a href="index.php?page=auth_conf"><i class="fa fa-lock fa-fw"></i> Configure Auth</a> | ||||
|                 <a href="index.php?page=auth_conf"><i class="fa fa-lock fa-fw"></i> <?php echo _("Configure Auth"); ?></a> | ||||
|               </li> | ||||
|               <li> | ||||
|                 <a href="index.php?page=theme_conf"><i class="fa fa-wrench fa-fw"></i> Change Theme</a> | ||||
|                 <a href="index.php?page=theme_conf"><i class="fa fa-wrench fa-fw"></i> <?php echo _("Change Theme"); ?></a> | ||||
|               </li> | ||||
|               <li> | ||||
|                  <a href="index.php?page=system_info"><i class="fa fa-cube fa-fw"></i> System</a> | ||||
|                  <a href="index.php?page=system_info"><i class="fa fa-cube fa-fw"></i> <?php echo _("System"); ?></a> | ||||
|               </li> | ||||
|             </ul> | ||||
|           </div><!-- /.navbar-collapse --> | ||||
|   | ||||
							
								
								
									
										
											BIN
										
									
								
								locale/en_US/LC_MESSAGES/messages.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								locale/en_US/LC_MESSAGES/messages.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										266
									
								
								locale/en_US/LC_MESSAGES/messages.po
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										266
									
								
								locale/en_US/LC_MESSAGES/messages.po
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,266 @@ | ||||
| # SOME DESCRIPTIVE TITLE. | ||||
| # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||||
| # This file is distributed under the same license as the PACKAGE package. | ||||
| # FIRST AUTHOR billzimmerman@gmail.com, 2017. | ||||
| # | ||||
| #, fuzzy | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: 1.2.1\n" | ||||
| "Report-Msgid-Bugs-To: \n" | ||||
| "POT-Creation-Date: 2017-10-19 08:56+0000\n" | ||||
| "PO-Revision-Date: 2017-10-23 9:50+0000\n" | ||||
| "Last-Translator: Bill Zimmerman <billzimmerman@gmail.com>\n" | ||||
| "Language-Team: \n" | ||||
| "Language: en_US\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=UTF-8\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
|  | ||||
| #: index.php | ||||
| msgid "RaspAP Wifi Configuration Portal" | ||||
| msgstr "RaspAP Wifi Configuration Portal" | ||||
|  | ||||
| msgid "Toggle navigation" | ||||
| msgstr "Toggle navigation" | ||||
|  | ||||
| msgid "RaspAP Wifi Portal v1.2.1" | ||||
| msgstr "RaspAP Wifi Portal v1.2.1" | ||||
|  | ||||
| msgid "Dashboard" | ||||
| msgstr "Dashboard" | ||||
|  | ||||
| msgid "Configure client" | ||||
| msgstr "Configure client" | ||||
|  | ||||
| msgid "Configure hotspot" | ||||
| msgstr "Configure hotspot" | ||||
|  | ||||
| msgid "Configure DHCP Server" | ||||
| msgstr "Configure DHCP Server" | ||||
|  | ||||
| msgid "Configure OpenVPN" | ||||
| msgstr "Configure OpenVPN" | ||||
|  | ||||
| msgid "Configure TOR proxy" | ||||
| msgstr "Configure TOR proxy" | ||||
|  | ||||
| msgid "Configure Auth" | ||||
| msgstr "Configure Auth" | ||||
|  | ||||
| msgid "Change Theme" | ||||
| msgstr "Change Theme" | ||||
|  | ||||
| msgid "System" | ||||
| msgstr "System" | ||||
|  | ||||
| #: includes/admin.php | ||||
| msgid "New passwords do not match" | ||||
| msgstr "New passwords do not match" | ||||
|  | ||||
| msgid "Username must not be empty" | ||||
| msgstr "Username must not be empty" | ||||
|  | ||||
| msgid "Admin password updated" | ||||
| msgstr "Admin password updated" | ||||
|  | ||||
| msgid "Failed to update admin password" | ||||
| msgstr "Failed to update admin password" | ||||
|  | ||||
| msgid "Old password does not match" | ||||
| msgstr "Old password does not match" | ||||
|  | ||||
| msgid "Username" | ||||
| msgstr "Username" | ||||
|  | ||||
| msgid "Old password" | ||||
| msgstr "Old password" | ||||
|  | ||||
| msgid "New password" | ||||
| msgstr "New password" | ||||
|  | ||||
| msgid "Repeat new password" | ||||
| msgstr "Repeat new password" | ||||
|  | ||||
| #: includes/configure_client.php | ||||
| msgid "Client settings" | ||||
| msgstr "Client settings" | ||||
|  | ||||
| msgid "SSID" | ||||
| msgstr "SSID" | ||||
|  | ||||
| msgid "Channel" | ||||
| msgstr "Channel" | ||||
|  | ||||
| msgid "Security" | ||||
| msgstr "Security" | ||||
|  | ||||
| msgid "Passphrase" | ||||
| msgstr "Passphrase" | ||||
|  | ||||
| msgid "<strong>Note:</strong> WEP access points appear as 'Open'. RaspAP does not currently support connecting to WEP" | ||||
| msgstr "<strong>Note:</strong> WEP access points appear as 'Open'. RaspAP does not currently support connecting to WEP" | ||||
|  | ||||
| #: includes/dashboard.php | ||||
| msgid "Interface Information" | ||||
| msgstr "Interface Information" | ||||
|  | ||||
| msgid "Interface Name" | ||||
| msgstr "Interface Name" | ||||
|  | ||||
| msgid "IP Address" | ||||
| msgstr "IP Address" | ||||
|  | ||||
| msgid "Subnet Mask" | ||||
| msgstr "Subnet Mask" | ||||
|  | ||||
| msgid "Mac Address" | ||||
| msgstr "Mac Address" | ||||
|  | ||||
| msgid "Interface Statistics" | ||||
| msgstr "Interface Statistics" | ||||
|  | ||||
| msgid "Received Packets" | ||||
| msgstr "Received Packets" | ||||
|  | ||||
| msgid "Received Bytes" | ||||
| msgstr "Received Bytes" | ||||
|  | ||||
| msgid "Transferred Packets" | ||||
| msgstr "Transferred Packets" | ||||
|  | ||||
| msgid "Transferred Bytes" | ||||
| msgstr "Transferred Bytes" | ||||
|  | ||||
| msgid "Wireless Information" | ||||
| msgstr "Wireless Information" | ||||
|  | ||||
| msgid "Connected To" | ||||
| msgstr "Connected To" | ||||
|  | ||||
| msgid "AP Mac Address" | ||||
| msgstr "AP Mac Address" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "Bitrate" | ||||
|  | ||||
| msgid "Signal Level" | ||||
| msgstr "Signal Level" | ||||
|  | ||||
| msgid "Transmit Power" | ||||
| msgstr "Transmit Power" | ||||
|  | ||||
| msgid "Frequency" | ||||
| msgstr "Frequency" | ||||
|  | ||||
| msgid "Link Quality" | ||||
| msgstr "Link Quality" | ||||
|  | ||||
| msgid "Information provided by ifconfig and iwconfig" | ||||
| msgstr "Information provided by ifconfig and iwconfig" | ||||
|  | ||||
| #: includes/dhcp.php | ||||
| msgid "Server settings" | ||||
| msgstr "Server settings" | ||||
|  | ||||
| msgid "Client list" | ||||
| msgstr "Client list" | ||||
|  | ||||
| msgid "Starting IP Address" | ||||
| msgstr "Starting IP Address" | ||||
|  | ||||
| msgid "Ending IP Address" | ||||
| msgstr "Ending IP Address" | ||||
|  | ||||
| msgid "Lease Time" | ||||
| msgstr "Lease Time" | ||||
|  | ||||
| msgid "Interval" | ||||
| msgstr "Interval" | ||||
|  | ||||
| msgid "Active DHCP leases" | ||||
| msgstr "Active DHCP leases" | ||||
|  | ||||
| msgid "Expire time" | ||||
| msgstr "Expire time" | ||||
|  | ||||
| msgid "MAC Address" | ||||
| msgstr "MAC Address" | ||||
|  | ||||
| msgid "Host name" | ||||
| msgstr "Host name" | ||||
|  | ||||
| msgid "Client ID" | ||||
| msgstr "Client ID" | ||||
|  | ||||
| msgid "Information provided by Dnsmasq" | ||||
| msgstr "Information provided by Dnsmasq" | ||||
|  | ||||
| msgid "Stop dnsmasq" | ||||
| msgstr "Stop dnsmasq" | ||||
|  | ||||
| msgid "Start dnsmasq" | ||||
| msgstr "Start dnsmasq" | ||||
|  | ||||
| #: includes/hostapd.php | ||||
| msgid "Basic" | ||||
| msgstr "Basic" | ||||
|  | ||||
| msgid "Advanced" | ||||
| msgstr "Advanced" | ||||
|  | ||||
| msgid "Basic settings" | ||||
| msgstr "Basic settings" | ||||
|  | ||||
| msgid "Wireless Mode" | ||||
| msgstr "Wireless Mode" | ||||
|  | ||||
| msgid "Security settings" | ||||
| msgstr "Security settings" | ||||
|  | ||||
| msgid "Security type" | ||||
| msgstr "Security type" | ||||
|  | ||||
| msgid "Encryption Type" | ||||
| msgstr "Encryption Type" | ||||
|  | ||||
| msgid "PSK" | ||||
| msgstr "PSK" | ||||
|  | ||||
| msgid "Advanced settings" | ||||
| msgstr "Advanced settings" | ||||
|  | ||||
| msgid "Country Code" | ||||
| msgstr "Country Code" | ||||
|  | ||||
| msgid "Information provided by hostapd" | ||||
| msgstr "Information provided by hostapd" | ||||
|  | ||||
| #: includes/system.php | ||||
| msgid "Hostname" | ||||
| msgstr "Hostname" | ||||
|  | ||||
| msgid "Pi Revision" | ||||
| msgstr "Pi Revision" | ||||
|  | ||||
| msgid "Uptime" | ||||
| msgstr "Uptime" | ||||
|  | ||||
| msgid "Memory Used" | ||||
| msgstr "Memory Used" | ||||
|  | ||||
| msgid "CPU Load" | ||||
| msgstr "CPU Load" | ||||
|  | ||||
| #: includes/themes.php | ||||
| msgid "Theme settings" | ||||
| msgstr "Theme settings" | ||||
|  | ||||
| msgid "Select a theme" | ||||
| msgstr "Select a theme" | ||||
|  | ||||
| #: common form controls | ||||
| msgid "Save settings" | ||||
| msgstr "Save settings" | ||||
|  | ||||
|  | ||||
							
								
								
									
										
											BIN
										
									
								
								locale/fr_FR/LC_MESSAGES/messages.mo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								locale/fr_FR/LC_MESSAGES/messages.mo
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										264
									
								
								locale/fr_FR/LC_MESSAGES/messages.po
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										264
									
								
								locale/fr_FR/LC_MESSAGES/messages.po
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,264 @@ | ||||
| # SOME DESCRIPTIVE TITLE. | ||||
| # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||||
| # This file is distributed under the same license as the PACKAGE package. | ||||
| # FIRST AUTHOR billzimmerman@gmail.com, 2017. | ||||
| # | ||||
| #, fuzzy | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: 1.2.1\n" | ||||
| "Report-Msgid-Bugs-To: \n" | ||||
| "POT-Creation-Date: 2017-10-19 08:56+0000\n" | ||||
| "PO-Revision-Date: 2017-10-23 9:50+0000\n" | ||||
| "Last-Translator: Bill Zimmerman <billzimmerman@gmail.com>\n" | ||||
| "Language-Team: \n" | ||||
| "Language: fr_FR\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=UTF-8\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
|  | ||||
| #: index.php | ||||
| msgid "RaspAP Wifi Configuration Portal" | ||||
| msgstr "RaspAP Wifi Portail de Configuration" | ||||
|  | ||||
| msgid "Toggle navigation" | ||||
| msgstr "Toggle navigation" | ||||
|  | ||||
| msgid "RaspAP Wifi Portal v1.2.1" | ||||
| msgstr "RaspAP Wifi Portal v1.2.1" | ||||
|  | ||||
| msgid "Dashboard" | ||||
| msgstr "Tableau de bord" | ||||
|  | ||||
| msgid "Configure client" | ||||
| msgstr "Configurer le client" | ||||
|  | ||||
| msgid "Configure hotspot" | ||||
| msgstr "Configurer le hotspot" | ||||
|  | ||||
| msgid "Configure DHCP" | ||||
| msgstr "Configurer DHCP" | ||||
|  | ||||
| msgid "Configure OpenVPN" | ||||
| msgstr "Configurer OpenVPN" | ||||
|  | ||||
| msgid "Configure TOR proxy" | ||||
| msgstr "Configurer le proxy TOR" | ||||
|  | ||||
| msgid "Configure Auth" | ||||
| msgstr "Configurer l'authentification" | ||||
|  | ||||
| msgid "Change Theme" | ||||
| msgstr "Change le thème" | ||||
|  | ||||
| msgid "System" | ||||
| msgstr "Système" | ||||
|  | ||||
| #: includes/admin.php | ||||
| msgid "New passwords do not match" | ||||
| msgstr "Les nouveaux mots de passe ne correspondent pas" | ||||
|  | ||||
| msgid "Username must not be empty" | ||||
| msgstr "Le nom d'utilisateur ne doit pas être vide" | ||||
|  | ||||
| msgid "Admin password updated" | ||||
| msgstr "Mot de passe admin modifié" | ||||
|  | ||||
| msgid "Failed to update admin password" | ||||
| msgstr "Modifier le mot de passe d'admin a échouéd" | ||||
|  | ||||
| msgid "Old password does not match" | ||||
| msgstr "L'ancien mot de passe ne correspond pas" | ||||
|  | ||||
| msgid "Username" | ||||
| msgstr "Nom d'utilisateur" | ||||
|  | ||||
| msgid "Old password" | ||||
| msgstr "Ancien mot de passe" | ||||
|  | ||||
| msgid "New password" | ||||
| msgstr "Nouveau mot de passe" | ||||
|  | ||||
| msgid "Repeat new password" | ||||
| msgstr "Répété le nouveau mot de passe" | ||||
|  | ||||
| #: includes/configure_client.php | ||||
| msgid "Client settings" | ||||
| msgstr "Paramètres du client" | ||||
|  | ||||
| msgid "SSID" | ||||
| msgstr "SSID" | ||||
|  | ||||
| msgid "Channel" | ||||
| msgstr "Canal" | ||||
|  | ||||
| msgid "Security" | ||||
| msgstr "Sécurité" | ||||
|  | ||||
| msgid "Passphrase" | ||||
| msgstr "Phrase secrète" | ||||
|  | ||||
| msgid "<strong>Note:</strong> WEP access points appear as 'Open'. RaspAP does not currently support connecting to WEP" | ||||
| msgstr "<strong>Remarque:</strong> Les points d'accès WEP apparaissent comme 'ouverts'. RaspAP ne prend actuellement pas en charge la connexion à WEP" | ||||
|  | ||||
| #: includes/dashboard.php | ||||
| msgid "Interface Information" | ||||
| msgstr "Informations d'interface" | ||||
|  | ||||
| msgid "Interface Name" | ||||
| msgstr "Nom de l'interface" | ||||
|  | ||||
| msgid "IP Address" | ||||
| msgstr "Adresse IP" | ||||
|  | ||||
| msgid "Subnet Mask" | ||||
| msgstr "Masque de sous-réseau" | ||||
|  | ||||
| msgid "Mac Address" | ||||
| msgstr "Adresse Mac" | ||||
|  | ||||
| msgid "Interface Statistics" | ||||
| msgstr "Statistiques d'interface" | ||||
|  | ||||
| msgid "Received Packets" | ||||
| msgstr "Paquets reçus" | ||||
|  | ||||
| msgid "Received Bytes" | ||||
| msgstr "Octets reçus" | ||||
|  | ||||
| msgid "Transferred Packets" | ||||
| msgstr "Paquets transférés" | ||||
|  | ||||
| msgid "Transferred Bytes" | ||||
| msgstr "Octets transférés" | ||||
|  | ||||
| msgid "Wireless Information" | ||||
| msgstr "Informations sans fil" | ||||
|  | ||||
| msgid "Connected To" | ||||
| msgstr "Connecté à" | ||||
|  | ||||
| msgid "AP Mac Address" | ||||
| msgstr "AP Mac Adresse" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "Bitrate" | ||||
|  | ||||
| msgid "Signal Level" | ||||
| msgstr "Niveau du signal" | ||||
|  | ||||
| msgid "Transmit Power" | ||||
| msgstr "Puissance de transmission" | ||||
|  | ||||
| msgid "Frequency" | ||||
| msgstr "La fréquence" | ||||
|  | ||||
| msgid "Link Quality" | ||||
| msgstr "Qualité de lien" | ||||
|  | ||||
| msgid "Information provided by ifconfig and iwconfig" | ||||
| msgstr "Informations fournies par ifconfig et iwconfig" | ||||
|  | ||||
| #: includes/dhcp.php | ||||
| msgid "Server settings" | ||||
| msgstr "Paramètres du serveur" | ||||
|  | ||||
| msgid "Client list" | ||||
| msgstr "Liste des clients" | ||||
|  | ||||
| msgid "Starting IP Address" | ||||
| msgstr "Adresse IP de départ" | ||||
|  | ||||
| msgid "Ending IP Address" | ||||
| msgstr "Adresse IP de fin" | ||||
|  | ||||
| msgid "Lease Time" | ||||
| msgstr "Temps de bail" | ||||
|  | ||||
| msgid "Interval" | ||||
| msgstr "Intervalle" | ||||
|  | ||||
| msgid "Active DHCP leases" | ||||
| msgstr "Baux DHCP actifs" | ||||
|  | ||||
| msgid "Expire time" | ||||
| msgstr "Temps d'expiration" | ||||
|  | ||||
| msgid "MAC Address" | ||||
| msgstr "Adresse Mac" | ||||
|  | ||||
| msgid "Host name" | ||||
| msgstr "Nom d'hôte" | ||||
|  | ||||
| msgid "Client ID" | ||||
| msgstr "ID du client" | ||||
|  | ||||
| msgid "Information provided by Dnsmasq" | ||||
| msgstr "Informations fournies par Dnsmasq" | ||||
|  | ||||
| msgid "Stop dnsmasq" | ||||
| msgstr "Stop dnsmasq" | ||||
|  | ||||
| msgid "Start dnsmasq" | ||||
| msgstr "Commencer dnsmasq" | ||||
|  | ||||
| #: includes/hostapd.php | ||||
| msgid "Basic" | ||||
| msgstr "De base" | ||||
|  | ||||
| msgid "Advanced" | ||||
| msgstr "Avancé" | ||||
|  | ||||
| msgid "Basic settings" | ||||
| msgstr "Paramètres de base" | ||||
|  | ||||
| msgid "Wireless Mode" | ||||
| msgstr "Mode sans fil" | ||||
|  | ||||
| msgid "Security settings" | ||||
| msgstr "Les paramètres de sécurité" | ||||
|  | ||||
| msgid "Security type" | ||||
| msgstr "Type de sécurité" | ||||
|  | ||||
| msgid "Encryption Type" | ||||
| msgstr "Type de chiffrement" | ||||
|  | ||||
| msgid "PSK" | ||||
| msgstr "PSK" | ||||
|  | ||||
| msgid "Advanced settings" | ||||
| msgstr "Réglages avancés" | ||||
|  | ||||
| msgid "Country Code" | ||||
| msgstr "Le code du pays" | ||||
|  | ||||
| msgid "Information provided by hostapd" | ||||
| msgstr "Informations fournies par hostapd" | ||||
|  | ||||
| #: includes/system.php | ||||
| msgid "Hostname" | ||||
| msgstr "Nom d'hôte" | ||||
|  | ||||
| msgid "Pi Revision" | ||||
| msgstr "Pi Révision" | ||||
|  | ||||
| msgid "Uptime" | ||||
| msgstr "Durée de fonctionnent" | ||||
|  | ||||
| msgid "Memory Used" | ||||
| msgstr "Mémoire utilisée" | ||||
|  | ||||
| msgid "CPU Load" | ||||
| msgstr "Charge du processeur" | ||||
|  | ||||
| #: includes/themes.php | ||||
| msgid "Theme settings" | ||||
| msgstr "Réglage des thèmes" | ||||
|  | ||||
| msgid "Select a theme" | ||||
| msgstr "Sélectionnez un thème" | ||||
|  | ||||
| #: common form controls | ||||
| msgid "Save settings" | ||||
| msgstr "Enregistrer les paramètres" | ||||
							
								
								
									
										0
									
								
								raspap.php
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								raspap.php
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
		Reference in New Issue
	
	Block a user