From a7c7cfcb66631396f88998df870c77c37bee4c05 Mon Sep 17 00:00:00 2001 From: Valentin Dumitru <1492705+valipod@users.noreply.github.com> Date: Mon, 20 Jan 2025 16:19:31 +0200 Subject: [PATCH] feat: Add german translations * Update translations for volto-datablocks * Update German translations for volto-datablocks * Add internationalization support for block schemas * Add "htmlTagTitle" translations to locale files Introduced the "htmlTagTitle" message ID across multiple locale files, including English, German, Italian, and Romanian. Adjustments ensure translations are properly included or updated where missing. * Add unique key to React.Fragment in SourcesBlock Edit This fixes a React warning about missing `key` props for list-rendered components. The `key` is now dynamically generated based on the index to ensure uniqueness for each fragment. * Refactor ESLint config to use new AddonRegistry module * Fix inconsistent indentation in conditional expressions * Update translations and add missing localization strings * Update message IDs and add new entries in messages.js * Inject intl into SimpleDataTable View component translations and improves internationalization support. ``` * Update German translation for "newWindowChoice" * add plone/registry to devDependencies lint fixes * style: Automated code fix --------- Co-authored-by: Miu Razvan Co-authored-by: Maurice Reim Co-authored-by: eea-jenkins --- .eslintrc.js | 10 +- locales/de/LC_MESSAGES/volto.po | 531 ++++++++++++++++-- locales/en/LC_MESSAGES/volto.po | 485 +++++++++++++++- locales/it/LC_MESSAGES/volto.po | 485 +++++++++++++++- locales/ro/LC_MESSAGES/volto.po | 485 +++++++++++++++- locales/volto.pot | 489 +++++++++++++++- package.json | 1 + .../Blocks/ConditionalDataBlock/Edit.jsx | 5 +- .../Blocks/ConditionalDataBlock/schema.js | 32 +- .../manage/Blocks/CountryFlag/Edit.jsx | 3 +- .../manage/Blocks/CountryFlag/schema.js | 37 +- .../Blocks/CustomConnectedBlock/Edit.jsx | 9 +- .../Blocks/CustomConnectedBlock/View.jsx | 20 +- .../Blocks/CustomConnectedBlock/schema.js | 34 +- .../Blocks/DataConnectedEmbedBlock/Edit.jsx | 5 +- .../Blocks/DataConnectedEmbedBlock/schema.jsx | 18 +- .../manage/Blocks/DataQueryFilter/Edit.jsx | 2 +- .../manage/Blocks/DataQueryFilter/View.jsx | 11 +- .../manage/Blocks/DataQueryFilter/schema.js | 18 +- .../manage/Blocks/DottedTableChart/Edit.jsx | 2 +- .../manage/Blocks/DottedTableChart/schema.js | 33 +- .../manage/Blocks/SimpleDataTable/Edit.jsx | 1 + .../manage/Blocks/SimpleDataTable/View.jsx | 7 +- .../manage/Blocks/SimpleDataTable/schema.js | 93 +-- .../manage/Blocks/SourcesBlock/Edit.jsx | 2 +- src/messages.js | 346 ++++++++++++ 26 files changed, 2868 insertions(+), 296 deletions(-) create mode 100644 src/messages.js diff --git a/.eslintrc.js b/.eslintrc.js index 0cbd65cc..c06a2d1a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,6 +1,7 @@ const fs = require('fs'); const path = require('path'); const projectRootPath = fs.realpathSync(__dirname + '/../../../'); +const { AddonRegistry } = require('@plone/registry/addon-registry'); let voltoPath = path.join(projectRootPath, 'node_modules/@plone/volto'); let configFile; @@ -16,16 +17,15 @@ if (configFile) { voltoPath = `./${jsConfig.baseUrl}/${pathsConfig['@plone/volto'][0]}`; } -const AddonConfigurationRegistry = require(`${voltoPath}/addon-registry.js`); -const reg = new AddonConfigurationRegistry(projectRootPath); +const { registry } = AddonRegistry.init(__dirname); // Extends ESlint configuration for adding the aliases to `src` directories in Volto addons -const addonAliases = Object.keys(reg.packages).map((o) => [ +const addonAliases = Object.keys(registry.packages).map((o) => [ o, - reg.packages[o].modulePath, + registry.packages[o].modulePath, ]); -const addonExtenders = reg.getEslintExtenders().map((m) => require(m)); +const addonExtenders = registry.getEslintExtenders().map((m) => require(m)); const defaultConfig = { extends: `${voltoPath}/.eslintrc`, diff --git a/locales/de/LC_MESSAGES/volto.po b/locales/de/LC_MESSAGES/volto.po index 86b15092..25450528 100644 --- a/locales/de/LC_MESSAGES/volto.po +++ b/locales/de/LC_MESSAGES/volto.po @@ -11,127 +11,562 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. Default: "Add criteria" #: components/manage/Widgets/DataQueryWidget -# defaultMessage: Add criteria msgid "Add criteria" -msgstr "" +msgstr "Kriterium hinzufügen" +#. Default: "Center" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Center msgid "Center" -msgstr "" +msgstr "Mitte" +#. Default: "Choices" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Choices msgid "Choices" -msgstr "" +msgstr "Auswahlmöglichkeiten" +#. Default: "Close" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Close msgid "Close" -msgstr "" +msgstr "Schließen" +#. Default: "Conditional data block" +#: messages +msgid "Conditional data block" +msgstr "Bedingter Datenblock" + +#. Default: "Country Flag" +#: messages +msgid "Country Flag" +msgstr "Landesflagge" + +#. Default: "Criteria" #: components/manage/Widgets/DataQueryWidget -# defaultMessage: Criteria msgid "Criteria" -msgstr "" +msgstr "Kriterium" +#. Default: "Custom connected block" +#: messages +msgid "Custom connected block" +msgstr "Individuell verbundener Block" + +#. Default: "Data Table" +#: messages +msgid "Data Table" +msgstr "Daten-Tabelle" + +#. Default: "Data connected embed" +#: messages +msgid "Data connected embed" +msgstr "Verbundene Daten einbetten" + +#. Default: "DataQuery Filter" +#: messages +msgid "DataQuery Filter" +msgstr "Datenabfrage-Filter" + +#. Default: "Default" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Default msgid "Default" -msgstr "" +msgstr "Standard" +#. Default: "Description" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Description msgid "Description" -msgstr "" +msgstr "Beschreibung" + +#. Default: "Dotted Table Chart" +#: messages +msgid "Dotted Table Chart" +msgstr "Gepunktetes Tabellendiagramm" +#. Default: "Embed code error, please follow the instructions and try again." #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Embed code error, please follow the instructions and try again. msgid "Embed code error, please follow the instructions and try again." -msgstr "" +msgstr "Einbettungscodefehler, bitte folgen Sie den Anweisungen und versuchen Sie es erneut." +#. Default: "Embeded Google Maps" #: components/manage/Blocks/DataConnectedEmbedBlock/View -# defaultMessage: Embeded Google Maps msgid "Embeded Google Maps" -msgstr "" +msgstr "Eingebettete Google Maps" +#. Default: "Enter map Embed Code" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Enter map Embed Code msgid "Enter map Embed Code" -msgstr "" +msgstr "Karten EinbettungscodeKarte eingeben" +#. Default: "Full" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Full msgid "Full" -msgstr "" +msgstr "Voll" +#. Default: "Google Maps Embedded Block" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Google Maps Embedded Block msgid "Google Maps Embedded Block" -msgstr "" +msgstr "Google Maps eingebetteter Block" +#. Default: "Left" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Left msgid "Left" -msgstr "" +msgstr "Links" +#. Default: "No options" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: No options msgid "No options" -msgstr "" +msgstr "Keine Optionen" +#. Default: "No value" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: No value msgid "No value" -msgstr "" +msgstr "Kein Wert" +#. Default: "Please use the sidebar to add Embed URL." #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Please use the sidebar to add Embed URL. msgid "Please use the sidebar to add Embed URL" -msgstr "" +msgstr "Bitte verwenden Sie die Seitenleiste, um die URL einzubetten." +#. Default: "Choices" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Choices msgid "Provider Choices" -msgstr "" +msgstr "Auswahlmöglichkeiten" +#. Default: "Required" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Required msgid "Required" -msgstr "" +msgstr "Erforderlich" +#. Default: "Right" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Right msgid "Right" -msgstr "" +msgstr "Rechts" +#. Default: "Select provider" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Select provider msgid "Select provider" -msgstr "" +msgstr "Anbieter auswählen" +#. Default: "Select…" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Select… msgid "Select…" -msgstr "" +msgstr "Wähle..." +#. Default: "Short Name" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Short Name msgid "Short Name" -msgstr "" +msgstr "Kurzname" +#. Default: "Title" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Title msgid "Title" -msgstr "" +msgstr "Titel" +#. Default: "Used for programmatic access to the fieldset." #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Used for programmatic access to the fieldset. msgid "Used for programmatic access to the fieldset." +msgstr "Wird für den programmatischen Zugriff auf das Fieldset verwendet." + +#. Default: "Alignment" +#: messages +msgid "alignmentTitle" +msgstr "Ausrichtung" + +#. Default: "Allows rich text formatting" +#: messages +msgid "allowRichText" +msgstr "Erlaubt Rich-Text-Formatierung" + +#. Default: "Allowed params" +#: messages +msgid "allowedParamsField" +msgstr "Erlaubte Parameter" + +#. Default: "Allowed URL parameters" +#: messages +msgid "allowedURLParams" +msgstr "Erlaubte URL-Parameter" + +#. Default: "Autoquery field" +#: messages +msgid "autoqueryFieldTitle" +msgstr "Autoquery-Feld" + +#. Default: "Select block type" +#: messages +msgid "blockTypeField" +msgstr "Blocktyp auswählen" + +#. Default: "Block type selected: {type}" +#: components/manage/Blocks/CustomConnectedBlock/View +msgid "blockTypeSelected" +msgstr "Blocktyp ausgewählt: {type]" + +#. Default: "Colors" +#: messages +msgid "colorsTitle" +msgstr "Farben" + +#. Default: "Column" +#: messages +msgid "columnTitle" +msgstr "Spalte" + +#. Default: "Column value" +#: messages +msgid "columnValueLabel" +msgstr "Wert der Spalte" + +#. Default: "Leave empty to show all columns" +#: messages +msgid "columnsDescription" +msgstr "Leer lassen, um alle Spalten anzuzeigen" + +#. Default: "Columns" +#: messages +msgid "columnsTitle" +msgstr "Spalten" + +#. Default: "Component type" +#: messages +msgid "componentType" +msgstr "Komponenten Typ" + +#. Default: "Condition value" +#: messages +msgid "conditionValueLabel" +msgstr "Bedingungswert" + +#. Default: "Select the country to be displayed." +#: messages +msgid "countryNameDescription" +msgstr "Wählen Sie das Land, das angezeigt werden soll." + +#. Default: "Country name" +#: messages +msgid "countryNameTitle" +msgstr "Name des Landes" + +#. Default: "Data column" +#: messages +msgid "dataColumn" +msgstr "Datenspalte" + +#. Default: "Data column link" +#: messages +msgid "dataColumnLink" +msgstr "Datenspalte Link" + +#. Default: "Data connected table" +#: messages +msgid "dataConnectedTable" +msgstr "Verbundene Daten Tabelle" + +#. Default: "Data provider" +#: messages +msgid "dataProviderTitle" +msgstr "Datenanbieter" + +#. Default: "Data query" +#: messages +msgid "dataQuery" +msgstr "Datenabfrage" + +#. Default: "Data source" +#: messages +msgid "dataSourceFieldsetTitle" +msgstr "Datenquelle" + +#. Default: "Default" +#: messages +msgid "defaultFieldsetTitle" +msgstr "Standard" + +#. Default: "Description" +#: messages +msgid "descriptionTitle" +msgstr "Beschreibung" + +#. Default: "Divide each row into separate cells" +#: messages +msgid "divideRow" +msgstr "Jede Reihe in einzelne Zellen unterteilen" + +#. Default: "Dropdown items" +#: messages +msgid "dropdownItemsFieldsetTitle" +msgstr "Dropdown-Elemente" + +#. Default: "Edit custom connected block" +#: messages +msgid "editCustomBlockTitle" +msgstr "Individuell verbundener Block" + +#. Default: "Edit DataQuery Filter" +#: messages +msgid "editDataQueryFilterTitle" +msgstr "DataQuery Filter bearbeiten" + +#. Default: "Embed URL" +#: messages +msgid "embedUrl" +msgstr "URL einbetten" + +#. Default: "Equal" +#: messages +msgid "equalOperator" +msgstr "Gleich" + +#. Default: "External link" +#: messages +msgid "externalLink" +msgstr "Externer Link" + +#. Default: "Format specifier" +#: messages +msgid "formatSpecifier" +msgstr "Formatangabe" + +#. Default: "Greater than" +#: messages +msgid "greaterThanOperator" +msgstr "Größer als" + +#. Default: "Header" +#: messages +msgid "headerTitle" +msgstr "Kopfzeile" + +#. Default: "Height" +#: messages +msgid "height" +msgstr "Höhe" + +#. Default: "Map height" +#: messages +msgid "heightDescription" +msgstr "Höhe der Karte" + +#. Default: "HTML tag" +#: messages +msgid "htmlTagTitle" +msgstr "HTML-Tag" + +#. Default: "Data-connected embed" +#: messages +msgid "iframeTitle" +msgstr "Datenverknüpfte Einbettung" + +#. Default: "Includes" +#: messages +msgid "includesOperator" +msgstr "Enthält" + +#. Default: "Less than" +#: messages +msgid "lessThanOperator" +msgstr "Weniger als" + +#. Default: "Link template" +#: messages +msgid "linkTemplate" +msgstr "Linkvorlage" + +#. Default: "Make the table compact" +#: messages +msgid "makeTableCompact" +msgstr "Die Tabelle kompakt machen" + +#. Default: "Maximum dot count" +#: messages +msgid "maxDotCountTitle" +msgstr "Maximale Punktzahl" + +#. Default: "Maximum results" +#: messages +msgid "maxResults" +msgstr "Maximalen Ergbenisse" + +#. Default: "New window" +#: messages +msgid "newWindowChoice" +msgstr "Neues Fenster" + +#. Default: "No results" +#: messages +msgid "noResults" +msgstr "Keine Ergebnisse" + +#. Default: "Not equal" +#: messages +msgid "notEqualOperator" +msgstr "Nicht gleich" + +#. Default: "Not includes" +#: messages +msgid "notIncludesOperator" +msgstr "Nicht enthalten" + +#. Default: "Operator" +#: messages +msgid "operatorLabel" msgstr "" +#. Default: "Pagination" +#: messages +msgid "paginationTitle" +msgstr "Seiten navigation" + +#. Default: "Placeholder" +#: messages +msgid "placeholderField" +msgstr "Platzhalter" + +#. Default: "Placeholder value" +#: messages +msgid "placeholderValueTitle" +msgstr "Platzhalterwert" + +#. Default: "Select a provider from the sidebar" +#: components/manage/Blocks/DataQueryFilter/View +msgid "providerSelection" +msgstr "Wählen Sie einen Anbieter in der Seitenleiste" + +#. Default: "Select…" #: components/manage/Widgets/DataQueryWidget -# defaultMessage: Select… msgid "querystring-widget-select" +msgstr "Wähle..." + +#. Default: "Criteria" +#: messages +msgid "querystringTitle" +msgstr "Kriterium" + +#. Default: "Remove table border" +#: messages +msgid "removeTableBorder" +msgstr "Tabellenrand entfernen" + +#. Default: "Rows" +#: messages +msgid "rowsTitle" +msgstr "Zeilen" + +#. Default: "Same window" +#: messages +msgid "sameWindowChoice" +msgstr "Gleiches Fenster" + +#. Default: "Please select a block type from sidebar" +#: components/manage/Blocks/CustomConnectedBlock/View +msgid "selectBlockType" +msgstr "Bitte wählen Sie einen Blocktyp aus der Seitenleiste" + +#. Default: "Settings" +#: messages +msgid "settingsFieldsetTitle" +msgstr "Einstellungen" + +#. Default: "Enable the dropdown select to navigate to other pages. In the "Dropdown items" section you can set the criterias to filter the items displayed in the dropdown. If no criterias are set, the siblings of the current page are displayed in the dropdown." +#: messages +msgid "showDropdownDescription" +msgstr "Aktivieren Sie die Dropdown-Auswahl, um zu anderen Seiten zu navigieren. Im Abschnitt Dropdown-Elemente können Sie die Kriterien festlegen, nach denen die im Dropdown angezeigten Elemente gefiltert werden. Wenn keine Kriterien festgelegt sind, werden die Geschwister der aktuellen Seite in der Dropdown-Liste angezeigt." + +#. Default: "Show dropdown" +#: messages +msgid "showDropdownTitle" +msgstr "Dropdown anzeigen" + +#. Default: "Enable it to display the flag of the selected country. Disable it to display the preview image of the current page. If the page has no preview image set, it will display nothing." +#: messages +msgid "showFlagDescription" +msgstr "Aktivieren Sie diese Option, um die Flagge des ausgewählten Landes anzuzeigen. Deaktivieren Sie es, um das Vorschaubild der aktuellen Seite anzuzeigen. Wenn für die Seite kein Vorschaubild eingestellt ist, wird nichts angezeigt." + +#. Default: "Show country flag" +#: messages +msgid "showFlagTitle" +msgstr "Landesflagge anzeigen" + +#. Default: "Show header" +#: messages +msgid "showHeader" +msgstr "Kopfzeile anzeigen" + +#. Default: "Enable it to display the name of the selected country. Disable it to display the title of the page." +#: messages +msgid "showNameDescription" +msgstr "Aktivieren Sie diese Option, um den Namen des ausgewählten Landes anzuzeigen. Deaktivieren Sie es, um den Titel der Seite anzuzeigen." + +#. Default: "Show country name" +#: messages +msgid "showNameTitle" +msgstr "Ländernamen anzeigen" + +#. Default: "Size data" +#: messages +msgid "sizeDataTitle" +msgstr "Größenangabe" + +#. Default: "Source" +#: messages +msgid "sourceField" +msgstr "Quelle" + +#. Default: "Link" +#: messages +msgid "sourceLinkField" msgstr "" + +#. Default: "Sources" +#: messages +msgid "sourcesField" +msgstr "Quellen" + +#. Default: "Stripe alternate rows with color" +#: messages +msgid "stripeRows" +msgstr "Zeilen abwechselnd einfärben" + +#. Default: "Styling" +#: messages +msgid "stylingFieldsetTitle" +msgstr "Aussehen" + +#. Default: "Template" +#: messages +msgid "templateTitle" +msgstr "Vorlage" + +#. Default: "Text template" +#: messages +msgid "textTemplate" +msgstr "Textvorlage" + +#. Default: "Section friendly name" +#: messages +msgid "titleDescription" +msgstr "Kurzname für den Abschnitt" + +#. Default: "Title" +#: messages +msgid "titleLabel" +msgstr "Titel" + +#. Default: "See D3 format documentation" +#: messages +msgid "tooltipFormatSpecifierDescription" +msgstr "Siehe Dokumentation zum D3-Format" + +#. Default: "Tool-tip format specifier" +#: messages +msgid "tooltipFormatSpecifierTitle" +msgstr "Formatangabe für die QuickInfo" + +#. Default: "Add suffix/prefix to text. Use {value} for value placeholder" +#: messages +msgid "tooltipTextTemplateDescription" +msgstr "Suffix/Präfix zum Text hinzufügen. {value} als Platzhalter für den Wert verwenden" + +#. Default: "Tool-tip text template" +#: messages +msgid "tooltipTextTemplateTitle" +msgstr "Tooltip-Textvorlage" diff --git a/locales/en/LC_MESSAGES/volto.po b/locales/en/LC_MESSAGES/volto.po index 86b15092..f5172c35 100644 --- a/locales/en/LC_MESSAGES/volto.po +++ b/locales/en/LC_MESSAGES/volto.po @@ -11,127 +11,562 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. Default: "Add criteria" #: components/manage/Widgets/DataQueryWidget -# defaultMessage: Add criteria msgid "Add criteria" msgstr "" +#. Default: "Center" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Center msgid "Center" msgstr "" +#. Default: "Choices" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Choices msgid "Choices" msgstr "" +#. Default: "Close" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Close msgid "Close" msgstr "" +#. Default: "Conditional data block" +#: messages +msgid "Conditional data block" +msgstr "" + +#. Default: "Country Flag" +#: messages +msgid "Country Flag" +msgstr "" + +#. Default: "Criteria" #: components/manage/Widgets/DataQueryWidget -# defaultMessage: Criteria msgid "Criteria" msgstr "" +#. Default: "Custom connected block" +#: messages +msgid "Custom connected block" +msgstr "" + +#. Default: "Data Table" +#: messages +msgid "Data Table" +msgstr "" + +#. Default: "Data connected embed" +#: messages +msgid "Data connected embed" +msgstr "" + +#. Default: "DataQuery Filter" +#: messages +msgid "DataQuery Filter" +msgstr "" + +#. Default: "Default" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Default msgid "Default" msgstr "" +#. Default: "Description" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Description msgid "Description" msgstr "" +#. Default: "Dotted Table Chart" +#: messages +msgid "Dotted Table Chart" +msgstr "" + +#. Default: "Embed code error, please follow the instructions and try again." #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Embed code error, please follow the instructions and try again. msgid "Embed code error, please follow the instructions and try again." msgstr "" +#. Default: "Embeded Google Maps" #: components/manage/Blocks/DataConnectedEmbedBlock/View -# defaultMessage: Embeded Google Maps msgid "Embeded Google Maps" msgstr "" +#. Default: "Enter map Embed Code" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Enter map Embed Code msgid "Enter map Embed Code" msgstr "" +#. Default: "Full" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Full msgid "Full" msgstr "" +#. Default: "Google Maps Embedded Block" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Google Maps Embedded Block msgid "Google Maps Embedded Block" msgstr "" +#. Default: "Left" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Left msgid "Left" msgstr "" +#. Default: "No options" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: No options msgid "No options" msgstr "" +#. Default: "No value" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: No value msgid "No value" msgstr "" +#. Default: "Please use the sidebar to add Embed URL." #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Please use the sidebar to add Embed URL. msgid "Please use the sidebar to add Embed URL" msgstr "" +#. Default: "Choices" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Choices msgid "Provider Choices" msgstr "" +#. Default: "Required" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Required msgid "Required" msgstr "" +#. Default: "Right" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Right msgid "Right" msgstr "" +#. Default: "Select provider" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Select provider msgid "Select provider" msgstr "" +#. Default: "Select…" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Select… msgid "Select…" msgstr "" +#. Default: "Short Name" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Short Name msgid "Short Name" msgstr "" +#. Default: "Title" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Title msgid "Title" msgstr "" +#. Default: "Used for programmatic access to the fieldset." #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Used for programmatic access to the fieldset. msgid "Used for programmatic access to the fieldset." msgstr "" +#. Default: "Alignment" +#: messages +msgid "alignmentTitle" +msgstr "" + +#. Default: "Allows rich text formatting" +#: messages +msgid "allowRichText" +msgstr "" + +#. Default: "Allowed params" +#: messages +msgid "allowedParamsField" +msgstr "" + +#. Default: "Allowed URL parameters" +#: messages +msgid "allowedURLParams" +msgstr "" + +#. Default: "Autoquery field" +#: messages +msgid "autoqueryFieldTitle" +msgstr "" + +#. Default: "Select block type" +#: messages +msgid "blockTypeField" +msgstr "" + +#. Default: "Block type selected: {type}" +#: components/manage/Blocks/CustomConnectedBlock/View +msgid "blockTypeSelected" +msgstr "" + +#. Default: "Colors" +#: messages +msgid "colorsTitle" +msgstr "" + +#. Default: "Column" +#: messages +msgid "columnTitle" +msgstr "" + +#. Default: "Column value" +#: messages +msgid "columnValueLabel" +msgstr "" + +#. Default: "Leave empty to show all columns" +#: messages +msgid "columnsDescription" +msgstr "" + +#. Default: "Columns" +#: messages +msgid "columnsTitle" +msgstr "" + +#. Default: "Component type" +#: messages +msgid "componentType" +msgstr "" + +#. Default: "Condition value" +#: messages +msgid "conditionValueLabel" +msgstr "" + +#. Default: "Select the country to be displayed." +#: messages +msgid "countryNameDescription" +msgstr "" + +#. Default: "Country name" +#: messages +msgid "countryNameTitle" +msgstr "" + +#. Default: "Data column" +#: messages +msgid "dataColumn" +msgstr "" + +#. Default: "Data column link" +#: messages +msgid "dataColumnLink" +msgstr "" + +#. Default: "Data connected table" +#: messages +msgid "dataConnectedTable" +msgstr "" + +#. Default: "Data provider" +#: messages +msgid "dataProviderTitle" +msgstr "" + +#. Default: "Data query" +#: messages +msgid "dataQuery" +msgstr "" + +#. Default: "Data source" +#: messages +msgid "dataSourceFieldsetTitle" +msgstr "" + +#. Default: "Default" +#: messages +msgid "defaultFieldsetTitle" +msgstr "" + +#. Default: "Description" +#: messages +msgid "descriptionTitle" +msgstr "" + +#. Default: "Divide each row into separate cells" +#: messages +msgid "divideRow" +msgstr "" + +#. Default: "Dropdown items" +#: messages +msgid "dropdownItemsFieldsetTitle" +msgstr "" + +#. Default: "Edit custom connected block" +#: messages +msgid "editCustomBlockTitle" +msgstr "" + +#. Default: "Edit DataQuery Filter" +#: messages +msgid "editDataQueryFilterTitle" +msgstr "" + +#. Default: "Embed URL" +#: messages +msgid "embedUrl" +msgstr "" + +#. Default: "Equal" +#: messages +msgid "equalOperator" +msgstr "" + +#. Default: "External link" +#: messages +msgid "externalLink" +msgstr "" + +#. Default: "Format specifier" +#: messages +msgid "formatSpecifier" +msgstr "" + +#. Default: "Greater than" +#: messages +msgid "greaterThanOperator" +msgstr "" + +#. Default: "Header" +#: messages +msgid "headerTitle" +msgstr "" + +#. Default: "Height" +#: messages +msgid "height" +msgstr "" + +#. Default: "Map height" +#: messages +msgid "heightDescription" +msgstr "" + +#. Default: "HTML tag" +#: messages +msgid "htmlTagTitle" +msgstr "" + +#. Default: "Data-connected embed" +#: messages +msgid "iframeTitle" +msgstr "" + +#. Default: "Includes" +#: messages +msgid "includesOperator" +msgstr "" + +#. Default: "Less than" +#: messages +msgid "lessThanOperator" +msgstr "" + +#. Default: "Link template" +#: messages +msgid "linkTemplate" +msgstr "" + +#. Default: "Make the table compact" +#: messages +msgid "makeTableCompact" +msgstr "" + +#. Default: "Maximum dot count" +#: messages +msgid "maxDotCountTitle" +msgstr "" + +#. Default: "Maximum results" +#: messages +msgid "maxResults" +msgstr "" + +#. Default: "New window" +#: messages +msgid "newWindowChoice" +msgstr "" + +#. Default: "No results" +#: messages +msgid "noResults" +msgstr "" + +#. Default: "Not equal" +#: messages +msgid "notEqualOperator" +msgstr "" + +#. Default: "Not includes" +#: messages +msgid "notIncludesOperator" +msgstr "" + +#. Default: "Operator" +#: messages +msgid "operatorLabel" +msgstr "" + +#. Default: "Pagination" +#: messages +msgid "paginationTitle" +msgstr "" + +#. Default: "Placeholder" +#: messages +msgid "placeholderField" +msgstr "" + +#. Default: "Placeholder value" +#: messages +msgid "placeholderValueTitle" +msgstr "" + +#. Default: "Select a provider from the sidebar" +#: components/manage/Blocks/DataQueryFilter/View +msgid "providerSelection" +msgstr "" + +#. Default: "Select…" #: components/manage/Widgets/DataQueryWidget -# defaultMessage: Select… msgid "querystring-widget-select" msgstr "" + +#. Default: "Criteria" +#: messages +msgid "querystringTitle" +msgstr "" + +#. Default: "Remove table border" +#: messages +msgid "removeTableBorder" +msgstr "" + +#. Default: "Rows" +#: messages +msgid "rowsTitle" +msgstr "" + +#. Default: "Same window" +#: messages +msgid "sameWindowChoice" +msgstr "" + +#. Default: "Please select a block type from sidebar" +#: components/manage/Blocks/CustomConnectedBlock/View +msgid "selectBlockType" +msgstr "" + +#. Default: "Settings" +#: messages +msgid "settingsFieldsetTitle" +msgstr "" + +#. Default: "Enable the dropdown select to navigate to other pages. In the "Dropdown items" section you can set the criterias to filter the items displayed in the dropdown. If no criterias are set, the siblings of the current page are displayed in the dropdown." +#: messages +msgid "showDropdownDescription" +msgstr "" + +#. Default: "Show dropdown" +#: messages +msgid "showDropdownTitle" +msgstr "" + +#. Default: "Enable it to display the flag of the selected country. Disable it to display the preview image of the current page. If the page has no preview image set, it will display nothing." +#: messages +msgid "showFlagDescription" +msgstr "" + +#. Default: "Show country flag" +#: messages +msgid "showFlagTitle" +msgstr "" + +#. Default: "Show header" +#: messages +msgid "showHeader" +msgstr "" + +#. Default: "Enable it to display the name of the selected country. Disable it to display the title of the page." +#: messages +msgid "showNameDescription" +msgstr "" + +#. Default: "Show country name" +#: messages +msgid "showNameTitle" +msgstr "" + +#. Default: "Size data" +#: messages +msgid "sizeDataTitle" +msgstr "" + +#. Default: "Source" +#: messages +msgid "sourceField" +msgstr "" + +#. Default: "Link" +#: messages +msgid "sourceLinkField" +msgstr "" + +#. Default: "Sources" +#: messages +msgid "sourcesField" +msgstr "" + +#. Default: "Stripe alternate rows with color" +#: messages +msgid "stripeRows" +msgstr "" + +#. Default: "Styling" +#: messages +msgid "stylingFieldsetTitle" +msgstr "" + +#. Default: "Template" +#: messages +msgid "templateTitle" +msgstr "" + +#. Default: "Text template" +#: messages +msgid "textTemplate" +msgstr "" + +#. Default: "Section friendly name" +#: messages +msgid "titleDescription" +msgstr "" + +#. Default: "Title" +#: messages +msgid "titleLabel" +msgstr "" + +#. Default: "See D3 format documentation" +#: messages +msgid "tooltipFormatSpecifierDescription" +msgstr "" + +#. Default: "Tool-tip format specifier" +#: messages +msgid "tooltipFormatSpecifierTitle" +msgstr "" + +#. Default: "Add suffix/prefix to text. Use {value} for value placeholder" +#: messages +msgid "tooltipTextTemplateDescription" +msgstr "" + +#. Default: "Tool-tip text template" +#: messages +msgid "tooltipTextTemplateTitle" +msgstr "" diff --git a/locales/it/LC_MESSAGES/volto.po b/locales/it/LC_MESSAGES/volto.po index 86b15092..f5172c35 100644 --- a/locales/it/LC_MESSAGES/volto.po +++ b/locales/it/LC_MESSAGES/volto.po @@ -11,127 +11,562 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. Default: "Add criteria" #: components/manage/Widgets/DataQueryWidget -# defaultMessage: Add criteria msgid "Add criteria" msgstr "" +#. Default: "Center" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Center msgid "Center" msgstr "" +#. Default: "Choices" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Choices msgid "Choices" msgstr "" +#. Default: "Close" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Close msgid "Close" msgstr "" +#. Default: "Conditional data block" +#: messages +msgid "Conditional data block" +msgstr "" + +#. Default: "Country Flag" +#: messages +msgid "Country Flag" +msgstr "" + +#. Default: "Criteria" #: components/manage/Widgets/DataQueryWidget -# defaultMessage: Criteria msgid "Criteria" msgstr "" +#. Default: "Custom connected block" +#: messages +msgid "Custom connected block" +msgstr "" + +#. Default: "Data Table" +#: messages +msgid "Data Table" +msgstr "" + +#. Default: "Data connected embed" +#: messages +msgid "Data connected embed" +msgstr "" + +#. Default: "DataQuery Filter" +#: messages +msgid "DataQuery Filter" +msgstr "" + +#. Default: "Default" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Default msgid "Default" msgstr "" +#. Default: "Description" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Description msgid "Description" msgstr "" +#. Default: "Dotted Table Chart" +#: messages +msgid "Dotted Table Chart" +msgstr "" + +#. Default: "Embed code error, please follow the instructions and try again." #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Embed code error, please follow the instructions and try again. msgid "Embed code error, please follow the instructions and try again." msgstr "" +#. Default: "Embeded Google Maps" #: components/manage/Blocks/DataConnectedEmbedBlock/View -# defaultMessage: Embeded Google Maps msgid "Embeded Google Maps" msgstr "" +#. Default: "Enter map Embed Code" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Enter map Embed Code msgid "Enter map Embed Code" msgstr "" +#. Default: "Full" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Full msgid "Full" msgstr "" +#. Default: "Google Maps Embedded Block" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Google Maps Embedded Block msgid "Google Maps Embedded Block" msgstr "" +#. Default: "Left" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Left msgid "Left" msgstr "" +#. Default: "No options" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: No options msgid "No options" msgstr "" +#. Default: "No value" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: No value msgid "No value" msgstr "" +#. Default: "Please use the sidebar to add Embed URL." #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Please use the sidebar to add Embed URL. msgid "Please use the sidebar to add Embed URL" msgstr "" +#. Default: "Choices" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Choices msgid "Provider Choices" msgstr "" +#. Default: "Required" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Required msgid "Required" msgstr "" +#. Default: "Right" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Right msgid "Right" msgstr "" +#. Default: "Select provider" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Select provider msgid "Select provider" msgstr "" +#. Default: "Select…" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Select… msgid "Select…" msgstr "" +#. Default: "Short Name" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Short Name msgid "Short Name" msgstr "" +#. Default: "Title" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Title msgid "Title" msgstr "" +#. Default: "Used for programmatic access to the fieldset." #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Used for programmatic access to the fieldset. msgid "Used for programmatic access to the fieldset." msgstr "" +#. Default: "Alignment" +#: messages +msgid "alignmentTitle" +msgstr "" + +#. Default: "Allows rich text formatting" +#: messages +msgid "allowRichText" +msgstr "" + +#. Default: "Allowed params" +#: messages +msgid "allowedParamsField" +msgstr "" + +#. Default: "Allowed URL parameters" +#: messages +msgid "allowedURLParams" +msgstr "" + +#. Default: "Autoquery field" +#: messages +msgid "autoqueryFieldTitle" +msgstr "" + +#. Default: "Select block type" +#: messages +msgid "blockTypeField" +msgstr "" + +#. Default: "Block type selected: {type}" +#: components/manage/Blocks/CustomConnectedBlock/View +msgid "blockTypeSelected" +msgstr "" + +#. Default: "Colors" +#: messages +msgid "colorsTitle" +msgstr "" + +#. Default: "Column" +#: messages +msgid "columnTitle" +msgstr "" + +#. Default: "Column value" +#: messages +msgid "columnValueLabel" +msgstr "" + +#. Default: "Leave empty to show all columns" +#: messages +msgid "columnsDescription" +msgstr "" + +#. Default: "Columns" +#: messages +msgid "columnsTitle" +msgstr "" + +#. Default: "Component type" +#: messages +msgid "componentType" +msgstr "" + +#. Default: "Condition value" +#: messages +msgid "conditionValueLabel" +msgstr "" + +#. Default: "Select the country to be displayed." +#: messages +msgid "countryNameDescription" +msgstr "" + +#. Default: "Country name" +#: messages +msgid "countryNameTitle" +msgstr "" + +#. Default: "Data column" +#: messages +msgid "dataColumn" +msgstr "" + +#. Default: "Data column link" +#: messages +msgid "dataColumnLink" +msgstr "" + +#. Default: "Data connected table" +#: messages +msgid "dataConnectedTable" +msgstr "" + +#. Default: "Data provider" +#: messages +msgid "dataProviderTitle" +msgstr "" + +#. Default: "Data query" +#: messages +msgid "dataQuery" +msgstr "" + +#. Default: "Data source" +#: messages +msgid "dataSourceFieldsetTitle" +msgstr "" + +#. Default: "Default" +#: messages +msgid "defaultFieldsetTitle" +msgstr "" + +#. Default: "Description" +#: messages +msgid "descriptionTitle" +msgstr "" + +#. Default: "Divide each row into separate cells" +#: messages +msgid "divideRow" +msgstr "" + +#. Default: "Dropdown items" +#: messages +msgid "dropdownItemsFieldsetTitle" +msgstr "" + +#. Default: "Edit custom connected block" +#: messages +msgid "editCustomBlockTitle" +msgstr "" + +#. Default: "Edit DataQuery Filter" +#: messages +msgid "editDataQueryFilterTitle" +msgstr "" + +#. Default: "Embed URL" +#: messages +msgid "embedUrl" +msgstr "" + +#. Default: "Equal" +#: messages +msgid "equalOperator" +msgstr "" + +#. Default: "External link" +#: messages +msgid "externalLink" +msgstr "" + +#. Default: "Format specifier" +#: messages +msgid "formatSpecifier" +msgstr "" + +#. Default: "Greater than" +#: messages +msgid "greaterThanOperator" +msgstr "" + +#. Default: "Header" +#: messages +msgid "headerTitle" +msgstr "" + +#. Default: "Height" +#: messages +msgid "height" +msgstr "" + +#. Default: "Map height" +#: messages +msgid "heightDescription" +msgstr "" + +#. Default: "HTML tag" +#: messages +msgid "htmlTagTitle" +msgstr "" + +#. Default: "Data-connected embed" +#: messages +msgid "iframeTitle" +msgstr "" + +#. Default: "Includes" +#: messages +msgid "includesOperator" +msgstr "" + +#. Default: "Less than" +#: messages +msgid "lessThanOperator" +msgstr "" + +#. Default: "Link template" +#: messages +msgid "linkTemplate" +msgstr "" + +#. Default: "Make the table compact" +#: messages +msgid "makeTableCompact" +msgstr "" + +#. Default: "Maximum dot count" +#: messages +msgid "maxDotCountTitle" +msgstr "" + +#. Default: "Maximum results" +#: messages +msgid "maxResults" +msgstr "" + +#. Default: "New window" +#: messages +msgid "newWindowChoice" +msgstr "" + +#. Default: "No results" +#: messages +msgid "noResults" +msgstr "" + +#. Default: "Not equal" +#: messages +msgid "notEqualOperator" +msgstr "" + +#. Default: "Not includes" +#: messages +msgid "notIncludesOperator" +msgstr "" + +#. Default: "Operator" +#: messages +msgid "operatorLabel" +msgstr "" + +#. Default: "Pagination" +#: messages +msgid "paginationTitle" +msgstr "" + +#. Default: "Placeholder" +#: messages +msgid "placeholderField" +msgstr "" + +#. Default: "Placeholder value" +#: messages +msgid "placeholderValueTitle" +msgstr "" + +#. Default: "Select a provider from the sidebar" +#: components/manage/Blocks/DataQueryFilter/View +msgid "providerSelection" +msgstr "" + +#. Default: "Select…" #: components/manage/Widgets/DataQueryWidget -# defaultMessage: Select… msgid "querystring-widget-select" msgstr "" + +#. Default: "Criteria" +#: messages +msgid "querystringTitle" +msgstr "" + +#. Default: "Remove table border" +#: messages +msgid "removeTableBorder" +msgstr "" + +#. Default: "Rows" +#: messages +msgid "rowsTitle" +msgstr "" + +#. Default: "Same window" +#: messages +msgid "sameWindowChoice" +msgstr "" + +#. Default: "Please select a block type from sidebar" +#: components/manage/Blocks/CustomConnectedBlock/View +msgid "selectBlockType" +msgstr "" + +#. Default: "Settings" +#: messages +msgid "settingsFieldsetTitle" +msgstr "" + +#. Default: "Enable the dropdown select to navigate to other pages. In the "Dropdown items" section you can set the criterias to filter the items displayed in the dropdown. If no criterias are set, the siblings of the current page are displayed in the dropdown." +#: messages +msgid "showDropdownDescription" +msgstr "" + +#. Default: "Show dropdown" +#: messages +msgid "showDropdownTitle" +msgstr "" + +#. Default: "Enable it to display the flag of the selected country. Disable it to display the preview image of the current page. If the page has no preview image set, it will display nothing." +#: messages +msgid "showFlagDescription" +msgstr "" + +#. Default: "Show country flag" +#: messages +msgid "showFlagTitle" +msgstr "" + +#. Default: "Show header" +#: messages +msgid "showHeader" +msgstr "" + +#. Default: "Enable it to display the name of the selected country. Disable it to display the title of the page." +#: messages +msgid "showNameDescription" +msgstr "" + +#. Default: "Show country name" +#: messages +msgid "showNameTitle" +msgstr "" + +#. Default: "Size data" +#: messages +msgid "sizeDataTitle" +msgstr "" + +#. Default: "Source" +#: messages +msgid "sourceField" +msgstr "" + +#. Default: "Link" +#: messages +msgid "sourceLinkField" +msgstr "" + +#. Default: "Sources" +#: messages +msgid "sourcesField" +msgstr "" + +#. Default: "Stripe alternate rows with color" +#: messages +msgid "stripeRows" +msgstr "" + +#. Default: "Styling" +#: messages +msgid "stylingFieldsetTitle" +msgstr "" + +#. Default: "Template" +#: messages +msgid "templateTitle" +msgstr "" + +#. Default: "Text template" +#: messages +msgid "textTemplate" +msgstr "" + +#. Default: "Section friendly name" +#: messages +msgid "titleDescription" +msgstr "" + +#. Default: "Title" +#: messages +msgid "titleLabel" +msgstr "" + +#. Default: "See D3 format documentation" +#: messages +msgid "tooltipFormatSpecifierDescription" +msgstr "" + +#. Default: "Tool-tip format specifier" +#: messages +msgid "tooltipFormatSpecifierTitle" +msgstr "" + +#. Default: "Add suffix/prefix to text. Use {value} for value placeholder" +#: messages +msgid "tooltipTextTemplateDescription" +msgstr "" + +#. Default: "Tool-tip text template" +#: messages +msgid "tooltipTextTemplateTitle" +msgstr "" diff --git a/locales/ro/LC_MESSAGES/volto.po b/locales/ro/LC_MESSAGES/volto.po index 86b15092..f5172c35 100644 --- a/locales/ro/LC_MESSAGES/volto.po +++ b/locales/ro/LC_MESSAGES/volto.po @@ -11,127 +11,562 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. Default: "Add criteria" #: components/manage/Widgets/DataQueryWidget -# defaultMessage: Add criteria msgid "Add criteria" msgstr "" +#. Default: "Center" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Center msgid "Center" msgstr "" +#. Default: "Choices" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Choices msgid "Choices" msgstr "" +#. Default: "Close" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Close msgid "Close" msgstr "" +#. Default: "Conditional data block" +#: messages +msgid "Conditional data block" +msgstr "" + +#. Default: "Country Flag" +#: messages +msgid "Country Flag" +msgstr "" + +#. Default: "Criteria" #: components/manage/Widgets/DataQueryWidget -# defaultMessage: Criteria msgid "Criteria" msgstr "" +#. Default: "Custom connected block" +#: messages +msgid "Custom connected block" +msgstr "" + +#. Default: "Data Table" +#: messages +msgid "Data Table" +msgstr "" + +#. Default: "Data connected embed" +#: messages +msgid "Data connected embed" +msgstr "" + +#. Default: "DataQuery Filter" +#: messages +msgid "DataQuery Filter" +msgstr "" + +#. Default: "Default" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Default msgid "Default" msgstr "" +#. Default: "Description" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Description msgid "Description" msgstr "" +#. Default: "Dotted Table Chart" +#: messages +msgid "Dotted Table Chart" +msgstr "" + +#. Default: "Embed code error, please follow the instructions and try again." #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Embed code error, please follow the instructions and try again. msgid "Embed code error, please follow the instructions and try again." msgstr "" +#. Default: "Embeded Google Maps" #: components/manage/Blocks/DataConnectedEmbedBlock/View -# defaultMessage: Embeded Google Maps msgid "Embeded Google Maps" msgstr "" +#. Default: "Enter map Embed Code" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Enter map Embed Code msgid "Enter map Embed Code" msgstr "" +#. Default: "Full" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Full msgid "Full" msgstr "" +#. Default: "Google Maps Embedded Block" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Google Maps Embedded Block msgid "Google Maps Embedded Block" msgstr "" +#. Default: "Left" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Left msgid "Left" msgstr "" +#. Default: "No options" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: No options msgid "No options" msgstr "" +#. Default: "No value" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: No value msgid "No value" msgstr "" +#. Default: "Please use the sidebar to add Embed URL." #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Please use the sidebar to add Embed URL. msgid "Please use the sidebar to add Embed URL" msgstr "" +#. Default: "Choices" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Choices msgid "Provider Choices" msgstr "" +#. Default: "Required" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Required msgid "Required" msgstr "" +#. Default: "Right" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Right msgid "Right" msgstr "" +#. Default: "Select provider" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Select provider msgid "Select provider" msgstr "" +#. Default: "Select…" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Select… msgid "Select…" msgstr "" +#. Default: "Short Name" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Short Name msgid "Short Name" msgstr "" +#. Default: "Title" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Title msgid "Title" msgstr "" +#. Default: "Used for programmatic access to the fieldset." #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Used for programmatic access to the fieldset. msgid "Used for programmatic access to the fieldset." msgstr "" +#. Default: "Alignment" +#: messages +msgid "alignmentTitle" +msgstr "" + +#. Default: "Allows rich text formatting" +#: messages +msgid "allowRichText" +msgstr "" + +#. Default: "Allowed params" +#: messages +msgid "allowedParamsField" +msgstr "" + +#. Default: "Allowed URL parameters" +#: messages +msgid "allowedURLParams" +msgstr "" + +#. Default: "Autoquery field" +#: messages +msgid "autoqueryFieldTitle" +msgstr "" + +#. Default: "Select block type" +#: messages +msgid "blockTypeField" +msgstr "" + +#. Default: "Block type selected: {type}" +#: components/manage/Blocks/CustomConnectedBlock/View +msgid "blockTypeSelected" +msgstr "" + +#. Default: "Colors" +#: messages +msgid "colorsTitle" +msgstr "" + +#. Default: "Column" +#: messages +msgid "columnTitle" +msgstr "" + +#. Default: "Column value" +#: messages +msgid "columnValueLabel" +msgstr "" + +#. Default: "Leave empty to show all columns" +#: messages +msgid "columnsDescription" +msgstr "" + +#. Default: "Columns" +#: messages +msgid "columnsTitle" +msgstr "" + +#. Default: "Component type" +#: messages +msgid "componentType" +msgstr "" + +#. Default: "Condition value" +#: messages +msgid "conditionValueLabel" +msgstr "" + +#. Default: "Select the country to be displayed." +#: messages +msgid "countryNameDescription" +msgstr "" + +#. Default: "Country name" +#: messages +msgid "countryNameTitle" +msgstr "" + +#. Default: "Data column" +#: messages +msgid "dataColumn" +msgstr "" + +#. Default: "Data column link" +#: messages +msgid "dataColumnLink" +msgstr "" + +#. Default: "Data connected table" +#: messages +msgid "dataConnectedTable" +msgstr "" + +#. Default: "Data provider" +#: messages +msgid "dataProviderTitle" +msgstr "" + +#. Default: "Data query" +#: messages +msgid "dataQuery" +msgstr "" + +#. Default: "Data source" +#: messages +msgid "dataSourceFieldsetTitle" +msgstr "" + +#. Default: "Default" +#: messages +msgid "defaultFieldsetTitle" +msgstr "" + +#. Default: "Description" +#: messages +msgid "descriptionTitle" +msgstr "" + +#. Default: "Divide each row into separate cells" +#: messages +msgid "divideRow" +msgstr "" + +#. Default: "Dropdown items" +#: messages +msgid "dropdownItemsFieldsetTitle" +msgstr "" + +#. Default: "Edit custom connected block" +#: messages +msgid "editCustomBlockTitle" +msgstr "" + +#. Default: "Edit DataQuery Filter" +#: messages +msgid "editDataQueryFilterTitle" +msgstr "" + +#. Default: "Embed URL" +#: messages +msgid "embedUrl" +msgstr "" + +#. Default: "Equal" +#: messages +msgid "equalOperator" +msgstr "" + +#. Default: "External link" +#: messages +msgid "externalLink" +msgstr "" + +#. Default: "Format specifier" +#: messages +msgid "formatSpecifier" +msgstr "" + +#. Default: "Greater than" +#: messages +msgid "greaterThanOperator" +msgstr "" + +#. Default: "Header" +#: messages +msgid "headerTitle" +msgstr "" + +#. Default: "Height" +#: messages +msgid "height" +msgstr "" + +#. Default: "Map height" +#: messages +msgid "heightDescription" +msgstr "" + +#. Default: "HTML tag" +#: messages +msgid "htmlTagTitle" +msgstr "" + +#. Default: "Data-connected embed" +#: messages +msgid "iframeTitle" +msgstr "" + +#. Default: "Includes" +#: messages +msgid "includesOperator" +msgstr "" + +#. Default: "Less than" +#: messages +msgid "lessThanOperator" +msgstr "" + +#. Default: "Link template" +#: messages +msgid "linkTemplate" +msgstr "" + +#. Default: "Make the table compact" +#: messages +msgid "makeTableCompact" +msgstr "" + +#. Default: "Maximum dot count" +#: messages +msgid "maxDotCountTitle" +msgstr "" + +#. Default: "Maximum results" +#: messages +msgid "maxResults" +msgstr "" + +#. Default: "New window" +#: messages +msgid "newWindowChoice" +msgstr "" + +#. Default: "No results" +#: messages +msgid "noResults" +msgstr "" + +#. Default: "Not equal" +#: messages +msgid "notEqualOperator" +msgstr "" + +#. Default: "Not includes" +#: messages +msgid "notIncludesOperator" +msgstr "" + +#. Default: "Operator" +#: messages +msgid "operatorLabel" +msgstr "" + +#. Default: "Pagination" +#: messages +msgid "paginationTitle" +msgstr "" + +#. Default: "Placeholder" +#: messages +msgid "placeholderField" +msgstr "" + +#. Default: "Placeholder value" +#: messages +msgid "placeholderValueTitle" +msgstr "" + +#. Default: "Select a provider from the sidebar" +#: components/manage/Blocks/DataQueryFilter/View +msgid "providerSelection" +msgstr "" + +#. Default: "Select…" #: components/manage/Widgets/DataQueryWidget -# defaultMessage: Select… msgid "querystring-widget-select" msgstr "" + +#. Default: "Criteria" +#: messages +msgid "querystringTitle" +msgstr "" + +#. Default: "Remove table border" +#: messages +msgid "removeTableBorder" +msgstr "" + +#. Default: "Rows" +#: messages +msgid "rowsTitle" +msgstr "" + +#. Default: "Same window" +#: messages +msgid "sameWindowChoice" +msgstr "" + +#. Default: "Please select a block type from sidebar" +#: components/manage/Blocks/CustomConnectedBlock/View +msgid "selectBlockType" +msgstr "" + +#. Default: "Settings" +#: messages +msgid "settingsFieldsetTitle" +msgstr "" + +#. Default: "Enable the dropdown select to navigate to other pages. In the "Dropdown items" section you can set the criterias to filter the items displayed in the dropdown. If no criterias are set, the siblings of the current page are displayed in the dropdown." +#: messages +msgid "showDropdownDescription" +msgstr "" + +#. Default: "Show dropdown" +#: messages +msgid "showDropdownTitle" +msgstr "" + +#. Default: "Enable it to display the flag of the selected country. Disable it to display the preview image of the current page. If the page has no preview image set, it will display nothing." +#: messages +msgid "showFlagDescription" +msgstr "" + +#. Default: "Show country flag" +#: messages +msgid "showFlagTitle" +msgstr "" + +#. Default: "Show header" +#: messages +msgid "showHeader" +msgstr "" + +#. Default: "Enable it to display the name of the selected country. Disable it to display the title of the page." +#: messages +msgid "showNameDescription" +msgstr "" + +#. Default: "Show country name" +#: messages +msgid "showNameTitle" +msgstr "" + +#. Default: "Size data" +#: messages +msgid "sizeDataTitle" +msgstr "" + +#. Default: "Source" +#: messages +msgid "sourceField" +msgstr "" + +#. Default: "Link" +#: messages +msgid "sourceLinkField" +msgstr "" + +#. Default: "Sources" +#: messages +msgid "sourcesField" +msgstr "" + +#. Default: "Stripe alternate rows with color" +#: messages +msgid "stripeRows" +msgstr "" + +#. Default: "Styling" +#: messages +msgid "stylingFieldsetTitle" +msgstr "" + +#. Default: "Template" +#: messages +msgid "templateTitle" +msgstr "" + +#. Default: "Text template" +#: messages +msgid "textTemplate" +msgstr "" + +#. Default: "Section friendly name" +#: messages +msgid "titleDescription" +msgstr "" + +#. Default: "Title" +#: messages +msgid "titleLabel" +msgstr "" + +#. Default: "See D3 format documentation" +#: messages +msgid "tooltipFormatSpecifierDescription" +msgstr "" + +#. Default: "Tool-tip format specifier" +#: messages +msgid "tooltipFormatSpecifierTitle" +msgstr "" + +#. Default: "Add suffix/prefix to text. Use {value} for value placeholder" +#: messages +msgid "tooltipTextTemplateDescription" +msgstr "" + +#. Default: "Tool-tip text template" +#: messages +msgid "tooltipTextTemplateTitle" +msgstr "" diff --git a/locales/volto.pot b/locales/volto.pot index fc90436f..6eee4dd9 100644 --- a/locales/volto.pot +++ b/locales/volto.pot @@ -1,139 +1,574 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2023-08-29T17:34:28.901Z\n" +"POT-Creation-Date: 2025-01-14T10:19:02.915Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" -"MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +"MIME-Version: 1.0\n" "Language-Code: en\n" "Language-Name: English\n" "Preferred-Encodings: utf-8\n" "Domain: volto\n" +#. Default: "Add criteria" #: components/manage/Widgets/DataQueryWidget -# defaultMessage: Add criteria msgid "Add criteria" msgstr "" +#. Default: "Center" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Center msgid "Center" msgstr "" +#. Default: "Choices" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Choices msgid "Choices" msgstr "" +#. Default: "Close" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Close msgid "Close" msgstr "" +#. Default: "Conditional data block" +#: messages +msgid "Conditional data block" +msgstr "" + +#. Default: "Country Flag" +#: messages +msgid "Country Flag" +msgstr "" + +#. Default: "Criteria" #: components/manage/Widgets/DataQueryWidget -# defaultMessage: Criteria msgid "Criteria" msgstr "" +#. Default: "Custom connected block" +#: messages +msgid "Custom connected block" +msgstr "" + +#. Default: "Data Table" +#: messages +msgid "Data Table" +msgstr "" + +#. Default: "Data connected embed" +#: messages +msgid "Data connected embed" +msgstr "" + +#. Default: "DataQuery Filter" +#: messages +msgid "DataQuery Filter" +msgstr "" + +#. Default: "Default" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Default msgid "Default" msgstr "" +#. Default: "Description" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Description msgid "Description" msgstr "" +#. Default: "Dotted Table Chart" +#: messages +msgid "Dotted Table Chart" +msgstr "" + +#. Default: "Embed code error, please follow the instructions and try again." #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Embed code error, please follow the instructions and try again. msgid "Embed code error, please follow the instructions and try again." msgstr "" +#. Default: "Embeded Google Maps" #: components/manage/Blocks/DataConnectedEmbedBlock/View -# defaultMessage: Embeded Google Maps msgid "Embeded Google Maps" msgstr "" +#. Default: "Enter map Embed Code" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Enter map Embed Code msgid "Enter map Embed Code" msgstr "" +#. Default: "Full" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Full msgid "Full" msgstr "" +#. Default: "Google Maps Embedded Block" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Google Maps Embedded Block msgid "Google Maps Embedded Block" msgstr "" +#. Default: "Left" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Left msgid "Left" msgstr "" +#. Default: "No options" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: No options msgid "No options" msgstr "" +#. Default: "No value" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: No value msgid "No value" msgstr "" +#. Default: "Please use the sidebar to add Embed URL." #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Please use the sidebar to add Embed URL. msgid "Please use the sidebar to add Embed URL" msgstr "" +#. Default: "Choices" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Choices msgid "Provider Choices" msgstr "" +#. Default: "Required" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Required msgid "Required" msgstr "" +#. Default: "Right" #: components/manage/Blocks/DataConnectedEmbedBlock/Edit -# defaultMessage: Right msgid "Right" msgstr "" +#. Default: "Select provider" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Select provider msgid "Select provider" msgstr "" +#. Default: "Select…" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Select… msgid "Select…" msgstr "" +#. Default: "Short Name" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Short Name msgid "Short Name" msgstr "" +#. Default: "Title" #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Title msgid "Title" msgstr "" +#. Default: "Used for programmatic access to the fieldset." #: components/manage/Widgets/SelectProviderPickWidget -# defaultMessage: Used for programmatic access to the fieldset. msgid "Used for programmatic access to the fieldset." msgstr "" +#. Default: "Alignment" +#: messages +msgid "alignmentTitle" +msgstr "" + +#. Default: "Allows rich text formatting" +#: messages +msgid "allowRichText" +msgstr "" + +#. Default: "Allowed params" +#: messages +msgid "allowedParamsField" +msgstr "" + +#. Default: "Allowed URL parameters" +#: messages +msgid "allowedURLParams" +msgstr "" + +#. Default: "Autoquery field" +#: messages +msgid "autoqueryFieldTitle" +msgstr "" + +#. Default: "Select block type" +#: messages +msgid "blockTypeField" +msgstr "" + +#. Default: "Block type selected: {type}" +#: components/manage/Blocks/CustomConnectedBlock/View +msgid "blockTypeSelected" +msgstr "" + +#. Default: "Colors" +#: messages +msgid "colorsTitle" +msgstr "" + +#. Default: "Column" +#: messages +msgid "columnTitle" +msgstr "" + +#. Default: "Column value" +#: messages +msgid "columnValueLabel" +msgstr "" + +#. Default: "Leave empty to show all columns" +#: messages +msgid "columnsDescription" +msgstr "" + +#. Default: "Columns" +#: messages +msgid "columnsTitle" +msgstr "" + +#. Default: "Component type" +#: messages +msgid "componentType" +msgstr "" + +#. Default: "Condition value" +#: messages +msgid "conditionValueLabel" +msgstr "" + +#. Default: "Select the country to be displayed." +#: messages +msgid "countryNameDescription" +msgstr "" + +#. Default: "Country name" +#: messages +msgid "countryNameTitle" +msgstr "" + +#. Default: "Data column" +#: messages +msgid "dataColumn" +msgstr "" + +#. Default: "Data column link" +#: messages +msgid "dataColumnLink" +msgstr "" + +#. Default: "Data connected table" +#: messages +msgid "dataConnectedTable" +msgstr "" + +#. Default: "Data provider" +#: messages +msgid "dataProviderTitle" +msgstr "" + +#. Default: "Data query" +#: messages +msgid "dataQuery" +msgstr "" + +#. Default: "Data source" +#: messages +msgid "dataSourceFieldsetTitle" +msgstr "" + +#. Default: "Default" +#: messages +msgid "defaultFieldsetTitle" +msgstr "" + +#. Default: "Description" +#: messages +msgid "descriptionTitle" +msgstr "" + +#. Default: "Divide each row into separate cells" +#: messages +msgid "divideRow" +msgstr "" + +#. Default: "Dropdown items" +#: messages +msgid "dropdownItemsFieldsetTitle" +msgstr "" + +#. Default: "Edit custom connected block" +#: messages +msgid "editCustomBlockTitle" +msgstr "" + +#. Default: "Edit DataQuery Filter" +#: messages +msgid "editDataQueryFilterTitle" +msgstr "" + +#. Default: "Embed URL" +#: messages +msgid "embedUrl" +msgstr "" + +#. Default: "Equal" +#: messages +msgid "equalOperator" +msgstr "" + +#. Default: "External link" +#: messages +msgid "externalLink" +msgstr "" + +#. Default: "Format specifier" +#: messages +msgid "formatSpecifier" +msgstr "" + +#. Default: "Greater than" +#: messages +msgid "greaterThanOperator" +msgstr "" + +#. Default: "Header" +#: messages +msgid "headerTitle" +msgstr "" + +#. Default: "Height" +#: messages +msgid "height" +msgstr "" + +#. Default: "Map height" +#: messages +msgid "heightDescription" +msgstr "" + +#. Default: "HTML tag" +#: messages +msgid "htmlTagTitle" +msgstr "" + +#. Default: "Data-connected embed" +#: messages +msgid "iframeTitle" +msgstr "" + +#. Default: "Includes" +#: messages +msgid "includesOperator" +msgstr "" + +#. Default: "Less than" +#: messages +msgid "lessThanOperator" +msgstr "" + +#. Default: "Link template" +#: messages +msgid "linkTemplate" +msgstr "" + +#. Default: "Make the table compact" +#: messages +msgid "makeTableCompact" +msgstr "" + +#. Default: "Maximum dot count" +#: messages +msgid "maxDotCountTitle" +msgstr "" + +#. Default: "Maximum results" +#: messages +msgid "maxResults" +msgstr "" + +#. Default: "New window" +#: messages +msgid "newWindowChoice" +msgstr "" + +#. Default: "No results" +#: messages +msgid "noResults" +msgstr "" + +#. Default: "Not equal" +#: messages +msgid "notEqualOperator" +msgstr "" + +#. Default: "Not includes" +#: messages +msgid "notIncludesOperator" +msgstr "" + +#. Default: "Operator" +#: messages +msgid "operatorLabel" +msgstr "" + +#. Default: "Pagination" +#: messages +msgid "paginationTitle" +msgstr "" + +#. Default: "Placeholder" +#: messages +msgid "placeholderField" +msgstr "" + +#. Default: "Placeholder value" +#: messages +msgid "placeholderValueTitle" +msgstr "" + +#. Default: "Select a provider from the sidebar" +#: components/manage/Blocks/DataQueryFilter/View +msgid "providerSelection" +msgstr "" + +#. Default: "Select…" #: components/manage/Widgets/DataQueryWidget -# defaultMessage: Select… msgid "querystring-widget-select" msgstr "" + +#. Default: "Criteria" +#: messages +msgid "querystringTitle" +msgstr "" + +#. Default: "Remove table border" +#: messages +msgid "removeTableBorder" +msgstr "" + +#. Default: "Rows" +#: messages +msgid "rowsTitle" +msgstr "" + +#. Default: "Same window" +#: messages +msgid "sameWindowChoice" +msgstr "" + +#. Default: "Please select a block type from sidebar" +#: components/manage/Blocks/CustomConnectedBlock/View +msgid "selectBlockType" +msgstr "" + +#. Default: "Settings" +#: messages +msgid "settingsFieldsetTitle" +msgstr "" + +#. Default: "Enable the dropdown select to navigate to other pages. In the "Dropdown items" section you can set the criterias to filter the items displayed in the dropdown. If no criterias are set, the siblings of the current page are displayed in the dropdown." +#: messages +msgid "showDropdownDescription" +msgstr "" + +#. Default: "Show dropdown" +#: messages +msgid "showDropdownTitle" +msgstr "" + +#. Default: "Enable it to display the flag of the selected country. Disable it to display the preview image of the current page. If the page has no preview image set, it will display nothing." +#: messages +msgid "showFlagDescription" +msgstr "" + +#. Default: "Show country flag" +#: messages +msgid "showFlagTitle" +msgstr "" + +#. Default: "Show header" +#: messages +msgid "showHeader" +msgstr "" + +#. Default: "Enable it to display the name of the selected country. Disable it to display the title of the page." +#: messages +msgid "showNameDescription" +msgstr "" + +#. Default: "Show country name" +#: messages +msgid "showNameTitle" +msgstr "" + +#. Default: "Size data" +#: messages +msgid "sizeDataTitle" +msgstr "" + +#. Default: "Source" +#: messages +msgid "sourceField" +msgstr "" + +#. Default: "Link" +#: messages +msgid "sourceLinkField" +msgstr "" + +#. Default: "Sources" +#: messages +msgid "sourcesField" +msgstr "" + +#. Default: "Stripe alternate rows with color" +#: messages +msgid "stripeRows" +msgstr "" + +#. Default: "Styling" +#: messages +msgid "stylingFieldsetTitle" +msgstr "" + +#. Default: "Template" +#: messages +msgid "templateTitle" +msgstr "" + +#. Default: "Text template" +#: messages +msgid "textTemplate" +msgstr "" + +#. Default: "Section friendly name" +#: messages +msgid "titleDescription" +msgstr "" + +#. Default: "Title" +#: messages +msgid "titleLabel" +msgstr "" + +#. Default: "See D3 format documentation" +#: messages +msgid "tooltipFormatSpecifierDescription" +msgstr "" + +#. Default: "Tool-tip format specifier" +#: messages +msgid "tooltipFormatSpecifierTitle" +msgstr "" + +#. Default: "Add suffix/prefix to text. Use {value} for value placeholder" +#: messages +msgid "tooltipTextTemplateDescription" +msgstr "" + +#. Default: "Tool-tip text template" +#: messages +msgid "tooltipTextTemplateTitle" +msgstr "" diff --git a/package.json b/package.json index 2dcf3e0f..543cc697 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "devDependencies": { "@cypress/code-coverage": "^3.10.0", "@plone/scripts": "*", + "@plone/registry": "*", "babel-plugin-transform-class-properties": "^6.24.1", "cypress": "13.1.0", "cypress-fail-fast": "^5.0.1", diff --git a/src/components/manage/Blocks/ConditionalDataBlock/Edit.jsx b/src/components/manage/Blocks/ConditionalDataBlock/Edit.jsx index 9e5361ee..e76044e4 100644 --- a/src/components/manage/Blocks/ConditionalDataBlock/Edit.jsx +++ b/src/components/manage/Blocks/ConditionalDataBlock/Edit.jsx @@ -29,9 +29,10 @@ const Edit = (props) => { selected, manage, provider_data = {}, + intl, } = props; - const schema = tweakSchema(ConditionalDataBlockSchema(), provider_data); + const schema = tweakSchema(ConditionalDataBlockSchema(intl), provider_data); const data_blocks = data?.data?.blocks; const metadata = props.metadata || props.properties; const properties = isEmpty(data_blocks) ? emptyBlocksForm() : data.data; @@ -63,7 +64,7 @@ const Edit = (props) => { }} aria-hidden="true" > - {data.title || 'Conditional block'} + {data.title || schema.title} ({ - title: 'Conditional data block', +import messages from '@eeacms/volto-datablocks/messages'; + +export const ConditionalDataBlockSchema = (intl) => ({ + title: intl.formatMessage(messages.conditionalDataBlockTitle), fieldsets: [ { id: 'default', - title: 'Default', + title: intl.formatMessage(messages.defaultFieldsetTitle), fields: ['title', 'provider_url', 'column_data', 'operator', 'condition'], }, ], properties: { title: { - title: 'Title', - description: 'Section friendly name', + title: intl.formatMessage(messages.titleLabel), + description: intl.formatMessage(messages.titleDescription), type: 'string', }, provider_url: { widget: 'internal_url', - title: 'Data provider', + title: intl.formatMessage(messages.dataProviderTitle), }, column_data: { - title: 'Column value', + title: intl.formatMessage(messages.columnValueLabel), choices: [], }, operator: { - title: 'Operator', + title: intl.formatMessage(messages.operatorLabel), choices: [ - ['=', 'Equal'], - ['!=', 'Not equal'], - ['in', 'Includes'], - ['not in', 'Not includes'], - ['>', 'Greater than'], - ['<', 'Less than'], + ['=', intl.formatMessage(messages.equalOperator)], + ['!=', intl.formatMessage(messages.notEqualOperator)], + ['in', intl.formatMessage(messages.includesOperator)], + ['not in', intl.formatMessage(messages.notIncludesOperator)], + ['>', intl.formatMessage(messages.greaterThanOperator)], + ['<', intl.formatMessage(messages.lessThanOperator)], ], }, condition: { - title: 'Condition value', + title: intl.formatMessage(messages.conditionValueLabel), widget: 'textarea', }, }, diff --git a/src/components/manage/Blocks/CountryFlag/Edit.jsx b/src/components/manage/Blocks/CountryFlag/Edit.jsx index caa36b6b..9a92dc4f 100644 --- a/src/components/manage/Blocks/CountryFlag/Edit.jsx +++ b/src/components/manage/Blocks/CountryFlag/Edit.jsx @@ -10,7 +10,8 @@ import './styles.less'; class Edit extends Component { getSchema = () => { - const schema = CountryFlagSchema(); + const { intl } = this.props; + const schema = CountryFlagSchema(intl); schema.properties.country_name.choices = Object.keys(countryNames).map( (k) => [k, countryNames[k]], ); diff --git a/src/components/manage/Blocks/CountryFlag/schema.js b/src/components/manage/Blocks/CountryFlag/schema.js index 68fa4d23..e7d5c81f 100644 --- a/src/components/manage/Blocks/CountryFlag/schema.js +++ b/src/components/manage/Blocks/CountryFlag/schema.js @@ -1,54 +1,53 @@ -const CountryFlagSchema = () => { +import messages from '@eeacms/volto-datablocks/messages'; + +const CountryFlagSchema = (intl) => { return { - title: 'Country Flag', + title: intl.formatMessage(messages.countryFlagTitle), fieldsets: [ { id: 'default', - title: 'Default', + title: intl.formatMessage(messages.defaultFieldsetTitle), fields: ['country_name'], }, { id: 'settings', - title: 'Settings', - fields: ['show_name', 'show_flag', 'show_dropdown', 'render_as'], // title + title: intl.formatMessage(messages.settingsFieldsetTitle), + fields: ['show_name', 'show_flag', 'show_dropdown', 'render_as'], }, { id: 'dropdownItems', - title: 'Dropdown items', + title: intl.formatMessage(messages.dropdownItemsFieldsetTitle), fields: ['querystring'], }, ], properties: { country_name: { - title: 'Country name', - description: 'Select the country to be displayed.', + title: intl.formatMessage(messages.countryNameTitle), + description: intl.formatMessage(messages.countryNameDescription), choices: [], }, render_as: { - title: 'HTML tag', + title: intl.formatMessage(messages.htmlTagTitle), }, show_name: { - title: 'Show country name', - description: - 'Enable it to display the name of the selected country. Disable it to display the title of the page.', + title: intl.formatMessage(messages.showNameTitle), + description: intl.formatMessage(messages.showNameDescription), type: 'boolean', }, show_flag: { - title: 'Show country flag', - description: - 'Enable it to display the flag of the selected country. Disable it to display the preview image of the current page. If the page has no preview image set, it will display nothing.', + title: intl.formatMessage(messages.showFlagTitle), + description: intl.formatMessage(messages.showFlagDescription), type: 'boolean', }, show_dropdown: { - title: 'Show dropdown', - description: - 'Enable the dropdown select to navigate to other pages. In the "Dropdown items" section you can set the criterias to filter the items displayed in the dropdown. If no criterias are set, the siblings of the current page are displayed in the dropdown.', + title: intl.formatMessage(messages.showDropdownTitle), + description: intl.formatMessage(messages.showDropdownDescription), type: 'boolean', }, querystring: { - title: 'Criteria', + title: intl.formatMessage(messages.querystringTitle), widget: 'querystring', }, }, diff --git a/src/components/manage/Blocks/CustomConnectedBlock/Edit.jsx b/src/components/manage/Blocks/CustomConnectedBlock/Edit.jsx index 2197df04..2cceb626 100644 --- a/src/components/manage/Blocks/CustomConnectedBlock/Edit.jsx +++ b/src/components/manage/Blocks/CustomConnectedBlock/Edit.jsx @@ -8,13 +8,20 @@ import { connectToProviderData } from '@eeacms/volto-datablocks/hocs'; import getSchema from './schema'; import { View } from './View'; import './style.less'; +import { useIntl } from 'react-intl'; const Edit = (props) => { const type = props.data.type; const blockSchema = config.blocks.blocksConfig.custom_connected_block.blocks?.[type] ?.getSchema || null; - const schemaObject = getSchema(props, config, blockSchema?.(props, config)); + const intl = useIntl(); + const schemaObject = getSchema( + props, + config, + blockSchema?.(props, config), + intl, + ); const blockTitle = config.blocks.blocksConfig.custom_connected_block.blocks?.[type]?.title || 'Custom connected block'; diff --git a/src/components/manage/Blocks/CustomConnectedBlock/View.jsx b/src/components/manage/Blocks/CustomConnectedBlock/View.jsx index 2ce0e2e1..d4f649f7 100644 --- a/src/components/manage/Blocks/CustomConnectedBlock/View.jsx +++ b/src/components/manage/Blocks/CustomConnectedBlock/View.jsx @@ -5,13 +5,29 @@ import config from '@plone/volto/registry'; import { VisibilitySensor } from '@eeacms/volto-datablocks/components'; import { connectToProviderData } from '@eeacms/volto-datablocks/hocs'; import './style.less'; +import { defineMessages } from 'react-intl'; + +const messages = defineMessages({ + selectBlockType: { + id: 'selectBlockType', + defaultMessage: 'Please select a block type from sidebar', + }, + blockTypeSelected: { + id: 'blockTypeSelected', + defaultMessage: 'Block type selected: {type}', + }, +}); const DefaultView = (props) => ( <> {props.mode === 'edit' && !props.data.type ? ( -

Please select a block type from sidebar

+

{props.intl.formatMessage(messages.selectBlockType)}

) : props.mode === 'edit' && props.data.type ? ( -

Block type selected: {props.data.type}

+

+ {props.intl.formatMessage(messages.blockTypeSelected, { + type: props.data.type, + })} +

) : ( '' )} diff --git a/src/components/manage/Blocks/CustomConnectedBlock/schema.js b/src/components/manage/Blocks/CustomConnectedBlock/schema.js index 0e572963..3fc87aa6 100644 --- a/src/components/manage/Blocks/CustomConnectedBlock/schema.js +++ b/src/components/manage/Blocks/CustomConnectedBlock/schema.js @@ -1,10 +1,12 @@ -const SourceSchema = { - title: 'Source', +import messages from '@eeacms/volto-datablocks/messages'; + +const SourceSchema = (intl) => ({ + title: intl.formatMessage(messages.source), fieldsets: [ { id: 'default', - title: 'Default', + title: intl.formatMessage(messages.defaultFieldsetTitle), fields: ['source', 'source_link'], }, ], @@ -12,18 +14,18 @@ const SourceSchema = { properties: { source: { type: 'string', - title: 'Source', + title: intl.formatMessage(messages.source), }, source_link: { type: 'string', - title: 'Link', + title: intl.formatMessage(messages.sourceLink), }, }, required: ['source'], -}; +}); -const getSchema = (props, config, templateSchema = {}) => { +const getSchema = (props, config, templateSchema = {}, intl) => { const blocksConfig = config.blocks.blocksConfig.custom_connected_block?.blocks || {}; const blocks = Object.keys(blocksConfig).map((block) => [ @@ -36,11 +38,11 @@ const getSchema = (props, config, templateSchema = {}) => { )[0] || {}; return { - title: templateSchema.title || 'Edit custom connected block', + title: intl.formatMessage(messages.editCustomBlockTitle), fieldsets: [ { id: 'default', - title: 'Default', + title: intl.formatMessage(messages.defaultFieldsetTitle), fields: [ 'provider_url', 'allowedParams', @@ -54,18 +56,18 @@ const getSchema = (props, config, templateSchema = {}) => { ) || []), { id: 'sources', - title: 'Sources', + title: intl.formatMessage(messages.sources), fields: ['sources'], }, ], properties: { provider_url: { - title: 'Data provider', + title: intl.formatMessage(messages.dataProviderTitle), widget: 'internal_url', }, allowedParams: { - title: 'Allowed params', + title: intl.formatMessage(messages.allowedParams), type: 'array', creatable: true, items: { @@ -73,18 +75,18 @@ const getSchema = (props, config, templateSchema = {}) => { }, }, placeholder: { - title: 'Placeholder', + title: intl.formatMessage(messages.placeholder), widget: 'textarea', }, type: { - title: 'Select block type', + title: intl.formatMessage(messages.blockType), type: 'array', choices: [...blocks], }, sources: { widget: 'object_list', - title: 'Sources', - schema: SourceSchema, + title: intl.formatMessage(messages.sources), + schema: SourceSchema(intl), }, ...(templateSchema.properties || {}), }, diff --git a/src/components/manage/Blocks/DataConnectedEmbedBlock/Edit.jsx b/src/components/manage/Blocks/DataConnectedEmbedBlock/Edit.jsx index 014a4bdd..bbd296a1 100644 --- a/src/components/manage/Blocks/DataConnectedEmbedBlock/Edit.jsx +++ b/src/components/manage/Blocks/DataConnectedEmbedBlock/Edit.jsx @@ -218,7 +218,10 @@ class Edit extends Component { )} { this.props.onChangeBlock(this.props.block, { diff --git a/src/components/manage/Blocks/DataConnectedEmbedBlock/schema.jsx b/src/components/manage/Blocks/DataConnectedEmbedBlock/schema.jsx index 9fa7660d..1eaf65f0 100644 --- a/src/components/manage/Blocks/DataConnectedEmbedBlock/schema.jsx +++ b/src/components/manage/Blocks/DataConnectedEmbedBlock/schema.jsx @@ -1,32 +1,34 @@ -const IframeSchema = { - title: 'Data-connected embed', +import messages from '@eeacms/volto-datablocks/messages'; + +const IframeSchema = (intl) => ({ + title: intl.formatMessage(messages.iframeTitle), fieldsets: [ { id: 'default', - title: 'Default', + title: intl.formatMessage(messages.defaultFieldsetTitle), fields: ['url', 'align', 'height'], }, ], properties: { url: { - title: 'Embed URL', + title: intl.formatMessage(messages.embedUrl), }, align: { - title: 'Alignment', + title: intl.formatMessage(messages.alignmentTitle), widget: 'align', type: 'string', }, height: { - title: 'Height', - description: 'Map height', + title: intl.formatMessage(messages.height), + description: intl.formatMessage(messages.heightDescription), type: 'integer', default: 200, }, }, required: ['url'], -}; +}); export default IframeSchema; diff --git a/src/components/manage/Blocks/DataQueryFilter/Edit.jsx b/src/components/manage/Blocks/DataQueryFilter/Edit.jsx index aa24befc..2a88f2c3 100644 --- a/src/components/manage/Blocks/DataQueryFilter/Edit.jsx +++ b/src/components/manage/Blocks/DataQueryFilter/Edit.jsx @@ -47,7 +47,7 @@ const Edit = (props) => { { onChangeBlock(block, { diff --git a/src/components/manage/Blocks/DataQueryFilter/View.jsx b/src/components/manage/Blocks/DataQueryFilter/View.jsx index 0b234127..2d3fffb6 100644 --- a/src/components/manage/Blocks/DataQueryFilter/View.jsx +++ b/src/components/manage/Blocks/DataQueryFilter/View.jsx @@ -11,13 +11,22 @@ import { setConnectedDataParameters, deleteConnectedDataParameters, } from '@eeacms/volto-datablocks/actions'; +import { defineMessages, useIntl } from 'react-intl'; const Select = loadable(() => import('react-select')); +const messages = defineMessages({ + providerSelection: { + id: 'providerSelection', + defaultMessage: 'Select a provider from the sidebar', + }, +}); + const View = (props) => { const { data = {}, id } = props; const { select_field, options, placeholder } = data; const provider_url = props.data?.provider_url || ''; + const intl = useIntl(); useEffect(() => { return () => { @@ -30,7 +39,7 @@ const View = (props) => { }, []); if (!provider_url && props.mode === 'edit') - return
Select a provider from the sidebar
; + return
{intl.formatMessage(messages.providerSelection)}
; const value = props.connected_data_parameters.byProviderPath[provider_url]?.[ diff --git a/src/components/manage/Blocks/DataQueryFilter/schema.js b/src/components/manage/Blocks/DataQueryFilter/schema.js index 7b766d3e..5bf4a1e2 100644 --- a/src/components/manage/Blocks/DataQueryFilter/schema.js +++ b/src/components/manage/Blocks/DataQueryFilter/schema.js @@ -1,34 +1,36 @@ -const Schema = { - title: 'Edit DataQuery Filter', +import messages from '@eeacms/volto-datablocks/messages'; + +const Schema = (intl) => ({ + title: intl.formatMessage(messages.editDataQueryFilterTitle), fieldsets: [ { id: 'default', - title: 'Default', + title: intl.formatMessage(messages.defaultFieldsetTitle), fields: ['placeholder', 'provider_url', 'align', 'select_field'], }, ], properties: { placeholder: { - title: 'Placeholder value', + title: intl.formatMessage(messages.placeholderValueTitle), }, provider_url: { widget: 'internal_url', - title: 'Data provider', + title: intl.formatMessage(messages.dataProviderTitle), }, align: { - title: 'Alignment', + title: intl.formatMessage(messages.alignmentTitle), widget: 'align', type: 'string', }, select_field: { - title: 'Autoquery field', + title: intl.formatMessage(messages.autoqueryFieldTitle), choices: [], }, }, required: ['provider_url'], -}; +}); export default Schema; diff --git a/src/components/manage/Blocks/DottedTableChart/Edit.jsx b/src/components/manage/Blocks/DottedTableChart/Edit.jsx index 227d5329..216bb679 100644 --- a/src/components/manage/Blocks/DottedTableChart/Edit.jsx +++ b/src/components/manage/Blocks/DottedTableChart/Edit.jsx @@ -10,7 +10,7 @@ import { DEFAULT_MAX_DOT_COUNT } from './constants'; class DottedTableChartEdit extends React.Component { getSchema = () => { const provider_data = this.props.provider_data || {}; - const schema = DottedTableChartSchema(); + const schema = DottedTableChartSchema(this.props.intl); const choices = Object.keys(provider_data) .sort((a, b) => a - b) diff --git a/src/components/manage/Blocks/DottedTableChart/schema.js b/src/components/manage/Blocks/DottedTableChart/schema.js index a68866e5..5e6fe84f 100644 --- a/src/components/manage/Blocks/DottedTableChart/schema.js +++ b/src/components/manage/Blocks/DottedTableChart/schema.js @@ -1,18 +1,19 @@ import React from 'react'; import config from '@plone/volto/registry'; +import messages from '@eeacms/volto-datablocks/messages'; -export const DottedTableChartSchema = () => ({ - title: 'Dotted Table Chart', +export const DottedTableChartSchema = (intl) => ({ + title: intl.formatMessage(messages.dottedTableChartTitle), fieldsets: [ { id: 'default', - title: 'Default', + title: intl.formatMessage(messages.defaultFieldsetTitle), fields: ['description'], // title, 'underline' }, { id: 'source', - title: 'Data source', + title: intl.formatMessage(messages.dataSourceFieldsetTitle), fields: [ 'provider_url', 'column_data', @@ -25,38 +26,38 @@ export const DottedTableChartSchema = () => ({ }, { id: 'styling', - title: 'Styling', + title: intl.formatMessage(messages.stylingFieldsetTitle), fields: ['row_colors'], }, ], properties: { description: { - title: 'Description', + title: intl.formatMessage(messages.descriptionTitle), widget: 'slate_richtext', }, provider_url: { widget: 'internal_url', - title: 'Data provider', + title: intl.formatMessage(messages.dataProviderTitle), }, max_dot_count: { - title: 'Maximum dot count', + title: intl.formatMessage(messages.maxDotCountTitle), widget: 'number', }, column_data: { - title: 'Columns', + title: intl.formatMessage(messages.columnsTitle), choices: [], }, row_data: { - title: 'Rows', + title: intl.formatMessage(messages.rowsTitle), choices: [], }, size_data: { - title: 'Size data', + title: intl.formatMessage(messages.sizeDataTitle), choices: [], }, row_colors: { - title: 'Colors', + title: intl.formatMessage(messages.colorsTitle), widget: 'option_mapping', field_props: { widget: 'simple_color', @@ -65,10 +66,10 @@ export const DottedTableChartSchema = () => ({ options: [], }, specifier: { - title: 'Tool-tip format specifier', + title: intl.formatMessage(messages.tooltipFormatSpecifierTitle), description: ( <> - See{' '} + {intl.formatMessage(messages.tooltipFormatSpecifierDescription)}{' '} ({ ), }, text_template: { - title: 'Tool-tip text template', - description: 'Add suffix/prefix to text. Use {} for value placeholder', + title: intl.formatMessage(messages.tooltipTextTemplateTitle), + description: intl.formatMessage(messages.tooltipTextTemplateDescription), }, }, diff --git a/src/components/manage/Blocks/SimpleDataTable/Edit.jsx b/src/components/manage/Blocks/SimpleDataTable/Edit.jsx index b3e89be3..feb2e9c9 100644 --- a/src/components/manage/Blocks/SimpleDataTable/Edit.jsx +++ b/src/components/manage/Blocks/SimpleDataTable/Edit.jsx @@ -60,6 +60,7 @@ class Edit extends Component { typeof templateSchema === 'function' ? templateSchema(config) : templateSchema, + this.props.intl, ); // TODO: create picker for columns to include diff --git a/src/components/manage/Blocks/SimpleDataTable/View.jsx b/src/components/manage/Blocks/SimpleDataTable/View.jsx index 42e3e556..fd11d93b 100644 --- a/src/components/manage/Blocks/SimpleDataTable/View.jsx +++ b/src/components/manage/Blocks/SimpleDataTable/View.jsx @@ -8,6 +8,9 @@ import './styles.less'; import { serializeNodes } from '@plone/volto-slate/editor/render'; import { isArray } from 'lodash'; +import messages from '@eeacms/volto-datablocks/messages'; +import { injectIntl } from 'react-intl'; + export const serializeText = (text) => { return isArray(text) ? serializeNodes(text) : text; }; @@ -47,7 +50,7 @@ const SimpleDataTableView = (props) => { description, has_pagination = false, max_count = 5, - placeholder = 'No results', + placeholder = props.intl.formatMessage(messages.noResults), show_header = false, template = 'default', } = data; @@ -129,4 +132,4 @@ const View = (props) => { ); }; -export default View; +export default injectIntl(View); diff --git a/src/components/manage/Blocks/SimpleDataTable/schema.js b/src/components/manage/Blocks/SimpleDataTable/schema.js index a3b3d5d3..4f68ddc4 100644 --- a/src/components/manage/Blocks/SimpleDataTable/schema.js +++ b/src/components/manage/Blocks/SimpleDataTable/schema.js @@ -1,11 +1,12 @@ import React from 'react'; +import messages from '@eeacms/volto-datablocks/messages'; -const columnSchema = { - title: 'Column', +const columnSchema = (intl) => ({ + title: intl.formatMessage(messages.columnTitle), fieldsets: [ { id: 'default', - title: 'Default', + title: intl.formatMessage(messages.defaultFieldsetTitle), fields: [ 'column', 'title', @@ -20,10 +21,10 @@ const columnSchema = { ], properties: { title: { - title: 'Header', + title: intl.formatMessage(messages.headerTitle), }, component: { - title: 'Component type', + title: intl.formatMessage(messages.componentType), choices: [ ['text', 'Text'], ['link', 'Link'], @@ -33,23 +34,23 @@ const columnSchema = { target: { title: 'Target', choices: [ - ['_blank', 'New window'], - ['_self', 'Same window'], + ['_blank', intl.formatMessage(messages.newWindowChoice)], + ['_self', intl.formatMessage(messages.sameWindowChoice)], ], }, external: { - title: 'External link', + title: intl.formatMessage(messages.externalLink), type: 'boolean', }, linkTemplate: { - title: 'Link template', - description: 'Add suffix/prefix to text. Use {} for value placeholder', + title: intl.formatMessage(messages.linkTemplate), + description: intl.formatMessage(messages.tooltipTextTemplateDescription), }, render_as: { title: 'HTML tag', }, specifier: { - title: 'Format specifier', + title: intl.formatMessage(messages.formatSpecifier), description: ( <> See{' '} @@ -64,36 +65,36 @@ const columnSchema = { ), }, textTemplate: { - title: 'Text template', - description: 'Add suffix/prefix to text. Use {} for value placeholder', + title: intl.formatMessage(messages.textTemplate), + description: intl.formatMessage(messages.tooltipTextTemplateDescription), }, placeholder: { - title: 'Placeholder', + title: intl.formatMessage(messages.placeholder), }, textAlign: { - title: 'Align', + title: intl.formatMessage(messages.alignmentTitle), widget: 'align', type: 'string', }, column: { - title: 'Data column', + title: intl.formatMessage(messages.dataColumn), choices: [], }, column_link: { - title: 'Data column link', + title: intl.formatMessage(messages.dataColumnLink), choices: [], }, }, required: ['column'], -}; +}); -const getColumnSchema = (schema, child) => { +const getColumnSchema = (schema, child, intl) => { return { - ...columnSchema, + ...columnSchema(intl), fieldsets: [ { id: 'default', - title: 'Default', + title: intl.formatMessage(messages.defaultFieldsetTitle), fields: [ 'column', ...(child?.component === 'link' ? ['column_link'] : []), @@ -113,7 +114,7 @@ const getColumnSchema = (schema, child) => { }; }; -export const SimpleDataTableSchema = (config, templateSchema = {}) => { +export const SimpleDataTableSchema = (config, templateSchema = {}, intl) => { const templatesConfig = config.blocks.blocksConfig.simpleDataConnectedTable.templates; @@ -126,12 +127,12 @@ export const SimpleDataTableSchema = (config, templateSchema = {}) => { })[0]; return { - title: 'DataConnected Table', + title: intl.formatMessage(messages.dataConnectedTable), fieldsets: [ { id: 'default', - title: 'Default', + title: intl.formatMessage(messages.defaultFieldsetTitle), fields: [ 'description', 'placeholder', @@ -141,17 +142,17 @@ export const SimpleDataTableSchema = (config, templateSchema = {}) => { }, { id: 'source', - title: 'Data source', + title: intl.formatMessage(messages.dataSourceFieldsetTitle), fields: ['provider_url', 'allowedParams', 'max_count', 'columns'], }, { id: 'data_query', - title: 'Data query', + title: intl.formatMessage(messages.dataQuery), fields: ['data_query'], }, { id: 'styling', - title: 'Styling', + title: intl.formatMessage(messages.stylingFieldsetTitle), fields: [ 'has_pagination', 'show_header', @@ -172,23 +173,23 @@ export const SimpleDataTableSchema = (config, templateSchema = {}) => { // widget: 'multi_select', // }, columns: { - title: 'Columns', - description: 'Leave empty to show all columns', - schema: columnSchema, - schemaExtender: (schema, child) => getColumnSchema(schema, child), + title: intl.formatMessage(messages.columnsTitle), + description: intl.formatMessage(messages.columnsDescription), + schema: columnSchema(intl), + schemaExtender: (schema, child) => getColumnSchema(schema, child, intl), widget: 'object_list', }, description: { - title: 'Description', + title: intl.formatMessage(messages.descriptionTitle), widget: 'slate_richtext', - description: 'Allows rich text formatting', + description: intl.formatMessage(messages.allowRichText), }, provider_url: { - title: 'Data provider', + title: intl.formatMessage(messages.dataProviderTitle), widget: 'internal_url', }, allowedParams: { - title: 'Allowed url params', + title: intl.formatMessage(messages.allowedURLParams), type: 'array', creatable: true, items: { @@ -196,47 +197,47 @@ export const SimpleDataTableSchema = (config, templateSchema = {}) => { }, }, data_query: { - title: 'Data query', + title: intl.formatMessage(messages.dataQuery), widget: 'data_query', }, max_count: { - title: 'Max results', + title: intl.formatMessage(messages.maxResults), widget: 'number', defaultValue: 5, }, placeholder: { - title: 'Placeholder', + title: intl.formatMessage(messages.placeholder), widget: 'textarea', - default: 'No results', + default: intl.formatMessage(messages.noResults), }, template: { - title: 'Template', + title: intl.formatMessage(messages.templateTitle), choices: [...templates], default: 'default', }, has_pagination: { - title: 'Pagination', + title: intl.formatMessage(messages.paginationTitle), type: 'boolean', default: false, }, show_header: { - title: 'Show header', + title: intl.formatMessage(messages.showHeader), type: 'boolean', }, striped: { - title: 'Stripe alternate rows with color', + title: intl.formatMessage(messages.stripeRows), type: 'boolean', }, bordered: { - title: 'Remove table border', + title: intl.formatMessage(messages.removeTableBorder), type: 'boolean', }, compact_table: { - title: 'Make the table compact', + title: intl.formatMessage(messages.makeTableCompact), type: 'boolean', }, celled: { - title: 'Divide each row into separate cells', + title: intl.formatMessage(messages.divideRow), type: 'boolean', }, ...(templateSchema.properties || {}), diff --git a/src/components/manage/Blocks/SourcesBlock/Edit.jsx b/src/components/manage/Blocks/SourcesBlock/Edit.jsx index f5b6f13f..c4c84c66 100644 --- a/src/components/manage/Blocks/SourcesBlock/Edit.jsx +++ b/src/components/manage/Blocks/SourcesBlock/Edit.jsx @@ -31,7 +31,7 @@ const SourceEdit = ({ data, onChangeBlock, block }) => { {data.chartSources && data.chartSources.length ? data.chartSources.map((item, index) => ( - +