Better translation

This commit is contained in:
Laurent Destailleur 2017-04-25 12:57:20 +02:00
parent 10e2b128d1
commit 84e774ff32
3 changed files with 8 additions and 7 deletions

View File

@ -363,7 +363,7 @@ else
// Show first install line // Show first install line
$choice = '<tr class="listofchoices"><td class="listofchoices nowrap" align="center"><b>'.$langs->trans("FreshInstall").'</b>'; $choice = '<tr class="listofchoices"><td class="listofchoices nowrap" align="center"><b>'.$langs->trans("FreshInstall").'</b>';
$choice .= '</td>'; $choice .= '</td>';
$choice .= '<td class="listofchoices">'; $choice .= '<td class="listofchoices listofchoicesdesc">';
$choice .= $langs->trans("FreshInstallDesc"); $choice .= $langs->trans("FreshInstallDesc");
if (empty($dolibarr_main_db_host)) // This means install process was not run if (empty($dolibarr_main_db_host)) // This means install process was not run
{ {
@ -459,7 +459,7 @@ else
$choice .= '<tr class="listofchoices '.($recommended_choice ? 'choiceselected' : '').'">'; $choice .= '<tr class="listofchoices '.($recommended_choice ? 'choiceselected' : '').'">';
$choice .= '<td class="listofchoices nowrap" align="center"><b>'.$langs->trans("Upgrade").'<br>'.$newversionfrom.$newversionfrombis.' -> '.$newversionto.'</b></td>'; $choice .= '<td class="listofchoices nowrap" align="center"><b>'.$langs->trans("Upgrade").'<br>'.$newversionfrom.$newversionfrombis.' -> '.$newversionto.'</b></td>';
$choice .= '<td class="listofchoices">'; $choice .= '<td class="listofchoices listofchoicesdesc">';
$choice .= $langs->trans("UpgradeDesc"); $choice .= $langs->trans("UpgradeDesc");
if ($recommended_choice) if ($recommended_choice)

View File

@ -1,5 +1,5 @@
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2009-2016 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2009-2017 Laurent Destailleur <eldy@users.sourceforge.net>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -210,7 +210,9 @@ table.listofchoices, tr.listofchoices, td.listofchoices {
tr.listofchoices { tr.listofchoices {
height: 42px; height: 42px;
} }
.listofchoicesdesc {
color: #999 !important;
}
.blinkwait { .blinkwait {
font-weight: bold; font-weight: bold;
text-decoration:blink !important; text-decoration:blink !important;
@ -244,9 +246,8 @@ font.warning {
div.error { div.error {
color: #550000; color: #550000;
font-weight: bold; font-weight: bold;
padding: 0.2em 0.2em 0.2em 0.2em; padding: 0.2em 0.2em 0.2em 0;
margin: 0.5em 0 0.5em 0; margin: 0.5em 0 0.5em 0;
border: 1px solid #6C7C8B;
} }
font.error { font.error {
color: #550000; color: #550000;

View File

@ -12,7 +12,7 @@ BookmarkTargetNewWindowShort=New window
BookmarkTargetReplaceWindowShort=Current window BookmarkTargetReplaceWindowShort=Current window
BookmarkTitle=Bookmark title BookmarkTitle=Bookmark title
UrlOrLink=URL UrlOrLink=URL
BehaviourOnClick=Behaviour when a URL is clicked BehaviourOnClick=Behaviour when a bookmark URL is selected
CreateBookmark=Create bookmark CreateBookmark=Create bookmark
SetHereATitleForLink=Set a title for the bookmark SetHereATitleForLink=Set a title for the bookmark
UseAnExternalHttpLinkOrRelativeDolibarrLink=Use an external http URL or a relative Dolibarr URL UseAnExternalHttpLinkOrRelativeDolibarrLink=Use an external http URL or a relative Dolibarr URL