Skip to content

Commit

Permalink
Merge pull request #1319 from RodriSanchez1/feature/SideNavigationBut…
Browse files Browse the repository at this point in the history
…tons

Formatted message to navigation buttons styles list
  • Loading branch information
RodriSanchez1 authored Dec 15, 2022
2 parents 825b5d2 + 54f99ce commit 4cd45ad
Show file tree
Hide file tree
Showing 56 changed files with 237 additions and 123 deletions.
2 changes: 1 addition & 1 deletion src/components/Settings/Navigation/Navigation.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class Navigation extends React.Component {
>
{NAVIGATION_BUTTONS_STYLES.map(style => (
<MenuItem key={style?.value} value={style?.value}>
{style?.name}
{<FormattedMessage {...messages[(style?.name)]} />}
</MenuItem>
))}
</Select>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Settings/Navigation/Navigation.constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ export const NAVIGATION_BUTTONS_STYLE_SIDES = 'sides';
export const NAVIGATION_BUTTONS_STYLE_TOP = 'top';

export const NAVIGATION_BUTTONS_STYLES = [
{ name: 'On the sides', value: 'sides' },
{ name: 'On top', value: 'top' }
{ name: 'onTheSides', value: 'sides' },
{ name: 'onTop', value: 'top' }
];
8 changes: 8 additions & 0 deletions src/components/Settings/Navigation/Navigation.messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,13 @@ export default defineMessages({
id: 'cboard.components.Settings.Navigation.navigationButtonsStyleSecondary',
defaultMessage:
'Select the style of the context-aware back and big scroll buttons. On the sides is recommended for eye trackers'
},
onTheSides: {
id: 'cboard.components.Settings.Navigation.onTheSides',
defaultMessage: 'On the sides'
},
onTop: {
id: 'cboard.components.Settings.Navigation.onTop',
defaultMessage: 'On top'
}
});
2 changes: 2 additions & 0 deletions src/translations/ar-SA.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@
"cboard.components.Settings.Navigation.bigScrollSecondary": "إظهار أزرار التمرير الكبيرة. حدد النمط المطلوب في قسم نمط أزرار التنقل",
"cboard.components.Settings.Navigation.navigationButtonsStyle": "نمط أزرار التنقل",
"cboard.components.Settings.Navigation.navigationButtonsStyleSecondary": "حدد نمط الإدراك السياقي لأزرار التمرير الكبيرة. على الجانبين يوصى به لمتعقبي العين",
"cboard.components.Settings.Navigation.onTheSides": "على الجانبين",
"cboard.components.Settings.Navigation.onTop": "في الأعلى",
"cboard.components.Settings.Export.export": "تصدير",
"cboard.components.Settings.Export.exportSingle": "تصدير لوحة واحدة",
"cboard.components.Settings.Export.exportSingleSecondary": "سيقوم هذا الخيار بتصدير لوحة واحدة لديك من قائمة اللوحات. يمكنك اختيار تنسيقات {cboardLink}أو {link} أو PDF.",
Expand Down
2 changes: 2 additions & 0 deletions src/translations/be-BY.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@
"cboard.components.Settings.Navigation.bigScrollSecondary": "Shows big scroll buttons. Select the desired style in navigation buttons style section",
"cboard.components.Settings.Navigation.navigationButtonsStyle": "Navigation buttons style",
"cboard.components.Settings.Navigation.navigationButtonsStyleSecondary": "Select the style of the context-aware back and big scroll buttons. On the sides is recommended for eye trackers",
"cboard.components.Settings.Navigation.onTheSides": "On the sides",
"cboard.components.Settings.Navigation.onTop": "On top",
"cboard.components.Settings.Export.export": "экспарт",
"cboard.components.Settings.Export.exportSingle": "Экспарт адной дошкі",
"cboard.components.Settings.Export.exportSingleSecondary": "Гэтая опцыя будзе экспартаваць адзіную дошку ў спісе саветаў. Вы можаце выбраць фарматы {cboardLink}, {link} або PDF.",
Expand Down
2 changes: 2 additions & 0 deletions src/translations/bg-BG.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@
"cboard.components.Settings.Navigation.bigScrollSecondary": "Shows big scroll buttons. Select the desired style in navigation buttons style section",
"cboard.components.Settings.Navigation.navigationButtonsStyle": "Navigation buttons style",
"cboard.components.Settings.Navigation.navigationButtonsStyleSecondary": "Select the style of the context-aware back and big scroll buttons. On the sides is recommended for eye trackers",
"cboard.components.Settings.Navigation.onTheSides": "On the sides",
"cboard.components.Settings.Navigation.onTop": "On top",
"cboard.components.Settings.Export.export": "Експортиране",
"cboard.components.Settings.Export.exportSingle": "Експортиране на едно табло",
"cboard.components.Settings.Export.exportSingleSecondary": "Тази опция ще експортира едно табло от вашия списък с табла. Можете да изберете {cboardLink}, {link} или PDF формат.",
Expand Down
2 changes: 2 additions & 0 deletions src/translations/bn-BD.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@
"cboard.components.Settings.Navigation.bigScrollSecondary": "Shows big scroll buttons. Select the desired style in navigation buttons style section",
"cboard.components.Settings.Navigation.navigationButtonsStyle": "Navigation buttons style",
"cboard.components.Settings.Navigation.navigationButtonsStyleSecondary": "Select the style of the context-aware back and big scroll buttons. On the sides is recommended for eye trackers",
"cboard.components.Settings.Navigation.onTheSides": "On the sides",
"cboard.components.Settings.Navigation.onTop": "On top",
"cboard.components.Settings.Export.export": "রপ্তানি",
"cboard.components.Settings.Export.exportSingle": "একটি একক বোর্ড রফতানি করুন",
"cboard.components.Settings.Export.exportSingleSecondary": "এই বিকল্পটি বোর্ডের একটি তালিকা থেকে আপনার একক বোর্ড রফতানি করবে। আপনি {cboardLink}, {link} বা পিডিএফ ফর্ম্যাট চয়ন করতে পারেন।",
Expand Down
2 changes: 2 additions & 0 deletions src/translations/cs-CZ.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@
"cboard.components.Settings.Navigation.bigScrollSecondary": "Zobrazí velká tlačítka posouvání. Vyberte požadovaný styl ve stylu navigačních tlačítek",
"cboard.components.Settings.Navigation.navigationButtonsStyle": "Styl navigačních tlačítek",
"cboard.components.Settings.Navigation.navigationButtonsStyleSecondary": "Vyberte styl tlačítka zpět a velkého posunu. Na stranách je doporučeno pro sledování očí",
"cboard.components.Settings.Navigation.onTheSides": "Na straně",
"cboard.components.Settings.Navigation.onTop": "Nahoře",
"cboard.components.Settings.Export.export": "Vývozní",
"cboard.components.Settings.Export.exportSingle": "Export jedné desky",
"cboard.components.Settings.Export.exportSingleSecondary": "Tato možnost exportuje jednu desku ze seznamu desek. Můžete si vybrat formát {cboardLink}, {link} nebo PDF.",
Expand Down
2 changes: 2 additions & 0 deletions src/translations/da-DK.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@
"cboard.components.Settings.Navigation.bigScrollSecondary": "Viser store rulleknapper. Vælg den ønskede stil i afsnittet for navigationsknapper stil",
"cboard.components.Settings.Navigation.navigationButtonsStyle": "Navigationsknapper stil",
"cboard.components.Settings.Navigation.navigationButtonsStyleSecondary": "Vælg stilen for kontekst-bevidste ryg og store rulleknapper. På siderne anbefales til øjensporere",
"cboard.components.Settings.Navigation.onTheSides": "På siderne",
"cboard.components.Settings.Navigation.onTop": "På toppen",
"cboard.components.Settings.Export.export": "Eksport",
"cboard.components.Settings.Export.exportSingle": "Eksporter et enkelt kort",
"cboard.components.Settings.Export.exportSingleSecondary": "Denne mulighed eksporterer et enkelt kort, du har fra en liste over tavler. Du kan vælge {cboardLink}, {link} eller PDF formater.",
Expand Down
2 changes: 2 additions & 0 deletions src/translations/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@
"cboard.components.Settings.Navigation.bigScrollSecondary": "Zeigt große Scrolltasten an. Wählen Sie den gewünschten Stil im Navigationstasten-Stil",
"cboard.components.Settings.Navigation.navigationButtonsStyle": "Navigationstasten Stil",
"cboard.components.Settings.Navigation.navigationButtonsStyleSecondary": "Wählen Sie den Stil der kontextbewussten hinteren und großen Scrolltasten aus. Auf den Seiten wird für die Augenverfolgung empfohlen",
"cboard.components.Settings.Navigation.onTheSides": "Auf den Seiten",
"cboard.components.Settings.Navigation.onTop": "Oben",
"cboard.components.Settings.Export.export": "Export",
"cboard.components.Settings.Export.exportSingle": "Exportieren Sie eine einzelne Karte",
"cboard.components.Settings.Export.exportSingleSecondary": "Diese Option exportiert eine einzelne Karte, die Sie haben, aus einer Liste von Karten. Sie können zwischen den Formaten {cboardLink}, {link} oder PDF wählen.",
Expand Down
2 changes: 2 additions & 0 deletions src/translations/el-GR.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@
"cboard.components.Settings.Navigation.bigScrollSecondary": "Εμφανίζει μεγάλα κουμπιά κύλισης. Επιλέξτε το επιθυμητό στυλ στα κουμπιά πλοήγησης στυλ ενότητα",
"cboard.components.Settings.Navigation.navigationButtonsStyle": "Στυλ κουμπιών πλοήγησης",
"cboard.components.Settings.Navigation.navigationButtonsStyleSecondary": "Επιλέξτε το στυλ των κουμπιών πίσω και μεγάλου κύλισης του περιεχομένου. Στις πλευρές συνιστάται για ιχνηλάτες ματιών",
"cboard.components.Settings.Navigation.onTheSides": "Στις πλευρές",
"cboard.components.Settings.Navigation.onTop": "Στην κορυφή",
"cboard.components.Settings.Export.export": "Εξαγωγή",
"cboard.components.Settings.Export.exportSingle": "Εξαγωγή ενός πίνακα",
"cboard.components.Settings.Export.exportSingleSecondary": "Αυτή η επιλογή θα εξάγει έναν πίνακα από την προσωπική σας συλλογή πινάκων επικοινωνίας. Μπορείτε να επιλέξετε μορφές {cboardLink}, {link} ή PDF.",
Expand Down
2 changes: 2 additions & 0 deletions src/translations/en-GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@
"cboard.components.Settings.Navigation.bigScrollSecondary": "Shows big scroll buttons. Select the desired style in navigation buttons style section",
"cboard.components.Settings.Navigation.navigationButtonsStyle": "Navigation buttons style",
"cboard.components.Settings.Navigation.navigationButtonsStyleSecondary": "Select the style of the context-aware back and big scroll buttons. On the sides is recommended for eye trackers",
"cboard.components.Settings.Navigation.onTheSides": "On the sides",
"cboard.components.Settings.Navigation.onTop": "On top",
"cboard.components.Settings.Export.export": "Export",
"cboard.components.Settings.Export.exportSingle": "Export a single board",
"cboard.components.Settings.Export.exportSingleSecondary": "This option will export a single board you have from a list of boards. You can choose {cboardLink}, {link} or PDF formats.",
Expand Down
2 changes: 2 additions & 0 deletions src/translations/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@
"cboard.components.Settings.Navigation.bigScrollSecondary": "Shows big scroll buttons. Select the desired style in navigation buttons style section",
"cboard.components.Settings.Navigation.navigationButtonsStyle": "Navigation buttons style",
"cboard.components.Settings.Navigation.navigationButtonsStyleSecondary": "Select the style of the context-aware back and big scroll buttons. On the sides is recommended for eye trackers",
"cboard.components.Settings.Navigation.onTheSides": "On the sides",
"cboard.components.Settings.Navigation.onTop": "On top",
"cboard.components.Settings.Export.export": "Export",
"cboard.components.Settings.Export.exportSingle": "Export a single board",
"cboard.components.Settings.Export.exportSingleSecondary": "This option will export a single board you have from a list of boards. You can choose {cboardLink}, {link} or PDF formats.",
Expand Down
2 changes: 2 additions & 0 deletions src/translations/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@
"cboard.components.Settings.Navigation.bigScrollSecondary": "Muestra botones de desplazamiento vertical grandes. Selecciona el estilo deseado en la sección de estilo de botones de navegación",
"cboard.components.Settings.Navigation.navigationButtonsStyle": "Estilo de botones de navegación",
"cboard.components.Settings.Navigation.navigationButtonsStyleSecondary": "Seleccione el estilo de los botones de retroceso y desplazamiento. En los lados se recomienda para los rastreadores oculares",
"cboard.components.Settings.Navigation.onTheSides": "En los lados",
"cboard.components.Settings.Navigation.onTop": "Encima",
"cboard.components.Settings.Export.export": "Exportar",
"cboard.components.Settings.Export.exportSingle": "Exportar un solo tablero",
"cboard.components.Settings.Export.exportSingleSecondary": "Esta opción exportará un único tablero que elijas de una lista de tableros. Puedes elegir los formatos {cboardLink}, {link} o PDF.",
Expand Down
2 changes: 2 additions & 0 deletions src/translations/fi-FI.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@
"cboard.components.Settings.Navigation.bigScrollSecondary": "Näyttää suuret vierityspainikkeet. Valitse haluamasi tyyli navigointipainikkeiden tyylinen osio",
"cboard.components.Settings.Navigation.navigationButtonsStyle": "Navigointipainikkeiden tyyli",
"cboard.components.Settings.Navigation.navigationButtonsStyleSecondary": "Valitse taustatiedostojen tyyli ja iso vieritys painikkeet. Sivuilla suositellaan silmänlumetta varten",
"cboard.components.Settings.Navigation.onTheSides": "Sivuilla oleva",
"cboard.components.Settings.Navigation.onTop": "Päällä päälle",
"cboard.components.Settings.Export.export": "Vie",
"cboard.components.Settings.Export.exportSingle": "Vie yksi taulu",
"cboard.components.Settings.Export.exportSingleSecondary": "Tämä vaihtoehto vie yhden taulun taululuettelosta. Voit valita {cboardLink}, {link} tai PDF-muodon.",
Expand Down
2 changes: 2 additions & 0 deletions src/translations/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@
"cboard.components.Settings.Navigation.bigScrollSecondary": "Affiche les gros boutons de défilement. Sélectionnez le style souhaité dans le style des boutons de navigation",
"cboard.components.Settings.Navigation.navigationButtonsStyle": "Style des boutons de navigation",
"cboard.components.Settings.Navigation.navigationButtonsStyleSecondary": "Sélectionnez le style des boutons arrière et grand défilement du contexte. Sur les côtés est recommandé pour les traqueurs de yeux",
"cboard.components.Settings.Navigation.onTheSides": "Sur les côtés",
"cboard.components.Settings.Navigation.onTop": "Au premier plan",
"cboard.components.Settings.Export.export": "Exportation",
"cboard.components.Settings.Export.exportSingle": "Exporter une seule carte",
"cboard.components.Settings.Export.exportSingleSecondary": "Cette option exportera une seule carte que vous avez à partir d'une liste de cartes. Vous pouvez choisir les formats {cboardLink}, {link} ou PDF.",
Expand Down
Loading

0 comments on commit 4cd45ad

Please sign in to comment.