Room list: change Edit section label to Save in edit section dialog (#34364)

* Change `Edit section` label to `Save` in edit section dialog

* Update e2e tests
This commit is contained in:
Florian Duros
2026-07-21 15:39:42 +00:00
committed by GitHub
parent c80d39a182
commit 363ef74248
4 changed files with 8 additions and 11 deletions
@@ -69,9 +69,7 @@ export function CreateSectionDialog({ onFinished, sectionToEdit }: CreateSection
</Form.Root>
</Flex>
<DialogButtons
primaryButton={
isEdition ? _t("create_section_dialog|edit_section") : _t("create_section_dialog|create_section")
}
primaryButton={isEdition ? _t("common|save") : _t("create_section_dialog|create_section")}
primaryDisabled={isInvalid}
hasCancel={true}
onCancel={() => onFinished(false, "")}
-1
View File
@@ -677,7 +677,6 @@
"create_section_dialog": {
"create_section": "Create section",
"description": "Sections are only for you",
"edit_section": "Edit section",
"label": "Section name",
"title": "Create a section",
"title_edition": "Edit a section"