Skip to content

Commit

Permalink
fix: mark strings for translation
Browse files Browse the repository at this point in the history
  • Loading branch information
gforcada committed Dec 22, 2023
1 parent ebe23b2 commit 44c1a73
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
7 changes: 4 additions & 3 deletions Products/CMFEditions/browser/templates/diff.pt
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@
</pre>
<p class="fieldDiff"
tal:condition="not:has_ndiff"
i18n:translate=""
>
This field has no code difference view.
</p>
Expand All @@ -261,7 +262,7 @@
condition="subdiffs"
>

<h2>Changed files</h2>
<h2 i18n:translate="">Changed files</h2>

<ul tal:condition="subdiffs">
<li tal:repeat="cs subdiffs">
Expand All @@ -276,7 +277,7 @@
</tal:changed>

<tal:changed condition="view/changeset/getRemovedItems">
<h2>Removed files</h2>
<h2 i18n:translate="">Removed files</h2>
<ul>
<li tal:repeat="id view/changeset/getRemovedItems"
tal:content="id"
Expand All @@ -285,7 +286,7 @@
</tal:changed>

<tal:changed condition="view/changeset/getAddedItems">
<h2>Added files</h2>
<h2 i18n:translate="">Added files</h2>
<ul tal:condition="view/changeset/getAddedItems">
<li tal:repeat="id view/changeset/getAddedItems"><a tal:content="id"
tal:attributes="
Expand Down
6 changes: 4 additions & 2 deletions Products/CMFEditions/browser/templates/version_image_view.pt
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@

<span class="discreet visualNoPrint">
&mdash;
<span i18n:translate="label_size">Size</span>:
${size}
<span i18n:translate="label_size">Size</span><tal:ignore ignore="true"
i18n:ignore="true"
>:
${size}</tal:ignore>
<span tal:condition="python:test(size, 0, 1)"
i18n:translate="no_image_uploaded"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@

<metal:metadata define-macro="metadata">

<h1 class="documentFirstHeading">
<h1 class="documentFirstHeading"
i18n:translate=""
>
Metadata
</h1>
<div id="content-core">
Expand Down

0 comments on commit 44c1a73

Please sign in to comment.