From: JIRA (f. P. C. ) <ji...@pc...> - 2014-10-03 21:03:12
|
<style> /* Changing the layout to use less space for mobiles */ @media screen and (max-device-width: 480px), screen and (-webkit-min-device-pixel-ratio: 2) { #email-body { min-width: 30em !important; } #email-page { padding: 8px !important; } #email-banner { padding: 8px 8px 0 8px !important; } #email-avatar { margin: 1px 8px 8px 0 !important; padding: 0 !important; } #email-fields { padding: 0 8px 8px 8px !important; } #email-gutter { width: 0 !important; } } </style> <div id="email-body"> <table id="email-wrap" align="center" border="0" cellpadding="0" cellspacing="0" style="background-color:#f0f0f0;color:#000000;width:100%;"> <tr valign="top"> <td id="email-page" style="padding:16px !important;"> <table align="center" border="0" cellpadding="0" cellspacing="0" style="background-color:#ffffff;border:1px solid #bbbbbb;color:#000000;width:100%;"> <tr valign="top"> <td bgcolor="#205081" style="background-color:#205081;color:#ffffff;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;line-height:1;"><img src="http://jira.pcgen.org/s/en_USvrwbwx-1988229788/6102/6/_/images/icon-jira-logo.png" alt="" style="vertical-align:top;" /></td> </tr><tr valign="top"> <td id="email-banner" style="padding:32px 32px 0 32px;"> <table align="left" border="0" cellpadding="0" cellspacing="0" width="100%" style="width:100%;"> <tr valign="top"> <td style="color:#505050;font-family:Arial,FreeSans,Helvetica,sans-serif;padding:0;"> <img id="email-avatar" src="http://jira.pcgen.org/secure/useravatar?ownerId=pablin&avatarId=11422" alt="" height="48" width="48" border="0" align="left" style="padding:0;margin: 0 16px 16px 0;" /> <div id="email-action" style="padding: 0 0 8px 0;font-size:12px;line-height:18px;"> <a class="user-hover" rel="Pablin" id="email_Pablin" href="http://jira.pcgen.org/secure/ViewProfile.jspa?name=Pablin" style="color:#3b73af;">Pablo Custo</a> commented on <img src="http://jira.pcgen.org/images/icons/issuetypes/genericissue.png" height="16" width="16" border="0" align="absmiddle" alt="New Token"> <a style='color:#3b73af;text-decoration:none;' href='http://jira.pcgen.org/browse/NEWTAG-464'>NEWTAG-464</a> </div> <div id="email-summary" style="font-size:16px;line-height:20px;padding:2px 0 16px 0;"> <a style='color:#3b73af;text-decoration:none;' href='http://jira.pcgen.org/browse/NEWTAG-464'><strong>We need OUTPUTNAME in AbilityCategory</strong></a> </div> </td> </tr> </table> </td> </tr> <tr valign="top"> <td id="email-fields" style="padding:0 32px 32px 32px;"> <table border="0" cellpadding="0" cellspacing="0" style="padding:0;text-align:left;width:100%;" width="100%"> <tr valign="top"> <td id="email-gutter" style="width:64px;white-space:nowrap;"></td> <td> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td colspan="2" style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 0 16px 0;width:100%;"> <div class="comment-block" style="background-color:#edf5ff;border:1px solid #dddddd;color:#000000;padding:12px;"><p>Yes, currently using the tag OUTPUTNAME actualy we can switch between the original names or this tag with preference options:</p> <ul class="alternate" type="square"> <li>Display "OutputName" for equipment</li> <li>Display "OutputName" for spells</li> <li>Display "OutputName" for other items</li> </ul> <p>And I assume that with the new Tag, these three options will be reduced to just one.<br/> But it would be fantastic to incorporate a switched to this option on the toolbar also, perhaps, given the ability to enable the icon from the preferences. <img class="emoticon" src="http://jira.pcgen.org/images/icons/emoticons/smile.gif" height="20" width="20" align="absmiddle" alt="" border="0"/></p> <p>Indeed, currently, with the tool I made in Excel to translate the data, using the tag OUTPUTNAME, works this way:<br/> I use the "<a href="http://gnuwin32.sourceforge.net/packages/sed.htm" class="external-link" rel="nofollow">sed.exe</a>" command together with the "for" command to go one by one the LST files and apply rules based on RegExp files with these statements for each file found in this way:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>s/^(Acrobatic\t)\t*(OUTPUTNAME:[^\t]*)?\t*([^\t]*)\t*(OUTPUTNAME:[^\t]*)?\t*([^\t]*)\t+TYPE:/\1\t\tOUTPUTNAME:Acrobático\t\3\t\5\tTYPE:/i </pre> </div></div> <p>This, find and modify the following line:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>Acrobatic TYPE:General DESC:You are skilled at leaping, jumping, and flying. BONUS:SKILL|Acrobatics|if(skillinfo("TOTALRANK","Acrobatics")>=10,4,2) BONUS:SKILL|Fly|if(skillinfo("TOTALRANK","Fly")>=10,4,2) SOURCEPAGE:p.113 BENEFIT:You get a +2 bonus on all Acrobatics and Fly skill checks. If you have 10 or more ranks in one of these skills, the bonus increases to +4 for that skill. </pre> </div></div> <p>To:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>Acrobatic OUTPUTNAME:Acrobático TYPE:General DESC:You are skilled at leaping, jumping, and flying. BONUS:SKILL|Acrobatics|if(skillinfo("TOTALRANK","Acrobatics")>=10,4,2) BONUS:SKILL|Fly|if(skillinfo("TOTALRANK","Fly")>=10,4,2) SOURCEPAGE:p.113 BENEFIT:You get a +2 bonus on all Acrobatics and Fly skill checks. If you have 10 or more ranks in one of these skills, the bonus increases to +4 for that skill. </pre> </div></div> <p>No matter how many times you run the script, the finish line is always the same, even if there is already a tag OUTPUTNAME or not.</p> <p>But it would be fantastic if it was not necessary to have to modify the original data files and the tags of each item could be overwritten from additional LST files for each language, by (for example) simply adding:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>Acrobatic DISPLAYNAME:Acrobático Acrobatic DESC:blablablabla Acrobatic BENEFIT:blablablabla Acrobatic SOURCEPAGE:p. nnn </pre> </div></div> <p>in the same way as happens with the classes.</p> <p>(Hope will understand what I mean.) <img class="emoticon" src="http://jira.pcgen.org/images/icons/emoticons/smile.gif" height="20" width="20" align="absmiddle" alt="" border="0"/></p> </div> <div style="color:#505050;padding:4px 0 0 0;"> </div> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td><!-- End #email-page --> </tr> <tr valign="top"> <td style="color:#505050;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:10px;line-height:14px;padding: 0 16px 16px 16px;text-align:center;"> This message is automatically generated by JIRA.<br /> If you think it was sent incorrectly, please contact your JIRA administrators<br /> For more information on JIRA, see: <a style='color:#3b73af;' href='http://www.atlassian.com/software/jira'>http://www.atlassian.com/software/jira</a> </td> </tr> </table><!-- End #email-wrap --> </div><!-- End #email-body --> |