Skip to content

Commit

Permalink
Remove unused i18n message (#6230)
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli authored Aug 2, 2024
1 parent bca10ea commit 9e312ed
Show file tree
Hide file tree
Showing 20 changed files with 6 additions and 101 deletions.
2 changes: 1 addition & 1 deletion packages/volto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ deployment-acceptance-test: ## Start Cypress in interactive mode for tests in de

.PHONY: deployment-acceptance-web-server-start
deployment-acceptance-web-server-start: ## Start the reverse proxy (Traefik) in port 80 for deployment
cd cypress/docker && docker-compose -f seamless.yml up
cd cypress/docker && docker compose -f seamless.yml up

.PHONY: deployment-ci-acceptance-test-run-all
deployment-ci-acceptance-test-run-all: ## With a single command, run the backend, frontend, and the Cypress tests in headless mode for CI for deployment tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@ describe('Folder Contents Tests', () => {

cy.visit('/my-folder/my-document');
cy.get('.edit').click();
cy.getSlate().click();
cy.get('button.block-add-button').click();
cy.get(
'[style="transition: opacity 500ms ease 0ms;"] > :nth-child(2) > .ui',
).click();
cy.addNewBlock('listing');
cy.get('#field-variation').click().type('summary{enter}');
cy.get('#toolbar-save').click();
cy.wait('@content');
Expand Down Expand Up @@ -74,11 +70,7 @@ describe('Folder Contents Tests', () => {

cy.visit('/my-folder/my-document');
cy.get('.edit').click();
cy.getSlate().click();
cy.get('button.block-add-button').click();
cy.get(
'[style="transition: opacity 500ms ease 0ms;"] > :nth-child(2) > .ui',
).click();
cy.addNewBlock('listing');
cy.get('#field-variation').click().type('summary{enter}');
cy.get('#toolbar-save').click();
cy.wait('@content');
Expand Down Expand Up @@ -116,11 +108,7 @@ describe('Folder Contents Tests', () => {

cy.visit('/my-folder/my-document');
cy.get('.edit').click();
cy.getSlate().click();
cy.get('button.block-add-button').click();
cy.get(
'[style="transition: opacity 500ms ease 0ms;"] > :nth-child(2) > .ui',
).click();
cy.addNewBlock('listing');
cy.get('#field-variation').click().type('imageGallery{enter}');
cy.get('#toolbar-save').click();
cy.wait('@content');
Expand Down
5 changes: 0 additions & 5 deletions packages/volto/locales/ca/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3414,11 +3414,6 @@ msgstr "Ordena"
msgid "Sort on options"
msgstr "Ordena les opcions"

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
5 changes: 0 additions & 5 deletions packages/volto/locales/de/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3413,11 +3413,6 @@ msgstr "Sortieren nach"
msgid "Sort on options"
msgstr "Sortieroptionen"

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
5 changes: 0 additions & 5 deletions packages/volto/locales/en/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3408,11 +3408,6 @@ msgstr ""
msgid "Sort on options"
msgstr ""

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
5 changes: 0 additions & 5 deletions packages/volto/locales/es/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3415,11 +3415,6 @@ msgstr "Ordenar por"
msgid "Sort on options"
msgstr "Ordenar por opciones"

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
5 changes: 0 additions & 5 deletions packages/volto/locales/eu/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3415,11 +3415,6 @@ msgstr "Ordenazioa"
msgid "Sort on options"
msgstr "Ordenatu aukeren arabera"

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
5 changes: 0 additions & 5 deletions packages/volto/locales/fi/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3413,11 +3413,6 @@ msgstr "Järjestys"
msgid "Sort on options"
msgstr "Lajittelun vaihtoehdot"

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
5 changes: 0 additions & 5 deletions packages/volto/locales/fr/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3415,11 +3415,6 @@ msgstr "Trier sur"
msgid "Sort on options"
msgstr "Options de tri"

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
5 changes: 0 additions & 5 deletions packages/volto/locales/hi/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3408,11 +3408,6 @@ msgstr "क्रमबद्ध करें द्वारा"
msgid "Sort on options"
msgstr "क्रमबद्ध करें द्वारा विकल्प"

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
5 changes: 0 additions & 5 deletions packages/volto/locales/it/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3408,11 +3408,6 @@ msgstr "Ordina per"
msgid "Sort on options"
msgstr "Opzioni di ordinamento"

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
5 changes: 0 additions & 5 deletions packages/volto/locales/ja/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3413,11 +3413,6 @@ msgstr "ソート順"
msgid "Sort on options"
msgstr ""

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
5 changes: 0 additions & 5 deletions packages/volto/locales/nl/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3412,11 +3412,6 @@ msgstr ""
msgid "Sort on options"
msgstr ""

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
5 changes: 0 additions & 5 deletions packages/volto/locales/pt/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3413,11 +3413,6 @@ msgstr ""
msgid "Sort on options"
msgstr ""

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
5 changes: 0 additions & 5 deletions packages/volto/locales/pt_BR/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3414,11 +3414,6 @@ msgstr "Ordenado por"
msgid "Sort on options"
msgstr "Opções de ordenação"

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
5 changes: 0 additions & 5 deletions packages/volto/locales/ro/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3408,11 +3408,6 @@ msgstr "Sortare pe"
msgid "Sort on options"
msgstr "Sortare pe opțiuni"

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
7 changes: 1 addition & 6 deletions packages/volto/locales/volto.pot
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Plone\n"
"POT-Creation-Date: 2024-07-24T09:39:31.887Z\n"
"POT-Creation-Date: 2024-08-02T16:48:19.008Z\n"
"Last-Translator: Plone i18n <[email protected]>\n"
"Language-Team: Plone i18n <[email protected]>\n"
"Content-Type: text/plain; charset=utf-8\n"
Expand Down Expand Up @@ -3410,11 +3410,6 @@ msgstr ""
msgid "Sort on options"
msgstr ""

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
5 changes: 0 additions & 5 deletions packages/volto/locales/zh_CN/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3414,11 +3414,6 @@ msgstr "排序"
msgid "Sort on options"
msgstr "根据选项排序"

#. Default: "Sort on {value}"
#: components/manage/Blocks/Search/components/SortOn
msgid "Sort on {value}"
msgstr ""

#. Default: "Sort transactions by User-Name, Path or Date"
#: components/manage/Controlpanels/UndoControlpanel
msgid "Sort transactions by User-Name, Path or Date"
Expand Down
1 change: 1 addition & 0 deletions packages/volto/news/6230.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove unused i18n message for SortOn component. @davisagli
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ const messages = defineMessages({
id: 'Sort on',
defaultMessage: 'Sort on',
},
sortOnButtonTitle: {
id: 'Sort on {value}',
defaultMessage: 'Sort on {value}',
},
ascending: {
id: 'Ascending',
defaultMessage: 'Ascending',
Expand Down

0 comments on commit 9e312ed

Please sign in to comment.