Fix language strings and typo in the network list
authorMichal Novotny <minovotn@redhat.com>
Sat, 4 Aug 2012 09:30:43 +0000 (11:30 +0200)
committerMichal Novotny <minovotn@redhat.com>
Mon, 6 Aug 2012 07:32:26 +0000 (09:32 +0200)
Signed-off-by: Michal Novotny <mignov@gmail.com>
Signed-off-by: Michal Novotny <minovotn@redhat.com>

classes/language.php
lang/cs.php
lang/en.php
main-menu.php
pages/network-list.php

index 042a89a..f8ec2b9 100644 (file)
@@ -28,6 +28,7 @@
                                        'conn_uri' => 'Connection URI',
                                        'conn_encrypted' => 'Encrypted',
                                        'conn_secure' => 'Secure',
+                                       'connected_to' => 'Connected to',
                                        'hypervisor_limit' => 'Hypervisor limit',
                                        'hostname' => 'Hostname',
                                        'password' => 'Password',
index 397bff7..f212aee 100644 (file)
@@ -10,6 +10,7 @@
                                        'conn_uri' => 'URI připojení',
                                        'conn_encrypted' => 'Šifrování',
                                        'conn_secure' => 'Zabezpečení',
+                                       'connected_to' => 'Připojeno k',
                                        'hypervisor_limit' => 'Limit hypervisoru',
                                        'hostname' => 'Jméno hostitele',
                                        'password' => 'Heslo',
index 4256514..28e981e 100644 (file)
@@ -9,6 +9,7 @@
                                        'conn_uri' => 'Connection URI',
                                        'conn_encrypted' => 'Encrypted',
                                        'conn_secure' => 'Secure',
+                                       'connected_to' => 'Connected to',
                                        'hypervisor_limit' => 'Hypervisor limit',
                                        'hostname' => 'Hostname',
                                        'password' => 'Password',
index da15f5d..b1ba770 100644 (file)
@@ -8,6 +8,6 @@
     | <a href="?page=info"><?php echo $lang->get('info') ?></a>
     | <a href="?action=logout"><?php echo $lang->get('logout') ?></a>
     <div style="float:right;text-align: right; width:220px;font-size:11px;font-style:italic">
-       <?php if (isset($uri)) echo "Connected to <br />".$uri; ?>
+       <?php if (isset($uri)) echo $lang->get('connected_to').'<br />'.$uri; ?>
     </div>
   </div>
index 52afa0a..f4e7bae 100644 (file)
                                }
                                else {
                                        $actions  = '<a href="?page='.$page.'&amp;action=net-stop&amp;net='.$name.'"><img src="graphics/stop.png" title="'.$lang->get('net_stop').'" /></a> ';
-                                       $actions .= '<a href="?page='.$page.'&amp;action=net-dumpxml&amp;net='.$name.'"><img src="graphics/dump.png title="'.$lang->get('net_dumpxml').'" /></a> ';
+                                       $actions .= '<a href="?page='.$page.'&amp;action=net-dumpxml&amp;net='.$name.'"><img src="graphics/dump.png" title="'.$lang->get('net_dumpxml').'" /></a> ';
 
                                        $actions[ strlen($actions) - 2 ] = ' ';
                                        $actions = Trim($actions);