Skip to content

Commit

Permalink
trivial: docs: Clarify locale format of source_locale in a translatio…
Browse files Browse the repository at this point in the history
…n element
  • Loading branch information
ximion committed Mar 1, 2024
1 parent e094575 commit 3c3dec7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/xml/metainfo-component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1380,9 +1380,9 @@
than once.
</para>
<para>
The source strings in the component are assumed to be in the <code>en_US</code> locale. If that is not the case, specify the source locale using
the <code>source_locale</code> attribute on the <code>&lt;translation/&gt;</code> tag. The metadata generator will use the source locale
to synthesize a <code>&lt;lang/&gt;</code> tag for the source locale, with 100% translation.
The source strings in the component are assumed to be in the <code>en_US</code> locale. If that is not the case, specify the source locale
in POSIX format using the <code>source_locale</code> attribute on the <code>&lt;translation/&gt;</code> tag. The metadata generator will
use the source locale to synthesize a <code>&lt;lang/&gt;</code> tag for the source locale, with 100% translation.
</para>
<para>
For Gettext translations, localization data will be looked for in <filename>${prefix}/share/locale/${locale}/LC_MESSAGES/${id}.mo</filename>, where
Expand Down

0 comments on commit 3c3dec7

Please sign in to comment.