Skip to content
Closed
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
3b09770
update panel copy
anikbrazeau Jul 23, 2024
32a8039
Update i18n/translations/en/form-builder.json
anikbrazeau Jul 24, 2024
76c44bf
Update i18n/translations/en/form-builder.json
anikbrazeau Jul 24, 2024
038347b
Update i18n/translations/en/form-builder.json
anikbrazeau Jul 24, 2024
58ece3e
Update i18n/translations/en/form-builder.json
anikbrazeau Jul 24, 2024
b4b3d2e
Update i18n/translations/fr/form-builder.json
anikbrazeau Jul 24, 2024
b53e014
Update i18n/translations/en/form-builder.json
anikbrazeau Jul 24, 2024
2e812b1
Update i18n/translations/fr/form-builder.json
anikbrazeau Jul 24, 2024
88b3d6b
Update i18n/translations/en/form-builder.json
anikbrazeau Jul 24, 2024
ccee4ca
Update i18n/translations/en/form-builder.json
anikbrazeau Jul 24, 2024
3a62760
Update i18n/translations/en/form-builder.json
anikbrazeau Jul 24, 2024
122e77b
Update i18n/translations/fr/form-builder.json
anikbrazeau Jul 24, 2024
3268617
Update i18n/translations/fr/form-builder.json
anikbrazeau Jul 24, 2024
29a311d
Update i18n/translations/fr/form-builder.json
anikbrazeau Jul 24, 2024
2677409
update content
anikbrazeau Jul 24, 2024
e4b7dca
Update i18n/translations/en/form-builder.json
anikbrazeau Jul 24, 2024
ca384d0
Update i18n/translations/fr/form-builder.json
anikbrazeau Jul 24, 2024
4e5557b
embranchements
anikbrazeau Jul 24, 2024
ad0c275
pages and questions
anikbrazeau Jul 24, 2024
e424f4f
Update i18n/translations/fr/form-builder.json
anikbrazeau Jul 24, 2024
524ab25
Merge branch 'develop' into page-content
anikbrazeau Jul 24, 2024
c48b0d7
Update i18n/translations/en/form-builder.json
anikbrazeau Jul 24, 2024
2e6aea8
Merge branch 'develop' into page-content
anikbrazeau Jul 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export const EditWithGroups = ({ id, locale }: { id: string; locale: string }) =
<AddBranchingButton id={id} locale={locale} />
</div>

<SkipLinkReusable anchor="#rightPanelTitle">{t("skipLink.questionsSetup")}</SkipLinkReusable>
<SkipLinkReusable anchor="#rightPanelTitle">{t("skipLink.pageSetup")}</SkipLinkReusable>
</>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export const RightPanel = ({ id, lang }: { id: string; lang: Language }) => {
<Tab.Group selectedIndex={selectedIndex}>
<Tab.List className={"flex justify-between border-b border-gray-200"}>
<TabButton
text={t("rightPanel.questions")}
text={t("rightPanel.pages")}
onClick={() => {
router.push(`/${i18n.language}/form-builder/${id}/edit`);
}}
Expand All @@ -210,7 +210,7 @@ export const RightPanel = ({ id, lang }: { id: string; lang: Language }) => {
<Tab.Panel>
{/* Tree */}
<SkipLinkReusable anchor="#questionsTitle">
{t("skipLink.questions")}
{t("skipLink.pages")}
</SkipLinkReusable>
<div className="m-0 w-full" aria-live="polite">
<TreeView
Expand Down
21 changes: 12 additions & 9 deletions i18n/translations/en/form-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -844,8 +844,8 @@
"failedLink": "Saving failed - Contact support"
},
"addConditionalRules": {
"modalTitle": "Add a rule to a question",
"modalTitleEdit": "Edit conditional rules",
"modalTitle": "Add a rule",
"modalTitleEdit": "Edit rules",
"modalDescription": "Allow an option in your question to show an additional short or long answer input field when selected. Only drop downs, single choice, and multi-select blocks can apply a rule.",
"warning": "Options and questions must exist before adding a conditional rule.",
"optionTitle": "If option selected is:",
Expand All @@ -864,7 +864,10 @@
"title": "Right panel",
"openPanel": "Form set-up",
"closePanel": "Close panel",
"question": "Question",
"questions": "Questions",
"page": "Page",
"pages": "Pages",
"logic": "Branching",
"translation": "Translations",
"treeView": {
Expand Down Expand Up @@ -948,9 +951,9 @@
"newPage": "New page",
"pageNameInput": "Page name",
"addPage": "Add page",
"addNewPage": "Add a new page",
"addBranch": "Add a branch",
"addPagePlaceholder": "Add a page name",
"addNewPage": "Add new page",
"addBranch": "Add branch",
"addPagePlaceholder": "Add page name",
"treeAriaLabel": "GC Forms pages",
"addElement": {
"empty": {
Expand Down Expand Up @@ -1002,10 +1005,10 @@
},
"next": "Continue",
"skipLink": {
"questions": "Skip to Questions editor",
"translate": "Skip to Translations editor",
"logic": "Skip to Branching editor",
"questionsSetup": "Skip to Questions set-up",
"questions": "Skip to edit Page",
"translate": "Skip to edit Translations",
"logic": "Skip to edit Branching",
"questionsSetup": "Skip to Pages set-up",
"translateSetup": "Skip to Translations set-up",
"logicSetup": "Skip to Branching set-up"
},
Expand Down
12 changes: 6 additions & 6 deletions i18n/translations/fr/form-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@
"title": "Panneau de droite",
"openPanel": "Configuration du formulaire",
"closePanel": "Fermer le panneau",
"questions": "Questions",
"pages": "Pages",
"logic": "Embranchements",
"translation": "Traductions",
"treeView": {
Expand Down Expand Up @@ -1002,12 +1002,12 @@
},
"next": "Continuer",
"skipLink": {
"questions": "Passer à l'éditeur de questions",
"translate": "Passer à l'éditeur de traductions",
"logic": "Passer à l'éditeur d'embranchements",
"questionsSetup": "Passer à la configuration des questions",
"questions": "Passer à modifier la page",
"translate": "Passer à modifier les traductions",
"logic": "Passer à modifier les embranchements",
"pageSetup": "Passer à la configuration des pages",
"translateSetup": "Passer à la configuration des traductions",
"logicSetup": "Passer à la configuration d'embranchements'"
"logicSetup": "Passer à la configuration des embranchements'"
},
"goBack": "Retourner",
"disabled": "désactivé"
Expand Down
Loading