Skip to content

Commit 256aa1a

Browse files
authored
fix(win98): Add localization support to description (#359)
Wrap the description text in `win98.html` with a `data-l10n` span to enable localization. This allows the description to be translated into different languages.
1 parent 9d2f4bd commit 256aa1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/win98.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
</svg>
342342
</div>
343343
<div class="content">
344-
<p>{{ description }}<!-- {{- if show_details -}} -->.<!-- {{- end -}} --></p>
344+
<p><span data-l10n>{{ description }}</span><!-- {{- if show_details -}} -->.<!-- {{- end -}} --></p>
345345
<!-- {{- if show_details -}} -->
346346
<div class="details">
347347
<!-- {{- if host -}} -->

0 commit comments

Comments
 (0)