Translate the settings page

This commit is contained in:
Eike Foken
2011-08-07 19:51:32 +02:00
parent d1b0998f38
commit 2d9259b8ca
4 changed files with 24 additions and 13 deletions

View File

@@ -1,5 +1,11 @@
<?php <?php
$lang['settings'] = "Settings";
$lang['tab_personal'] = "Personal Information";
$lang['tab_settings'] = "Settings";
$lang['projects_sortrecently'] = "Sort projects by date of the last access";
$lang['projects_sortrecently_note'] = "If the projects are sorted by the data of the last access, the rarely used projects &quot;slip&quot; to the end of the list.";
/* End of file settings_lang.php */ /* End of file settings_lang.php */
/* Location: ./application/language/german/settings_lang.php */ /* Location: ./application/language/german/settings_lang.php */

View File

@@ -1,5 +1,11 @@
<?php <?php
$lang['settings'] = "Einstellungen";
$lang['tab_personal'] = "Persönliche Daten";
$lang['tab_settings'] = "Einstellungen";
$lang['projects_sortrecently'] = "Projekte nach Zeitpunkt des letzten Zugriffs sortieren";
$lang['projects_sortrecently_note'] = "Werden die Projekte nach dem Zeitpunkt des letzten Zugriffs sortiert, &quot;rutschen&quot; die selten verwendeten Projekte in der Liste nach unten.";
/* End of file settings_lang.php */ /* End of file settings_lang.php */
/* Location: ./application/language/german/settings_lang.php */ /* Location: ./application/language/german/settings_lang.php */

View File

@@ -3,34 +3,34 @@
<div id="content"> <div id="content">
<form action="#" method="post"> <form action="#" method="post">
<div class="title"> <div class="title">
<h2>Einstellungen</h2> <h2><?=lang('settings');?></h2>
</div> </div>
<ul class="tabs"> <ul class="tabs">
<li class="active"><a href="#personal">Persönliche Daten</a></li> <li class="active"><a href="#personal"><?=lang('tab_personal');?></a></li>
<li><a href="#settings">Einstellungen</a></li> <li><a href="#settings"><?=lang('tab_settings');?></a></li>
</ul> </ul>
<div class="tab_container"> <div class="tab_container">
<div id="personal" class="tab_content"> <div id="personal" class="tab_content">
<table> <ul>
<? <?
foreach($profile_fields as $field): foreach($profile_fields as $field):
?> ?>
<tr> <li>
<td><?=$field[1]?></td> <h4><?=$field[1]?></h4>
<td><input type="<?=$field[2]?>" name="<?=$field[0]?>" class="text"</td> <div><input type="<?=$field[2]?>" name="<?=$field[0]?>" class="short text" /></div>
</tr> </li>
<? <?
endforeach; endforeach;
?> ?>
</table> </ul>
</div> </div>
<div id="settings" class="tab_content"> <div id="settings" class="tab_content">
<ul> <ul>
<li> <li>
<input type="checkbox" id="projects_sortrecently" name="projects_sortrecently" value="1" class="checkbox"/> <input type="checkbox" id="projects_sortrecently" name="projects_sortrecently" value="1" class="checkbox"/>
<label for="projects_sortrecently">Projekte nach Zeitpunkt des letzten Zugriffs sortieren</label><br /> <label for="projects_sortrecently"><?=lang('projects_sortrecently');?></label><br />
<label class="note">Werden die Projekte nach dem Zeitpunkt des letzten Zugriffs sortiert, &quot;rutschen&quot; die selten verwendeten Projekte in der Liste nach unten.</label> <label class="note"><?=lang('projects_sortrecently_note');?></label>
</li> </li>
</ul> </ul>
</div> </div>

View File

@@ -444,8 +444,7 @@ ul.tabs li a {
text-decoration: none; text-decoration: none;
color: #000; color: #000;
display: block; display: block;
padding: 0 20px; padding: 1px 21px;
border: 1px solid #fff; /*--Gives the bevel look with a 1px white border inside the list item--*/
outline: none; outline: none;
} }
ul.tabs li a:hover { ul.tabs li a:hover {