Skip to content

Commit

Permalink
Merge pull request #12519 from aspangaro/10.0_p10
Browse files Browse the repository at this point in the history
Fix Ticket - Align language type with datas for translation
  • Loading branch information
eldy committed Nov 26, 2019
2 parents c7aaed1 + 6cc61fe commit 0a0fa3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions htdocs/core/class/html.formticket.class.php
Expand Up @@ -419,14 +419,14 @@ function(response) {

if ($withdolfichehead) dol_fiche_end();

print '<br><center>';
print '<div class="center">';
print '<input class="button" type="submit" name="add" value="' . $langs->trans(($this->withthreadid > 0 ? "SendResponse" : "NewTicket")) . '" />';

if ($this->withcancel) {
print " &nbsp; &nbsp; ";
print " &nbsp; &nbsp; &nbsp;";
print "<input class=\"button\" type=\"submit\" name=\"cancel\" value=\"" . $langs->trans("Cancel") . "\">";
}
print "</center>\n";
print '</div>';

print "</form>\n";
print "<!-- End form TICKET -->\n";
Expand Down
5 changes: 3 additions & 2 deletions htdocs/langs/en_US/ticket.lang
Expand Up @@ -33,8 +33,9 @@ TicketDictSeverity=Ticket - Severities
TicketTypeShortBUGSOFT=Dysfonctionnement logiciel
TicketTypeShortBUGHARD=Dysfonctionnement matériel
TicketTypeShortCOM=Commercial question
TicketTypeShortINCIDENT=Request for assistance
TicketTypeShortPROJET=Project
TicketTypeShortISSUE=Request for assistance
TicketTypeShortREQUEST=Change or enhancement request
TicketTypeShortPROJECT=Project
TicketTypeShortOTHER=Other

TicketSeverityShortLOW=Low
Expand Down

0 comments on commit 0a0fa3e

Please sign in to comment.