Edgewall Software

Opened 15 years ago

Last modified 14 years ago

#8055 closed defect

i18n bugs — at Initial Version

Reported by: kabuchan@… Owned by:
Priority: normal Milestone: 0.12
Component: i18n Version: none
Severity: normal Keywords: i18n
Cc: felix.schwarz@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi

Can not extract and translate like this.

trac/ticket/templates/ticket.html line 312

<label for="field-${field.name}" py:if="field"

py:strip="field.type == 'radio'">${field.edit_label or field.label or field.name}:</label>

Type:,Priority:,Milestone:,Milestone:,Version:,Severity: ,Keywords:,Cc:

trac/ticket/templates/ticket.html line 400

<input type="submit" name="preview" value="${_('Preview')}" accesskey="r" />&nbsp; <input type="submit" name="submit" value="${ticket.exists and 'Submit changes' or 'Create ticket'}" />

</div>

  • trac/ticket/templates/ticket.html

     
    397397            <input type="hidden" name="cnum" value="${cnum}" />
    398398          </py:if>
    399399          <input type="submit" name="preview" value="${_('Preview')}" accesskey="r" />&nbsp;
    400           <input type="submit" name="submit" value="${ticket.exists and 'Submit changes' or 'Create ticket'}" />
     400          <input type="submit" name="submit" value="${ticket.exists and _('Submit changes') or _('Create ticket')}" />
    401401        </div>
    402402
    403403      </form>

and can not translate messages including tag.

#: trac/admin/templates/admin_components.html:42 msgid "" "Description (you may use\n" " [1:WikiFormatting]\n" " here):"

#: trac/admin/templates/admin_milestones.html:55 #: trac/admin/templates/admin_versions.html:35 #: trac/ticket/templates/milestone_edit.html:85 msgid "Description (you may use [1:WikiFormatting] here):"

#: trac/templates/error.html:131 msgid "" "Before you do that, though, [1:please first try\n" " [2:searching]\n" " for similar issues], as it is quite likely that this " "problem\n" " has been reported before. For questions about " "installation\n" " and configuration of Trac, please try the\n" " [3:mailing list]\n" " instead of filing a ticket."

#: trac/ticket/templates/report_edit.html:25 msgid "Description: (you may use [1:WikiFormatting] here)"

#: trac/ticket/templates/ticket.html:266 msgid "" "Comment (you may use\n" " [1:WikiFormatting]\n" " here):"

#: trac/timeline/templates/timeline.html:20 msgid "" "[1:View changes from [2:]] [3:]\n" " and [4:[5:] days back][6:]\n" " [7:done by [8:]]"

#: trac/wiki/templates/wiki_edit.html:87 msgid "" "[1:Note:] See [2:WikiFormatting] and\n" " [3:TracWiki] for help on editing wiki content."

Change History (0)

Note: See TracTickets for help on using tickets.