Skip to content

Commit

Permalink
i18n: make schema work with intl
Browse files Browse the repository at this point in the history
* make schema work with intl

* convert strings to formatted intl
add messages and regenerate po

* style: Automated code fix

* add some German translations

---------

Co-authored-by: Miu Razvan <[email protected]>
Co-authored-by: eea-jenkins <[email protected]>
  • Loading branch information
3 people authored Feb 4, 2025
1 parent 1c69e61 commit f5ae54f
Show file tree
Hide file tree
Showing 7 changed files with 1,112 additions and 127 deletions.
173 changes: 169 additions & 4 deletions locales/de/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,177 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. Default: "Add label"
#: editor/schema
msgid "addLabel"
msgstr ""

#. Default: "Always show the content label tooltip."
#: editor/schema
msgid "alwaysShowDescription"
msgstr ""

#. Default: "Always show tooltip"
#: editor/schema
msgid "alwaysShowTitle"
msgstr ""

#. Default: "Down"
#: editor/schema
msgid "down"
msgstr ""

#. Default: "Edit label"
#: editor/index
# defaultMessage: Edit label
msgid "Edit label"
msgid "editLabel"
msgstr "Label bearbeiten"

#. Default: "Extra wide"
#: editor/schema
msgid "extraWide"
msgstr ""

#. Default: "High importance"
#: editor/schema
msgid "highImportance"
msgstr ""

#. Default: "Highlight"
#: editor/schema
msgid "highlight"
msgstr ""

#. Default: "Label pointing"
#: editor/schema
msgid "labelPointing"
msgstr ""

#. Default: "Choose an orientation or leave the default value (No value)."
#: editor/schema
msgid "labelPointingDescription"
msgstr ""

#. Default: "Type of label"
#: editor/schema
msgid "labelType"
msgstr ""

#. Default: "Choose a type or leave the default value (Simple)."
#: editor/schema
msgid "labelTypeDescription"
msgstr ""

#. Default: "Left"
#: editor/schema
msgid "left"
msgstr ""

#. Default: "Medium importance"
#: editor/schema
msgid "mediumImportance"
msgstr ""

#. Default: "Remove label"
#: editor/index
# defaultMessage: Remove label
msgid "Remove label"
msgid "removeLabel"
msgstr "Label entfernen"

#. Default: "Right"
#: editor/schema
msgid "right"
msgstr ""

#. Default: "Show the content label tooltip on hover."
#: editor/schema
msgid "showOnHoverDescription"
msgstr ""

#. Default: "Show tooltip on hover"
#: editor/schema
msgid "showOnHoverTitle"
msgstr ""

#. Default: "Simple"
#: editor/schema
msgid "simple"
msgstr ""

#. Default: "Tooltip"
#: editor/schema
msgid "tooltip"
msgstr ""

#. Default: "Tooltip content"
#: editor/schema
msgid "tooltipContent"
msgstr "Tooltip-Inhalt"

#. Default: "Enter the text you want to display in the tooltip."
#: editor/schema
msgid "tooltipContentDescription"
msgstr "Geben Sie den Text ein der im Tooltip angezeigt werden soll."

#. Default: "Bottom center"
#: editor/schema
msgid "tooltipPointingBottomCenter"
msgstr ""

#. Default: "Bottom left"
#: editor/schema
msgid "tooltipPointingBottomLeft"
msgstr ""

#. Default: "Bottom right"
#: editor/schema
msgid "tooltipPointingBottomRight"
msgstr ""

#. Default: "Left center"
#: editor/schema
msgid "tooltipPointingLeftCenter"
msgstr ""

#. Default: "Right center"
#: editor/schema
msgid "tooltipPointingRightCenter"
msgstr ""

#. Default: "Tooltip position"
#: editor/schema
msgid "tooltipPointingTitle"
msgstr ""

#. Default: "Top center"
#: editor/schema
msgid "tooltipPointingTopCenter"
msgstr ""

#. Default: "Top left"
#: editor/schema
msgid "tooltipPointingTopLeft"
msgstr ""

#. Default: "Top right"
#: editor/schema
msgid "tooltipPointingTopRight"
msgstr ""

#. Default: "Tooltip size"
#: editor/schema
msgid "tooltipSizeTitle"
msgstr ""

#. Default: "Tooltip type"
#: editor/schema
msgid "tooltipTypeTitle"
msgstr ""

#. Default: "Up"
#: editor/schema
msgid "up"
msgstr ""

#. Default: "Wide"
#: editor/schema
msgid "wide"
msgstr ""
173 changes: 169 additions & 4 deletions locales/en/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,177 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. Default: "Add label"
#: editor/schema
msgid "addLabel"
msgstr ""

#. Default: "Always show the content label tooltip."
#: editor/schema
msgid "alwaysShowDescription"
msgstr ""

#. Default: "Always show tooltip"
#: editor/schema
msgid "alwaysShowTitle"
msgstr ""

#. Default: "Down"
#: editor/schema
msgid "down"
msgstr ""

#. Default: "Edit label"
#: editor/index
# defaultMessage: Edit label
msgid "Edit label"
msgid "editLabel"
msgstr ""

#. Default: "Extra wide"
#: editor/schema
msgid "extraWide"
msgstr ""

#. Default: "High importance"
#: editor/schema
msgid "highImportance"
msgstr ""

#. Default: "Highlight"
#: editor/schema
msgid "highlight"
msgstr ""

#. Default: "Label pointing"
#: editor/schema
msgid "labelPointing"
msgstr ""

#. Default: "Choose an orientation or leave the default value (No value)."
#: editor/schema
msgid "labelPointingDescription"
msgstr ""

#. Default: "Type of label"
#: editor/schema
msgid "labelType"
msgstr ""

#. Default: "Choose a type or leave the default value (Simple)."
#: editor/schema
msgid "labelTypeDescription"
msgstr ""

#. Default: "Left"
#: editor/schema
msgid "left"
msgstr ""

#. Default: "Medium importance"
#: editor/schema
msgid "mediumImportance"
msgstr ""

#. Default: "Remove label"
#: editor/index
# defaultMessage: Remove label
msgid "Remove label"
msgid "removeLabel"
msgstr ""

#. Default: "Right"
#: editor/schema
msgid "right"
msgstr ""

#. Default: "Show the content label tooltip on hover."
#: editor/schema
msgid "showOnHoverDescription"
msgstr ""

#. Default: "Show tooltip on hover"
#: editor/schema
msgid "showOnHoverTitle"
msgstr ""

#. Default: "Simple"
#: editor/schema
msgid "simple"
msgstr ""

#. Default: "Tooltip"
#: editor/schema
msgid "tooltip"
msgstr ""

#. Default: "Tooltip content"
#: editor/schema
msgid "tooltipContent"
msgstr ""

#. Default: "Enter the text you want to display in the tooltip."
#: editor/schema
msgid "tooltipContentDescription"
msgstr ""

#. Default: "Bottom center"
#: editor/schema
msgid "tooltipPointingBottomCenter"
msgstr ""

#. Default: "Bottom left"
#: editor/schema
msgid "tooltipPointingBottomLeft"
msgstr ""

#. Default: "Bottom right"
#: editor/schema
msgid "tooltipPointingBottomRight"
msgstr ""

#. Default: "Left center"
#: editor/schema
msgid "tooltipPointingLeftCenter"
msgstr ""

#. Default: "Right center"
#: editor/schema
msgid "tooltipPointingRightCenter"
msgstr ""

#. Default: "Tooltip position"
#: editor/schema
msgid "tooltipPointingTitle"
msgstr ""

#. Default: "Top center"
#: editor/schema
msgid "tooltipPointingTopCenter"
msgstr ""

#. Default: "Top left"
#: editor/schema
msgid "tooltipPointingTopLeft"
msgstr ""

#. Default: "Top right"
#: editor/schema
msgid "tooltipPointingTopRight"
msgstr ""

#. Default: "Tooltip size"
#: editor/schema
msgid "tooltipSizeTitle"
msgstr ""

#. Default: "Tooltip type"
#: editor/schema
msgid "tooltipTypeTitle"
msgstr ""

#. Default: "Up"
#: editor/schema
msgid "up"
msgstr ""

#. Default: "Wide"
#: editor/schema
msgid "wide"
msgstr ""
Loading

0 comments on commit f5ae54f

Please sign in to comment.